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

Distribute through PHIVE #6

Open
szepeviktor opened this issue May 3, 2021 · 3 comments
Open

Distribute through PHIVE #6

szepeviktor opened this issue May 3, 2021 · 3 comments

Comments

@szepeviktor
Copy link

phive install strauss would be nice :)

Needs a published GPG key and a signature per release.

@BrianHenryIE
Copy link
Owner

I've taken only a brief look so far but will familiarise myself with it soon.

I originally had curl -o strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.8.1/strauss.phar as part of the composer script but it was resulting in an unsigned code error, which I understand Phive would solve, and I understand it could always download the latest version, which would also be nice.

@szepeviktor
Copy link
Author

szepeviktor commented Jul 3, 2021

Currently ignoring the missing signature works.

phive install --force-accept-unsigned brianhenryie/strauss

But it goes against the core principle of PHIVE.

@szepeviktor
Copy link
Author

szepeviktor commented Jul 3, 2021

BTW strauss.phar is built in a way that you rename it and it won't start.

PHP Warning:  include(phar://strauss.phar/vendor/autoload.php): failed to open stream: phar error: 
invalid url or non-existent phar "phar://strauss.phar/vendor/autoload.php" 
in phar:///home/viktor/.phive/phars/brianhenryie/strauss-0.10.3.phar/bin/strauss on line 23

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

No branches or pull requests

2 participants