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

Making phing compatible with phive (https://phar.io) #633

Closed
ghost opened this issue Dec 15, 2016 · 2 comments
Closed

Making phing compatible with phive (https://phar.io) #633

ghost opened this issue Dec 15, 2016 · 2 comments
Milestone

Comments

@ghost
Copy link

ghost commented Dec 15, 2016

https://phar.io/#distributingPhars

what is needed:

  • phar file should contain a manifest
  • phar file should be signed (also releases files on GitHub) using gpg/pgp (phar.asc)
  • gpg key used for signing should be published

After that, installing phing with phive should be working, steps to check installation:

wget https://phar.io/releases/phive.phar
wget https://phar.io/releases/phive.phar.asc
gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys 0x9B2D5D79
gpg --verify phive.phar.asc phive.phar
chmod +x phive.phar
phive.phar install https://www.phing.info/get/phing-latest.phar

this requires https://www.phing.info/get/phing-latest.phar.asc to be published (GPG phar signature)

phive.phar install phingofficial/phing

this requires https://github.com/phingofficial/phing/releases/download/{version}/phing-version}.phar.asc to be published

After that phing alias for phive can be defined by PR in https://github.com/phar-io/phar.io/blob/master/data/repositories.xml

@mrook mrook modified the milestone: 3.0 Dec 27, 2016
@mrook
Copy link
Member

mrook commented Jan 5, 2017

Interesting idea! Are you willing / able to contribute some code to get this started?

@ghost
Copy link
Author

ghost commented Jan 5, 2017

Sure, I can do that

@ghost ghost mentioned this issue Jan 6, 2017
@mrook mrook closed this as completed in #642 Jan 9, 2017
mrook pushed a commit that referenced this issue Jan 9, 2017
siad007 pushed a commit to siad007/phing that referenced this issue Jan 11, 2017
This was referenced Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant