/srv/irclogs.ubuntu.com/2011/02/13/#launchpad.txt

* penguin42 is getting 503's from launchpadlibrarian.net00:23
penguin42 '503 Service Unavailable' No server is available to handle this request00:23
=== Lcawte is now known as Lcawte|Away
=== yofel_ is now known as yofel
waldirhey guys. I'd like to add a bug to launchpad suggesting that when installing package A, if B is already installed, A-B should be installed too (e.g. php5, curl, and php5-curl). What search terms should i use to make sure it hasn'e been submitted before?01:31
=== smokex_ is now known as smokex
wgrantwaldir: That would need a fix for Debian bug #7732401:47
ubot5Debian bug 77324 in dpkg "dpkg wish: conditional dependencies" [Wishlist,Open] http://bugs.debian.org/7732401:47
wgrantwaldir: Neither dpkg nor apt support conditional dependencies, which are required to express the relation that you suggest.01:48
waldirwgrant: thanks for looking into this :)01:50
waldirso I take it that there's nothing I can do at the moment?01:51
wgrantThat's right :(01:51
waldirwgrant: at least no progress was prevented by inaction of my part :) thanks for giving me that bit of peace of mind :)01:55
wgrantHeh.01:56
tumbleweedCan I rely on https access to launchpad librarian? I'd like pull-{lp,debian}-source to use https for fetching the .dsc file, but launchpad redirects from +files to http://launchpadlibrarian. I'm tempted to rewrite the redirect.07:08
wgranttumbleweed: Yes, launchpadlibrarian.net provides both HTTP and HTTPS.07:09
wgrantThe webapp uses HTTPS, so I don't think it'll go away any time soon :)07:09
tumbleweedwgrant: good, I just imagine that not much uses lp librarian over https07:11
tumbleweedI mean, all the redirects from lp are plain http (that I've sen)07:11
wgrantRight. It normally redirects to to HTTP, but uses HTTPS for stuff included in pages (icons, for example).07:12
tumbleweedoh, didn't know that came from librarian07:14
wgranttumbleweed: Team and project images do.07:19
lifelesstumbleweed: shouldn't pull-lp-source use the bzr branch ?09:04
micahglifeless: maybe once the package importer is fixed :)09:06
persiaNo, because that doesn't provide a .dsc09:06
lifelesspersia: any?09:06
lifelesss/any/and/09:06
persiaAlso, we'd have to do historical package imports, unless pull-lp-source no longer takes a release argument.09:06
persialifeless: Means one has to fiddle with stuff to get the .dsc to use in the next step of a number of processes.  UDD will replace this, if it does, but it's not worth attempting to insert UDD into this.09:07
wgrantmicahg: (The package importer is fixed, it will catch up in the next day or so)09:26
micahgwgrant: ok, well, there are still the reasons that persia mentioned then09:27
lifelesstumbleweed: anyhow, a) yes https is here to stay; lp is staying https only09:34
lifelesstumbleweed: b) the urls on the appservers are authoritative; don't cache the urls on the librarian indefinitely09:35
lifelessand c) we should generate some urls to the librarian we don't at the moment, that needs some log care n attention09:35
=== Lcawte|Away is now known as Lcawte
tumbleweedlifeless: I simply want to use https because I have no other way to do verification, there won't be any caching09:50
persiatumbleweed: You don't trust TCP?09:50
tumbleweedpersia: I tend to, but one shouldn't when building tools :)09:51
persiaWhy not?  The entire point of TCP is that it's reliable and transaction-based.  Otherwise folk would use UDP for everything.09:51
wgrantI'd be using HTTPS for this sort of thing... people don't normally verify .dsc sigs.09:52
tumbleweed.dsc sigs aren't very useful in ubuntu, we don't have a developer keyring09:52
tumbleweed(very useful in this use case)09:53
persiawgrant: Ah, to avoid routing attacks.  Good point.09:53
persiatumbleweed: We could construct one, although without a closed WoT, it's messy.09:53
tumbleweedeventually UDD should take over for a lot of this. I'm not particularly worried here, I just think our tools should try and not be the weakest security link09:55
persiaIndeed.  I just momentarily forgot about routing attacks.09:56
=== yofel_ is now known as yofel
kirklandhelp, please16:54
kirklandspam leaking into bugs: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/543478/comments/1016:54
=== epsy is now known as \u03b5
lifelesskirkland: https://answers.launchpad.net/launchpad/+question/14523618:31
kim0Hi folks, newbie around. I'm pushing code to "https://code.launchpad.net/~kim0/+junk/ec2-ebs-migrate-Instance" which is a branch from "https://code.launchpad.net/~abd4lla/+junk/ec2-ebs-migrate" However I am not getting "propose for merging" link, any idea why ?19:27
lifeless+junk does not have collaboration features19:30
lifelesspossibly it should, but it doesn't at the moment19:30
mwhudsonhuh, when did "86 queries/external actions issued in 1.10 seconds" start appearing in the top right of the page?20:29
lifelessfriday, for LP devs.20:31
lifelessthe discrepancy between that time and the http response time is in-dc queuing20:31
lifelessmwhudson: do you like it ?20:33
mwhudsonyeah, it's nicely styled20:34
mwhudsonit's there if i want to look for it, not too in your face though20:34
lifelessthat was huwshimi20:34
lifelesswe collaborated :) - I've wanted to do that for -ages-20:34
lifelessmwhudson: I'm thinking of making it much more aggressive on soft timeouts20:41
mwhudsonlike make it red and flashing if it soft-timed out?20:42
lifelessmwhudson: like - a watermark saying 'timeout', and a expanding widget listing the actions20:42
mwhudsonthat'd be awesome20:54
mwhudsonis there a guide anywhere for accessing the launchpad api from another webapp?21:09
mwhudsoni guess i want the js equivalent of launchpadlib21:09
lifelesswell21:13
lifelessall the LP js21:13
lifelessexcept21:13
lifelesswe don't see cross domain permissions21:13
lifelessso you'll run into browser security issues if you're trying to do authenticated actions21:13
lifelessI'm not sure what the best answer is there, guess we can whitelist sites we trust not to mess up and have vulnerabilities themselves21:14
lifelessalternatively, have your webapp make backend requests to lp using launchpadlib or similar21:14
mwhudsonread only i think21:15
lifelessits not read/write that is the issue21:15
lifelessits 'hit another website using the secure cookie for that site'21:15
mwhudsonah, and anonymous :)21:15
mwhudson(at least for now)21:15
lifelessno cookie -> anonymous21:15
lifelessyes21:15
mwhudsoncan you use oauth from js, or does that fall foul of the cross domain restrictions as well?21:16
mwhudsoncan proxy via the backend if needed i guess21:16
jinzohello, I'm wondering what does launchpad use for it's openid logins?21:17
jinzowhich library? python-openid directly or?21:17
mwhudsonah21:18
jinzoI'm trying to browse the sourcecode, but I'm quite... lost in it21:18
mwhudsoni think it uses python-openid yes21:18
jinzois there a way to browse the current trunk online?21:19
lifelessmwhudson: I'm not a browser model expert, but given oauth was designed for backend-requests (thats why its a 3rd party auth system), I suspect the answer is 'yes you will'21:19
mwhudsonyes, but note that some of the login stuff is not actually in the launchpad codebase21:19
lifelessjinzo: current trunk of what?21:20
jinzolaunchpad21:20
jinzoI would want to see all the dependencies21:20
mwhudsonjinzo: http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/files21:20
lifelesswe'd like to see tham all too21:20
mwhudsonheh heh21:20
lifelessthey're split in 4 places21:20
lifelesscontrib21:20
lifelesssetup.py/versions.cfg21:20
lifelesslaunchpad-dependencies packages21:21
lifelesssourcecode/ via config-manager21:21
lifelessthis is a bit of a mess21:21
jinzothanks for the info21:23
mwhudsonlifeless: so, for read-only, anonymous access to the launchpad api from js i should ... what?21:24
mwhudsoncopy/paste chunks of launchpad's own js?21:24
mwhudsoni guess i should ask this sort of thing on a day when more people are around21:24
lifelessmwhudson: we don't publish a js version of launchpad lib21:24
lifelessand unless/until we get a good answer around browser security model + archive permissions (for instance), we won't ;)21:25
mwhudsonso i might be better off proxying via a webapp backend21:25
lifelessmwhudson: you *can* use the api from js pretty easily given its json yada yada yada21:25
lifelessmwhudson: if you fix the 'launchpadlib is not concurrency safe' bug, certainly.21:25
lifelessmwhudson: what are you doing?21:25
mwhudsonlifeless: we're building an android build service21:26
mwhudsonmy design stores configurations in launchpad branches, so i want to access the list of branches for a project21:26
mwhudsonit doesn't really have to be done in js at all, i guess21:26
lifelesswill your backend want to verify any of its inputs ?21:26
mwhudsonnot especially, only trusted people will be able to build stuff21:27
mwhudsonand 'build stuff' == 'running arbitrary code on the builders' so validating anything else seems a bit redundant21:28
lifelesskk21:28
lifelessin which case, do whatever is easiest21:28
mwhudsonyeah :)21:28
=== Lcawte is now known as Lcawte|Away
=== issyl0 is now known as Guest53231

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