Bare Git Repo at UNC Shared Drive Filepath
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
Issue
System: latest version of poetry, python 3.10.2, Windows 10 64-bit
I have a bare GIT repo on a shared drive which I need to include as a dependency. I have the following dependency in pyproject.toml:
[tool.poetry.dependencies]
repo-name = {git="file://drive-name/path/repo-name.git"}
When using “poetry build” I get the following error:
No file/folder found for package
“poetry install” seems to silently fail. It does not install the dependency.
In setuptools setup.py I can use the following path and install/uninstall works without issue:
repo-name@file://drive-name/path/repo-name.git#egg=repo-name
The documentation seems, as far as I can tell, a little sparse on this scenario. What am I missing?
Issue Analytics
- State:
- Created a year ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
git on UNC path - Stack Overflow
My problem is I cannot access network drive from git. I put PortableGit on the network drive, but git-bash.bat and git-cmd.bat die with...
Read more >Git on Windows: Creating a network shared central repository.
pushd \\remoteServer\git\Share\Folder\Path. Now that we?re in the remote location we can create a bare git repository. mkdir MyGitRepo1
Read more >Setup Git for small teams (network share – bare) - Papooze
Setup Git for small teams (network share – bare) ... Use the “bare” repo path (not UNC file path) use '\\' at the...
Read more >Can Git clone a bare repository to another bare repository – iTecNote
The network drive (with a long UNC path!) would contain the main bare repo that acts as the upstream reference copy (2 or...
Read more >How to create your own local Git remote repo that's not hosted ...
Remember we can't do a `git ls-files` here in the shared.git folder because it is a bare repo and has no working directory....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
#5428 also seems to be working, thank you. I did not try that before because I was running into some issues uninstalling, but it is working now. I will use that fork until it is merged.
You were right. I made a copy of the repo to test with and that messed up the package name.