-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
php84Packages.composer: 2.8.1 -> 2.8.4 #372696
Conversation
b08bec2
to
3aa0b7b
Compare
Does the composer load order fix affect hashes of any packages using builder2? |
I just tried a few things, and nothing has changed (PHPUnit, PHPStan, PSalm). |
This release includes an extra patch to fix reproducible outputs, see composer/composer#12090
There is indeed a hash change for all PHP derivations, as the file generated by the autoloaders has been updated. Below is the diff between a build of PHPUnit using Composer 2.8.1 and Composer 2.8.4 (with patch):
These changes were introduced in composer/composer#12225. Please note that even the smallest modifications in these Composer files (both static and dynamic) will force us to recalculate all the hashes. It is crucial to be aware of this when making changes in there. (CC @Seldaek) |
3aa0b7b
to
931d0cf
Compare
This comment was marked as outdated.
This comment was marked as outdated.
@piotrkwiecinski : I made some changes to the builder, can you try again to make sure it doesn't break anything ? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This update provide a new feature that allows to build packages without `composer.lock` file (e.g. PHP CodeSniffer).
c762796
to
adab75c
Compare
@piotrkwiecinski Feel free to run again |
|
Let's get this in! |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-24.11
git worktree add -d .worktree/backport-372696-to-release-24.11 origin/release-24.11
cd .worktree/backport-372696-to-release-24.11
git switch --create backport-372696-to-release-24.11
git cherry-pick -x 097aafd75d76c22eeb6ed5c43c770e50e19c8e5c 8b110c184628ff959a60a6b856bbcc20949ddf0d 709b0eaae01f651fcd8535b4c68fd6b3d61e81b4 7c7fe2ab72c089446b6438b26325ffb284c69e4e d73a407a2bb72d94809b533b329c8654da8456d4 89d2e5eceb52dd9cfeb98b0d3d86a70badf2fae3 0f08212b643e3cb9b38db5838f027753210e7a79 1aeb9801ef6cc324f521a511ff05409227774f84 adab75c7caa20071936ada0766d92adef1f33847 |
1 similar comment
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-24.11
git worktree add -d .worktree/backport-372696-to-release-24.11 origin/release-24.11
cd .worktree/backport-372696-to-release-24.11
git switch --create backport-372696-to-release-24.11
git cherry-pick -x 097aafd75d76c22eeb6ed5c43c770e50e19c8e5c 8b110c184628ff959a60a6b856bbcc20949ddf0d 709b0eaae01f651fcd8535b4c68fd6b3d61e81b4 7c7fe2ab72c089446b6438b26325ffb284c69e4e d73a407a2bb72d94809b533b329c8654da8456d4 89d2e5eceb52dd9cfeb98b0d3d86a70badf2fae3 0f08212b643e3cb9b38db5838f027753210e7a79 1aeb9801ef6cc324f521a511ff05409227774f84 adab75c7caa20071936ada0766d92adef1f33847 |
The patch has not been included in the `vendor`, issue introduced in #372696 Context: composer/composer#12263
The patch has not been included in the `vendor`, issue introduced in #372696 Context: composer/composer#12263 (cherry picked from commit 8076473)
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.