Re: How to get some replacement for a commit list
On Fri, Jan 12, 2018 at 04:55:38PM +0100, Andreas Tille wrote: > That's *very* interesting. I also need it for the Blends metadata > gatherer. This needs d/changelog, d/control, d/upstream/metadata of all > projects of a packaging team. If you dive into this I'd be really happy > to get hints. On Alioth this was easy by running a cron job on the > machine iterating through all dirs of a team and fetching the debian/ > dir. The Alioth -> Salsa move is breaking this (and other things for > the Blends tools). I have submitted a pull request with such a script: https://salsa.debian.org/mehdi/salsa-scripts/merge_requests/2/commits -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name ⠈⠳⣄ http://www.debian.org signature.asc Description: PGP signature
Re: How to get some replacement for a commit list
Hi, >>> We are now supposed to use the email notifications from GitLab ("Emails on >>> push" under "Settings -> Integrations"). >> >> there is a script for this if you don't want to use the web interface (I >>didn't >> test it though) >> >> https://salsa.debian.org/mehdi/salsa-scripts/blob/master/emails_on_push.sh > > Did this worked for you? > > $ emails_on_push.sh r-pkg-team ti...@debian.org > Project r-pkg-team not found among your owned projects on > https://salsa.debian.org/api/v4 service > > $ emails_on_push.sh science-team ti...@debian.org > Project science-team not found among your owned projects on > https://salsa.debian.org/api/v4 service Just fix the script using idea from: https://lists.debian.org/debian-devel-games/2018/01/msg00010.html Best wishes, Boris
Re: How to get some replacement for a commit list
Hi Sébastien, On Fri, Jan 12, 2018 at 04:32:22PM +0100, Sébastien Villemot wrote: > > $ emails_on_push.sh r-pkg-team ti...@debian.org > > Project r-pkg-team not found among your owned projects on > > https://salsa.debian.org/api/v4 service > > > > $ emails_on_push.sh science-team ti...@debian.org > > Project science-team not found among your owned projects on > > https://salsa.debian.org/api/v4 service > > Notifications have to be set up on a per-project basis, not on a group-basis. Ahhh, I should have read more closely. > I am currently writing a script to list all the projects of a group, That's *very* interesting. I also need it for the Blends metadata gatherer. This needs d/changelog, d/control, d/upstream/metadata of all projects of a packaging team. If you dive into this I'd be really happy to get hints. On Alioth this was easy by running a cron job on the machine iterating through all dirs of a team and fetching the debian/ dir. The Alioth -> Salsa move is breaking this (and other things for the Blends tools). > Also, I'm not sure it's a good model to have each of us add his personal > address to the configuration of projects on which he/she has admin rights… The > tracker.d.o address is really the prefered way. Definitely. Having personal addresses per project seems to be a really safe way to get lots of e-mail addresses and projects forgetten in one or the other way. Kind regards Andreas. -- http://fam-tille.de
Re: How to get some replacement for a commit list
On Fri, Jan 12, 2018 at 04:14:22PM +0100, Andreas Tille wrote: > On Fri, Jan 12, 2018 at 03:24:53PM +0100, Philip Rinn wrote: > > Hi, > > > > > We are now supposed to use the email notifications from GitLab ("Emails on > > > push" under "Settings -> Integrations"). > > > > there is a script for this if you don't want to use the web interface (I > > didn't > > test it though) > > > > https://salsa.debian.org/mehdi/salsa-scripts/blob/master/emails_on_push.sh > > Did this worked for you? > > $ emails_on_push.sh r-pkg-team ti...@debian.org > Project r-pkg-team not found among your owned projects on > https://salsa.debian.org/api/v4 service > > $ emails_on_push.sh science-team ti...@debian.org > Project science-team not found among your owned projects on > https://salsa.debian.org/api/v4 service Notifications have to be set up on a per-project basis, not on a group-basis. I am currently writing a script to list all the projects of a group, to facilitate such a mass modification. Also, I'm not sure it's a good model to have each of us add his personal address to the configuration of projects on which he/she has admin rights… The tracker.d.o address is really the prefered way. -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name ⠈⠳⣄ http://www.debian.org signature.asc Description: PGP signature
Re: How to get some replacement for a commit list
On Fri, Jan 12, 2018 at 03:49:47PM +0100, Sébastien Villemot wrote: > > > > https://salsa.debian.org/mehdi/salsa-scripts/blob/master/emails_on_push.sh > > Indeed, thanks. And there is also a script for activating IRC notifications > (it > would be nice to have them back on #debian-science). No luck here as well: $ irker.sh science-team \#debian-science Project science-team not found among your owned projects on https://salsa.debian.org/api/v4 service :-( -- http://fam-tille.de
Re: How to get some replacement for a commit list
On Fri, Jan 12, 2018 at 03:24:53PM +0100, Philip Rinn wrote: > Hi, > > > We are now supposed to use the email notifications from GitLab ("Emails on > > push" under "Settings -> Integrations"). > > there is a script for this if you don't want to use the web interface (I > didn't > test it though) > > https://salsa.debian.org/mehdi/salsa-scripts/blob/master/emails_on_push.sh Did this worked for you? $ emails_on_push.sh r-pkg-team ti...@debian.org Project r-pkg-team not found among your owned projects on https://salsa.debian.org/api/v4 service $ emails_on_push.sh science-team ti...@debian.org Project science-team not found among your owned projects on https://salsa.debian.org/api/v4 service :-( Kind regards Andreas. -- http://fam-tille.de
Re: Re: How to get some replacement for a commit list
On Fri, Jan 12, 2018 at 03:24:53PM +0100, Philip Rinn wrote: > > We are now supposed to use the email notifications from GitLab ("Emails on > > push" under "Settings -> Integrations"). > > there is a script for this if you don't want to use the web interface (I > didn't > test it though) > > https://salsa.debian.org/mehdi/salsa-scripts/blob/master/emails_on_push.sh Indeed, thanks. And there is also a script for activating IRC notifications (it would be nice to have them back on #debian-science). -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name ⠈⠳⣄ http://www.debian.org signature.asc Description: PGP signature
Re: Re: How to get some replacement for a commit list
Hi, > We are now supposed to use the email notifications from GitLab ("Emails on > push" under "Settings -> Integrations"). there is a script for this if you don't want to use the web interface (I didn't test it though) https://salsa.debian.org/mehdi/salsa-scripts/blob/master/emails_on_push.sh Best, Philip
Re: How to get some replacement for a commit list
On Fri, Jan 12, 2018 at 02:48:38PM +0100, Andreas Tille wrote: > since the move to Salsa there are no commits sent to a list any more > (neither for the Debian Science nor for the packages in r-pkg-team). Is > there any chance to get this nice feature back? We are now supposed to use the email notifications from GitLab ("Emails on push" under "Settings -> Integrations"). The recommended setup is to use "dispatch+${package}_...@tracker.debian.org" as the email address to which notifications are sent. Then people can subscribe to those notifications through tracker.d.o (using the "vcs" keyword). See https://wiki.debian.org/Salsa/Doc#Email_notifications -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name ⠈⠳⣄ http://www.debian.org signature.asc Description: PGP signature