Import fails when debian directory is a symlink
Bug #1661092 reported by
Robie Basak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
High
|
Unassigned |
Bug Description
"usd import" uses "git show <tree>:
Example: snapd 2.22+17.04 in Zesty.
Related branches
~racb/git-ubuntu:lp/1661092
- Nish Aravamudan: Approve
-
Diff: 158 lines (+35/-16)4 files modifiedusd/build.py (+3/-1)
usd/git_repository.py (+18/-6)
usd/importer.py (+8/-6)
usd/source_information.py (+6/-3)
Changed in usd-importer: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
"git ls-tree <tree> debian" will list "blob" in the second field if this is the case. We should probably have our own internal "git show" type function which does follow symlinks. A naive implementation could just check it out with a custom worktree or something.