Hi all,
I am developing a collection following the dir layout as prescribed by the 
skeleton.
I have the following 2 questions re dev workflows

1) How do you install the collection that you're developing in the "edit 
mode", like with pip you do `pip install -e`, and then you can do changes 
to the modules on-the-fly and they will be picked up.
What is the alternative to that process with galaxy collection? Should I 
always do a `galaxy collection install ...` and then run my playbooks every 
time I touch the contents of my collection?

2) When developing modules inside the collection people reference 
funcs/methods from inside the very same collection, example 
- 
https://github.com/ansible-collections/arista.eos/blob/main/plugins/modules/eos_config.py#L319
How does this path get resolved? Who adds ansible_collection to the 
PYTHONPATH?
How do I make my python IDE to resolve that path during the developments

Thank you, and appreciate your comments.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/3e0a9a67-fbc0-44aa-846b-85772b710dbcn%40googlegroups.com.

Reply via email to