Skip to content

Commit

Permalink
[frontend] Add 'type=rpm-md' to .repo file template
Browse files Browse the repository at this point in the history
When using Zypper with copr repos, this needs to be added
so that Zypper can properly consume the repository metadata.
Zypper supports repo types of 'rpm-md', 'yast2', and 'plaindir'.
More information is available in zypper(8) under "Repository
Management".
  • Loading branch information
Conan-Kudo committed Sep 4, 2016
1 parent ad2cd09 commit e66eb73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/coprs_frontend/coprs/templates/coprs/copr.repo
@@ -1,6 +1,7 @@
[{{ copr.repo_id }}]
name=Copr repo for {{ copr.name }} owned by {{ copr.owner_name }}
baseurl={{ url | fix_url_https_backend }}
type=rpm-md
skip_if_unavailable=True
gpgcheck={{ config.REPO_GPGCHECK | default("1")}}
gpgkey={{ pubkey_url | fix_url_https_backend }}
Expand Down

0 comments on commit e66eb73

Please sign in to comment.