#659 Supporting flat dist-git layout in CBS
Closed: Fixed 2 years ago by arrfab. Opened 2 years ago by pingou.

Following the discussion at https://lists.centos.org/pipermail/centos-devel/2022-January/120171.html there seems to be an interest in having CBS support a flat dist-git layout.

So this ticket is to official ask if we can have flat dist-git layout supported in CBS.

In order to help making this happen, we have opened a pull-request at: https://git.centos.org/centos-git-common/pull-request/9 which should allow the script get_sources.sh to download for both a flat and an exploded layout, thus supporting both model and allowing SIGs to pick their preferences.


@bstinson : can you review and merge if that works for you ? From there, what I see is the following :

  • update centpkg-minimal to include the newer get_sources.sh script
  • build it externally (in another koji/cbs test instance) and see if we can point to a branch that would have flat layout and exploded rpm style layout, and validate that we can still build same pkg for centos 7 / 8-stream and 9-stream
  • once validated, we rebuild it in cbs and tag into corresponding buildsys tags, inherit by other targers
  • announce that it's then "live"

Opinions, thoughts ?

That PR is merged. We can handle centpkg-minimal tomorrow

Metadata Update from @zlopez:
- Issue tagged with: cbs, medium-gain, medium-trouble

2 years ago

Metadata Update from @arrfab:
- Issue assigned to arrfab

2 years ago

I've pushed updated centpkg-minimal to git : https://git.centos.org/rpms/centpkg-minimal/commits/c9s-sig-core.
I have also done some tests in a cbs.dev instance (one kojihub and one kojid builder, and low specs) and was able to rebuild some packages, using the existing layout and the new layout

My proposal is so to just build+tag centpkg-minimal 2.0.0-4 in all buildsys tags in cbs, and so that will be available after for everybody

@bstinson : does that work for you ? We can still see for updated centpkg-minimal that would cover the other case with centpkg, different branch, and still not needed in cbs build env

All pushed live today on cbs.centos.org, and tested with @pingou for a --scratch build for kernel-auto.

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog