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

Handle other languages package managers #38

Open
drazik opened this issue Apr 1, 2020 · 5 comments
Open

Handle other languages package managers #38

drazik opened this issue Apr 1, 2020 · 5 comments

Comments

@drazik
Copy link

drazik commented Apr 1, 2020

Hi,

I was going to implement a git hook to do just the same thing that yarnhook does, but for Composer (PHP package manager). But I thought it would be a shame to have yarnhook for yarn, and something specific for Composer. So I'm wondering if you are opened to handling not node-related package managers? In which case I can open a PR to add composer.

Thanks!

@devinrhode2
Copy link

devinrhode2 commented Apr 1, 2020 via email

@drazik
Copy link
Author

drazik commented Apr 1, 2020

Yes, composer + npm/yarn must be a common use case. Mine is a Symfony project.

@frontsideair
Copy link
Owner

I have no objections to this. I personally don't use PHP but since composer hook will only work if there's a composer lockfile I think it is unobtrusive and see no reason to not allow this. So the PR is more than welcome.

In the future if the number of lockfiles proliferate and maintenance becomes a problem I may consider scaling back but for now it's all right to me!

@devinrhode2
Copy link

devinrhode2 commented Apr 3, 2020 via email

@drazik
Copy link
Author

drazik commented Apr 6, 2020

Nice. I'm going to open a PR very soon then :)

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

3 participants