[CentOS-devel] Dist-git's git structure in CBS

Fri Jan 28 16:55:48 UTC 2022
Patrick Riehecky <riehecky at fnal.gov>

On Fri, 2022-01-28 at 17:51 +0100, Pierre-Yves Chibon wrote:
> Good Morning Everyone,
> 
> Nowadays we have different structures in the git repositories of the
> dist-git
> instance for CBS and for CentOS-Stream.
> 
> CBS' dist-git (used by the SIG and for CentOS Linux 7, CentOS-Stream
> 8), uses
> something like:
> ├── .gitignore
> ├── .kernel.metadata
> ├── SOURCES
> │   ├─ ....
> │   ├── patch-5.14.0-redhat.patch
> │   ├─ ...
> │   └── x509.genkey.rhel
> └── SPECS
>     └── kernel.spec
> 
> Ie: patches and other sources in a SOURCES folder, spec in a SPECS
> folder and
> the link between the git repo and the lookaside cache is done via the
> `.<packagename>.metadata` file.
> 
> source:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_rpms_kernel_tree_c8s&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=UCm2gvNdb8oGTYkDAh0O3Kwc7S6gQoWQHrmpxorhbL0IcugBtxZ_8EFBrVD9SBxm&s=c1Od6BsDRleW4OhgpT2RR9ZxQ5oT1qO7LS-G6_Ei4gA&e=
>  
> 
> 
> On CentOS-Stream 9, the structure is similar to Fedora's structure
> where
> everything is in the top directory.
> source:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.com_redhat_centos-2Dstream_rpms_kernel&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=UCm2gvNdb8oGTYkDAh0O3Kwc7S6gQoWQHrmpxorhbL0IcugBtxZ_8EFBrVD9SBxm&s=qDg7Q15OLybTtGgR4hg6eiUvrGPBJpd9UXivroCIwcM&e=
>  
> 
> 
> I was wondering if there has been some thoughts given on harmonizing
> these
> structures? I am particularly interested on changing them for SIG
> building on
> the top of CS9. It would make pulling changes from gitlab onto the
> SIG's repo a
> lot easier I believe.
> I suspect there may be some work to do for this and if I'm pointed to
> the right
> direction, I wouldn't mind having a look at it but first I'd like to
> know if
> it's a good idea :)
> 
> So... what do you think?
> 
> 
> Thanks,
> Pierre
> 
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailman_listinfo_centos-2Ddevel&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=UCm2gvNdb8oGTYkDAh0O3Kwc7S6gQoWQHrmpxorhbL0IcugBtxZ_8EFBrVD9SBxm&s=MGlnv8Pu05pmXl19fQ4-r_xaR6lgd6uirZMquMiACSA&e=
>  

Consistency always makes me happy.

I'm not the person who'd be doing the work, but I'd gladly buy them a
drink.

Pat