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 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
engelsystem treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
fileshelter treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
frab treewide: add final newline 2021-01-22 07:18:04 +10:00
galene galene: 0.3.4 -> 0.3.5 2021-05-22 16:52:10 +00:00
hedgedoc treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
jirafeau treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
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 treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
pgpkeyserver-lite treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
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 restya-board: expand platforms to unix 2021-03-14 11:40:47 +07:00
rss-bridge rss-bridge: 2020-11-10 -> 2021-04-25 2021-05-08 14:35:58 +07:00
searx treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
selfoss treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
shaarli treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
shiori treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
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 qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
wallabag wallabag: 2.4.1 -> 2.4.2 2021-05-13 18:10:22 +02:00
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