table of contents
| PKGOS-SALSA-GET-PROJECT-ID(1) | Debian OpenStack packaging | PKGOS-SALSA-GET-PROJECT-ID(1) |
NAME¶
pkgos-salsa-get-project-id - resolve the numeric GitLab ID of a project of the Debian OpenStack team
SYNOPSIS¶
pkgos-salsa-get-project-id --project-name
<name>
pkgos-salsa-get-project-id --project-path <path>
DESCRIPTION¶
pkgos-salsa-get-project-id resolves a project of the openstack-team group on salsa.debian.org to its numeric GitLab project ID, by searching ALLGIT_FILE, which contains "openstack-team/<subgroup>/<project>.git,<project-id>" lines. If that file does not exist or is not readable, it is generated first using pkgos-salsa-list-all-git(1). The resolved ID is printed on stdout.
OPTIONS¶
- --project-name <name>
- Name of the project, for example "nova". It is searched in any of the subgroups of the team. If omitted, and --project-path isn't used either, it defaults to the name of the Git repository containing the current working directory, when running from inside a Git repository.
- --project-path <path>
- Path of the project relative to openstack-team, for example "services/nova". Alternative to --project-name. Exactly one of both must be given.
FILES¶
- /etc/pkgos/pkgos.conf
- Global OpenStack packaging tools configuration file, defining ALLGIT_FILE.
- /etc/pkgos/all-git
- Default value of ALLGIT_FILE: list of the team's Git repositories, as "openstack-team/<subgroup>/<project>.git,<project-id>" lines.
ENVIRONMENT¶
- SALSA_TOKEN
- Not used by this script itself, but needed by pkgos-salsa-list-all-git(1) when the ALLGIT_FILE data file must be generated.
EXAMPLES¶
SEE ALSO¶
AUTHOR¶
This script and its man page: (c) 2026, Thomas Goirand <zigo@debian.org>, released under the Apache-2.0 license.
| 23 September 2026 | openstack-pkg-tools |