/srv/irclogs.ubuntu.com/2016/01/22/#launchpad.txt

rbasakhttps://help.launchpad.net/Code/Git says "https://code.launchpad.net/~OWNER/PROJECT/+git/REPOSITORY This identifies a repository for an upstream project.11:32
rbasak"11:32
rbasakI'm a little confused by this. To create and push from the git client, do I "git remote add lp lp:~OWNER/PROJECT/+git/REPOSITORY"?11:32
Fauxgit remote add lp https://code.launchpad.net/~OWNER/PROJECT/+git/REPOSITORY11:33
rbasakBecause for example we've been pushing to https://code.launchpad.net/~ubuntu-server-dev/ubuntu/+source/logwatch/+git/logwatch, but in that case the git push URL is git+ssh://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/logwatch and +git doesn't appear there.11:33
FauxIn that case, totally ignore me.11:33
rbasakSo I tried git remote add lp lp:~racb/drain11:34
rbasakWhere drain is not a probject but just a random unrelated repository11:34
rbasakBut I get fatal: remote error: Project 'drain' does not exist.11:34
rbasakSo what is the git push URL for a "personal" repository with no particular connection to any project or package?11:35
cjwatsonlp:~racb/+git/drain11:36
cjwatson+git is not present in all git URLs11:36
rbasakcjwatson: OK, so that makes sense to me from the docs. But then why does the logwatch package in ~ubuntu-server-dev example not have +git in it?11:36
rbasak(because the docs do)11:36
cjwatsonrbasak: alias11:36
rbasakAh, OK.11:37
rbasakThanks11:37
cjwatsonrbasak: ~ubuntu-server-dev/ubuntu/+source/logwatch identifies the default repository for that distribution source package, the fully-qualified unique name of which is ~ubuntu-server-dev/ubuntu/+source/logwatch/+git/logwatch11:37
cjwatsonrbasak: personal (like +junk in bzr) repositories don't have the concept of a default repository, so they always contain +git11:37
rbasakcjwatson: I see. That helps me make a mental model of what's going on, thanks.11:41
rbasak(I pushed to ~racb/+git/drain successfully)11:41
cjwatsonthe web UI tries to shorten git push URLs and such when it can, but it currently doesn't do that for its own URLs (i.e. those on code.launchpad.net) for complicated reasons11:43
rbasakGot it, thanks. BTW, thanks again for the git support. It's been solid for me so far, and our team has just started using git merge proposals for merge reviews.11:50
cjwatsonAh, excellent.  OLS is using it a bit more for some new projects, and hopefully we'll get LP itself onto it soon.11:53
su_von-going spam wave in https://answers.launchpad.net/inkscape (~950 spam questions) - TIA for suspending the accounts and hiding their questions.13:49
* cjwatson catches up with the spam attack16:38
=== cory_fu_ is now known as cory_fu

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