-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow version "revert" of packages #213
Comments
looks like the older version of make is completely gone from the repo:
(notice the absence of ./data/repository/master/x86_64...) |
* We do some checks for collisions and then raise them from the dead * We don't regenerate the repo.. we just wait for haikuporter to do it. * workaround for haikuports/haikuporter#213
See haiku/infrastructure@461403d for my temporary workaround |
This seems somewhat arbitrary to me. The packages don't just vanish silently, they are obsoleted because a new package is made available with an explicit action. So getting back another version of a package should be done with a deliberate action as well. That the packages remain in .obsolete is a safety mechanism that remained from the early days, to be able to restore in case something would go wrong with dependency resolution and clear packages erroneously. It should not be relied on to restore packages and manage repo state IMO. I've previously removed obsolete packages to make space, as we cannot keep everything indefinitely. So such a mechanism would depend on the timespan between the obsoletion and the "unobsoletion", which seems undesirable. Instead, rebuilding the desired old package is the right thing to do. Since there is no guarantee that the rebuilt package is exactly the same as the one previously available (build tools and dependencies may have changed to produce slightly different versions), changing the revision is also the right thing to do. Otherwise you end up with possibly slightly different released packages where that difference isn't obvious from the package name, which is a nightmare to figure out later on if there turn out to be problems with those packages. |
We're seeing a missing make package in Haikuports. The cause is haikuporter buildmaster doesn't "revert to obsolete packages" when the newer version is removed.
Example:
haikuports/haikuports@a82ebc2
In the situation above, make 4.1 was dropped from haikuports due to step 3.
When step 4 occurred. make-4.3 was removed from the repos, but 4.1 (the last building version) was silently never put back in place.
Workaround:
The text was updated successfully, but these errors were encountered: