Skip to content

Add support for subpackages (like pulp_file) #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 20, 2024

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.

1 participant