mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
Update README.md
This commit is contained in:
parent
f1a912ee2c
commit
6d32b0ef2c
1 changed files with 28 additions and 0 deletions
28
README.md
28
README.md
|
@ -15,3 +15,31 @@ The Dist Git server repeatedly asks a package database for information about pac
|
||||||
User cat interact with the Dist Git server using client probably based on [rpkg](https://fedorahosted.org/rpkg/). The client authenticates with an ssh certificate for git communication and with an http client certificate for uploads to the lookaside cache.
|
User cat interact with the Dist Git server using client probably based on [rpkg](https://fedorahosted.org/rpkg/). The client authenticates with an ssh certificate for git communication and with an http client certificate for uploads to the lookaside cache.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### Package Database communication
|
||||||
|
The following is an example JSON data comming from the Package Database which would create two packages: *copr-frontend* and *copr-backend*. The first package would be for Fedora 21 only and permissions to commit into this repo would be granted to users *mirek*, *adam* and anyone in the group *provenpackager*. The *copr-backend* package would be for Fedora 21 and CentOS 7. The permissions would be processed the same way as for the first package.
|
||||||
|
|
||||||
|
"packageAcls": {
|
||||||
|
"copr-frontend": {
|
||||||
|
"fedora-21": {
|
||||||
|
"commit": {
|
||||||
|
"groups": ["provenpackager"],
|
||||||
|
"people": ["mirek", "adam"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"copr-backend": {
|
||||||
|
"fedora-21": {
|
||||||
|
"commit": {
|
||||||
|
"groups": ["provenpackager"],
|
||||||
|
"people": ["mirek", "valentin"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"centos-7": {
|
||||||
|
"commit": {
|
||||||
|
"groups": ["provenpackager"],
|
||||||
|
"people": ["mirek", "valentin"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue