-
Notifications
You must be signed in to change notification settings - Fork 6
Finding Project IDs
Aru Sahni edited this page Jul 7, 2019
·
4 revisions
For some remotes (only GitLab at the moment), the internal API ID for the repository must be known in order to get MR information. Using the provided API token, git-req
will try to look this up on first run. Unfortunately, some on-prem/hosted GitLab installations may be misconfigured and the query may not function as expected. In the event this happens, the project ID can be set manually by executing the following command in the project directory:
git req --set-project-id <PROJECT_ID>
The project ID can be found in the Gitlab UI.
- Visit the project's main page.
- The project ID should be visible below the project's name at the top of the page.
- Visit the project's main page.
- From the left sidebar, click "Settings".
- Click "General".
- Expand the "General" section.
- The project ID should be visible.