[CentOS-devel] Announcing possibility for SIGs to use "flat layout" on git.centos.org

Mon Feb 21 10:02:05 UTC 2022
Fabian Arrotin <arrfab at centos.org>

Recently, a thread (see 
https://lists.centos.org/pipermail/centos-devel/2022-January/120171.html) was 
started onn this list to discuss the possibility to let SIGs pushing to 
git in a "flat layout" style instead "rpmbuild layout" style on 
git.centos.org.

As you know, since the beginning of git.centos.org, Red Hat pushed (as 
is still pushing, no change in sight for that part) in each 
/rpms/<package_name> git project in the "rpmbuild layout" style (so with 
SPECS/<pkg_name>.spec , eventually SOURCES/*)

That's what SIGs have been using for years now, and it's how it's also 
documented in the SIG guide (see https://sigs.centos.org/guide/git/)

Some SIGs wanted to bring "flat layout" style support so that they can 
just import existing branch from Fedora/Epel directly on git.centos.org 
without a need to change the dist-git layout, so get_sources.sh (from 
https://git.centos.org/centos-git-common) was recently modified to 
detect in which format the git repo is laid out and so how to retrieve 
sources from https://git.centos.org/sources.

This request was all tracked in ticket 
https://pagure.io/centos-infra/issue/659

The needed new centpkg-minimal 
(https://cbs.centos.org/koji/packageinfo?packageID=8196) was 
built/pushed "live" today on cbs.centos.org , as some --scratch builds 
were tested with automotive SIG to confirm that it was working fine.

We'll just add a simple note on the SIG Guide to mention that it's now 
possible to use the "flat layout" style (like Fedora/Epel) on 
git.centos.org for SIGs willing to use that layout.

-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA25DBAFB17F3B7A1.asc
Type: application/pgp-keys
Size: 12767 bytes
Desc: OpenPGP public key
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20220221/321076bc/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20220221/321076bc/attachment-0002.sig>