Skip to content

Commit ab042d6

Browse files
committed
discourse.plugins: Update all plugins to their latest versions
Also, add support for updating plugins which keep gem versions in files at the root of the repo (discourse-prometheus) and replace the `up-plugin.sh` script with a README file pointing to the plugin packaging documentation.
1 parent e2415db commit ab042d6

27 files changed

Lines changed: 63 additions & 87 deletions

File tree

nixos/modules/services/web-apps/discourse.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ services.discourse = {
297297
the script:
298298
<programlisting language="bash">
299299
./update.py update-plugins
300-
</programlisting>.
300+
</programlisting>
301301
</para>
302302

303303
<para>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Run the nixpkgs/pkgs/servers/web-apps/discourse/update.py script to
2+
update plugins! See the Plugins section of the Discourse chapter in
3+
the NixOS manual (https://nixos.org/manual/nixos/unstable/index.html#module-services-discourse)
4+
for more info.

pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mkDiscoursePlugin {
55
src = fetchFromGitHub {
66
owner = "discourse";
77
repo = "discourse-assign";
8-
rev = "5124ba0f67e26a075f0a0fc8993273f1211d1c28";
9-
sha256 = "1zd2irp5siza0vd5rlwzmjfvcdfw785988jc526xc741flazk1lr";
8+
rev = "91d0712b0440b6bb0c2fedbf6c31191cdeb991fe";
9+
sha256 = "sha256-ATWLu0vJZFquRcAUpFKaU8mqjjVOv3PziAsHR3aemWk=";
1010
};
1111
meta = with lib; {
1212
homepage = "https://github.com/discourse/discourse-docs";

pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ GEM
88
tzinfo (~> 2.0)
99
zeitwerk (~> 2.3)
1010
concurrent-ruby (1.1.9)
11-
i18n (1.8.10)
11+
i18n (1.8.11)
1212
concurrent-ruby (~> 1.0)
1313
minitest (5.14.4)
1414
rrule (0.4.2)
1515
activesupport (>= 4.1)
1616
tzinfo (2.0.4)
1717
concurrent-ruby (~> 1.0)
18-
zeitwerk (2.4.2)
18+
zeitwerk (2.5.1)
1919

2020
PLATFORMS
2121
ruby

pkgs/servers/web-apps/discourse/plugins/discourse-calendar/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ mkDiscoursePlugin {
66
src = fetchFromGitHub {
77
owner = "discourse";
88
repo = "discourse-calendar";
9-
rev = "2f76cdd3064735d484be1df77f43100aca21aea6";
10-
sha256 = "1skpc8p5br1jkii1rksha1q95ias6xxyvi5bnli3q41w7fz1h5j2";
9+
rev = "fbc617a5fa9f3a22bcc72bc2b32ea3cbdf6087c5";
10+
sha256 = "sha256-qBtq8IvxdKYIFNL9DwdRqZceMMO/qgd6jTr3kk3so3Y=";
1111
};
1212
meta = with lib; {
1313
homepage = "https://github.com/discourse/discourse-calendar";

pkgs/servers/web-apps/discourse/plugins/discourse-calendar/gemset.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
platforms = [];
2727
source = {
2828
remotes = ["https://rubygems.org"];
29-
sha256 = "0g2fnag935zn2ggm5cn6k4s4xvv53v2givj1j90szmvavlpya96a";
29+
sha256 = "0vdd1kii40qhbr9n8qx71k2gskq6rkl8ygy8hw5hfj8bb5a364xf";
3030
type = "gem";
3131
};
32-
version = "1.8.10";
32+
version = "1.8.11";
3333
};
3434
minitest = {
3535
groups = ["default"];
@@ -68,9 +68,9 @@
6868
platforms = [];
6969
source = {
7070
remotes = ["https://rubygems.org"];
71-
sha256 = "1746czsjarixq0x05f7p3hpzi38ldg6wxnxxw74kbjzh1sdjgmpl";
71+
sha256 = "18l4r6layck0d80ydc692mv1lxak5xbf6w2paj1x7m2ggbggzxgj";
7272
type = "gem";
7373
};
74-
version = "2.4.2";
74+
version = "2.5.1";
7575
};
7676
}

pkgs/servers/web-apps/discourse/plugins/discourse-chat-integration/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mkDiscoursePlugin {
55
src = fetchFromGitHub {
66
owner = "discourse";
77
repo = "discourse-chat-integration";
8-
rev = "8ade892b387f0ce843d5e78ef4a271b0d35847ff";
9-
sha256 = "1qn1bm09i9gzmh74ws32zgc89hrqzyhmh63qvmv0h00r52rmgxvx";
8+
rev = "ae0389ca89f26401a6c4cffaaae6adcf14af0e15";
9+
sha256 = "sha256-wT9S2mMz2MOpWpYv/FrHYhZibStRIGC4P2Vrqs04bkA=";
1010
};
1111
meta = with lib; {
1212
homepage = "https://github.com/discourse/discourse-chat-integration";

pkgs/servers/web-apps/discourse/plugins/discourse-checklist/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mkDiscoursePlugin {
55
src = fetchFromGitHub {
66
owner = "discourse";
77
repo = "discourse-checklist";
8-
rev = "48855d81b7c3a3274f7f78a64312125c344d92d1";
9-
sha256 = "0139v5wpyglfzvd07ka6gic1ssfysisgfiq09dsbjy519gnc9kjw";
8+
rev = "d8012abd3d6dccb72eec83e6a96ef4809dcad681";
9+
sha256 = "1ngjql65939c571gyaqj8ydcxy5kkril2qlkxqf579vvwzpvxw13";
1010
};
1111
meta = with lib; {
1212
homepage = "https://github.com/discourse/discourse-checklist";

pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mkDiscoursePlugin {
55
src = fetchFromGitHub {
66
owner = "discourse";
77
repo = "discourse-data-explorer";
8-
rev = "23287ece952cb45203819e7b470ebc194c58cb13";
9-
sha256 = "1vc2072r72fkvcfpy6vpn9x4gl9lpjk29pnj8095xs22im8j5in1";
8+
rev = "3ce778ec6d96a300a06ffe0581f4681fbed8df7f";
9+
sha256 = "1555k1anrijfbm0qfraby3ivh6h76177d541nxhnarj85mjx0hjb";
1010
};
1111
meta = with lib; {
1212
homepage = "https://github.com/discourse/discourse-data-explorer";

pkgs/servers/web-apps/discourse/plugins/discourse-docs/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mkDiscoursePlugin {
55
src = fetchFromGitHub {
66
owner = "discourse";
77
repo = "discourse-docs";
8-
rev = "72cdd8d415ae3f797c0d5e2c857370714a42c54a";
9-
sha256 = "07hvw8lpg8873vhwh8rrbml3s5hq606b7sw93r2xv38gxfhmx5lq";
8+
rev = "d3eee7008b7a703774331808e302e36f2f8b4eae";
9+
sha256 = "1p3aqfpv207pvlbis43znwgw56yqsn41320yaw1gdcaakf5s2rsx";
1010
};
1111
meta = with lib; {
1212
homepage = "https://github.com/discourse/discourse-docs";

0 commit comments

Comments
 (0)