gmoirod
(Guillaume Moirod)
28 ביוני, 2022, 7:28pm
1
Hi !
Changes in commit FEATURE: Allow excluding groups from leaderboards (#37) · discourse/discourse-gamification@ac393c7 · GitHub , file db/migrate/20220623182333_add_excluded_groups_to_leaderboards.rb
breaks when upgrading on a “stable” Discourse install.
It happened previously in calendar plugin and fixed by this commit : FIX: Stable core still needs a 6.1 migration (#285) · discourse/discourse-calendar@259f7bf · GitHub
Could you bring back compatibility please ?
By the way, i did not see any branch or tag for plugins. Would it be nice to get a “stable” version of plugins like for Discourse ?
לייק 1
RGJ
(Richard - Communiteq)
28 ביוני, 2022, 10:48pm
2
There is .discourse-compatibility
and when that is not honored we at Communiteq keep a large amount of working forks for stable on https://github.com/discourse-plugins/
3 לייקים
sam
(Sam Saffron)
29 ביוני, 2022, 12:58am
3
discourse-gamification
is a very new plugin, we do not expect to support it on the stable version of discourse. The first officially supported stable version will be on the next release of Discourse.
That said @Falco I have been using ActiveRecord::Migration[6.0]
in a few places for easy cross compatibility.
לייק 1
gmoirod
(Guillaume Moirod)
29 ביוני, 2022, 8:02am
4
Otherwise i suppose i can give a git ref on my app.yaml file to pin a precise commit of the plugin no ?
Falco
(Falco)
29 ביוני, 2022, 3:00pm
5
Yes, any normal git command or flag will work there.
2 לייקים
gmoirod
(Guillaume Moirod)
30 ביוני, 2022, 7:56am
6
Didn’t find a convenient git command to do this but this below in container config did the trick :
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/discourse-gamification && cd discourse-gamification && git checkout 48b2decfbefda6044953ca0413e45ca3cc18b156
לייק 1
gmoirod
(Guillaume Moirod)
21 ביולי, 2022, 4:36pm
7
Is this commit bringing back compatibility for “stable” version ?
committed 09:56AM - 05 Jul 22 UTC
לייק 1
I believe so, but perhaps @hyphalos can confirm it’s working for them?
Awesome, thanks for your response @JammyDodger ! I ended up forking it but looks like they accepted my PR, so I’ll revert back to their repo.
gmoirod
(Guillaume Moirod)
25 ביולי, 2022, 7:35am
9
I confirm : I updated to the latest commit while in “stable” discourse branch and it is good now
2 לייקים