Skip to content

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