Skip to content

Conversation

@pjcdawkins
Copy link
Contributor

This is #201 but rebased on (targeting) #94

Manual testing on Windows 11 Home (VM) shows it works ok.

Though I'm not sure the details of the original problem that led to the file being added.

- Move 'init' responsibility to the legacy package
- Remove unnecessary Debug on wrapper
- Remove --phar-path option, but preserve {ENV_PREFIX}PHAR_PATH variable
- Remove unnecessary global vars
- Add a test
- Check the files on each run
- Try to avoid partial writes
- Move temporary directory from /tmp to the home directory
@pjcdawkins
Copy link
Contributor Author

It's possible someone had a broken system cert file (e.g. in /usr/ssl/certs/ca-bundle.crt), which the composer/ca-bundle package found and then used in preference over its fallback. So embedding our own solved that. I'm not sure if it should be more correct to bundle ours, or to respect the system's.

@pjcdawkins pjcdawkins force-pushed the compare-file-hashes branch 2 times, most recently from f1d100d to 1d74939 Compare January 20, 2025 16:48
@pjcdawkins pjcdawkins closed this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants