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

Fri Jan 28 16:53:25 UTC 2022
Neal Gompa <ngompa13 at gmail.com>

On Fri, Jan 28, 2022 at 11:51 AM Pierre-Yves Chibon <pingou at pingoured.fr> 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
> │   ├─ ....
> │   ├── 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://git.centos.org/rpms/kernel/tree/c8s
> On CentOS-Stream 9, the structure is similar to Fedora's structure where
> everything is in the top directory.
> source: https://gitlab.com/redhat/centos-stream/rpms/kernel
> 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?

For the love of all things good, *please* change it to match Fedora!
Hyperscale gets burned badly by this because we regularly cross
between CBS and Fedora/EPEL. And now with CentOS Stream 9, we're
working with all three, and it's *extremely* annoying for workflow

So if you can, *please* make git.centos.org use the same layout as

真実はいつも一つ!/ Always, there's only one truth!