3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/web-apps
talyz 4fb343c87e
discourse: update.py: Improve version handling, use pinned plugins
Add a DiscourseVersion class which handles Discourse's version
numbering properly when sorting - beta versions are sorted lower than
their respective release versions. It can also return both its version
number and equivalent git tag, removing the need for `rev2version` and
manually adding `v` to the front.

Using DiscourseVersion instead of LooseVersion, we can list all
current version number tags from the `discourse` repo and sort them
correctly, giving us the latest one, regardless of type; i.e. we don't
have to filter for only release versions or beta versions anymore.

This also implements the plugin pinning algorithm laid out here:
https://meta.discourse.org/t/pinning-plugin-and-theme-versions-for-older-discourse-installs/156971
to make sure we don't upgrade plugins further than what's compatible
with our currently packaged Discourse version. While it likely won't
matter much most of the time if we continue packaging the beta
versions, it could be helpful if we decide to go back to packaging
release versions or if we run into issues with future upgrades. In
that case, the plugins could still be updated safely even though we're
not on the latest version of Discourse.
2021-12-02 11:55:07 +01:00
..
bookstack treewide: quote urls according to rfc 0045 (#145260) 2021-11-10 11:37:56 +01:00
cryptpad treewide: pass and inherit writeShellScript in node2nix packages 2021-11-16 16:08:23 +01:00
discourse discourse: update.py: Improve version handling, use pinned plugins 2021-12-02 11:55:07 +01:00
dokuwiki
engelsystem
fileshelter
frab
galene
hedgedoc treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
jirafeau
jitsi-meet jitsi-meet: 1.0.5307 -> 1.0.5415 2021-10-16 10:36:28 -07:00
lemmy Update lemmy webapp (#147204) 2021-11-24 10:48:53 +09:00
matomo matomo: 4.4.1 -> 4.5.0 2021-11-09 15:14:36 +01:00
mediawiki mediawiki: drop redvers from maintainers 2021-11-29 02:06:43 +01:00
moodle moodle: 3.11.2 -> 3.11.4 (#145172) 2021-11-10 01:22:12 +01:00
morty
pgpkeyserver-lite
pict-rs pict-rs: fixes 2021-09-30 21:32:25 +09:00
plausible plausible: update update.sh script 2021-11-06 09:21:23 -04:00
restya-board
rss-bridge
searx
selfoss
shaarli
shiori
sogo sogo: 5.2.0 -> 5.3.0 2021-11-18 23:10:09 +01:00
vikunja vikunja-frontend: 0.18.0 -> 0.18.1 2021-09-27 08:27:36 +02:00
virtlyst
wallabag
whitebophir treewide: pass and inherit writeShellScript in node2nix packages 2021-11-16 16:08:23 +01:00
wiki-js wiki-js: 2.5.214 -> 2.5.219 2021-09-25 15:52:08 +02:00
wordpress wordpress: 5.8.1 -> 5.8.2 2021-11-13 20:42:33 +01:00