You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/cli
Matt Martz d3ec31f8d5
Support pre-releases via new SemanticVersion (#68258)
* Support pre-releases via new SemanticVersion. Fixes #64905

* Don't treat buildmeta as prerelease

* Don't inherit from str and int

* Add helper method to try and construct a SemanticVersion from a LooseVersion

* Don't count major 0 as pre-release, it's different

* Guard against invalid or no version in LooseVersion

* return a bool

* Add integration tests for pre-release

* Fix up lingering issues with comparisons

* typo fix

* Always allow pre-releases in verify

* Move pre-release filtering into CollectionRequirement, add messaging when a collection only contains pre-releases

* Update changelog

* If explicit requirement allow pre releases

* Enable pre-releases for tar installs, and collections already installed when they are pre-releases

* Drop --pre-release alias, make arg name more clear

* Simplify code into a single line

* Remove build metadata precedence, add some comments, and is_stable helper

* Improve from_loose_version

* Increase test coverage

* linting fix

* Update changelog
6 years ago
..
arguments Add ansible cli options --ask-vault-password and --vault-pass-file (#63782) 6 years ago
scripts Add test for reboot & wait_for_connection on EOS & IOS (#63014) 6 years ago
__init__.py Add warning when running devel (#67502) 6 years ago
adhoc.py win - Allow FQCN for win_command and win_shell 6 years ago
config.py fixes to config manager (#58530) 7 years ago
console.py fix utils.color.stringc: enclosure non printable sequences in SOH,STX (#64751) 6 years ago
doc.py doc: Handle exception in parsing parameter description (#60933) 6 years ago
galaxy.py Support pre-releases via new SemanticVersion (#68258) 6 years ago
inventory.py New magic var: `ansible_config_file` (#66085) 6 years ago
playbook.py default collection support (#61415) 6 years ago
pull.py Migrate command line parsing to argparse (#50610) 7 years ago
vault.py Fix encrypt command output when using --stdin-name (#65122) 6 years ago