#1380 Allow (temp) disabling fedmsg for tickets repos for importing
Closed: Fixed 7 years ago Opened 7 years ago by kevin.

When you use pagure-importer and push to a pagure ticket repo, it generates all the fedmsgs that would have gone out for those actions. This results in old old messages against lots of people and for large trac instances generates a ton of email and notifs that are all useless.

We need to have some way to disable these messages just for importing things.

Possible options:

  • Some setting that lets the admin disable it, possibly then pagure-importer can change this setting (with admin auth) before pushing and change it back after.

  • Some hook option pagure-importer can use to disable fedmsgs for that commit. However, this might be a security issue as then someone could use this to push a ticket change with no fedmsg notification (but they would have push permissions, so not sure this is that big a deal).

  • Some other clever idea.


wanting to follow and seems I have no other way to do so

Ok, I went for the first solution as the option to turn off fedmsg on a specific push would be potentially insecure as pointed out and turning it off entirely is kinda against of the idea of pagure: mirroring project across instances.

PR coming soon :)

@pingou changed the status to Fixed

7 years ago

Login to comment on this ticket.

Metadata