Hi folks!
The FMN replacement team has finished writing the new version of our notification system, and we are ready to deploy! We plan on deploying the new version on https://notifications.fedoraproject.org this week, we'll keep the old one around but move it to https://apps.fedoraproject.org/notifications-old, and redirect from https://apps.fedoraproject.org/notifications to the new place, notifications.fedoraproject.org.
You will thus still be able to access the current FMN, and it will keep running until F39. Due to the difference in features, we can't import existing rules into the new system, so we encourage you to create new rules that suit you as soon as the new system is up and running.
The change of URLs will happen with the planned outage set for 2023-04-24 08:30 UTC (this Wednesday), see ticket 11266 https://pagure.io/fedora-infrastructure/issue/11266 for details.
If you have issues with the new FMN, please open infra tickets at: https://pagure.io/fedora-infrastructure/new_issue
We hope you will enjoy the simpler UI and faster processing speed that the new FMN brings.
Cheers! Aurélien
Il 24/04/23 11:47, Aurelien Bompard ha scritto:
Hi folks!
The FMN replacement team has finished writing the new version of our notification system, and we are ready to deploy! We plan on deploying the new version on https://notifications.fedoraproject.org this week, we'll keep the old one around but move it to https://apps.fedoraproject.org/notifications-old, and redirect from https://apps.fedoraproject.org/notifications to the new place, notifications.fedoraproject.org.
You will thus still be able to access the current FMN, and it will keep running until F39. Due to the difference in features, we can't import existing rules into the new system, so we encourage you to create new rules that suit you as soon as the new system is up and running.
The change of URLs will happen with the planned outage set for 2023-04-24 08:30 UTC (this Wednesday), see ticket 11266 https://pagure.io/fedora-infrastructure/issue/11266 for details.
If you have issues with the new FMN, please open infra tickets at: https://pagure.io/fedora-infrastructure/new_issue
We hope you will enjoy the simpler UI and faster processing speed that the new FMN brings.
Cheers! Aurélien
Thank you, the new FMN is much cleaner and easier to use than the previous version.
One thing it's not clear to me: are the rules processed sequentially (first to match stop processing) or in parallel? I'd like to create two rules, one for my packages and one for packages of a sig. Some of my packages are also in that sig packages list. Will I receive double notifications?
Mattia
Thank you, the new FMN is much cleaner and easier to use than the previous version.
Thanks!
One thing it's not clear to me: are the rules processed sequentially (first to match stop processing) or in parallel? I'd like to create two rules, one for my packages and one for packages of a sig. Some of my packages are also in that sig packages list. Will I receive double notifications?
They are all processed independently of each other, but the notifications are de-duplicated: a single incoming message cannot generate two notifications to the same destination.
A.
On 24. 04. 23 11:47, Aurelien Bompard wrote:
You will thus still be able to access the current FMN, and it will keep running until F39. Due to the difference in features, we can't import existing rules into the new system, so we encourage you to create new rules that suit you as soon as the new system is up and running.
Hello. I have two rules in the old system:
- email me when I get a new badge - email me when Koschei status of a package I co-maintain changes
I have no idea how to setup this. When I try to create a new rule in the new system, it offers a list of applications but neither Badges nor Koschei seem to be listed.
- email me when I get a new badge
Yes, Badges has still not been ported over to Fedora Messaging. It's actually the last remaining piece I think, with FMN done. Until then, FMN can't understand the messages that Badges emits, so you can't subscribe to notifications yet. Sorry about that! Badges is on our list of tech debt to handle, so hopefully it won't last too long.
- email me when Koschei status of a package I co-maintain changes
I have no idea how to setup this. When I try to create a new rule in the new system, it offers a list of applications but neither Badges nor Koschei seem to be listed.
Koschei has been ported to Fedora Messaging, but they don't have message schemas yet. We have written quite a few schema packages for Fedora apps but not for all of them, and unfortunately Koschei was missed. I'll try to get that moving forward.
Thanks for the feedback.
On 26-04-2023 12:42, Aurelien Bompard wrote:
- email me when I get a new badge
Yes, Badges has still not been ported over to Fedora Messaging. It's actually the last remaining piece I think, with FMN done. Until then, FMN can't understand the messages that Badges emits, so you can't subscribe to notifications yet. Sorry about that! Badges is on our list of tech debt to handle, so hopefully it won't last too long.
Badges is currently being rewritten from the ground up [1]. That will also include the move to FMN.
However, this is still in the early stage and will take some time before we can reap the benefits. So. I'll try to free some cycles and take a look if it's possible to have an intermediate solution. No promises, though. The code is very old, still running on Python2 and sparsely documented.
[1] If you'd like to know more or chime in: https://discussion.fedoraproject.org/tag/badges-team
-- Sandro
I'll try to free some cycles and take a look if it's possible to have an intermediate solution.
I have some ideas on how we could do that without touching the existing Badges code.
Basically what I was thinking was: - write the Fedora Messaging Schema for Badges (you'll need to do that at some point anyway) - tweak the messaging bridges that currently forward messages from fedmsg to fedora-messaging to use that schema if the topic appears to come from Badges.
No Python 2 anywhere in this plan :-)
Feel free to reach out to me if you want to implement that, I can probably help.
Aurélien
On 26-04-2023 14:23, Aurelien Bompard wrote:
I have some ideas on how we could do that without touching the existing Badges code.
That would be great. Sometimes I feel the code is so brittle that touching one part will break another.
Basically what I was thinking was:
- write the Fedora Messaging Schema for Badges (you'll need to do that at some point anyway)
- tweak the messaging bridges that currently forward messages from fedmsg to fedora-messaging to use that schema if the topic appears to come from Badges.
That's probably (hopefully) documented somewhere. Do you happen to have some links. Time is precious these days...
No Python 2 anywhere in this plan 😄
+1 (= Python3) :-D
Feel free to reach out to me if you want to implement that, I can probably help.
Thanks! I definitely will need some help.
-- Sandro
On Wed, Apr 26, 2023 at 10:42:36AM -0000, Aurelien Bompard wrote:
Yes, Badges has still not been ported over to Fedora Messaging. It's actually the last remaining piece I think, with FMN done. Until then, FMN can't understand the messages that Badges emits, so you can't subscribe to notifications yet. Sorry about that! Badges is on our list of tech debt to handle, so hopefully it won't last too long.
s/tech debt/older software that needs work to reduce ongoing maintenance costs/
:)
Il 24/04/23 11:47, Aurelien Bompard ha scritto:
Hi folks!
The FMN replacement team has finished writing the new version of our notification system, and we are ready to deploy! We plan on deploying the new version on https://notifications.fedoraproject.org this week, we'll keep the old one around but move it to https://apps.fedoraproject.org/notifications-old, and redirect from https://apps.fedoraproject.org/notifications to the new place, notifications.fedoraproject.org.
I used to set the old FMN to send me a "daily or n messages" digest... I've just realized that there is no such functionality in the new FMN! Is that something that can be reconsidered?
Mattia
I used to set the old FMN to send me a "daily or n messages" digest... I've just realized that there is no such functionality in the new FMN! Is that something that can be reconsidered?
Indeed, I don't think that came up during the requirements gathering phase, but it would be a cool feature. Not a trivial one though. Do you mind opening a ticket in FMN? [1] I have some design ideas I could add for whoever wants to tackle it.
[1] https://github.com/fedora-infra/fmn/issues
Thanks! Aurélien
Dne 24. 04. 23 v 11:47 Aurelien Bompard napsal(a):
Hi folks!
The FMN replacement team has finished writing the new version of our notification system, and we are ready to deploy! We plan on deploying the new version on https://notifications.fedoraproject.org this week, we'll keep the old one around but move it to https://apps.fedoraproject.org/notifications-old, and redirect from https://apps.fedoraproject.org/notifications to the new place, notifications.fedoraproject.org.
You will thus still be able to access the current FMN, and it will keep running until F39. Due to the difference in features, we can't import existing rules into the new system, so we encourage you to create new rules that suit you as soon as the new system is up and running.
Are there some default rules? Will I receive some notifications by default?
Vít
On Thu, 2023-05-11 at 20:30 +0200, Vít Ondruch wrote:
Dne 24. 04. 23 v 11:47 Aurelien Bompard napsal(a):
Hi folks!
The FMN replacement team has finished writing the new version of our notification system, and we are ready to deploy! We plan on deploying the new version on https://notifications.fedoraproject.org%C2%A0this week, we'll keep the old one around but move it to https://apps.fedoraproject.org/notifications-old, and redirect from https://apps.fedoraproject.org/notifications%C2%A0to the new place, notifications.fedoraproject.org.
You will thus still be able to access the current FMN, and it will keep running until F39. Due to the difference in features, we can't import existing rules into the new system, so we encourage you to create new rules that suit you as soon as the new system is up and running.
Are there some default rules? Will I receive some notifications by default?
btw How I disable copr notifications ?