Question
Hello. Sorry this is such a vague question, it would definitely have been better placed in discussions rather than issues but we don't seem to have discussions on this repo. Anyway, I have a project with a git post-receive hook on a remote server run via CI, which runs uv sync --no-dev and everything is fine until my uv.lock contains a git install, which then errors out the whole install process with this...
remote: Resolved 120 packages in 5ms
remote: Updating https://github.com/someorg/somedep.git (ee67c93fa95ffb7379be1ad4730d6c7504baf581)
remote: × Failed to download and build `somedep @
remote: │ git+https://github.com/someorg/somedep.git@ee67c93fa95ffb7379be1ad4730d6c7504baf581`
remote: ├─▶ Git operation failed
remote: ╰─▶ process didn't exit successfully: `/usr/bin/git rev-parse` (exit status:
remote: 128)
remote: --- stderr
remote: fatal: not a git repository: '.'
remote:
remote: help: `somedep` was included because `myproject` (v0.1.0) depends on
remote: `somedep`
The weirdest thing about this though is that if I ssh into the server, and then run sh /path/to/my/post-receive as the same user that CI runs as, everything works fine.
Platform
Ubuntu 24.04
Version
Any (but on 0.6.9 in this case)
Question
Hello. Sorry this is such a vague question, it would definitely have been better placed in
discussionsrather thanissuesbut we don't seem to have discussions on this repo. Anyway, I have a project with a git post-receive hook on a remote server run via CI, which runsuv sync --no-devand everything is fine until myuv.lockcontains a git install, which then errors out the whole install process with this...The weirdest thing about this though is that if I ssh into the server, and then run
sh /path/to/my/post-receiveas the same user that CI runs as, everything works fine.Platform
Ubuntu 24.04
Version
Any (but on 0.6.9 in this case)