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

Compile Gitify into a .phar file #64

Open
pbowyer opened this issue Feb 25, 2015 · 4 comments
Open

Compile Gitify into a .phar file #64

pbowyer opened this issue Feb 25, 2015 · 4 comments

Comments

@pbowyer
Copy link
Contributor

pbowyer commented Feb 25, 2015

To make installation easier, it'd be great to compile Gitify into a PHP Archive, to make installation on remote/production servers easier.

I've yet to do this (may attempt as an interesting exercise) but would probably use Composer's compiler as a template: https://github.com/composer/composer/blob/c573ae57810e98f60e810e5d1a920a51c12c8ebc/src/Composer/Compiler.php


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Mark-H
Copy link
Member

Mark-H commented Feb 26, 2015

Look forward to seeing a PR for that ;) Can see a couple of benefits for shipping a .phar alongside the "manual" installation.

@Mark-H
Copy link
Member

Mark-H commented Mar 31, 2015

One thing that may be troublesome with a .phar file is some enhancements I have planned, including #19 (using local MODX zips instead of always downloading from MODX.com to speed things up), will rely on writing to a central gitify folder. I was thinking of doing that inside the gitify folder itself, but if it's turned into a .phar, I'm not sure if that's still possible.

@alroniks
Copy link
Collaborator

alroniks commented Jul 2, 2015

@Mark-H Best way for store modx zips - use folder with leading dot in the name.
Gitify can create .gitify folder in users /home and store data to this folder. And then use data from this folder. The same way use composer for cache packages.

@Mark-H
Copy link
Member

Mark-H commented Jul 13, 2015

That sounds like a good idea.

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

3 participants