mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +00:00
Update README.md
This commit is contained in:
parent
6d32b0ef2c
commit
53b93e76d1
1 changed files with 25 additions and 19 deletions
|
@ -19,6 +19,7 @@ User cat interact with the Dist Git server using client probably based on [rpkg]
|
|||
### 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.
|
||||
|
||||
```JSON
|
||||
"packageAcls": {
|
||||
"copr-frontend": {
|
||||
"fedora-21": {
|
||||
|
@ -34,7 +35,7 @@ The following is an example JSON data comming from the Package Database which wo
|
|||
"groups": ["provenpackager"],
|
||||
"people": ["mirek", "valentin"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"centos-7": {
|
||||
"commit": {
|
||||
"groups": ["provenpackager"],
|
||||
|
@ -43,3 +44,8 @@ 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