Compare commits

...
Sign in to create a new pull request.

24 commits

Author SHA1 Message Date
Kamil Páral
1ccf176a93 fully automate repository changes
This is a cherry-picked commit 1db958c4fb from the rawhide branch. The
purpose is to have repo updates automation in *all* branches, so that we can
massively simplify Releng's SOP docs. (If this doesn't get pushed to all
branches, the SOPs need to document both versions).

The original commit description is below:

----

Instead of performing error-prone manual changes in .repo files several times
per cycle, this patchset brings fully automated handling of such edits. All the
releng person needs to do is to set `rawhide_release` and
`updates_testing_enabled` variables (and of course adjust `Version` and
`Release`), and all the repos will be auto-magically populated with the correct
values during build (which includes `enabled=0/1` and `metadata_expire=6h/7d`).
The intention is to avoid human errors which inevitably happen (an example [1]).

This means:

* Rawhide/ELN repo files will get enabled for Rawhide builds, disabled otherwise.
* Standard repo files will get enabled for non-Rawhide builds, disabled otherwise.
* Updates-testing repo will get enabled per specified configuration (ignored on
  Rawhide).
* Base repo files will have short metadata expiration during development period
  ("Branched"), long expiration during stable period.

Everything is covered with tests, to prevent humans and automatons from doing
mistakes. That covers the automated changes to repo files, but also e.g. ensuring
that updates-testing is not enabled in a Final release by mistake.

Coupled with this changeset is an adjustment to certain repo files to make sure
all the sections defined in a single repo file have the same value
`metadata_expire=`, as it makes sense. And also in the spec file the rawhide
subpackage description was moved next to the subpackage definition, they were
split by mistake in the past, it seems.

If this gets merged, it will massively simplify Releng's Mass Branching SOP in
the future [2].

[1] https://src.fedoraproject.org/rpms/fedora-repos/c/08819dbf9428d57eedbe5cd978b516f995bb8b6a?branch=f34
[2] https://docs.pagure.org/releng/sop_mass_branching.html#fedora-repos
2021-03-26 14:10:10 +01:00
Kamil Páral
f9c3d5b5e4 sync with Rawhide
Most importantly the RPM-GPG-KEY-fedora-rawhide-primary symlink.
2021-02-22 18:27:26 +01:00
Mohan Boddu
40717b8856 Fixing archmap for F35
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-02-09 09:50:59 -05:00
Mohan Boddu
3b6620da60 Adding F35 key
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-02-04 16:43:07 -05:00
Mohan Boddu
b522d19114 Disable eln repos on non rawhide release (sgallagh)
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-10-13 17:49:16 -04:00
Stephen Gallagher
7d16c3dc72
ELN repos should be disabled by default on non-Rawhide
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-13 17:05:12 -04:00
Stephen Gallagher
7ee726ec29
Update the release and changelog
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-13 16:25:18 -04:00
Stephen Gallagher
f4cdaa1e7a
Add %rawhide_release variable to identify GPG keys
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-13 16:25:17 -04:00
Stephen Gallagher
a26353e27f
Update ELN repos to include BaseOS and AppStream repositories
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

Drop the fedora-eln-modular.repo

It no longer exists and the fedora-eln.repo package now contains
both BaseOS and AppStream repositories for ELN.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

Add ELN GPG keys

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-10-13 13:24:36 -04:00
Dusty Mabe
1ed94bba5e
Add the fedora-repos-archive subpackage.
This should aid our efforts to make package layering more reliable in
OSTree based Editions. See:

- https://github.com/coreos/fedora-coreos-tracker/issues/400
- https://github.com/coreos/fedora-coreos-tracker/issues/401
- https://pagure.io/releng/issue/9717
- https://lists.fedoraproject.org/archives/list/iot@lists.fedoraproject.org/thread/QZFVKH2SMHJNIZS2M4U25CHJOZXIKLWG/

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit 51f622a8ca)
2020-10-06 15:28:25 -04:00
Adam Williamson
cb6b44830d Add missing per-arch symlinks for F34 key 2020-08-25 13:21:52 -07:00
Mohan Boddu
e3a6a5e103 Adding F34 key
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-08-06 09:34:23 -04:00
Stephen Gallagher
401727e3da
Add disabled optional ELN repositories' subpackage
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-02 14:05:05 -04:00
Dusty Mabe
0cb76b0e6a
Add fedora compose ostree repo to fedora-repos-ostree subpackage
This will allow community members to more easily test development
builds because the remote information for the compose ostree repo
will already be on the system. That means they'll be a simple
`rpm-ostree rebase fedora-compose:<ref>` away from testing out a
development version.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2020-06-02 12:45:29 -04:00
Stephen Gallagher
4df6cc792a
Add the release to the fedora-repos(NN) Provides:
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-04-13 10:10:51 -04:00
Mohan Boddu
efd95302c4 Setup for F32 Final
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-09 23:19:03 -04:00
Kalev Lember
16d307228b Remove enabled_metadata key for fedora-cisco-openh264
The repo is enabled by default now so we no longer need this.

Signed-off-by: Kalev Lember <klember@redhat.com>
2020-04-09 16:43:09 +02:00
Kalev Lember
771447512e Use the same metadata_expire time for fedora-cisco-openh264 and -debuginfo
The repos are updated together so we should make sure they expire at the
same time as well.

Signed-off-by: Kalev Lember <klember@redhat.com>
2020-04-09 16:43:09 +02:00
Kalev Lember
391b5689b1 Switch to metalink for fedora-cisco-openh264 and disable repo gpgcheck
dnf has various bugs around repo_gpgcheck=1 repos and this allows us to
work this around.

https://bugzilla.redhat.com/show_bug.cgi?id=1768206

Signed-off-by: Kalev Lember <klember@redhat.com>
2020-04-09 16:42:59 +02:00
Mohan Boddu
bcb2ffa022 Dont pull in fedora-repos-rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-03-03 14:00:30 -05:00
Neal Gompa
32f4788561 Enable fedora-cisco-openh264 repo by default
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
2020-02-22 18:47:51 -05:00
Adam Williamson
20f8921a45 Bump for build
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-02-19 10:03:29 -08:00
Adam Williamson
b1af36fa3d Re-add baseurl lines, but using example domain
This sorta reverts f30862ce, because it turns out various people
(including me!) actually rely on these commented-out baseurl
lines in various ways. I (in openQA tests) and at least one other
person (hiredman on IRC), for e.g., use them as a base to modify
by changing the host, but keeping the path component, to use a
specific host that is known to always be a fast local one in a
particular environment and avoid the overhead of the metalink/
mirrorlist system.

To avoid encouraging the use of the download.fedoraproject.org
redirect system (as was the original intent), we replace the
hostname with an example one, so the line clearly cannot be used
as-is just by removing the #. We *could* also add a couple of
comment lines specifically discouraging people from using baseurl
unless they're very sure it's what they need, but I don't know
if it's necessary.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-02-19 09:56:40 -08:00
Mohan Boddu
ae2f175b6b Branching F32 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-02-11 15:00:13 -05:00
17 changed files with 520 additions and 41 deletions

View file

@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF8sAZIBEADKYvLg/5FdLXcVryAFd7Q8qrJq23R7ebxUT1u48Dc8xrsfYJZq
aMcna/xw47wZNyek4Z6YpzqfmnjR7H8yRH/1hAPi/ixYnA6DVL7O3eGE5lYGJzN3
E2ILTzBOI9o/pavvtOqW9N5WIus8cqSdA921v8YPzr3/BTKgGqC9biOrMA+3sNoe
U4T+dztLg20SyBTr/rBH0eui2p/ipvIRuJvHLTKTubR+yG804yupI69M6qFBDebT
rm+CBmwVyj/DY/92LgvCgYqV/TL5FU4qvtyB6jd8JkEeaz/G7UmDRB5JqzKEu6TB
N3SY7nwLiRpIaXet1TWVW/8UKSB2JvYt1LbZyEO82/QOIXxqvV6h3kuBI21RvURz
VxEjRlvPRGHMZ80OoAQqNPkLnVTcX1eLj2ClbwoXCmXFSm72cCCt1SzcAmlaWh8E
rXSUZfs7XqkBrbphXHZ1e6Vxjt/RyKC5doklfOhbuF8gJ31CPo/kuOjFrHGzOwgi
Llec+GHGMfI/cUOu59qo3W85GHsntvEMk83QLkKjBInEYjZSAajp/lS4QF+SD4pl
Qj6Vc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DCz6
6/zy81ZGeyUGOEIZ1NFuoY0EhC8=
=KaIq
-----END PGP PUBLIC KEY BLOCK-----

11
archmap
View file

@ -1,8 +1,10 @@
fedora-7-primary: i386 x86_64 ppc ppc64
fedora-8-primary: i386 x86_64 ppc ppc64
fedora-8-primary-original:
fedora-9-primary: i386 x86_64 ppc ppc64
fedora-9-primary-original:
fedora-9-secondary: ia64
fedora-10-primary: i386 x86_64 ppc ppc64
@ -19,7 +21,7 @@ fedora-13-secondary: arm mips
fedora-14-primary: i386 x86_64
fedora-14-secondary: arm
fedora-15-primary: i386 x86_64
fedora-15-primary: i386 x86_64
fedora-15-secondary: arm armhfp ppc ppc64 s390 s390x
fedora-16-primary: i386 x86_64
@ -60,6 +62,7 @@ fedora-27-primary: i386 x86_64 armhfp aarch64 ppc64 ppc64le s390x
fedora-28-primary: i386 x86_64 armhfp aarch64 ppc64 ppc64le s390x
fedora-29-primary: i386 x86_64 armhfp aarch64 ppc64 ppc64le s390x
fedora-modularity:
fedora-30-primary: i386 x86_64 armhfp aarch64 ppc64le s390x
@ -70,3 +73,9 @@ fedora-31-primary: i386 x86_64 armhfp aarch64 ppc64le s390x
fedora-32-primary: i386 x86_64 armhfp aarch64 ppc64le s390x
fedora-33-primary: i386 x86_64 armhfp aarch64 ppc64le s390x
fedora-34-primary: i386 x86_64 armhfp aarch64 ppc64le s390x
fedora-35-primary: x86_64 armhfp aarch64 ppc64le s390x
fedora-36-primary: x86_64 armhfp aarch64 ppc64le s390x

View file

@ -1,22 +1,21 @@
[fedora-cisco-openh264]
name=Fedora $releasever openh264 (From Cisco) - $basearch
baseurl=https://codecs.fedoraproject.org/openh264/$releasever/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
type=rpm
enabled=0
enabled_metadata=1
enabled=1
metadata_expire=14d
repo_gpgcheck=1
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True
[fedora-cisco-openh264-debuginfo]
name=Fedora $releasever openh264 (From Cisco) - $basearch - Debug
baseurl=https://codecs.fedoraproject.org/openh264/$releasever/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-debug-$releasever&arch=$basearch
type=rpm
enabled=0
metadata_expire=28d
repo_gpgcheck=1
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True

4
fedora-compose.conf Normal file
View file

@ -0,0 +1,4 @@
[remote "fedora-compose"]
url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/
gpg-verify=true
gpgkeypath=/etc/pki/rpm-gpg/

96
fedora-eln.repo Normal file
View file

@ -0,0 +1,96 @@
# These packages are untested and still under development. This
# repository is used for development of new releases.
#
# This repository can see significant daily turnover and major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# # https://admin.fedoraproject.org/mailman/listinfo/test (Subscription
# Required) is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
#
# Product: Fedora
# Version: eln
[eln-baseos]
name=Fedora - ELN BaseOS - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/BaseOS/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
enabled=AUTO_VALUE
countme=1
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[eln-baseos-debuginfo]
name=Fedora - ELN BaseOS - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/BaseOS/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[eln-baseos-source]
name=Fedora - ELN BaseOS - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/BaseOS/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[eln-appstream]
name=Fedora - ELN AppStream - Developmental packages for the next Enterprise Linux release
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/AppStream/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln&arch=$basearch
enabled=AUTO_VALUE
countme=1
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[eln-appstream-debuginfo]
name=Fedora - ELN AppStream - Debug
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/AppStream/$basearch/debug/tree
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-debug&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[eln-appstream-source]
name=Fedora - ELN AppStream - Source
baseurl=https://odcs.fedoraproject.org/composes/production/latest-Fedora-ELN/compose/AppStream/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=eln-source&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

View file

@ -1,9 +1,10 @@
[fedora-modular]
name=Fedora Modular $releasever - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Modular/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-$releasever&arch=$basearch
enabled=0
enabled=AUTO_VALUE
countme=1
#metadata_expire=7d
metadata_expire=AUTO_VALUE
repo_gpgcheck=0
type=rpm
gpgcheck=1
@ -12,9 +13,10 @@ skip_if_unavailable=False
[fedora-modular-debuginfo]
name=Fedora Modular $releasever - $basearch - Debug
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Modular/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
metadata_expire=AUTO_VALUE
repo_gpgcheck=0
type=rpm
gpgcheck=1
@ -23,9 +25,10 @@ skip_if_unavailable=False
[fedora-modular-source]
name=Fedora Modular $releasever - Source
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Modular/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
metadata_expire=AUTO_VALUE
repo_gpgcheck=0
type=rpm
gpgcheck=1

View file

@ -11,7 +11,7 @@
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
@ -21,33 +21,37 @@
[rawhide-modular]
name=Fedora - Modular Rawhide - Developmental packages for the next Fedora release
#baseurl=http://download.example/pub/fedora/linux/development/rawhide/Modular/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular&arch=$basearch
enabled=1
enabled=AUTO_VALUE
countme=1
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch AUTO_VALUE
skip_if_unavailable=False
[rawhide-modular-debuginfo]
name=Fedora - Modular Rawhide - Debug
#baseurl=http://download.example/pub/fedora/linux/development/rawhide/Modular/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-debug&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch AUTO_VALUE
skip_if_unavailable=False
[rawhide-modular-source]
name=Fedora - Modular Rawhide - Source
#baseurl=http://download.example/pub/fedora/linux/development/rawhide/Modular/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch AUTO_VALUE
skip_if_unavailable=False

View file

@ -11,7 +11,7 @@
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
@ -21,33 +21,37 @@
[rawhide]
name=Fedora - Rawhide - Developmental packages for the next Fedora release
#baseurl=http://download.example/pub/fedora/linux/development/rawhide//Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
enabled=1
enabled=AUTO_VALUE
countme=1
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch AUTO_VALUE
skip_if_unavailable=False
[rawhide-debuginfo]
name=Fedora - Rawhide - Debug
#baseurl=http://download.example/pub/fedora/linux/development/rawhide/Everything/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-debug&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch AUTO_VALUE
skip_if_unavailable=False
[rawhide-source]
name=Fedora - Rawhide - Source
#baseurl=http://download.example/pub/fedora/linux/development/rawhide/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-source&arch=$basearch
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch AUTO_VALUE
skip_if_unavailable=False

View file

@ -1,13 +1,15 @@
%global rawhide_release 35
%global updates_testing_enabled 0
Summary: Fedora package repositories
Name: fedora-repos
Version: 33
Release: 0.1%{?_module_build:%{?dist}}
Version: 32
Release: 13%{?_module_build:%{?dist}}
License: MIT
URL: https://fedoraproject.org/
Provides: fedora-repos(%{version})
Provides: fedora-repos(%{version}) = %{release}
Requires: system-release(%{version})
Requires: fedora-repos-rawhide = %{version}-%{release}
Requires: fedora-gpg-keys >= %{version}-%{release}
Obsoletes: fedora-repos-anaconda < 22-0.3
Obsoletes: fedora-repos-modular < 29-0.6
@ -20,6 +22,9 @@ Source3: fedora-updates.repo
Source4: fedora-updates-testing.repo
Source5: fedora-rawhide.repo
Source6: fedora-cisco-openh264.repo
Source7: fedora-updates-archive.repo
Source8: fedora-eln.repo
Source10: RPM-GPG-KEY-fedora-7-primary
Source11: RPM-GPG-KEY-fedora-8-primary
@ -65,6 +70,12 @@ Source50: RPM-GPG-KEY-fedora-30-primary
Source51: RPM-GPG-KEY-fedora-31-primary
Source52: RPM-GPG-KEY-fedora-32-primary
Source53: RPM-GPG-KEY-fedora-33-primary
Source54: RPM-GPG-KEY-fedora-34-primary
Source55: RPM-GPG-KEY-fedora-35-primary
Source56: RPM-GPG-KEY-fedora-36-primary
# When bumping Rawhide to fN, create N+1 key (and update archmap). (This
# ensures users have the next future key installed and referenced, even if they
# don't update very often. This will smooth out Rawhide N->N+1 transition for them).
Source100: fedora-modular.repo
Source101: fedora-updates-modular.repo
@ -74,6 +85,7 @@ Source104: RPM-GPG-KEY-fedora-modularity
Source150: RPM-GPG-KEY-fedora-iot-2019
Source151: fedora.conf
Source152: fedora-compose.conf
%description
Fedora package repository files for yum and dnf along with gpg public keys
@ -88,6 +100,14 @@ Provides: fedora-repos-rawhide-modular = %{version}-%{release}
%description rawhide
This package provides the rawhide repo definitions.
%package archive
Summary: Fedora updates archive package repository
Requires: fedora-repos = %{version}-%{release}
%description archive
This package provides the repo definition for the updates archive repo.
It is a package repository that contains any RPM that has made it to
stable in Bodhi and been available in the Fedora updates repo in the past.
%package -n fedora-gpg-keys
Summary: Fedora RPM keys
@ -105,6 +125,16 @@ This package provides ostree specfic files like remote config from
where client's system will pull OSTree updates.
%package eln
Summary: ELN repo definitions
Requires: fedora-repos-rawhide = %{version}-%{release}
Requires: fedora-repos-rawhide-modular = %{version}-%{release}
%description eln
This package provides repository files for ELN (Enterprise Linux Next)
packages that can be installed atop Rawhide. Note that these packages are
experimental and should not be used in a production environment.
%prep
@ -120,10 +150,18 @@ install -m 644 %{_sourcedir}/RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
# says "fedora-19-primary: i386 x86_64",
# RPM-GPG-KEY-fedora-19-{i386,x86_64} will be symlinked to that key.
pushd $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
# Also add a symlink for Rawhide and ELN keys
ln -s RPM-GPG-KEY-fedora-%{rawhide_release}-primary RPM-GPG-KEY-fedora-rawhide-primary
ln -s RPM-GPG-KEY-fedora-%{rawhide_release}-primary RPM-GPG-KEY-fedora-eln-primary
for keyfile in RPM-GPG-KEY*; do
key=${keyfile#RPM-GPG-KEY-} # e.g. 'fedora-20-primary'
arches=$(sed -ne "s/^${key}://p" %{_sourcedir}/archmap) \
|| echo "WARNING: no archmap entry for $key"
# resolve symlinks, so that we don't need to keep duplicate entries in archmap
real_keyfile=$(basename $(readlink -f $keyfile))
key=${real_keyfile#RPM-GPG-KEY-} # e.g. 'fedora-20-primary'
if ! grep -q "^${key}:" %{_sourcedir}/archmap; then
echo "ERROR: no archmap entry for $key"
exit 1
fi
arches=$(sed -ne "s/^${key}://p" %{_sourcedir}/archmap)
for arch in $arches; do
# replace last part with $arch (fedora-20-primary -> fedora-20-$arch)
ln -s $keyfile ${keyfile%%-*}-$arch # NOTE: RPM replaces %% with %
@ -133,14 +171,150 @@ done
ln -s RPM-GPG-KEY-fedora-%{version}-primary RPM-GPG-KEY-%{version}-fedora
popd
# Install repo files
install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
for file in %{_sourcedir}/fedora*repo ; do
install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
done
# Enable or disable repos based on current release cycle state.
%if %{rawhide_release} == %{version}
rawhide_enabled=1
stable_enabled=0
testing_enabled=0
%else
rawhide_enabled=0
stable_enabled=1
testing_enabled=%{updates_testing_enabled}
%endif
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora-{rawhide,eln}*.repo; do
sed -i "s/^enabled=AUTO_VALUE$/enabled=${rawhide_enabled}/" $repo || exit 1
done
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora{,-modular,-updates,-updates-modular}.repo; do
sed -i "s/^enabled=AUTO_VALUE$/enabled=${stable_enabled}/" $repo || exit 1
done
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora-updates-testing{,-modular}.repo; do
sed -i "s/^enabled=AUTO_VALUE$/enabled=${testing_enabled}/" $repo || exit 1
done
# Adjust Rawhide repo files to include Rawhide+1 GPG key.
# This is necessary for the period when Rawhide gets bumped to N+1 and packages
# start to be signed with a newer key. Without having the key specified in the
# repo file, the system would consider the new packages as untrusted.
rawhide_next=$((%{rawhide_release}+1))
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora-rawhide*.repo; do
sed -i "/^gpgkey=/ s@AUTO_VALUE@file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-${rawhide_next}-\$basearch@" \
$repo || exit 1
done
# Set appropriate metadata_expire in base repo files (6h before Final, 7d after)
%if "%{release}" < "1"
expire_value='6h'
%else
expire_value='7d'
%endif
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora{,-modular}.repo; do
sed -i "/^metadata_expire=/ s/AUTO_VALUE/${expire_value}/" \
$repo || exit 1
done
# Install ostree remote config
install -d -m 755 $RPM_BUILD_ROOT/etc/ostree/remotes.d/
install -m 644 %{_sourcedir}/fedora.conf $RPM_BUILD_ROOT/etc/ostree/remotes.d/
install -m 644 %{_sourcedir}/fedora-compose.conf $RPM_BUILD_ROOT/etc/ostree/remotes.d/
%check
# Make sure all repo variables were substituted
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/*.repo; do
if grep -q AUTO_VALUE $repo; then
echo "ERROR: Repo $repo contains an unsubstituted placeholder value"
exit 1
fi
done
# Make sure correct repos were enabled/disabled
enabled_repos=(fedora-cisco-openh264)
disabled_repos=(fedora-updates-archive)
%if %{rawhide_release} == %{version}
enabled_repos+=(fedora-rawhide fedora-rawhide-modular fedora-eln)
disabled_repos+=(fedora fedora-modular fedora-updates fedora-updates-modular \
fedora-updates-testing fedora-updates-testing-modular)
%else
enabled_repos+=(fedora fedora-modular fedora-updates fedora-updates-modular)
disabled_repos+=(fedora-rawhide fedora-rawhide-modular fedora-eln)
%if %{updates_testing_enabled}
enabled_repos+=(fedora-updates-testing fedora-updates-testing-modular)
%else
disabled_repos+=(fedora-updates-testing fedora-updates-testing-modular)
%endif
%endif
for repo in ${enabled_repos[@]}; do
if ! grep -q 'enabled=1' $RPM_BUILD_ROOT/etc/yum.repos.d/${repo}.repo; then
echo "ERROR: Repo $repo should have been enabled, but it isn't"
exit 1
fi
done
for repo in ${disabled_repos[@]}; do
if grep -q 'enabled=1' $RPM_BUILD_ROOT/etc/yum.repos.d/${repo}.repo; then
echo "ERROR: Repo $repo should have been disabled, but it isn't"
exit 1
fi
done
# Make sure updates-testing is not enabled in a Final (stable) release
%if "%{release}" >= "1"
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora-updates-testing{,-modular}.repo; do
if grep -q 'enabled=1' $repo; then
echo "ERROR: Repo $repo should be disabled in a stable release, but it isn't"
exit 1
fi
done
%endif
# Make sure metadata_expire was correctly set
%if "%{release}" < "1"
expire_value='6h'
%else
expire_value='7d'
%endif
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora{,-modular}.repo; do
lines=$(grep '^metadata_expire=' $repo | sort | uniq)
if [ "$(echo "$lines" | wc -l)" -ne 1 ]; then
echo "ERROR: Non-matching metadata_expire lines in $repo: $lines"
exit 1
fi
if test "$lines" != "metadata_expire=${expire_value}"; then
echo "ERROR: Wrong metadata_expire value in $repo: $lines"
exit 1
fi
done
# Make sure the Rawhide+1 key wasn't forgotten to be created
rawhide_next=$((%{rawhide_release}+1))
test -n "$rawhide_next" || exit 1
if ! test -f $RPM_BUILD_ROOT/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-${rawhide_next}-primary; then
echo "ERROR: GPG key for Fedora ${rawhide_next} is not present"
exit 1
fi
# Make sure the Rawhide+1 key is present in Rawhide repo files
for repo in $RPM_BUILD_ROOT/etc/yum.repos.d/fedora-rawhide*.repo; do
gpg_lines=$(grep '^gpgkey=' $repo)
if test -z "$gpg_lines"; then
echo "ERROR: No gpgkey= lines in $repo"
exit 1
fi
while IFS= read -r line; do
if ! echo "$line" | grep -q "RPM-GPG-KEY-fedora-${rawhide_next}"; then
echo "ERROR: Fedora ${rawhide_next} GPG key missing in $repo"
exit 1
fi
done <<< "$gpg_lines"
done
%files
%dir /etc/yum.repos.d
@ -153,6 +327,9 @@ install -m 644 %{_sourcedir}/fedora.conf $RPM_BUILD_ROOT/etc/ostree/remotes.d/
%config(noreplace) /etc/yum.repos.d/fedora-updates-modular.repo
%config(noreplace) /etc/yum.repos.d/fedora-updates-testing-modular.repo
%files archive
%config(noreplace) /etc/yum.repos.d/fedora-updates-archive.repo
%files rawhide
%config(noreplace) /etc/yum.repos.d/fedora-rawhide.repo
%config(noreplace) /etc/yum.repos.d/fedora-rawhide-modular.repo
@ -166,10 +343,69 @@ install -m 644 %{_sourcedir}/fedora.conf $RPM_BUILD_ROOT/etc/ostree/remotes.d/
%files ostree
%dir /etc/ostree/remotes.d/
/etc/ostree/remotes.d/fedora.conf
/etc/ostree/remotes.d/fedora-compose.conf
%files eln
%config(noreplace) /etc/yum.repos.d/fedora-eln.repo
%changelog
* Tue Feb 11 2020 Mohan Boddu <mboddu@bhujji.com> - 33-0.1
- Setup for rawhide being F33
* Mon Feb 22 2021 Kamil Páral <kparal@redhat.com> - 32-13
- sync with Rawhide (mainly gpg keys)
* Tue Feb 09 2021 Mohan Boddu <mboddu@bhujji.com> - 32-12
- Fixing archmap for F35
* Thu Feb 04 2021 Mohan Boddu <mboddu@bhujji.com> - 32-11
- Adding F35 key
* Tue Oct 13 2020 Mohan Boddu <mboddu@bhujji.com> - 32-10
- Disable eln repos on non rawhide release (sgallagh)
* Tue Oct 13 2020 Stephen Gallagher <sgallagh@redhat.com> - 32-9
- Ensure that the ELN GPG key always points at the Rawhide key
* Tue Oct 13 2020 Stephen Gallagher <sgallagh@redhat.com> - 32-8
- Update the ELN repos for the BaseOS and AppStream split
* Mon Oct 05 2020 Dusty Mabe <dusty@dustymabe.com> - 32-7
- Add the fedora-repos-archive subpackage.
* Tue Aug 25 2020 Adam Williamson <awilliam@redhat.com> - 32-6
- Add missing per-arch symlinks for F34 key
* Thu Aug 06 2020 Mohan Boddu <mboddu@bhujji.com> - 32-5
- Adding F34 key
* Tue Jun 30 2020 Stephen Gallagher <sgallagh@redhat.com> - 32-4
- Add optional repositories for ELN
* Mon Jun 01 2020 Dusty Mabe <dusty@dustymabe.com> - 32-3
- Add fedora compose ostree repo to fedora-repos-ostree
* Mon Apr 13 2020 Stephen Gallagher <sgallagh@redhat.com> - 32-2
- Add the release to the fedora-repos(NN) Provides:
* Thu Apr 09 2020 Mohan Boddu <mboddu@bhujji.com> - 32-1
- Setup for F32 Final
- Disable testing repos
* Thu Apr 09 2020 Kalev Lember <klember@redhat.com> - 32-0.8
- Switch to metalink for fedora-cisco-openh264 and disable repo gpgcheck
(#1768206)
- Use the same metadata_expire time for fedora-cisco-openh264 and -debuginfo
- Remove enabled_metadata key for fedora-cisco-openh264
* Sat Feb 22 2020 Neal Gompa <ngompa13@gmail.com> - 32-0.7
- Enable fedora-cisco-openh264 repo by default
- Dont pull in fedora-repos-rawhide (mohanboddu)
* Wed Feb 19 2020 Adam Williamson <awilliam@redhat.com> - 32-0.6
- Restore baseurl lines, but with example domain
* Tue Feb 11 2020 Mohan Boddu <mboddu@bhujji.com> - 32-0.5
- Disable rawhide repos
- Enable fedora, updates, updates-testing repos
* Tue Feb 11 2020 Mohan Boddu <mboddu@bhujji.com> - 32-0.4
- Remove baseurl download.fp.o (puiterwijk)

View file

@ -0,0 +1,22 @@
# This is a repo that contains all the old update packages from the
# Fedora updates yum repository (i.e. the packages that have made it
# to "stable"). This repo is needed for OSTree based systems where users
# may be trying to layer packages on top of a base layer that doesn't
# have the latest stable content. Since base layer content is locked
# the package layering operation will fail unless there are older versions
# of packages available.
#
# This repo is given a high cost in order to prefer the normal Fedora
# yum repositories, which means only packages that can't be found
# elsewhere will be downloaded from here.
[updates-archive]
name=Fedora $releasever - $basearch - Updates Archive
baseurl=https://fedoraproject-updates-archive.fedoraproject.org/fedora/$releasever/$basearch/
enabled=0
metadata_expire=6h
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True
cost=10000 # default is 1000

View file

@ -1,7 +1,8 @@
[updates-modular]
name=Fedora Modular $releasever - $basearch - Updates
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-f$releasever&arch=$basearch
enabled=0
enabled=AUTO_VALUE
countme=1
repo_gpgcheck=0
type=rpm
@ -12,6 +13,7 @@ skip_if_unavailable=False
[updates-modular-debuginfo]
name=Fedora Modular $releasever - $basearch - Updates - Debug
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-debug-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
@ -23,6 +25,7 @@ skip_if_unavailable=False
[updates-modular-source]
name=Fedora Modular $releasever - Updates Source
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-modular-source-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0

View file

@ -1,7 +1,8 @@
[updates-testing-modular]
name=Fedora Modular $releasever - $basearch - Test Updates
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Modular/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-f$releasever&arch=$basearch
enabled=0
enabled=AUTO_VALUE
countme=1
repo_gpgcheck=0
type=rpm
@ -12,6 +13,7 @@ skip_if_unavailable=False
[updates-testing-modular-debuginfo]
name=Fedora Modular $releasever - $basearch - Test Updates Debug
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-debug-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
@ -23,6 +25,7 @@ skip_if_unavailable=False
[updates-testing-modular-source]
name=Fedora Modular $releasever - Test Updates Source
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Modular/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-modular-source-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0

View file

@ -1,7 +1,8 @@
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
enabled=AUTO_VALUE
countme=1
repo_gpgcheck=0
type=rpm
@ -12,6 +13,7 @@ skip_if_unavailable=False
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
@ -23,6 +25,7 @@ skip_if_unavailable=False
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
#baseurl=http://download.example/pub/fedora/linux/updates/testing/$releasever/Everything/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0

View file

@ -1,7 +1,8 @@
[updates]
name=Fedora $releasever - $basearch - Updates
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=0
enabled=AUTO_VALUE
countme=1
repo_gpgcheck=0
type=rpm
@ -12,6 +13,7 @@ skip_if_unavailable=False
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
@ -23,6 +25,7 @@ skip_if_unavailable=False
[updates-source]
name=Fedora $releasever - Updates Source
#baseurl=http://download.example/pub/fedora/linux/updates/$releasever/Everything/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0

View file

@ -1,9 +1,10 @@
[fedora]
name=Fedora $releasever - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=0
enabled=AUTO_VALUE
countme=1
#metadata_expire=7d
metadata_expire=AUTO_VALUE
repo_gpgcheck=0
type=rpm
gpgcheck=1
@ -12,9 +13,10 @@ skip_if_unavailable=False
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
metadata_expire=AUTO_VALUE
repo_gpgcheck=0
type=rpm
gpgcheck=1
@ -23,9 +25,10 @@ skip_if_unavailable=False
[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
metadata_expire=AUTO_VALUE
repo_gpgcheck=0
type=rpm
gpgcheck=1