-
Notifications
You must be signed in to change notification settings - Fork 55
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
makerepropkg download used buid config #74
Conversation
b7b51df
to
bebcffd
Compare
@anthraxx Be aware I force pushed your branch so the tests run. |
For testing this PR:Test building a new package with extra-x86_64-build records the build tool
Verify the buildtool was recorded:
Now we want to reproduce this package, it should fail as the git version is unreleased:
reproduce package with an old devtools versionTest reproducing a package with a different devtools version we previously released which contains changes which make the build output different. So we pick 20191212 which does not include zst compression yet.
Edit the BUILDINFO and add:
Even when setting pkgrel it does not work.
Setting the $arch works
Of course the rebuild fails due to GPG
IssuesWhat about existing packages with a buildtool defined?!! These will all break:
|
300ae7d
to
4d733f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I opened the PR I can't request changes or approve it, I think the PR just needs two small improvements and the new makerepropkg option should be documented in the man page.
Tested the changes locally and the fallback seems to work with a build package, setting a faulty version BUILDTOOLVER=20210202-4-any
shows that the devtools package is trying to get fetched. So to me it looks good to go :)
6ee7b90
to
754963b
Compare
Use the recorded buildtool in order to download the matching dist package and use the appropriate makepkg.conf for reproducing the package. This is required as the flags are not recorded in the BUILDINFO hence we need to provide the matching config that declared those flags.
This adds proper namespace locking as well to fix screwing up the running makerepropkg process.
754963b
to
29bff53
Compare
merged via cli |
No description provided.