-
Notifications
You must be signed in to change notification settings - Fork 55
Composer install fails because of Git.php #356
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
Comments
The git instance gets created inside Gitify but afaik yes, that only gets called from gitifywatch https://github.com/modmore/Gitify/blob/master/src/Gitify.php#L107-L122 |
I'll try to look into that issue in the next weeks, but if I don't find a solution, or the maintainer of Git.php isn't reacting, would you be open to switching to something like https://github.com/czproject/git-php ? (check out the author's name #insider) |
Sure, would probably be ideal to reimplement it in Gitify Watch instead of Gitify and then just removing it from here. |
I have created a quickfix that only removes the autoload section from the custom repository, which will then use autoloading defined in the external repository, where it was introduced in a recent pull request. If you have an existing installation you might have to manually remove the vendor folder first in order for the existing autoload not to be tainted. |
The PR that was made in [kbjr/Git.php](kbjr/Git.php#65) also changed the name of the methods on the `GitRepo` class.
The PR that was made in [kbjr/Git.php](kbjr/Git.php#65) also changed the name of the methods on the `GitRepo` class.
Summary
Using
composer install --no-dev
the installation fails with the error-message:( see https://forum.modmore.com/t/error-composer-install/2167/2 )
@Mark-H Git.php isn't acutally used inside Gitify anywhere, but by GitifyWatch, wasn't it?
The text was updated successfully, but these errors were encountered: