HTTP API to fetch file from repository following symlinks

Bug #1832212 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
turnip
Triaged
Low
Unassigned

Bug Description

In bug 1797366 we have a requirement to fetch a file from GitHub following symlinks. In the process of working out how to fix this I see that we have the same kind of problem with Launchpad's own Git service; while cgit has <repository>/plain/<file> URLs, those don't follow symlinks (GitHub returns the symlink target path, while cgit just 404s).

It'd be useful for turnip to provide URLs that fetch a file while following repository-internal symlinks, perhaps with some guards against excessive symlink depth.

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.