Skip to content

Conversation

@pedro-psb
Copy link
Member

@pedro-psb pedro-psb commented Feb 17, 2024

This adds support for using subpackages (nested packages under a main repository, like pulp_file) as regular repositories

About subpackages content in the repo:

  • Content should live in main-repo/subpackage, e.g. pulpcore/pulp_file/staging_docs/...

About subpackages declaration in the repolist.yml file:

  • They contain a special attribute subpackage_of: <reponame>
  • <reponame> should be declared as a regular repository
  • Should use only the set of attributes {name, title, subpackage_of}.
  • The order doesn't matter

An example:

repos:
  content: 
    - name: pulp_certguard # subpackage entry
      title: Certguard
      subpackage_of: pulpcore
  core: 
    - name: pulpcore # regular repository entry
      owner: pulp
      title: Pulp Core
      branch: main

@pedro-psb pedro-psb force-pushed the add-support-for-nested-repos branch from 62fec67 to af1f4ac Compare February 19, 2024 22:01
@pedro-psb pedro-psb marked this pull request as ready for review February 20, 2024 12:29
@pedro-psb pedro-psb merged commit 32e29bd into main Feb 20, 2024
@pedro-psb pedro-psb deleted the add-support-for-nested-repos branch February 20, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants