[21:10] <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:13] <dobey> you can't import a git repo that has ever had submodules in it, to a bzr branch.
[21:14] <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:15] <dobey> in the future it will be possible to do git->git import
[21:17] <dominic1134> got it, thanks for the hint
[21:18] <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:35] <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:37] <dominic1134> fixed it with a git reset --hard
[21:37] <dominic1134> :-)
[23:49] <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:50] <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:54] <wgrant> dominic1134: In launchpadlib, lp.branches.getByUrl(url='lp:whatever').code_import.requestImport()
[23:55] <dominic1134> thank you