public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-repos] f45: Add the fedora-repos-archive subpackage.
@ 2026-08-10  9:41 Dusty Mabe
  0 siblings, 0 replies; only message in thread
From: Dusty Mabe @ 2026-08-10  9:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-repos
            Branch : f45
            Commit : 51f622a8ca8faa70e5405968e10355c6104d457a
            Author : Dusty Mabe <dusty@dustymabe.com>
            Date   : 2020-10-05T15:04:14-04:00
            Stats  : +39/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-repos/c/51f622a8ca8faa70e5405968e10355c6104d457a?branch=f45

            Log:
            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>

---
diff --git a/fedora-repos.spec b/fedora-repos.spec
index cbcdf5c..afe97da 100644
--- a/fedora-repos.spec
+++ b/fedora-repos.spec
@@ -1,7 +1,7 @@
 Summary:        Fedora package repositories
 Name:           fedora-repos
 Version:        34
-Release:        0.3%{?eln:.eln%{eln}}
+Release:        0.4%{?eln:.eln%{eln}}
 License:        MIT
 URL:            https://fedoraproject.org/
 
@@ -18,6 +18,7 @@ Source3:        fedora-updates.repo
 Source4:        fedora-updates-testing.repo
 Source5:        fedora-rawhide.repo
 Source6:        fedora-cisco-openh264.repo
+Source7:        fedora-updates-archive.repo
 
 Source10:       RPM-GPG-KEY-fedora-7-primary
 Source11:       RPM-GPG-KEY-fedora-8-primary
@@ -95,6 +96,15 @@ Summary:        Rawhide repo definitions
 Requires:       fedora-repos = %{version}-%{release}
 Obsoletes:      fedora-repos-rawhide < 33-0.7
 
+%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.
+
 %description rawhide
 This package provides the rawhide repo definitions.
 
@@ -182,6 +192,9 @@ install -m 644 %{_sourcedir}/fedora-compose.conf $RPM_BUILD_ROOT/etc/ostree/remo
 %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
 
@@ -205,6 +218,9 @@ install -m 644 %{_sourcedir}/fedora-compose.conf $RPM_BUILD_ROOT/etc/ostree/remo
 
 
 %changelog
+* Mon Oct 05 2020 Dusty Mabe <dusty@dustymabe.com> - 34-0.4
+- Add the fedora-repos-archive subpackage.
+
 * Fri Aug 21 2020 Miro Hrončok <mhroncok@redhat.com> - 34-0.3
 - Fix a copy-paste error in eln repo name
 - Drop fedora-modular from base package since it's in the modular subpackage

diff --git a/fedora-updates-archive.repo b/fedora-updates-archive.repo
new file mode 100644
index 0000000..4cc3551
--- /dev/null
+++ b/fedora-updates-archive.repo
@@ -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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:41 [rpms/fedora-repos] f45: Add the fedora-repos-archive subpackage Dusty Mabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox