Enabling git for our project: "Could not translate geneva"

Asked by Ruediger Berlich

Hi there,

now that the Launchpad-team has announced git support, I'd like to use this facility to access our code (lp:geneva) . This would allow me to access our repository from within Eclipse and CLion.

I am following the tutorial to access the code through git: https://help.launchpad.net/Code/Git . However upon trying to checkout the Geneva library (either through the full URL or through lp:geneva with a modified .gitconfig) I get the message

Cloning into 'geneva'...
fatal: remote error: Could not translate 'geneva'.

What am I doing wrong ? Do I somehow need to manually enable git-access in the web interface ?

Trying to clone launchpad through "git clone lp:launchpad" did work, so my general setup seems to be correct.

Any help is appreciated.

Kind Regards,
Ruediger

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Ruediger Berlich
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

We don't do automatic conversion from Bazaar; you, or a project admin, need to convert your Bazaar branches to a Git repository locally and push that to lp:geneva before you can "git clone" from it.

Revision history for this message
Ruediger Berlich (rberlich) said :
#3

Sorry, just so I completely understand: By doing what you suggest, what I will get are actually two distinct repositories. So a "git push" won't alter my Bazaar tree and vice versa ? I had kind of hoped to be able to work both with bzr and git in parallel, the former for our nightly builds and the latter for interaction through an IDE (Eclipse and/or CLion -- both are not very well supported by Bazaar).

Kind Regards,
Ruediger

Revision history for this message
Colin Watson (cjwatson) said :
#4

That's correct, at this time we don't have native support for that kind of dual operation. It might be possible to set that up locally by way of something like bzr-git that gives you round-trippable conversions, so that you effectively have the "same" repository by way of translating commits back and forward; but some particular properties of git repositories can't be round-tripped back and forward through bzr (including but not limited to submodules, certain characters in file names, etc.), so it often gets complicated and it would be easy to sink a lot of time into this.

For nightly builds, are you talking about recipe builds in Launchpad? If so, you could run an automatic import from git to bzr in Launchpad for the time being; and note that we do intend to have direct support for building recipes from git in Launchpad at some point over the next few months.

Revision history for this message
Ruediger Berlich (rberlich) said :
#5

Thanks a lot.
Best Regards, Ruediger