Actions
Story #8921
closedStory #8924: As a user, I can manage OSTree repositories
As a user, I can sync an OSTree repository with all of its refs (branches)
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Target Release - OSTree:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 104
Quarter:
Description
-
Create an OSTree repository and distribution.
-
Create an OSTree remote by specifying a URL and a list of refs to sync.
-
Perform a sync using the remote.
-
Update the distribution with the latest repository version.
Actions
Implement syncing
The sync and upload implementations have multiple codepaths in common. Due to this, many methods were extracted in favour of improving the overall readability.
Also, this commit removes redundant files, tests, methods, and constants that are not required at the moment.
Note that as of this commit, only the archive format is supported for remote repositories. As a result of that, we no longer verify whether content objects are either of type
.file
or.filez
.closes #8921