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/docs/docsite/rst
Felix Fontein ea04e0048d
Allow to deprecate options and aliases by date (#68177)
* Allow to deprecate options and aliases by date instead of only by version.

* Update display.deprecate().

* Adjust behavior to conform to tested behavior, extend tests, and improve C# style.

* Parse date and fail on invalid date.

This is mainly to make sure that people start using invalid dates, and we eventually have a mess to clean up.

* C# code: improve validation and update/extend tests.

* Make sure that deprecate() is not called with both date and version.

* Forgot to remove no longer necessary formatting.

* Adjust order of warnings in C# code.

* Adjust unrelated test.

* Fix grammar (and make that test pass).

* Don't parse date, and adjust message to be same as in #67684.

* Sanity tests: disable date in past test.

* Validate-modules: validate ISO 8601 date format.

* Validate-modules: switch schema declaration for deprecated_aliases to improve error messages for invalid dates.

* Use DateTime instead of string for date deprecation.

* Validate that date in deprecated_aliases is actually a DateTime.

* Fix tests.

* Fix rebasing error.

* Adjust error codes for pylint, and add removed_at_date and deprecated_aliases.date checks to validate-modules.

* Make deprecation date in the past error codes optional.

* Make sure not both version and date are specified for AnsibleModule.deprecate() calls.

* Stop using Python 3.7+ API.

* Make sure errors are actually reported. Re-add 'ansible-' prefix.

* Avoid crashing when 'name' isn't there.

* Linting.

* Update lib/ansible/module_utils/csharp/Ansible.Basic.cs

Co-authored-by: Jordan Borean <jborean93@gmail.com>

* Adjust test to latest change.

* Prefer date over version if both end up in Display.deprecated().

Co-authored-by: Jordan Borean <jborean93@gmail.com>
4 years ago
..
api link from API stub page to module_utils page (#49831) 6 years ago
community docs: Small grammar improvement in the community guide (#69304) 4 years ago
dev_guide Allow to deprecate options and aliases by date (#68177) 4 years ago
galaxy Update ansible-galaxy to handle role requirements (#68288) 4 years ago
images Adds custom 404 with cowsay image (#57422) 5 years ago
installation_guide Remove RPM packaging infrastructure (#69554) 4 years ago
inventory Add implicit localhost hostvars note (#61956) 5 years ago
network fix indents of EOS Platform Options (#67564) 4 years ago
plugins WIP: Docs: User guide overhaul, part 4 (#69266) 4 years ago
porting_guides introduce fact "ansible_processor_nproc": number of usable vcpus (#66569) 4 years ago
reference_appendices WIP: Docs: User guide overhaul, part 4 (#69266) 4 years ago
roadmap ROADMAP - s/ansible/ansible-base/g (#69071) 4 years ago
scenario_guides Redirect inventory script links (#69143) 4 years ago
shared_snippets Unify ansible-galaxy install -r (#67843) 4 years ago
user_guide WIP: Docs: User guide overhaul, part 4 (#69266) 4 years ago
404.rst removes link from 404 content, explains options (#57971) 5 years ago
conf.py Intersphinx (#68090) 4 years ago
index.rst Remove extra Ansible in network automation section header (#67828) 4 years ago