Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656156 - Lack of documentation (or it's well hidden) on how to request git repository
Summary: Lack of documentation (or it's well hidden) on how to request git repository
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-20 10:13 UTC by Sergei Trofimovich (RETIRED)
Modified: 2022-06-16 02:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-05-20 10:13:36 UTC
https://gitweb.gentoo.org/ contains a few git repositories but says nothing on how to create a new repository.

I thought of creating toolchain-patches repository owned by toolchain@ to migrate CVS contents but I do not see how one creates that and what knobs are available to set repository up and tweak configuration.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-08-05 20:03:00 UTC
Specifically I'd like to request a few repositories for toolchain@ to migrate off CVS but I don't know the specifics of managing repos and permissions.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-06 06:53:55 UTC
You request a repository via filing a bug requesting a repository.

Knobs:
- repository name (needs to start with appropriate existing prefix),
- owner,
- description,
- access list:
  - RW+ = full, RW = without deleting branches and force pushes, R = read-only
  - can include groups such as 'all devs' or 'all devs with gentoo.git access'
  - also includes gitweb and anongit option
  - also possible to apply restrictions per branch
- hooks:
  - requiring signed pushes (limited to active devs)
  - requiring signed commits (limited to active devs)
  - gentoo-commits notifications (and possibly mailing extra people)
  - bug tag processing

That's all I've found via a quick look over our configs.  Feel free to write it into a proper doc.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2018-08-07 01:50:07 UTC
hooks:
- can trigger external webhooks (github-compatible)
- custom validations (used in news)
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 02:40:21 UTC
I've gone ahead and thrown up this information in the Infra namespace on the wiki, so it should be easier to find now?

https://wiki.gentoo.org/wiki/Project:Infrastructure/Git_Hosting