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

Update documentation to describe global composer installation. #16

Merged
merged 1 commit into from
Nov 16, 2015

Conversation

nubs
Copy link
Contributor

@nubs nubs commented May 8, 2014

No description provided.

exit(1);
}

require GRAPHCOMPOSER_INSTALL;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change? Admittedly this never looked particularly appealing so I'm perfectly fine with changing this :) But I'd rather discuss this independent of your other changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this from phpunit as it seems to be a pretty sane way of handling this. I just used a constant for the benefits it provides if you need the value elsewhere.

@clue
Copy link
Owner

clue commented May 8, 2014

Thanks for improving support for global installations through composer, very much appreciated 👍

I've just tested installing graph-composer globally without your changes applied. PR #12 already updated the autoloader paths, however we have yet to release a tagged version.

Because of this, installing the latest tagged version (*) actually fails, while installing the latest dev version (*@dev) works just fine. So obviously we need to tag a new version.

With this (future) tag in place, your PR boils down to additional documentation - which, let me reemphasize, is appreciated at least just as much as code changes! As such, I'd much rather prefer to focus on that part here and perhaps discuss an update to the autoloader in a separate PR.

@nubs
Copy link
Contributor Author

nubs commented May 8, 2014

Ah! I see. I failed to notice that in there. My eyes glossed right over that or on the include line.

@nubs
Copy link
Contributor Author

nubs commented May 8, 2014

I can strip things down to the documentation and open a separate pull request for the more spread out code.

@nubs nubs changed the title Allow graph-composer to be installed globally via composer. Update documentation to describe global composer installation. May 8, 2014
@clue
Copy link
Owner

clue commented May 8, 2014

My eyes glossed right over that or […]

No worries, that code could certainly use some refactoring :)

I can […] open a separate pull request for the more spread out code.

Sure, go ahead if you feel it's still useful!

I can strip things down to the documentation […]

Thanks, the changes look to me 👍

I'll leave this open for feedback for a few days, but expect this to be part of the imminent v0.2.0 release.

@nubs
Copy link
Contributor Author

nubs commented May 9, 2014

I'll leave this open for feedback for a few days, but expect this to be part of the imminent v0.2.0 release.

Okay, thanks for the info!

@clue
Copy link
Owner

clue commented Nov 16, 2015

Thanks for your effort and your patience @nubs! :shipit:

clue added a commit that referenced this pull request Nov 16, 2015
Update documentation to describe global composer installation.
@clue clue merged commit 16047dc into clue:master Nov 16, 2015
@nubs
Copy link
Contributor Author

nubs commented Nov 16, 2015

Woo! No worries - thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants