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

Re: Sarsen packaging



On 8/8/22 22:54, Antonio Valentino wrote:
Il 08/08/22 18:46, Sebastiaan Couwenberg ha scritto:
On 8/8/22 18:33, Antonio Valentino wrote:
Would you like to review the packages and sponsor the initial upload?

Once it's on Salsa.

If it is OK for you I will create the repositories on salsa and push the source code.

Sure, go ahead.

Please use the sarsen, flox, and xarray-sential for the source package names and git repos.

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

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

Apparently it does not create problems and I was able to push the code regularly.

Email & IRC notifications were not been configured due to the above, I did that now:

 $ ../scripts/salsa-configure-repositories.pl -vp sarsen
 Getting projects for namespace: 2052 (page: 1)
 Getting projects for namespace: 2052 (page: 2)
 Getting projects for namespace: 2052 (page: 3)

 Project: sarsen (72235)
 Issues already disabled.
 Merge method is already fast-forward.
Merge request link when pushing from the command line is already disabled.
 Current CI config path is already 'debian/.gitlab-ci.yml'.
 Activating Emails on push for: sarsen (72235)
 Activated Emails on push service for project: sarsen (72235)
 Irker service already deactivated for project: sarsen (72235)
 Adding KGB webhook for: sarsen (72235)
 Added KGB webhook for project: sarsen (72235)
 Configuring protected branches for: sarsen (72235)
 Configured protected branches for project: sarsen (72235)

 $ ../scripts/salsa-configure-repositories.pl -vp flox
 Getting projects for namespace: 2052 (page: 1)
 Getting projects for namespace: 2052 (page: 2)
 Getting projects for namespace: 2052 (page: 3)

 Project: flox (72233)
 Issues already disabled.
 Merge method is already fast-forward.
 Merge request link when pushing from the command line is already disabled.
 Current CI config path is already 'debian/.gitlab-ci.yml'.
 Activating Emails on push for: flox (72233)
 Activated Emails on push service for project: flox (72233)
 Irker service already deactivated for project: flox (72233)
 Adding KGB webhook for: flox (72233)
 Added KGB webhook for project: flox (72233)
 Configuring protected branches for: flox (72233)
 Configured protected branches for project: flox (72233)

 $ ../scripts/salsa-configure-repositories.pl -vp xarray-sentinel
 Getting projects for namespace: 2052 (page: 1)
 Getting projects for namespace: 2052 (page: 2)
 Getting projects for namespace: 2052 (page: 3)

 Project: xarray-sentinel (72234)
 Issues already disabled.
 Merge method is already fast-forward.
 Merge request link when pushing from the command line is already disabled.
 Current CI config path is already 'debian/.gitlab-ci.yml'.
 Activating Emails on push for: xarray-sentinel (72234)
 Activated Emails on push service for project: xarray-sentinel (72234)
 Irker service already deactivated for project: xarray-sentinel (72234)
 Adding KGB webhook for: xarray-sentinel (72234)
 Added KGB webhook for project: xarray-sentinel (72234)
 Configuring protected branches for: xarray-sentinel (72234)
 Configured protected branches for project: xarray-sentinel (72234)

Kind Regards,

Bas

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


Reply to: