-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
psysh: 0.11.21 -> 0.12.3 + build-support/php: update #308608
Changes from 1 commit
7f75d07
880bbde
7a3eb2e
47bfa0e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,18 @@ php.buildComposerProject (finalAttrs: { | |
url = "https://github.com/bobthecow/psysh/releases/download/v${finalAttrs.version}/composer-v${finalAttrs.version}.lock"; | ||
hash = "sha256-ur6mzla3uXeFL6aEHAPdpxGdvcgzOgTLW/CKPbNqeCg="; | ||
}; | ||
vendorHash = ""; | ||
|
||
composerRepository = { | ||
preBuild = '' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, maybe we should use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You are mentioning it in the commit message. |
||
setComposeRootVersion | ||
composer config platform.php 7.4 | ||
composer require --no-update symfony/polyfill-iconv symfony/polyfill-mbstring | ||
composer require --no-update --dev roave/security-advisories:dev-latest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, this is not reproducible, is it? The hash would change over time since the lockfile is included in the output. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, this is fully reproducible actually, tested with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What if |
||
composer update --no-interaction --no-progress --prefer-stable --no-dev --classmap-authoritative --prefer-dist --lock | ||
''; | ||
}; | ||
|
||
vendorHash = "sha256-vlEbehxy6xi2qLKG32fV0OJVSphWjqKUVHbWOhoWjoI="; | ||
|
||
meta = { | ||
changelog = "https://github.com/bobthecow/psysh/releases/tag/v${finalAttrs.version}"; | ||
|
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.
Yeah, this is confusing. I would expect this attribute to be passed the result of
mkcomposerRepository
.If you apply the suggested change to
buildComposerProjectOverride
, you should be able to usecomposerRepository = previousAttrs.composerRepository.overrideAttrs { preBuild = …; };
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.
Yeah I'm not yet at ease with this.... I will do the change.