Skip to content

praefect: Get repository ID of repos already in database

Will Chandler (ex-GitLab) requested to merge wc/track-repo-existing-id into master

Currently the track-repositories Praefect command checks if the target repo is already tracked in the database, but does not retrieve the repository ID in this scenario, returning 0 instead. As a result, track requests will fail when we use the invalid repository ID returned.

Fetch the actual repository ID in this scenario.

Merge request reports