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

Composer not updating recipes if not a git folder #972

Open
signmeuptwice opened this issue Mar 17, 2023 · 0 comments
Open

Composer not updating recipes if not a git folder #972

signmeuptwice opened this issue Mar 17, 2023 · 0 comments

Comments

@signmeuptwice
Copy link

signmeuptwice commented Mar 17, 2023

My project structure is like this:

root folder
.git
docker-compose
app
composer.json

so my git is not located in the app folder but in its parent

My docker app is rooted with the app folder

When I try to update my recipes with docker exec app composer recipes:update it fails with error below

How to fix this; I don't want to have to create a new git inside app; that would be redundant.

Updating recipe for doctrine/annotations...

There was an error applying the recipe update patch
Command "git rev-parse --show-prefix" failed: "fatal: not a git repository (or any parent up to mount point /var/www)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
". Output: "".

Update the recipe by re-installing the latest version with:
  composer recipes:install doctrine/annotations --force -v
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

1 participant