Import from Git: url=... has not implemented list_dir
Hi,
I'm trying to import an external project from a Git repository to enable daily builds, but get the error message
============== *snip* ==============
[...]
x86_64.
% (self))
bzrlib.
Import failed:
Traceback (most recent call last):
Failure: twisted.
============== *snap* ==============
I've got no idea what this wants to say. An ordinary `git clone` works without problems on the repo.
Any hints?
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- 2012-12-01
- Last reply:
- 2012-12-22
| John A Meinel (jameinel) said : | #1 |
Are you trying to set up a regular import in Launchpad? Or are you trying to do the import yourself? Offhand the failure is that bzr is trying to list the contents of the pack/ directory.
IIRC, git doesn't usually expose the http listing, which means you are supposed to use a git command to make your repository available over plain http(s).
Looking at the URL, though, I would expect it to be trying to do that at:
https:/
I'm guessing you are specifying the branch to import incorrectly. I would think that you would import: https:/
IIRC the way to import a specific branch is to do: https:/
Not ref=...
If you can give more context of the traceback, or where this is failing, it would be appreciated.
| Nico Schlömer (nschloe) said : | #2 |
This is through launchpad.net's own import system, https:/
The exact import line is never specified in the web interface, so I think I don't have control over whether bzr import uses
https:/
or
https:/
I agree that the former is probably what bzr is looking for. I don't know what the latter is used.
Interestingly, a plain
$ bzr git-import https:/
throws the different error
[...]
AssertionError: Invalid object name 'ref: refs/heads/master'
A bug report for this is filed under https:/
| Launchpad Janitor (janitor) said : | #3 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.
