Launchpad can't import git branches from BitBucket
Bug #1154797 reported by
Guilherme Salgado
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad code imports |
Triaged
|
Low
|
Unassigned |
Bug Description
bitbucket now gives a 404 when Launchpad tries to mirror a branch. They do that because the User-Agent used by LP doesn't include the 'git/' string, and they don't seem to be willing to change that (https:/
I guess we need to change the User-Agent in LP if we want to continue importing git branches from bitbucket.
affects: | launchpad → lp-codeimport |
To post a comment you must log in.
Just to make it clear why that is the case: we have to rely on the user-agent string to decide whether to serve an HTML page for the repo, or redirect the request to our git-server.