gsilvapt | Hello everyone. I need some help. Lets say I have this package I want to download via ssh (https://git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/konquest/?h=kubuntu_unstable). When running git clone ssh-link, the console uses a launchpad user that does not exist. What may I have poorly configured? | 01:38 |
---|---|---|
tsimonq2 | gsilvapt: Here's what's in my .gitconfig | 01:39 |
tsimonq2 | [url "git+ssh://tsimonq2@git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/"] | 01:39 |
tsimonq2 | insteadof = kubuntu: | 01:39 |
tsimonq2 | So I do this for example: | 01:39 |
tsimonq2 | git clone kubuntu:plasma-workspace | 01:39 |
gsilvapt | My username in that option is correct, gsilvapt and not gsilva | 01:40 |
tsimonq2 | gsilvapt: What's your LP URL? | 01:40 |
gsilvapt | ~gsilvapt | 01:40 |
gsilvapt | https://launchpad.net/~gsilvapt | 01:40 |
gsilvapt | My launchpad id is gsilvapt and not gsilva | 01:40 |
gsilvapt | I have no clue where LP is getting this id | 01:40 |
tsimonq2 | gsilvapt: Then what's it say in your .gitconfig? | 01:41 |
gsilvapt | Regarding LP, I have these three options: | 01:42 |
gsilvapt | [url "git+ssh://gsilvapt@git.launchpad.net/"] | 01:42 |
gsilvapt | insteadof = lp: | 01:42 |
gsilvapt | [url "git+ssh://gsilvapt@git.launchpad.net/"] | 01:42 |
gsilvapt | insteadof = lpme: | 01:42 |
gsilvapt | [url "git+ssh://gsilvapt@git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/"] | 01:42 |
gsilvapt | insteadof = kp: | 01:42 |
gsilvapt | And a global config name gsilvapt for GitHub. Nothing more | 01:42 |
tsimonq2 | gsilvapt: Is your SSH key added in Launchpad? | 01:42 |
gsilvapt | Yes, just re-added the thing to be sure I didn't forget when I formated this machine | 01:42 |
tsimonq2 | gsilvapt: Run this command and pastebin the exact output please: | 01:43 |
tsimonq2 | $ git clone kp:plasma-workspace | 01:43 |
gsilvapt | https://pastebin.com/aRGg4ugQ | 01:44 |
gsilvapt | I sincerely have no clue where this got the gsilva. I previously had LP configured to gsilva (a long time ago), but then changed all of it to gsilvapt, precisely to match my GitHub's config | 01:46 |
tsimonq2 | gsilvapt: Then what's your issue? :) | 01:46 |
tsimonq2 | Try git clone kp:konquest | 01:46 |
gsilvapt | When I try to clone repositories via ssh, launchpad uses LP IP gsilva and that, of course, returns errors and doesn't allow me to use ssh | 01:46 |
gsilvapt | Same, no error because I'm not trying to use ssh | 01:47 |
tsimonq2 | ...huh? | 01:48 |
tsimonq2 | git+ssh is just that. | 01:48 |
tsimonq2 | Git over SSH. | 01:48 |
tsimonq2 | :) | 01:48 |
gsilvapt | Right, I can't use git+ssh in LP | 01:49 |
tsimonq2 | Why not? | 01:49 |
gsilvapt | because it uses a wrong id. gsilva, instead of gsilvapt | 01:50 |
tsimonq2 | Wait... | 01:51 |
tsimonq2 | I don't get what you're trying to say. | 01:51 |
gsilvapt | If I try cloning git@github.com:snapcore/snapcraft.git via ssh, then I'll be fine | 01:51 |
gsilvapt | but I use LP links, it doesn't work. gsilva != gsilvapt | 01:51 |
gsilvapt | :P | 01:51 |
tsimonq2 | Bah | 01:51 |
tsimonq2 | Just edit ~/.ssh/config and add the following: | 01:52 |
tsimonq2 | Host git.launchpad.net | 01:52 |
tsimonq2 | User tsimonq2 | 01:52 |
tsimonq2 | And replace the spaces with a tab and tsimonq2 with your LP username | 01:52 |
gsilvapt | I didn't have that file. Is that normal? | 01:52 |
tsimonq2 | Yep | 01:53 |
gsilvapt | Okay, that worked! Thanks! | 01:53 |
tsimonq2 | You're welcome ;) | 01:54 |
tsimonq2 | gsilvapt: Have fun with Kubuntu packaging ;) | 01:54 |
gsilvapt | Hehe, thanks :) | 01:54 |
=== JanC_ is now known as JanC | ||
clivejo | Hi folks, would it be possible to get an increase to the size of our https://launchpad.net/~kubuntu-ci/+archive/ubuntu/stable PPA, it's reached 100% | 22:28 |
clivejo | cjwatson: if you are about ^ | 22:32 |
cjwatson | clivejo: hm, ok - bumped a bit | 22:37 |
clivejo | thanks :) | 22:38 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!