Unable to import code from GitHub

Asked by econsysqtcam

I tried to import the code, the import status is not updated in recent revisions. It keeps on showing the message " Updating Branch.....Launchpad is processing new changes to the branch which will be available in few minutes. Reload to see the changes".

The branch I am facing this issue is https://code.launchpad.net/econsysqtcam

Please help me out. 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:

This question was reopened

Revision history for this message
Simone Pelosi (pelpsi) said :
#1

Hi! From the code page I see the following:

Import details
Import Status: Reviewed

Is the issue solved?

Revision history for this message
econsysqtcam (qtcam) said (last edit ):
#3

Thanks Simone Pelosi. I am still facing this issue in
https://code.launchpad.net/~qtcam/econsysqtcam/econsysqtcam

Can you please let me know what is the root cause of this issue?

Revision history for this message
Ines Almeida (ines-almeida) said :
#4

I do notice that the branch mentioned above is marked as a bazaar (instead of git), which doesn't seem to be right given the source is a git repo from github. Is that on purpose?

Revision history for this message
Simone Pelosi (pelpsi) said :
#5

I can confirm that repositories with submodules or signed commits in their history can currently only be imported to Git, not to Bazaar.
See https://help.launchpad.net/VcsImports

Let us know if you need help creating this in git, if this was not done on purpose :)

Revision history for this message
Ines Almeida (ines-almeida) said :
#6

I'll close this question. Feel free to open it if you require more assistance on this topic

Revision history for this message
econsysqtcam (qtcam) said :
#7

Hi @Simone Pelosi, Thanks for your observation, Using Bazaar was not intentional, and there wasn't a specific purpose. After reviewing the below mentioned blog, I now understand the root cause of the issue. Unfortunately, the solutions mentioned in the blog are not working for me.

Could you please assist me in transitioning this repository to Git or provide guidance on resolving the issue? Your help is greatly appreciated.

https://answers.launchpad.net/launchpad/+question/267119

Revision history for this message
Simone Pelosi (pelpsi) said :
#8

Hey! Sure, could you tell me which solutions you already tried?

Revision history for this message
econsysqtcam (qtcam) said :
#9

Thanks ! I have tried to force the scanning by using this command,

 lp.branches.getByUrl(url="lp:~shawn111/bzr/lp_propose_message").unscan(rescan=True)

For my branch,
lp.branches.getByUrl(url="lp:econsysqtcam").unscan(rescan=True)

but it returns "[u'git-v1:bc2d8f11c8145a9052df78efb8807f1d0c6ea16d', u'git-v1:bc2d8f11c8145a9052df78efb8807f1d0c6ea16d']"

I am simultaneously working on creating this import using Git. How do I add the Debian files for the source code imported directly from Git repositories?

Revision history for this message
Simone Pelosi (pelpsi) said :
#10

Hey! I suggest you to go with the new Git repository and delete the bzr one.
You won't be able to push directly to the imported repository on Launchpad, but you can create another repository in the same project and push branches to that, and even create merge proposals if you want (though you may have to tell the upstream maintainer about them separately!). You can create source package recipes or Snap packages based on branches in the imported repository.

Revision history for this message
econsysqtcam (qtcam) said :
#11

I have successfully imported our repository into Launchpad as Git. Now, I need assistance in adding the Debian files for the respective distributions. Can you please help me with this?

Revision history for this message
Simone Pelosi (pelpsi) said :
#12

So do you want to build your source package for different distributions? In that case I can send you this two pages from our documentation:
https://help.launchpad.net/Packaging/SourceBuilds
https://help.launchpad.net/Packaging/SourceBuilds/GettingStarted

If you want to upload package to your PPA you can follow:
https://help.launchpad.net/Packaging/PPA/Uploading?highlight=%28PPA%29%7C%28upload%29

Can you help with this problem?

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

To post a message you must log in.