/srv/irclogs.ubuntu.com/2016/06/19/#launchpad.txt

=== 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
dominic1134hi, 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
dobeyyou can't import a git repo that has ever had submodules in it, to a bzr branch.21:13
dobeythe 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
dobeyin the future it will be possible to do git->git import21:15
dominic1134got it, thanks for the hint21:17
dominic1134so basically the only thing i can do is getting rid of the submodule commit in the history by doing a git rebase21:18
dobeyi don't know enough about git21:35
dobeyyou could just clone and push the same repository to launchpad; or wait for git->git import directly on launchpad site21:35
dominic1134fixed it with a git reset --hard21:37
dominic1134:-)21:37
dominic1134is 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 repo23:49
dominic1134one idea that came to my mind is just submitting a POST to code.launchpad.net/~team/project/master/@@+request-import .. which should do it aswell23:50
wgrantdominic1134: In launchpadlib, lp.branches.getByUrl(url='lp:whatever').code_import.requestImport()23:54
dominic1134thank you23:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!