[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [haiku-bugs] [Haiku] #11081: [Package Manager] Make system updates robust wrt. format changes
From: "bonefish" <trac () haiku-os ! org>
Date: 2014-07-29 18:39:03
Message-ID: 044.51d6d3714cb279f2af232a74386c1f36 () haiku-os ! org
[Download RAW message or body]
#11081: [Package Manager] Make system updates robust wrt. format changes
------------------------------+------------------------------
Reporter: bonefish | Owner: bonefish
Type: enhancement | Status: new
Priority: normal | Milestone: R1
Component: Kits/Package Kit | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
------------------------------+------------------------------
Package or repository format changes can currently easily break the system
update support. If a new mandatory feature is introduced -- e.g. support
for a new compression algorithm -- an older Haiku won't be able to read
packages using that feature. Since the update process requires the
packages to be readable to be installed, updating to a Haiku version with
packages using that feature isn't possible.
The introduction of those features will happen inevitably, so it would be
wise to implement a mechanism that allows updating the system beyond such
a feature barrier as soon as possible.
I think a first step should be to extend the repository format to contain
either the maximum format version of the contained packages (respectively
for each package the format version) or the Haiku version it is backward
compatible to. This way the package manager would at least know up front
whether using that repository for an upgrade is possible at all.
The next step is to implement some kind of trampoline update mechanism. We
first need to activate code that supports the new format. Thereafter we
can perform the actual update. Since the package management code isn't
some self-contained module/package (yet?) it isn't as simple as updating
to a new version of that module.
--
Ticket URL: <https://dev.haiku-os.org/ticket/11081>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic