Skip to content
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

Allow different HTTP subsections #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

NamelessOne91
Copy link
Contributor

@NamelessOne91 NamelessOne91 commented Sep 26, 2024

This PR contains a breaking change: .yml files with HTTP entries formatted according to the previous syntax will no longer work

Related to https://github.com/SUSE/spacewalk/issues/25285

This PRs allows to define .yaml files such as the following.
As per the changes in the way we define SCC entries, it is now possible to group together HTTP URLs for repositories sharing the same architectures, instead of having to define them individually.

storage:
  type: file
  path: /srv/mirror

http:
  repositories:
    - urls: 
        - http://test/SLE-Product-SLES15-SP5-Pool/
        - http://test/SLE-Product-SLES15-SP5-Updates/
      archs: [x86_64, aarch64, s390x]
    - urls:
        - http://test/SLE-Product-SLES15-SP6-Pool/
        - http://test/SLE-Product-SLES15-SP6-Updates/
      archs: [x86_64, aarch64]

@NamelessOne91 NamelessOne91 marked this pull request as ready for review September 27, 2024 17:22
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