=== Spads_ is now known as Spads | ||
=== JanC_ is now known as JanC | ||
=== dasjoe_ is now known as dasjoe | ||
=== teran_ is now known as teran | ||
=== nottrobin_ is now known as nottrobin | ||
=== robru_ is now known as robru | ||
=== lfaraone_ is now known as lfaraone | ||
=== teward- is now known as teward | ||
dominic1134 | hi, i would like to import to launchpad from a github project which previously had submodules. i get a "The repository you are fetching from contains submodules, which are not yet supported." the project had submodules on the past. any clues how to fix? | 21:10 |
---|---|---|
dobey | you can't import a git repo that has ever had submodules in it, to a bzr branch. | 21:13 |
dobey | the submodules are still "in the branch" as they are part of the history. if you check out an old revision, the submodules will be required. | 21:14 |
dobey | in the future it will be possible to do git->git import | 21:15 |
dominic1134 | got it, thanks for the hint | 21:17 |
dominic1134 | so basically the only thing i can do is getting rid of the submodule commit in the history by doing a git rebase | 21:18 |
dobey | i don't know enough about git | 21:35 |
dobey | you could just clone and push the same repository to launchpad; or wait for git->git import directly on launchpad site | 21:35 |
dominic1134 | fixed it with a git reset --hard | 21:37 |
dominic1134 | :-) | 21:37 |
dominic1134 | is there any possibility to trigger the import from a foreign git repository via the api? as far as i know, the import is performed every 4 hours automatically but we would like to import each time a new change was made on our main repo | 23:49 |
dominic1134 | one idea that came to my mind is just submitting a POST to code.launchpad.net/~team/project/master/@@+request-import .. which should do it aswell | 23:50 |
wgrant | dominic1134: In launchpadlib, lp.branches.getByUrl(url='lp:whatever').code_import.requestImport() | 23:54 |
dominic1134 | thank you | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!