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:
Eric L 2021-02-27 17:42:45 +01:00 committed by GitHub
commit 4a8d6cf7cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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