Skip to content
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

Composer Automation to build PHAR distribution #270

Closed
szepeviktor opened this issue Jul 17, 2020 · 10 comments
Closed

Composer Automation to build PHAR distribution #270

szepeviktor opened this issue Jul 17, 2020 · 10 comments
Assignees

Comments

@szepeviktor
Copy link
Contributor

It is not so easy to get a tool packaged in a PHAR file as you have to know the URL.

phive install php-compat-info makes more sense.

https://github.com/phar-io/phive

All you need

  • a published GPG key
  • the PHAR file uploaded as GitHub release asset
  • and the GPG signature (.asc file)
@llaville llaville mentioned this issue Jul 18, 2020
24 tasks
@llaville
Copy link
Owner

Good idea. Added to the roadmap. But I give a lowest priority to this task and all other additional tasks.
First I want to finish to prepare the first release candidate of next version 5.4 that will enhance PHP 7 features detection

@llaville
Copy link
Owner

I want to release the final stable version 5.4 in 2 days now. This task will then be added in v6.0

@llaville llaville added this to the 6.0 milestone Sep 28, 2020
@llaville llaville mentioned this issue Sep 28, 2020
11 tasks
@llaville
Copy link
Owner

We can also automated creation of phar version at composer project installation or update. What do you think about this solution (easy to implement) ?

@szepeviktor
Copy link
Contributor Author

szepeviktor commented Nov 17, 2020

@llaville
Copy link
Owner

I'm able to produce a solution (composer based) in next 1 or 2 days.
Just time to let me finish tests on https://github.com/llaville/php-compatinfo-db project for upcoming version 3.0

@llaville
Copy link
Owner

I've just finished to test POC in php-compatinfo-db project (see llaville/php-compatinfo-db#59)

I'll apply the same fix tomorrow in branch master of php-compatinfo. I'll keep you aware when it will be available !

@llaville llaville removed this from the 6.0 milestone Nov 19, 2020
@llaville
Copy link
Owner

No need to wait major version 6.0; It will come with bugfix release 5.4.2

@llaville llaville changed the title Distribute through Phive Composer Automation to build PHAR distribution Nov 19, 2020
@llaville
Copy link
Owner

--manifest will be removed in v5.4.2 until I find a nice solution to automate process to build metadata in phar (I've already idea, but i need to work on POC)

@llaville llaville self-assigned this Nov 19, 2020
@szepeviktor
Copy link
Contributor Author

Thank you.
I've just ran it on itself: Requires PHP 7.1.0 (min)

@llaville
Copy link
Owner

llaville commented Feb 22, 2021

While working of CI implementation (#271), I found that humbug/box package cannot be installed on PHP 8 platform.

My fisrt approch was to ignore PHP version requirement on Composer install, but it introduced other issues.

I've then decided to remove Composer Automation to build PHAR version of CompatInfo, and reintroduced PHP 8 support in CI !

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

No branches or pull requests

2 participants