Add version_sort filter to properly sort list of versions (#1916) (#1932)

* 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>
(cherry picked from commit 4a8d6cf7cc)

Co-authored-by: Eric L <ericzolf@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2021-02-27 19:54:39 +01:00
committed by GitHub
parent 87377dd23f
commit 68baf56ea6
4 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
add plugin.filter:
- name: version_sort
description: Sort a list according to version order instead of pure alphabetical one