Changing import URL of existing lp repository

Asked by Thomas Friedrichsmeier on 2020-05-25

As far as I can see, there is still no self-service way of changing the upstream URL of a repository that is imported into launchpad. (If there is such a way, I'd appreciate a pointer).

Specifically, I would like to:
1. change the upstream URL of https://code.launchpad.net/~rkward-devel/rkward/+git/rkward
    from: git://anongit.kde.org/rkward.git
    to: <email address hidden>:education/rkward.git
2. change the upstream URL of https://code.launchpad.net/~rkward-devel/rkward/+git/rkward-translations
    from: git://anongit.kde.org/scratch/tfry/rkward-po-export.git
    to: <email address hidden>:tfry/rkward-po-export.git

The old URLs are scheduled to be removed in about a week, as part of KDE's transition to gitlab-based infrastructure.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
2020-05-26
Last query:
2020-05-26
Last reply:
2020-05-26

Hi, Thomas Friedrichsmeier.

You should be able to change the upstream URL by going to the repository page and clicking on 'Edit import source or review import', right below the list of recent imports.

For the repositories you've mentioned, clicking on this link would lead you to these pages:
- https://code.launchpad.net/~rkward-devel/rkward/+git/rkward/+edit-import
- https://code.launchpad.net/~rkward-devel/rkward/+git/rkward-translations/+edit-import

Let me know if you have any problems editing it.

Thomas Friedrichsmeier (tfry) said : #2

Hm, I don't see the "Edit import source" link, and going to your links directly results in:

"Not allowed here

Sorry, you don't have permission to access this page or the information in this page is not shared with you.

You are logged in as Thomas Friedrichsmeier."

Could it be, because the repository is team-owned (rkward-devel, I am the team owner, and a team administrator, though)?

Best Colin Watson (cjwatson) said : #3

I've changed these, though using https:// forms of the URL instead (code imports can't currently use git+ssh://, either explicitly or implied by way of the alternative scp-like syntax).

Thomas Friedrichsmeier (tfry) said : #4

Thanks!

Thomas Friedrichsmeier (tfry) said : #5

Thanks Colin Watson, that solved my question.