/srv/irclogs.ubuntu.com/2015/06/25/#launchpad-dev.txt

blrhuh found a bug00:50
wgrantblr: In what?00:51
blr_validateImportExternal, validate_import_url was only called with one argument00:51
wgrantThe tests didn't catch that?00:52
blrnot until now apparently...00:52
blrjust fixing up all the doctests I've broken with +setbranch -> +configure-code00:52
wgrantThere may indeed be a few.00:52
blrcjwatson: the str(line) was needed as line is a Context/RemoveLine04:57
blrcjwatson: have a working failing test, you were correct, thanks05:20
blr"working failing test" ...05:20
wgrantblr: Beware that there are in fact more test failures than buildbot reports. Search for "failure:" in the run's stdio to find them all.05:31
wgrantblr: The subunit stream has been corrupted.05:31
blrah some unittests too, thanks05:31
blrhmm, any idea what's going on with the product-registry doctest?05:33
wgrantWhich?05:33
blrxx-project-registry.txt, the "..." matcher doesn't appear to be matching "api.luanchpad.dev/beta"05:33
wgrantOh, you put too much faith in doctests.05:34
wgrantAll ... will show as mismatches in the difference output.05:34
wgrantYou need to ignore them and find the real different; in this case that inferred_vcs was added.05:34
blrah of course, thanks05:35
blrwgrant: should I be concerned that we're bumping query limits?05:53
blrfairly rhetorical question.. but something I should think about?05:54
wgrantblr: I'm not sure why it would be doing that there. Is something invoking inferred_vcs, perhaps? Should it be?05:54
blrwgrant: slightly confused that it blew up on blueprints05:55
blralso, what an excellent idea, wasn't aware of these tests.05:56
blrhave fixed everything, will --testfix after dinner05:57
blrwgrant: could you have a look over this please when convenient https://code.launchpad.net/~blr/launchpad/ui-project-setbranch/+merge/26294207:44
wgrantblr: Did you work out what the extra queries were?07:48
wgrantOh, it'll be inferred_vcs in the embedded JSON representation, of course.07:48
wgrantblr: r=me, thanks.07:48
blryep07:53
blrthanks07:53
blrmissed one -_-08:44
blrwgrant: will just top-approve this one, hope that's okay (small fix)08:59
wgrantblr: Yep, trivial testfixes are fine to self-approve unless they're stupid :)09:02
cjwatsonwgrant: Hm, https://launchpad.net/ubuntu/+source/libmoox-cmd-perl/0.013-2/+build/7541385 should have been a dep-wait, surely?09:18
cjwatsonwgrant: Oh, no, never mind, that's uninstallability more than one level deep09:20
cjwatsonwgrant: This is maybe a little unfortunate, because I think it really is just that one.  Probably an sbuild bug in that it should be using "apt-get build-dep".09:22
cjwatsonYeah, everything's fine in that build-dependency set apart from the version restriction09:23
cjwatsonTempting to do http://paste.ubuntu.com/11772424/09:27
wgrantcjwatson: Will that reliably cope with alternatives?09:56
wgrantThere are some complexities there.09:56
cjwatsonbuild-dep should in general cope better than install.  The only reason I didn't do it in the first place in that code was that I was being conservative when fixing up cross handling.09:58
cjwatsonBut it certainly makes sense to check that.09:58
cjwatsonHm, it's perhaps possible that it would break the --no-resolve-alternatives case ...09:58
* cjwatson leaves an XXX comment for himself to check that later10:00
cjwatsonwgrant: https://code.launchpad.net/~cjwatson/launchpad/side-by-side-diff/+merge/262768 should be worth another look now.11:21
=== dpm_ is now known as dpm
blrmorning20:56
blrcjwatson: if you're about by any chance, added a test and fixed that bug.22:22
bigjoolswgrant: do you know if there's a way to influence which ssh key is used for sftp dput uploads? Unless there's a sneaky thing in bzrlib I can't see one :(22:50
lifelessbigjools: just make sure the right one is in your ssh agent22:52
bigjoolslifeless: what if there's no agent?22:53
lifelessbigjools: then as long as its in the search path of default keys22:53
lifelessbigjools: or you can put it in the ssh command as an explicit parameter22:53
lifelessbigjools: (see bzr help config)22:53
bigjoolslifeless: there's not much configuration you can do for dput though22:53
bigjoolsthe plugin does:         t = bzrlib.transport.get_transport("sftp://%s@%s/%s" % (login, fqdn, incoming))22:54
lifelessbigjools: yes, that doesn't invalidate what I said22:55
bigjoolslifeless: there's no ssh command though and I can't see how to select a specific key22:56
lifelessdigging23:08
bigjoolslifeless: It looks like the bzrlib sftp transport ignores the .ssh/config but it should not according to what I read elsewhere :/23:11
lifelessbigjools: if its using paramiko rather than openssh that could happen23:11
bigjoolsI believe it's paramiko, yes23:11
lifelesswell23:11
lifelesswe always use some bits of paramiko23:11
lifelessbut23:12
lifelessits whether the channel setup is paramiko or ssh23:12
lifelessbigjools: see bzr help authentication23:13
lifelessbigjools: it might help, I haven't re-read it all23:13
bigjoolscheers, reading23:13
bigjoolslooks great, but nothing about keys :(23:15
lifelessahha23:16
lifelessBZR_SSH23:16
lifelessBZR_SSH             Path to SSH client, or one of paramiko, openssh, sshcorp,23:16
lifeless                    plink or lsh.23:16
lifelesstry setting that to openssh23:17
lifelessit may cause an error but then you'll know why paramiko was being used23:17
bigjoolsaha!23:17
lifeless(bzr help env-variables)23:17
bigjoolsI found the bzrlib code that only uses id_dsa or id_rsa :(23:17
lifelessyeah, thats in the paramiko channel setup23:17
lifelesswhich TBH you don't want to use anyway23:18
bigjoolsjust trying it out, will let you know shortly23:23
bigjoolsand it worked!  thanks a million lifeless23:25
lifelessde nada23:28
bigjoolscider++23:28

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