Hi Jochen,

Am Fri, Jul 07, 2023 at 12:04:29PM +0200 schrieb Jochen Sprickerhof:
> 
> echo "SALSA_TOKEN=<token>" >> ~/.devscripts
> echo 'SALSA_CI_CONFIG_PATH="recipes/debian.yml@salsa-ci-team/pipeline"' >> 
> ~/.devscripts
> sudo apt install devscripts
> salsa update_safe --group science-team --all

Thanks for this code.  The only problem is that the salsa command does
not work for everybody - specifically not for me, despite I'm using the
token which works for any other task on salsa (including creating new
repositories, pushing etc.)  I simply get

$ salsa update_safe --group science-team --all
Error GETing 
https://salsa.debian.org/api/v4/groups/science-team?with_custom_attributes=0&with_projects=0
 (HTTP 401): Unauthorized {"error":"invalid_token","error_description":"Toke... 
at /usr/share/perl5/Devscripts/Salsa.pm line 396.

I would love to get this working for me but previous attempts to sort
this out failed.  I know it works for a couple of other DDs.

The other thing is the setting this for all might be slightly dangerous
since we have a couple of configured debian/salsa-ci.yml files in Debian
Med and Pkg R teams.

Kind regards
   Andreas.

-- 
http://fam-tille.de

Reply via email to