Skip to content

Add support for pie #587

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

Merged
merged 1 commit into from
Mar 30, 2025
Merged

Add support for pie #587

merged 1 commit into from
Mar 30, 2025

Conversation

alexandre-daubois
Copy link
Contributor

Just like composer and pecl, I think the symfony tool could propose the pie subcommand.

For now I don't think we can get the phar signature of the latest release. Could this be possible to maybe include the signature as a release artifact maybe @asgrim, or similar mechanism? 🙂 Composer offers to download the latest signature at https://composer.github.io/installer.sig. Please tell me if I can be of any help on this!

This could also be an opportunity to resume #435 by adding a few integration tests for this command?

@tucksaun
Copy link
Member

For now I don't think we can get the phar signature of the latest release. Could this be possible to maybe include the signature as a release artifact maybe @asgrim, or similar mechanism? 🙂

Seems like we should be able by reimplementing the logic behind gh attestation verify. (for reference here is a link to start the investigation: https://github.com/cli/cli/blob/trunk/pkg/cmd/attestation/verify/verify.go). though having a signature as Composer would be definitely easier to implement and maintain.

Copy link
Member

@tucksaun tucksaun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this solid addition!

Having not play with PIE yet, I would just like give it a go locally before a definitive approval 🙂

@alexandre-daubois
Copy link
Contributor Author

alexandre-daubois commented Mar 25, 2025

I addressed your comments. I'll have a look at what's possible about gh attestation verify when I have some time 🙂

@alexandre-daubois alexandre-daubois force-pushed the pie-bin branch 2 times, most recently from 4cfd3bc to 5820f61 Compare March 26, 2025 07:56
@tucksaun
Copy link
Member

I'll have a look at what's possible about gh attestation verify when I have some time 🙂

PIE is quite cutting-edge as of now so I think we can merge as-is and address this in the coming days/weeks.

@tucksaun tucksaun merged commit b3e8467 into symfony-cli:main Mar 30, 2025
1 check passed
@tucksaun
Copy link
Member

Thank you @alexandre-daubois !

@OskarStark
Copy link

OskarStark commented Mar 30, 2025

Can we have any docs 🙃?

@alexandre-daubois
Copy link
Contributor Author

I'm not sure where we should add this. I would have go for https://symfony.com/doc/current/setup/symfony_server.html, but "Symfony Local Web Server" doesn't seem suitable. However it seems the only place we could add this type of doc? Maybe a whole section to wrappers should be added also.

@tucksaun
Copy link
Member

I'm not sure where we should add this. I would have go for https://symfony.com/doc/current/setup/symfony_server.html, but "Symfony Local Web Server" doesn't seem suitable. However it seems the only place we could add this type of doc? Maybe a whole section to wrappers should be added also.

I started to talk about this with a couple of people and I believe we should introduce a dedicated documentation for the CLI with the more advanced options and only have an introduction in the Framework doc (with a link to the dedicated one).

This could also help with the fact that currently the documentation for the CLI does not take the CLI version into account because it is being embedded in the Framework documentation.

WDYT?

@alexandre-daubois
Copy link
Contributor Author

100% agree, I'm pretty sure many (most?) people underuse Symfony CLI because there's no clear dedicated page to it. Let's create an issue in symfony-docs 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants