mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-06 14:14:22 -07:00
Add version_sort filter to properly sort list of versions (#1916)
* Add version_sort filter to properly sort list of versions * Fix all comments from Felix - add changelog fragment - fix test by removing runme.sh/yml and renaming to filter_version_sort - use fully qualified name of filter in test case * Remove wrong plugin.test changelog fragment Ups... * Properly name the file version_sort.py * Update changelogs/fragments/1916-add-version-sort-filter.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Eric L <ewl+git@lavar.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
20bd065e77
commit
4a8d6cf7cc
4 changed files with 36 additions and 0 deletions
3
changelogs/fragments/1916-add-version-sort-filter.yml
Normal file
3
changelogs/fragments/1916-add-version-sort-filter.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
add plugin.filter:
|
||||
- name: version_sort
|
||||
description: Sort a list according to version order instead of pure alphabetical one
|
Loading…
Add table
Add a link
Reference in a new issue