code import from GitHub failing

Asked by Timmie

Dear maintainers,
plase have a look at the following repo:

https://code.launchpad.net/~pythonxy/pythonxy-upstream/python-pandas

the code import keeps failing.

The link to the log file:
http://launchpadlibrarian.net/201704434/pythonxy-pythonxy-upstream-python-pandas.log

What is the reason and how can we repair this?

Thanks in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
William Grant (wgrant) said :
#1

That's https://bugs.launchpad.net/bzr-git/+bug/1372149. The problem is that the Git repository was imported from Mercurial, and recent versions of hg-git add some non-standard commit headers that bzr-git doesn't support, and it isn't clear how they should be supported.

Practically speaking, it's unlikely that bzr-git will be fixed. These cases almost always appear when people are doing Git imports for source package recipes, and we expect to have them natively supporting Git later this year. We're currently rolling out initial native Git hosting support, and other features will follow soon.

To fix it before then you have little choice but to either rewrite the non-standard headers out of the repository, or maintain a rewritten branch that tracks master but doesn't include those headers.

Revision history for this message
Timmie (timmie) said :
#2

@wgrant:

Thanks for the swift answer.

>The problem is that the Git repository was imported from Mercurial, and recent versions of hg-git add some >non-standard commit headers that bzr-git doesn't support, and it isn't clear how they should be supported.
This is interesting.

Code was initially at google:
https://code.google.com/p/pandas/

But since 2010 on https://github.com/pydata/pandas

by that time, the bzr import was set up and running well!

>We're currently rolling out initial native Git hosting support, and other features will follow soon.
Will this include a automatic importer from github?

>To fix it before then you have little choice but to either rewrite the non-standard headers out of the
Can this be done by the pandas upstream maintainers on github?

>repository, or maintain a rewritten branch that tracks master but doesn't include those headers.
Not too good since this would be a manual approach.

Thanks.

Revision history for this message
William Grant (wgrant) said :
#3

On 07/04/15 07:16, Timmie wrote:> @wgrant:
>
> Thanks for the swift answer.
>
>> The problem is that the Git repository was imported from Mercurial, and recent versions of hg-git add some >non-standard commit headers that bzr-git doesn't support, and it isn't clear how they should be supported.
> This is interesting.
>
> Code was initially at google:
> https://code.google.com/p/pandas/
>
> But since 2010 on https://github.com/pydata/pandas
>
> by that time, the bzr import was set up and running well!

They must have recently merged a branch that was created by a new version of hg-git.

>> We're currently rolling out initial native Git hosting support, and other features will follow soon.
> Will this include a automatic importer from github?

Not in the first round of features, but we want to do that very soon.

>> To fix it before then you have little choice but to either rewrite the non-standard headers out of the
> Can this be done by the pandas upstream maintainers on github?

It's technically possible, but it's unlikely they'd do it -- it would effectively mean rebasing trunk.

>> repository, or maintain a rewritten branch that tracks master but doesn't include those headers.
> Not too good since this would be a manual approach.

It can be automated.

Revision history for this message
Timmie (timmie) said :
#4

OK, I brought it to the attention of upstream:
https://github.com/pydata/pandas/issues/9831#

I will wait until the git feature will be available in LP.

Seem like bzr is dying a slow death. But it's the most user friendly contenders of the DVCS fight...

Revision history for this message
Timmie (timmie) said :
#5

@wgrant

How will the git integration be announced?

A post on the
http://blog.launchpad.net/ ?

Revision history for this message
William Grant (wgrant) said :
#6

Yes, we'll blog about it.

Can you help with this problem?

Provide an answer of your own, or ask Timmie for more information if necessary.

To post a message you must log in.