/srv/irclogs.ubuntu.com/2017/09/12/#launchpad.txt

nacccjwatson: is it possible that the redirect for when a http/https repo doesn't exist requires auth?00:07
nacccjwatson: i think that's what i'm seeing right now, but am curious00:07
nacci'll debug it more tmrw00:08
wgrantnacc: On cgit that's correct.00:08
wgrantnacc: We can't expose the difference between a private repo that you can't see and a non-existent repo.00:09
wgrantnacc: Does this mean you're using cgit programmatically?00:10
SXXwgrant: sorry for bothering you, but is it possible to build from git repository with submodules on Launchpad?00:13
SXXI can't find any information how to make Launchpad clone local git (pre-imported to git on Launchpad) repository recursively.00:14
wgrantSXX: Using a source package recipe?00:14
SXXwgrant: isn't git-build-recipe it?00:16
wgrantSXX: Yep, just checking which particular technology you were using00:16
wgrantSXX: Recipes don't support submodules, but you can use the "nest" and "nest-part" commands to achieve equivalent behaviour.00:18
SXXwgrant: so only way to use submodule is to nest some another repository? Thank you!00:18
SXXwgrant: one more little question. Should I post about PPA space increase on Launchpad or could I ask it here?00:21
SXXhttps://launchpad.net/~vcmi/+archive/ubuntu/ppa/+packages00:21
wgrantSXX: Usually on answers.launchpad.net/launchpad, but I've increased that one for you here00:21
SXXwgrant: thank you very much! I'll see how I could use nesting here and might be extract our dependency into separate package, after all it is extracted by our Debian maintainer.00:23
wgrantSXX: A separate package for a dependency often makes sense, yep.00:23
SXXwgrant: yeah I know, but it's would also increase needed maintenance of PPA and submodule require none. Anyway thanks for your time. That's much of help!00:26
SXXOnly wish there were warning about lack of submodule support so there no real point to convert from bzr to git :-)00:26
SXXSince I seen our build broke due to submodule usage, then seen Launchpad now support Git and supposed I'll bypass the problem this way.00:28
naccwgrant: this was `git fetch` reporiting that for a url with https in it00:28
naccwgrant: need to think about how to do this in the importer00:28
naccwgrant: git:// correctly just returns no objects00:28
wgrantnacc: Yeah, unfortunately due to HTTP there's no other option.00:30
wgrantYou'll find the same behaviour on all other HTTPS git servers that implement proper privacy00:30
wgrantThe client won't even try to send auth unless we send a 40100:30
naccwgrant: interesting, i may have to undo our defaults (i switched to https at cjwatson's advice) :)00:32
nacccjwatson: --^ so the above is a reason to use git://00:33
wgrantnacc: You should definitely use HTTPS because git:// is an awful protocol that has no reason to exist and is insecure as anything.00:34
wgrantnacc: I wonder if you can configure git to not even ask for auth for a given location00:34
naccwgrant: yeah that was why we switched (recently) :)00:34
naccwgrant: i'm looking in the git code to see if i can ask it not to auth00:35
naccwgrant: as in general, this is for fetch, and readonly anyways00:35
nacc(as a first pass)00:35
wgrantnacc: Readonly is just as bad.00:35
naccwgrant: i meant still use https00:35
wgrantBecause someone clones a compromised version and then dputs it to the primary archive00:35
naccwgrant: but have it just fail on 40100:35
wgrantAh right00:35
wgrantYep00:35
wgrantThat would be ideal.00:35
naccrather than retry00:35
nacci'll look and maybe i can push something upstream00:35
naccheh00:36
nacc$ GIT_TERMINAL_PROMPT=0 git fetch nacc00:37
naccfatal: could not read Username for 'https://git.launchpad.net': terminal prompts disabled00:37
naccnow that's hacky :)00:37
naccwgrant: but i could wrap the above in our methods and that'd get us further, at least00:38
wgrantnacc: Sounds plausible. Let us know if that doesn't work out.00:39
naccwgrant: thanks00:41
=== chihchun_afk is now known as chihchun
=== StevenK_ is now known as StevenK
=== caribou_ is now known as caribou
=== chihchun is now known as chihchun_afk
dwrdjHello. Would somebody be able to help me please? Every time I try to log in to Launchpad from SSO it shows an error message13:41
=== JanC_ is now known as JanC
cjwatsondwrdj: What error message exactly?13:55
dwrdjOops!Sorry, something just went wrong in Launchpad.We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.13:56
cjwatsondwrdj: Does it give you an OOPS ID?13:56
dwrdj(Error ID: OOPS-d05c32cd68f14335080020848e3ef87d)13:57
ubot5https://oops.canonical.com/?oopsid=OOPS-d05c32cd68f14335080020848e3ef87d13:57
cjwatsonJust a moment.13:58
cjwatsondwrdj: Should work now.  (There was an automatically-created stub user record for you because your email address was mentioned in a source package upload, and we had to merge that into your real account.)14:04
dwrdjAh OK. Thank you very much14:05
nacccjwatson: wgrant: thanks for the help yesterday re: git/https, we have something working for now. I had a new question. We realized recently that ubuntutools.archive.{Debian,Ubuntu}SourcePackage only "fallback" to Launchpad when it can't find the files it needs on deb.debian.org/archive.ubuntu.com. Given that we really only want to trust LP in the importer, would it make the most sense for us to subclass23:35
naccand override the use of mirrors/masters in those classes?23:35
naccI think that will cause us to fall back to _lp_url internally in _source_urls in SourcePackage23:36
=== benjaomi- is now known as benjaoming
wgrantnacc: I think that probably makes sense.23:59

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