machbarmacher/gdpr-dump

Generate phar

Opened this issue · 5 comments

It seems as though this would be useful to distribute as a single .phar. Thoughts?

amenk commented

was looking for that as well, is anybody working on this?

hi @amenk - nobody is working on this right now - I'm having some discussions with the loose "team" of people working on this to figure out the direction of the project.

If it's something that people want (and the fact that you're looking for it suggests it is ...) then we can prioritize it (first, though, I need to test and accept these open PRs ...)

amenk commented

This works:
composer install

Next:

phive install humbug/box --force-accept-unsigned

Create a box.json

{
  "files": [
    "_bootstrap.php"
  ]
}

Run

tools/box compile

Here is the result:

mysqldump.phar.zip

Would be great if someone can test it a bit.

Next step would be to automate that.

The phar could be uploaded to GitHub releases via API. I have experience to do this with Robo .. would this be a way to go or better create a bash script for releasing?

amenk commented

Also we should allow the phar to be distributed via phive .. this involves singing it via PGP

amenk commented

Anybody want's to integrate that in the build process and sign the phar?