#6125: single atomic ostree repository
Fedora Release Engineering
rel-eng at fedoraproject.org
Fri Mar 13 00:19:28 UTC 2015
#6125: single atomic ostree repository
-----------------------------+------------------------
Reporter: walters | Owner: rel-eng@…
Type: task | Status: new
Milestone: Fedora 21 Final | Component: koji
Keywords: | Blocked By:
Blocking: |
-----------------------------+------------------------
The way OSTree is designed, a repository can contain multiple branches.
It's natural to have multiple states represented in a single repository, a
good example being:
fedora-atomic/f21/x86_64/docker-host
fedora-atomic/f21/x86_64/updates-testing/docker-host
However, it's more convenient from the command line to go between multiple
releases if they're part of the same repository, one can just do e.g.:
# rpm-ostree rebase fedora-atomic/f22/x86_64/docker-host
If there is one repository per major release, it means that the remote
name needs to be versioned, which is not the end of the world - it's just
more awkward.
Something like:
diff --git a/scripts/buildbranched b/scripts/buildbranched
index 19b9363..157553f 100755
--- a/scripts/buildbranched
+++ b/scripts/buildbranched
@@ -28,7 +28,7 @@ SUBJECT='F-'$BRANCHED' Branched report: '$DATE' changes'
FROM="Fedora Branched Report <rawhide at fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomici.${DIST}.$DATE.XXXX)
-ATOMICREPO="/mnt/koji/mash/atomic/$BRANCHED/"
-ATOMICDEST="/pub/fedora/linux/atomic/$BRANCHED/"
+ATOMICREPO="/mnt/koji/mash/atomic/repo/"
+ATOMICDEST="/pub/fedora/linux/atomic/repo/"
source ./scripts/build-functions.sh
Seems like it would start this, but it would need some compatibility code.
--
Ticket URL: <https://fedorahosted.org/rel-eng/ticket/6125>
Fedora Release Engineering <http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project
More information about the rel-eng
mailing list