Import fails when debian directory is a symlink

Bug #1661092 reported by Robie Basak
6
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>:debian/changelog" extensively. If the debian directory is a symlink, then this fails, since "debian" is actually a blob in the top level tree.

Example: snapd 2.22+17.04 in Zesty.

Related branches

Revision history for this message
Robie Basak (racb) wrote :

"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.

Changed in usd-importer:
status: New → Triaged
importance: Undecided → High
Nish Aravamudan (nacc)
Changed in usd-importer:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.