[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sarsen packaging



On 8/9/22 08:18, Antonio Valentino wrote:
Il 09/08/22 05:25, Sebastiaan Couwenberg ha scritto:
On 8/8/22 22:54, Antonio Valentino wrote:
I was able to create the three repositories but I got an error like the following:

$ ./salsa-create-repository.pl -v -t XXXXXXXXXXXX -p sarsen
Getting projects for namespace: 2052 (page: 1)
Getting projects for namespace: 2052 (page: 2)
Getting projects for namespace: 2052 (page: 3)
Creating project: sarsen
Error: Request failed! (https://salsa.debian.org/api/v4/projects/72235/integrations)
HTTP Status: 403 Forbidden
{"message":"403 Forbidden"}

Did you pull the latest changes?

The scripts were updated to fix the integration API calls:

 https://salsa.debian.org/debian-gis-team/scripts/-/commit/c7ec2167ac324c147de03895cf275a52cfcdfb56

yes, I confirm that I used the latest revision on the git repo

Since you get a 403 instead of 404 it might be a permission issue:

  This API requires an access token with the Maintainer or Owner role.

https://salsa.debian.org/help/api/integrations.md

OK, in the Debian GIS group on salsa I'm a "Developer"
This explains the issue

Access level check added to the scripts:


https://salsa.debian.org/debian-gis-team/scripts/-/commit/076a4eba3ea06788a69d3b5fa50d343efafb61f0

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


Reply to: