Can't import a public GitHub repository into a Launchpad proprietary Git repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson | ||
Seamly2D |
Fix Released
|
Unknown
|
Bug Description
I tried to set up a code import of https:/
Imports fail with:
Import started 4 hours ago on alnitak and finished 4 hours ago taking 10 seconds — see the log
2018-08-28 09:09:12 INFO Starting job.
2018-08-28 09:09:12 INFO Getting existing repository from hosting service.
2018-08-28 09:09:12 INFO Cloning into bare repository 'repository'...
2018-08-28 09:09:12 INFO remote: ('401', 'Unauthorized')
2018-08-28 09:09:12 INFO fatal: unable to access 'https://<redacted>
2018-08-28 09:09:12 INFO Unable to get existing repository from hosting service: git clone exited 128
Import failed:
Traceback (most recent call last):
Failure: twisted.
That's the last message, but the first two were a 500:
2018-08-27 20:38:56 INFO Starting job.
2018-08-27 20:38:56 INFO Getting existing repository from hosting service.
2018-08-27 20:38:57 INFO Cloning into bare repository 'repository'...
2018-08-27 20:38:57 INFO remote: ('401', 'Unauthorized')
2018-08-27 20:38:57 INFO fatal: unable to access 'https://<redacted>
2018-08-27 20:38:57 INFO Unable to get existing repository from hosting service: git clone exited 128
Import failed:
Traceback (most recent call last):
Failure: twisted.
One thing I can do to work around this manually push my copy of that branch to Launchpad, and do so manually until the bug is fixed. But I wonder if you'd prefer me leaving things as they are for now, for investigation
Related branches
- William Grant (community): Approve (code)
- Daniel Manrique (community): Abstain
-
Diff: 95 lines (+50/-7)2 files modifiedlib/lp/code/xmlrpc/git.py (+2/-1)
lib/lp/code/xmlrpc/tests/test_git.py (+48/-6)
tags: | added: code-import git internal-api privacy trivial |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → High |
status: | New → In Progress |
summary: |
- Can't import a public github branch into a Launchpad proprietary Git - branch + Can't import a public GitHub repository into a Launchpad proprietary Git + repository |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in seamly2d: | |
importance: | High → Unknown |
status: | Unknown → New |
Changed in seamly2d: | |
status: | New → Fix Released |
Fixed in stable r18764 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 18764>.