Blob Blame History Raw
This is a dist-git like repo for Ceph

The master brach is unused. Use an existing branch instead.
Branch names follow convention like `c<VERSION>-sig-storage-ceph-VERSION>`
as descibed on [Naming and Patterns for Mapping Git Branches to Koji Tags]
(https://wiki.centos.org/BrianStinson/GitBranchesandKojiTags)

* c8s-sig-storage-ceph-quincy: CentOS-8
* ...

Instructions for building the ceph package for the CentOS Storage SIG
can be found in the following places:

* [Comunity Build System](https://wiki.centos.org/HowTos/CommunityBuildSystem)
* [Storage SIG landing page](https://wiki.centos.org/SpecialInterestGroup/Storage/Gluster)
* [SIGGuide](https://wiki.centos.org/SIGGuide#SIGGuide.2FContent.2FImport.Pushing_first_to_lookaside_cache)

E.g. build a src.rpm with:
    $ rpmbuild -bs \
               --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \
               --define "dist .el8s" SPECS/ceph.spec

Get the lookaside uploader script from ssh://git@git.centos.org/centos-git-common.git

To build:

1. Upload the source tar file to the lookaside cache, e.g.:
    $ lookaside_upload -f SOURCES/ceph-17.2.1.tar.gz -n ceph -b c8s-sig-storage-ceph-quincy

2. update the .glusterfs.metadata with the hash from step 1:
    $ cat .ceph.metadata
e9c6a6a482b8e46117c2a6c37b50c569bd62d92e  SOURCES/ceph-17.2.1.tar.gz

3. commit and push SPECS/ceph.spec and .ceph.metadata, e.g.:
    $ git add SPECS/ceph.spec .ceph.metadata
    $ git push origin c8s-sig-storage-ceph-quincy

4. retrieve the commit for step 3:
    $ git log|head -n 1
commit 29f19456be12986e86392652331e3a56ff0a88a0

5. build
    $ cbs build storage8s-ceph-quincy-el8s git+https://git.centos.org/rpms/ceph.git#29f19456be12986e86392652331e3a56ff0a88a0



    $ cbs build [--scratch] storage8s-ceph-quincy-el8s ceph-17.2.1-1.el8s.src.rpm