Blame README.markdown

f536c1
# Control files for CBS ↔ repositories synchronization
f536c1
f536c1
This repository contains control files for the synchronization process
f536c1
between CBS tags and RPM repositories.
f536c1
f536c1
The general syntax of these files follows this convention ([wiki][sync-legend-wiki]):
f536c1
f536c1
    <tag>|<destination path>|<dir to run createrepo in>|<destination on mirror.centos.org>
f536c1
f536c1
Example:
f536c1
f536c1
    cloud7-openstack-rocky-release/|7/cloud/x86_64/openstack-rocky/|7/cloud/x86_64/openstack-rocky/|7/cloud/x86_64/openstack-rocky/
f536c1
    cloud7-openstack-rocky-release/|7/cloud/ppc64le/openstack-rocky/|7/cloud/ppc64le/openstack-rocky/|7/cloud/ppc64le/openstack-rocky/
f536c1
1b1131
## Running the lint tool
1b1131
1b1131
Included in the root of this repository is a lint tool to check the files for
1b1131
common errors. Please run this tool before submitting a pull-request. This tool
1b1131
requires python2
1b1131
1b1131
### Check a single file
1b1131
```
1b1131
$ ./cclint sign_list
1b1131
```
1b1131
1b1131
### Check all files
1b1131
```
1b1131
$ ./cclint
1b1131
```
1b1131
f536c1
[sync-legend-wiki]: https://wiki.centos.org/SIGGuide/Content/Mirror "Steps to request space on the mirror network"
f536c1
f536c1
## Buildlogs synchronization
f536c1
f536c1
The file in control of buildlogs synchronization is `buildlogs_list`.
f536c1
As stated at the top of that file, it is universal for all architectures
f536c1
– the synchronization script will automatically substitute `aarch64`/`ppc64le`
f536c1
for `x86_64` for any tags that have content on the respective architecture.
f536c1
f536c1
## Mirrors synchronization
f536c1
f536c1
The synchronization to mirrors is controlled by architecture-specific `sign_list` file:
f536c1
f536c1
f536c1
  
f536c1
    File nameArchitecture
f536c1
  
f536c1
  
f536c1
    sign_listx86_64
f536c1
    sign_list.aarch64aarch64
f536c1
    sign_list.ppc64leppc64le
f536c1
  
f536c1