GNOME Bugzilla – Bug 728690
generic ostree.versionlist attribute?
Last modified: 2018-08-17 18:58:43 UTC
Right now upgrade refuses chronological downgrades. However, there's no reason we couldn't optionally enforce semantic versions. One thing that occurred to me is to support a generic "ostree.version" or "ostree.versionlist" metadata on commits, and have ostree check that. If it was ostree.versionlist, we could *potentially* explode the rpmdb versions into there. It would be a noticeable space hit though. Another option is to have the tree builder synthesize a version from something like the package repository timestamps. What we'd be accomplishing with this over the pure commit timestamp is that for a project like fedora-atomic where there are multiple base trees, then each commit would have an equal timestamp, so "ostree admin switch" could also enforce some kind of versioning.
OSTree has moved to Github a while ago. Furthermore, GNOME Bugzilla will be shut down and replaced by gitlab.gnome.org. If the problem reported in this Bugzilla ticket is still valid, please report it to https://github.com/ostreedev/ostree/issues instead. Thank you! Closing this report as WONTFIX as part of Bugzilla Housekeeping.