by mdaniel · 4y ago · 0 comments
For example, "ansible 5.7.1" is actually this: https://github.com/ansible-community/ansible-build-data/blob... which includes "ansible" 2.12.5
It makes even talking about it hard
This is why language specific tools always gave me pause. It's focused on supporting the language and not the end user. I can't happily install programs from an array of languages anymore using a single common tool anymore. I have all this annoying overhead to memorize instead:
- Mapping which program comes from what language
- How to install things using that language's package/dependency manager
- How to access those programs, if they aren't installed to a common location
- How to keep everything up to date
I used "pip install" because it was shorthand, but the problem manifests with "brew install ansible" also since at this moment it says "5.7.1" but with a totally wrong `head "https://github.com/ansible/ansible.git", branch: "devel"`
The first time someone had to create a GH release named "these are not the releases you're looking for" would have been a great opportunity to acknowledge how off the rails things had gone: https://github.com/ansible/ansible/releases/tag/v2.2.1.0-0.3...
Related to that, I consider it almost purposefully misleading of them to leave the PyPI "source" link pointed at GH/ansible/ansible since that is _for sure_ not what is going to be pip installed for those version numbers. It'd be like pointing the ansible PyPI at the Jinja2 GH repo -- yes, that is one of the things that pip installing will put on disk, but where did the rest of it come from?
https://github.com/rollcat/judo#passing-arguments-to-scripts implies that project is for sure not for me, but I wish you all the best with it!
But, "looking at the sources" is now extremely complicated since the "user" reports "I installed ansible==5.7.1" -- so which URL do I go to in order to see why "{{ lookup('something') }}" has IndexError-ed?
I cheated in asking you that, since it depends on what "something" is in that stanza, given that "{{ lookup('ini') }}" is hosted at https://github.com/ansible/ansible/blob/v2.12.5/lib/ansible/... but "{{ lookup('dig') }}" lives in https://github.com/ansible-collections/community.general/blo... and to even get that number, I had to go sniffing in "lib/python3.10/site-packages/ansible_collections/community/general/MANIFEST.json" to know
I’m a fan of Ansible in general and this is not a world-ending mistake, but should be corrected to avoid confusion.