foreman-infra icon indicating copy to clipboard operation
foreman-infra copied to clipboard

Proposal: Update yum repository layout to be per repository

Open ehelms opened this issue 9 months ago • 8 comments

Background

Currently the yum.theforeman.org repository layout follows an almost common model with Foreman being the exception:

client/<version>
client/nightly
client/latest
katello/<version>/katello
katello/<version>/candlepin
katello/nightly/katello
katello/nightly/candlepin
latest/
nightly/
plugins/<version>
plugins/nightly
plugins/latest
pulpcore/<version>
releases/<version>

Where:

  • top level latest/ points to Foreman repository
  • top level nightly/ represents Foreman nightly repository
  • top level 'releases/' represents Foreman releases
  • All other repositories are under a directory that is first the name of the repository

Proposal

That the repositories get aligned under a common naming and structure to make them more predictable, easier to code against and allow better matching with stagingyum and our layout that is coming from Copr.

client/<version>
client/nightly
client/latest
foreman/<version>
foreman/nightly
foreman/latest
katello/<version>
katello/nightly
katello/latest
candlepin/<version>
candlepin/nightly
candlepin/latest
plugins/<version>
plugins/nightly
plugins/latest
pulpcore/<version>

In addition to this being the structure, we would retain (for some period of time) legacy symlinks:

releases/ -> foreman/
latest/ -> foreman/latest

ehelms avatar Sep 29 '23 14:09 ehelms