#6208 A project owner cannot add a user to the watch list
Closed: Fixed 5 years ago Opened 6 years ago by ppisar.

How can a package maintainer add a mailing list pseudo-user to
watchers? I talk about perl-sig pseudo-user forwarding all commits and
bug reports to perl-devel list.

The API can only list watchers. The interactive web interface allows to
become a watcher. It does not allow to make another user a watcher.


Metadata Update from @pingou:
- Issue tagged with: src.fp.o

6 years ago

I just had a thought about this today, pagure supports sending notifications about PR or mail commits to a certain email address via its settings page so that may be able to help for this use-case.

@ppisar, can @pingou's suggestion solve it for you?

That would create inconsistencies. Old packages have perl-sig user in watchers and receives the notifications via this mechanism including bug reports, e.g. rpms/perl-Alien-pkgconf. While new packages misses the watcher and they were receiving notifications about commits only, e.g.
rpms/perl-Alien-PCRE2.

I have three problems with with proposal: First the mechanisms send notifications about different events, second I don't want to configure notifications on two different places, third I'm not going to click it manually for 2000 packages.

@pingou should we just move this to a upstream RFE to allow setting the watches via api / web interface?

Metadata Update from @kevin:
- Issue priority set to: Waiting on Asignee

6 years ago

Sounds reasonable, though I'm a little torn about letting people putting other people on watchers, seems like an easy cause of annoyance.

Filed https://pagure.io/pagure/issue/3174 on it.

Is there anything we can do in the mean time here? Perhaps add a list of packages via the db?

Or could we somehow get them access to the user so they can add new watches?

ok, with pagure 5.0 there is now an api endpoint for this.

@ppisar can you use this endpoint to add the pseuto-user to watch whatever packages you like?

Of if you can generate a list of packages just re-open this ticket and I can use the pagure-admin tool to add to all of them.

:game_die:

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata