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
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
..
cli Support pre-releases via new SemanticVersion (#68258) 6 years ago
compat Update bundled copy of selectors2 from 1.1.0 to 1.1.1 (#55457) 7 years ago
config Added routing file 6 years ago
errors Misc typo fixes (#66120) 6 years ago
executor Address compat issue for collection loading on py26 (#68219) 6 years ago
galaxy Support pre-releases via new SemanticVersion (#68258) 6 years ago
inventory inventory: Fail on non-existing limit file (#59758) 6 years ago
module_utils Address compat issue for collection loading on py26 (#68219) 6 years ago
modules core promotions 6 years ago
parsing win - Allow FQCN for win_command and win_shell 6 years ago
playbook Clean up CONDITIONAL_BARE_VARS warning. Fixes #67735 (#67751) 6 years ago
plugins Internally redirect win modules to collection name (#68317) 6 years ago
template Address fixme and handle filter/test errors for collections better (#68047) 6 years ago
utils Support pre-releases via new SemanticVersion (#68258) 6 years ago
vars New magic var: `ansible_config_file` (#66085) 6 years ago
__init__.py
constants.py win - Allow FQCN for win_command and win_shell 6 years ago
context.py Become plugins (#50991) 7 years ago
release.py Update release name for 2.10 6 years ago