Can't import a public GitHub repository into a Launchpad proprietary Git repository

Bug #1789424 reported by Daniel Manrique on 2018-08-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Colin Watson

Bug Description

I tried to set up a code import of https://github.com/spdx/license-list-data.git to a Git branch on a proprietary project (so the branch itself was configured as proprietary and I can't change that, it seems).

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>@git.launchpad.net/~ubuntuone-pqm-team/software-center-agent/+git/spdx-license-list-data/': The requested URL returned error: 500
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.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

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>@git.launchpad.net/~ubuntuone-pqm-team/software-center-agent/+git/spdx-license-list-data/': The requested URL returned error: 500
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.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

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

Colin Watson (cjwatson) on 2018-08-28
tags: added: code-import git internal-api privacy trivial
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → In Progress
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2018-08-30
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
Colin Watson (cjwatson) on 2018-08-30
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2018-08-31
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers