mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-24 07:22:54 +00:00
Update README.md
This commit is contained in:
parent
6d32b0ef2c
commit
53b93e76d1
1 changed files with 25 additions and 19 deletions
12
README.md
12
README.md
|
@ -19,7 +19,8 @@ User cat interact with the Dist Git server using client probably based on [rpkg]
|
||||||
### Package Database communication
|
### 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.
|
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": {
|
```JSON
|
||||||
|
"packageAcls": {
|
||||||
"copr-frontend": {
|
"copr-frontend": {
|
||||||
"fedora-21": {
|
"fedora-21": {
|
||||||
"commit": {
|
"commit": {
|
||||||
|
@ -34,7 +35,7 @@ The following is an example JSON data comming from the Package Database which wo
|
||||||
"groups": ["provenpackager"],
|
"groups": ["provenpackager"],
|
||||||
"people": ["mirek", "valentin"]
|
"people": ["mirek", "valentin"]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
"centos-7": {
|
"centos-7": {
|
||||||
"commit": {
|
"commit": {
|
||||||
"groups": ["provenpackager"],
|
"groups": ["provenpackager"],
|
||||||
|
@ -42,4 +43,9 @@ The following is an example JSON data comming from the Package Database which wo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
The final result would consist of two package repositories:
|
||||||
|
- *copr-frontend* with branches *master* and *fedora-21*
|
||||||
|
- *copr-backend* with three branches *master*, *fedora-21* and *centos-7*
|
||||||
|
|
Loading…
Add table
Reference in a new issue