Re: #6125: single atomic ostree repository
by Fedora Release Engineering
#6125: single atomic ostree repository
-----------------------------+-----------------------
Reporter: walters | Owner: rel-eng@…
Type: task | Status: new
Milestone: Fedora 22 Beta | Component: mash
Resolution: | Keywords:
Blocked By: | Blocking:
-----------------------------+-----------------------
Comment (by walters):
Use case: Split off an archived branch (e.g. fedora 20 is EOL)
Let's say that we have a "production" repository an an "archive"
repository. We want to move fedora-atomic/f20/x86_64/docker-host from
production to archive.
{{{
# Copy *all* of the history of the f20 branch from production to archive
ostree --repo=/path/to/archive pull-local --depth=-1 /path/to/production
fedora-atomic/f20/x86_64/docker-host
# Delete the branch from production
ostree --repo=/path/to/production refs --delete fedora-atomic/f20/x86_64
/docker-host
# Prune leftover objects from production
ostree --repo=path/to/production prune --refs-only
}}}
--
Ticket URL: <https://fedorahosted.org/rel-eng/ticket/6125#comment:9>
Fedora Release Engineering <http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project