You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this upgrading to 3.0, so maybe others will hit it as well. One of my software definitions was failing on the "caching build" step:
---- Begin output of git --git-dir=/var/cache/omnibus/cache/install_path/opt/st --work-tree=/opt/st add -A -f ----
STDOUT:
STDERR: fatal: Not a git repository: embedded/lib/python2.7/site-packages/sentry/static/sentry/bootstrap/../../../../../.git/modules/src/sentry/static/sentry/bootstrap
---- End output of git --git-dir=/var/cache/omnibus/cache/install_path/opt/st --work-tree=/opt/st add -A -f ----
Ran git --git-dir=/var/cache/omnibus/cache/install_path/opt/st --work-tree=/opt/st add -A -f returned 128
The sledgehammer solution is to rm -rf the .git directory, but it might be better to throw a warning or something to make it obvious. The relative path stuff in particular might be confusing to users who hit this. There might be another argument to force adding the paths anyways, which would also solve this, but I'm not sure if something like that exists.
git version is 1.8.2.1
The text was updated successfully, but these errors were encountered:
@mikeclarke this is definitely a bug. I have created #126 to track the relative path issues.
Could you give us a public software definition for this? We need a test case. We need to explore a few options to fix this. @adamhjk might have an opinion on a good solution.
I ran into this upgrading to 3.0, so maybe others will hit it as well. One of my software definitions was failing on the "caching build" step:
Gist: https://gist.github.com/mikeclarke/9844487
The sledgehammer solution is to
rm -rf
the .git directory, but it might be better to throw a warning or something to make it obvious. The relative path stuff in particular might be confusing to users who hit this. There might be another argument to force adding the paths anyways, which would also solve this, but I'm not sure if something like that exists.git version is 1.8.2.1
The text was updated successfully, but these errors were encountered: