Opened 3 years ago

Closed 3 years ago

#17391 closed bug (invalid)

New repositories created in Gerrit are not visible in cgit

Reported by: pulkomandy Owned by: kallisti5
Priority: normal Milestone: Unscheduled
Component: Website/Gerrit Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I have created a new Git repo on our Gerrit instance: https://review.haiku-os.org/admin/repos/jamfile-engine

It is not showing up on cgit however, for example the cgit link here is dead: https://review.haiku-os.org/admin/repos

Is this expected?

Change History (1)

comment:1 by kallisti5, 3 years ago

Resolution: invalid
Status: newclosed

expected. There's a file you need to update so cgit will present the repositories:

/var/lib/docker/volumes/dev_gerrit_data/_data/repos

clone-prefix=https://git.haiku-os.org/ ssh://git.haiku-os.org/
enable-html-serving=1

repo.url=haiku
repo.path=/var/git/git/haiku.git
repo.desc=Haiku's main repository
repo.owner=haiku-inc.org
repo.snapshots=0
repo.max-stats=year

repo.url=buildtools
repo.path=/var/git/git/buildtools.git
repo.desc=Haiku's buildtools repository
repo.owner=haiku-inc.org
repo.snapshots=0
repo.max-stats=year

repo.url=jamfile-engine
repo.path=/var/git/git/jamfile-engine.git
repo.desc=Haiku's jamfile-engine repository
repo.owner=haiku-inc.org
repo.snapshots=0
repo.max-stats=year

Gerrit really isn't designed to host a large number of dynamic user repos, so manually grooming "official" repos in this list isn't too bad.

Note: See TracTickets for help on using tickets.