/srv/irclogs.ubuntu.com/2006/08/15/#launchpad.txt

=== xenru|clone [n=Miranda@85.192.13.231] has joined #launchpad
kikoddaa, I think that caching of images/other references would be a much greater speed improvement than your former suggestion, tbh.12:32
ddaaI think that the caching issue is tied to the https issue, isn't it?12:33
ddaaAnd they are two sides of the same coin. Improving perceived speed involves improving actual speed, but also providing early feedback.12:34
kikoddaa, yeah, it is tied to the https issue. but that would be the largest speed gain we could produce today.12:38
ddaaack, I thought that streaming pages could be magically produced by the right zope incantations.12:39
ddaaI certainly see nothing in TAL that would prevent that.12:39
elmoehm, so.  lightweight checkouts are cool and all01:02
kikoelmo, but...?01:03
elmoah, nm, let me try something before making myself look stupid(er)01:04
LarstiQelmo: you have quite some credit to burn through before that happens though.01:05
=== bradb heads home
lifelesselmo: also, #bzr may be better01:26
elmolifeless: I doubt it ;-) it was how do I implement this on sodium question01:28
elmobut I'm muddling through01:28
elmop.s. y'all suck at documenting LP development, kthx01:28
=== erdalronahi_ [n=erdal@p5087746D.dip.t-dialin.net] has joined #launchpad
lifelesselmo: on sodium? 01:30
=== niemeyer [n=niemeyer@200-163-195-183.ctame7006.dsl.brasiltelecom.net.br] has joined #launchpad
elmolifeless: I'm trying to work out how to do lightweight checkouts without having to sync my lightweight-but-still-way-too-large-for-my-adsl repo directory up to sodium01:35
lifelesselmo: have a local repo, use a lightweight checkout from that, rsync the repo to sodium01:36
lifelessas jamesh documents01:36
lifelesslightweight checkouts are only of use within a LAN/local disk01:36
elmorsync which repo?01:36
elmothe one with the 200Mb .bzr?01:37
lifelesshttps://launchpad.canonical.com/WorkingWithSharedRepositories01:38
elmoyeah, I know, I've read it01:39
lifelessmaybe the question I should ask is 'why do you want to have a lightweight checkout' ?01:39
elmobecause the last time I did anything with LP, I ran out of disk space on my laptop01:39
elmoso having them locally is very attractive01:39
lifelessdo you mean 'not having..' ?01:40
elmoblink01:40
elmono, I mean "having light weight checkouts as opposed to space sucking heavyweight ones, is very attractive"01:41
elmoanyway, don't worry about it, I'm probably being stupid - I'll try again tomorrow morning when I'm awake, and go back to normal branches which I know to handle with pqm if I fail01:41
lifelessdo you have a local repository ?01:42
lifelesssabdfl: btw - https://launchpad.net/products/bzr/+roadmap - is not optimal for us at the moment02:02
lifelessthere are specs scattered all over by priority. is it possible to get jamesh or someone to look at tuning the roadmap algorithm ?02:03
lifelessI would, but I'm a little short on time02:03
sabdfllifeless: it's certainly way off base there02:15
sabdflby all means ask him to redo it02:15
sabdflhe's welcome jsut to reimplement rather than trying to unparse the illogic02:15
lifelessthanks02:16
=== jml [n=jml@203-217-8-89.perm.iinet.net.au] has joined #launchpad
lifelessjamesh: ping02:30
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
lifelessBjornT: around ?02:56
jameshlifeless: pong03:52
lifelesshi03:54
=== mdz [n=mdz@studiocity-motorola-bsr1-70-36-194-85.vnnyca.adelphia.net] has joined #launchpad
lifelessI've filed a bug on the spec roadmap03:55
jameshokay03:55
lifelessare you interested in making it display useful things ? :)03:55
lifelessif you are, I'll ask steve about scheduling of it03:55
jameshI'll be doing some spec/sprint tracker stuff between now and the next conf03:56
jameshso I can probably look at it03:56
jameshwhat's the bug?03:56
lifelessjust look at blueprint03:56
lifelesslatest-bugs :)03:56
jameshhttps://launchpad.net/products/blueprint/+bug/5639803:57
UbugtuMalone bug 56398 in blueprint "roadmap should be useful" [Untriaged,Unconfirmed]  03:57
lifelessassuming you are interested, I'll chat with steve. IMO it should be 1.0 for blueprint03:58
lifelessbecause its really a bad shock to look at that page at the moment03:58
jameshlifeless: just replied to the bug with a short description of what it is doing now and what you are probably asking for it to do04:07
lifelessthank you!04:08
jameshdoes what I wrote sound like what you're experiencing?04:22
=== MrX- [n=freebsd@unaffiliated/mrx] has joined #launchpad
lifelessjamesh: I've replied05:15
jameshlifeless: (a) I don't think specs get attached to series, do they? and (b) milestones can have dates attached, so can have order05:31
lifelessyes, specs get targets at series05:32
lifelesssee https://launchpad.net/products/bzr/+specs for instance05:32
jameshso they do.  That must be new :)05:32
jameshlooks like SteveA will be able to carry his laptop on as hand luggage05:49
=== stub [n=stub@ppp-58.8.4.216.revip2.asianet.co.th] has joined #launchpad
lifelessthey are relaxing again ?06:00
jameshone piece of hand luggage measuring 45cm by 35cm by 16cm06:01
jameshcan put a laptop in, but need to remove it from the bag for screening06:01
jameshstill can't take a bottle of water on06:01
jameshunless it is prescription water :)06:02
lifelessis 45/35/16 the old size?06:07
lifelessor have they resized it ?06:07
=== bradb [n=bradb@modemcable048.58-130-66.mc.videotron.ca] has joined #launchpad
jameshI think that's a fair bit smaller than before06:16
jamesh16cm is not very thick for luggage06:16
lifelessmeh, I'll need to get new travel gear then06:32
lifelesssucks06:32
=== bradb [n=bradb@modemcable048.58-130-66.mc.videotron.ca] has joined #launchpad
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
=== quail [n=quail@unaffiliated/quaillinux/x-000001] has joined #launchpad
=== Fujitsu [n=Fujitsu@c58-107-57-8.eburwd7.vic.optusnet.com.au] has joined #launchpad
=== bradb [n=bradb@modemcable048.58-130-66.mc.videotron.ca] has joined #launchpad
=== mholthaus [n=mholthau@113-118.1-85.cust.bluewin.ch] has joined #launchpad
sabdfllifeless: at the rate you're going you'll be able to check yourself as cargo baggage soon ;-)08:44
sabdfljamesh: thanks for taking on the spec-roadmap, the idea is just to show "what you have to do to get the most important, approved specs nailed first"08:45
lifelesssabdfl: lol08:45
sabdflshowing their dependencies ahead of them08:45
=== rpedro_ [n=rpedro@87-196-74-185.net.novis.pt] has joined #launchpad
=== Spads [n=crack@host-87-74-18-227.bulldogdsl.com] has joined #launchpad
=== sfllaw [i=sfllaw@debian/developer/coleSLAW] has joined #launchpad
=== sfllaw [i=sfllaw@debian/developer/coleSLAW] has joined #launchpad
=== raphink [n=raphink@ubuntu/member/raphink] has joined #launchpad
=== danilos [n=danilo@82.117.204.123] has joined #launchpad
SteveAmorning09:41
jameshSteveA: sounds like you can carry your laptop on the plane now09:42
jameshbut no cosmetics09:43
SteveAhmm, got a URL for that?09:54
=== malcc [n=malcolm@host86-134-233-12.range86-134.btcentralplus.com] has joined #launchpad
=== mpt [n=mpt@217.205.109.249] has joined #launchpad
jameshSteveA: www.baa.com10:08
SteveAthanks james10:59
SteveAjamesh: I want to do a bzr log, but for one particular file, and see only revisions where that file was updated11:03
SteveAhow can I do that?11:03
jameshSteveA: "bzr log filename" should do it, but it seems pretty slow11:04
SteveAit is giving me lots of revisions when that file was not updated11:04
jameshI think it shows the log message for each mainline revision where it was changed (which includes all the log messages for merges)11:05
jameshiirc they were looking at improving it for 0.911:05
=== Spads [n=crack@82.211.81.249] has joined #launchpad
=== sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has joined #launchpad
=== doko_ [n=doko@dslb-088-073-110-181.pools.arcor-ip.net] has joined #launchpad
spivSteveA: if you pipe the log output through 'grep -v "^    "' you'll filter out all the merged revisions.11:09
jameshspiv: --short also trims the merges11:09
SteveAspiv thanks11:09
SteveAI have the revisions I'm after now11:09
spivjamesh: ah, that's probably nicer :)11:09
jameshbut that doesn't give you the log messages for the revisions that changed the file11:10
jameshit gives you the log messages of the merges11:10
=== cprov [n=cprov@monga.dorianet.com.br] has joined #launchpad
=== mpt_ [n=mpt@217.205.109.249] has joined #launchpad
=== dsas [n=dean@host86-143-88-20.range86-143.btcentralplus.com] has joined #launchpad
sivangre 11:34
sivangsabdfl: pong11:34
sivangspiv: pong11:35
stubZnarl: asuka is borked. I can't ssh in. I would suspect carlos chewing up the resources, but he isn't online, so I think it needs a power cycle unless someone happens to be in the data centre11:36
spivsivang: I don't think I pinged?11:37
sivangspiv: ah right 11:38
sivang06:00 #launchpad: < spiv> sivang reported the problem.11:38
sivangspiv: sorry11:38
spivsivang: ah :)11:45
spivHmm, that merge didn't happen.11:45
danilosstub: ping11:48
stubdanilos: pong11:49
danilosstub: do you perhaps have the last queries carlos executed for xaraxl translation removal?11:49
danilosstub: or he never sent them to you (and run them only on staging so far)11:49
stubI haven't seen anything about xaraxl11:50
=== dsas_ [n=dean@host86-143-88-18.range86-143.btcentralplus.com] has joined #launchpad
=== steph [i=steph@sgserv.net] has joined #launchpad
danilosstub: ok, thanks12:02
SteveAstub: hi12:10
SteveAstub: would you look at bug 56397 please?  I think it is a cookie naming issue or something like that.12:10
UbugtuMalone bug 56397 in launchpad "App subdomains require separate login" [Untriaged,Unconfirmed]  https://launchpad.net/bugs/5639712:10
=== ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad
SteveAstub: assigned to you.12:32
SteveAbug 5639712:33
UbugtuMalone bug 56397 in launchpad "App subdomains require separate login" [High,Unconfirmed]  https://launchpad.net/bugs/5639712:33
=== mpt__ [n=mpt@217.205.109.249] has joined #launchpad
sivanglaters12:46
=== sivang away
jameshmorning ddaa12:48
stubSteveA: Did you take down staging?01:03
=== erdalronahi__ [n=erdal@p50874922.dip.t-dialin.net] has joined #launchpad
SteveAstub: no01:21
=== Fujitsu [n=Fujitsu@c58-107-63-43.eburwd7.vic.optusnet.com.au] has joined #launchpad
=== niemeyer [n=niemeyer@200.138.32.203] has joined #launchpad
=== erdalronahi_ [n=erdal@p50874CB9.dip.t-dialin.net] has joined #launchpad
=== mholthaus_ [n=mholthau@113-118.1-85.cust.bluewin.ch] has joined #launchpad
sabdflsivang: please update your branch and fix the trivial issue I mailed about, and i'll land it01:51
jameshsabdfl: for the BranchIndirection spec (lp:... URLs for bzr), are you attached to lp://$product, or would you be happy with lp:/$product or lp:///$product?01:53
sabdfljamesh: whats the semantic difference in url-speak?01:54
jameshthe latter two leave the door open for talking to non-default launchpad instances (e.g. staging)01:54
sabdfland what's the difference between the latter two?01:54
jameshsabdfl: if you have a URL like "scheme://foo/bar", the "//foo" bit is the authority component which generally refers to a host01:55
jamesh"lp:/$product" is a URL without an authority component, and "lp:///$product" is a URL with a blank authority -- I was thinking it would be good to accept either of them and treat them as the default LP instance01:56
sabdflare there cases where people have agreed to treat scheme:///bar and scheme:/bar differently?01:56
jameshnot to my knowledge (there are only a few schemes using blank authority sections like file:///)01:57
sabdflwho has a landing due today? i have a one-line .pt fix that i'd like to get it01:57
sabdflok, +1 on your recommendation, and thanks01:58
jameshwhile lp:///$product is one extra character to type, if we accept lp:/$product as a synonym it can be one less character to type :)01:59
=== Znarl [n=znarl@dark.roundabout.org] has joined #launchpad
sabdflstub: ping02:24
stubsabdfl: pong02:24
sabdflstub: did you take a look at that idea of keeping a spare test_db handy at all times?02:24
sabdflto reduce test runner time?02:24
stubIt seemed a valid idea. Only trying it will let us know how much of a saving it would be.02:25
stubIt will increase complexity in parts of the code (need a daemon or thread that creates and drops the dbs), but will simplify some of the existing code that needs to deal with race conditions in creating and dropping databases.02:27
stub(Hmm... although the daemon will likely need to deal with this too...)02:28
=== lfittl [n=lfittl@85-125-147-132.dynamic.xdsl-line.inode.at] has joined #launchpad
=== jelmer [n=jelmer@a62-251-123-16.adsl.xs4all.nl] has joined #launchpad
stubSteveA: We will likely have trouble testing cookies with our existing development domain setup03:07
stubbtw. If you follow the documented procedure for setting up /etc/hosts, Gnome will blow it away when you reconfigure your network through the configuration applet.03:08
stubHmm... actually should be fine03:09
stubAnyone know the difference between request.getURL and request.getApplicationURL ?03:13
SteveAstub: yes03:55
SteveAstub: the application URL is the root, taking virtual hosting into account03:55
stubta03:55
SteveAthere are args you can apply to count up URL segments and include them.  or is it down?  whatever.  not all that useful.03:55
SteveAgetURL gets you the currnetly published URL.  gets weird if you ask for it during traversal, as in, during the process of publication03:56
SteveAbasically, the zope3 model of a request is rather too bound to "traversal" in a zope2-ish-way03:56
SteveAwell, not really a zope2-ish-way03:56
SteveAmore of a zope3-ish-way03:56
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #launchpad
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
salgadostub, ping?04:19
=== quail [n=quail@unaffiliated/quaillinux/x-000001] has joined #launchpad
=== lbm [n=lbm@cpe.atm2-0-75146.0x535a2f1e.vgnxx2.customer.tele.dk] has joined #launchpad
=== sfllaw [i=sfllaw@debian/developer/coleSLAW] has joined #launchpad
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
bradbBjornT: ping06:13
=== Keybuk [n=scott@quest.netsplit.com] has joined #launchpad
sabdflanybody have a landing due shortly and willing to slipstream in a 1-line template fix?06:52
sivangsabdfl: I'm sending the patch shortly06:53
sivangsabdfl: send it to your email ?06:53
sivangsabdfl: I have the patch ready, after applying kiko's and your comments. Sending it to you now via email.07:15
sivangsabdfl: sent, kiko CC'd07:19
sivangbe back alters.07:22
sivangargh, that is - laters.07:22
=== MaSa69 [n=MaSa69@dsl-jklbrasgw1-fe1cfb00-100.dhcp.inet.fi] has joined #launchpad
ddaaCall for bikeshedding07:35
ddaaI'm modifying branch/+edit to allow changing the product and name of a branch07:35
ddaaNow, when changing those attributes, we can have an unique-name constraint violation if there is already a branch existing with that owner, product and name.07:36
ddaaSo, when the user just changed the name, it's easy, the error should be displayed on the name field.07:36
ddaaBut when the user changed the product, that probably means the user _really_ means that branch should be in the product.07:36
ddaaSo the right way to get that done is to change the name...07:37
ddaaBut... displaying an error for the name field, which was not modified would probably be confusing...07:37
ddaaSame problem if the user changed the product _and_ the name.07:37
ddaaDoes anybody have an idea to make that non-confusing?07:37
salgadoddaa, maybe displaying a custom "The project you've chosen already has a branch with this name, you'll have to either rename this branch or the existing one" (or something to that intent) at the top of the page?07:39
salgados/project/product07:39
ddaaAlternatively, we could show the same error on both the product and name fields, saying "There is already a branch registered by $owner in product $product with name $name. We suggest you change the name of this branch to avoid the conflict."07:40
ddaasalgado: two remarks: the owner of the branch is as important as the product, and in the general case the user does not own the branch with the conflicting name.07:40
ddaaAnd so cannot change its name.07:40
salgadoI think that gives the impression that the user has to change both fields, when in fact changing only one would be enough07:40
ddaaRight.07:41
ddaaThat's my concern, but showing an error on name when the user just modified product would be confusing IMO.07:41
=== erdalronahi [n=erdal@p50874CB9.dip.t-dialin.net] has joined #launchpad
salgadoagreed07:41
salgadothat's why I suggested a message on the top of the page07:42
salgado(using top_of_page_errors of GFV/LFV)07:42
ddaaI see. But don't you think we should also provide a marker on the field to change?07:43
ddaaIt's going to be a pretty large form, so some assistance would be welcome.07:43
salgadoyes, that would be like the ideal solution, but if this is not a hand-crafted form, this is not going to be trivial, as I don't think we have the necessary infrastructure07:44
salgado(maybe I'm wrong and there's something new with zope3.2, but I can't tell for sure)07:44
ddaajamesh: can any of your new magic help me there?07:45
ddaaMh... +addbranch does not appear to handle name conflicts anyway...07:52
=== sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has joined #launchpad
=== sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has left #launchpad []
=== rpedro [n=rpedro@87-196-74-185.net.novis.pt] has left #launchpad ["Ex-Chat"]
=== sabdfl [n=mark@ubuntu/member/pdpc.silver.sabdfl] has joined #launchpad
=== danilos [n=danilo@82.117.204.123] has joined #launchpad
=== jinty [n=jinty@121.Red-83-56-157.dynamicIP.rima-tde.net] has joined #launchpad
=== Spads [n=crack@host-87-74-18-227.bulldogdsl.com] has joined #launchpad
kikoSteveA, BjornT: ping?09:12
kikoValueError: Unknown SQL builtin type: <type 'zope.security._proxy._Proxy'> for <Person at 0x31c18450>09:12
kikoSteveA, BjornT: this error occurs when we try to do a selectBy(person=self) when the object we have is actually a security proxy.09:12
kikoSteveA, BjornT: is it possible to work around this? Can I simply allow __sqlrepr__ in some base interface?09:13
kikoSteveA, BjornT: or is there somewhere else where I can allow __sqlrepr__ to be called on all our objects?09:14
bradbkiko: personID=self.id?09:14
kikobradb, that is the bug I am trying to work around.09:14
kikoerr fix.09:14
kikousing personID=self.id is arguably a bug09:14
kikowe should be able to do person=self09:14
kikoand in most cases it works09:14
kikohowever, in code which uses a proxy object as its argument..09:15
bradbwe should, i agree. i thought you were asking if you could work around person=self09:15
kikowell, I don't want to work around that error -- I want to fix it (that was the purpose of my current branch :)09:15
BjornTkiko: what's the traceback?09:16
kikoBjornT, one moment.09:16
kikohttps://sodium.ubuntu.com/~andrew/paste/file4mJIz8.html09:16
BjornTkiko: i'd guess, that in _SO_columnClause, obj.id should be replaced with getID(obj)09:19
BjornTkiko: we override getID to make it aware of security proxies09:19
kikoBjornT, a bug in SQLObject? aha.09:19
BjornTkiko: actually, the whole if-else clause could probably be replaced with getID(obj)09:19
BjornTkiko: i leave it to you to decide wheter it's a bug in SQLObject or not. i'm trying to stay away from the SQLObject code as much as possible :), so i'm not 100% sure what's the correct thing to do.09:23
=== LeeJunFan [n=junfan@adsl-69-210-207-5.dsl.klmzmi.ameritech.net] has joined #launchpad
=== cprov [n=cprov@monga.dorianet.com.br] has joined #launchpad
=== bradb thinks it is an sqlobject bug. sqlobject should support duck typing.
=== jamesh [n=james@203-59-20-109.dyn.iinet.net.au] has joined #launchpad
=== lfittl [n=lfittl@85-125-147-132.dynamic.xdsl-line.inode.at] has joined #launchpad
ddaabradb: I think Launchpad demonstrates that sqlobject has quite a thorough support for duct taping.09:46
bradbsqlobject is some craaazy glue09:46
=== ddaa is concerned that his import statements are soon going to exceed 79 chars
ddaafrom canonical.launchpad.scripts.importd.tests.sourcetransport_helpers import (10:04
ddaa    ImportdSourceTarballTestCase, ImportdSourceTransportTestCase)10:04
ddaathat's sick10:04
ddaasomebody said that "flat is better than nested", maybe we should flatten the canonical namespace a bit...10:05
kikoBjornT, so I ended up doing something different, which does work. the issue is that I don't want to just cut sqlrepr() out of there completely.10:06
kiko(it may be a high-impact change)10:08
=== stub [n=stub@ppp-58.8.4.216.revip2.asianet.co.th] has joined #launchpad
kikostub!10:29
kikogood that you showed up10:29
lucasvodoes LP have some sort of a source viewer?10:56
lucasvofor bzr branches10:57
kikolucasvo, not yet. is there a source viewer for bzr at all? what does #bzr say?10:58
lucasvocrap, I am in a discussion about what to use as a dev-plattform lp and bzr or svn and trac 10:59
=== mpt [n=mpt@george.kkhotels.co.uk] has joined #launchpad
lucasvocan a bug be closed on lp by stating "fixes #18" in a commit message?11:03
kikolucasvo, not yet, but it will be possible in the short term.11:04
ddaanot yet, but we do plan to do that soon11:04
ddaaI should be there three months from now11:04
ddaas/I/it/11:04
ddaasame for the branch viewer11:05
lucasvoin three months? 11:05
ddaayeah, same time frame11:05
lucasvoI guess that's kinda too late for a project starting now :(11:06
lucasvoddaa: but linking a bugfix to a bzr ci is not possible now?11:06
ddaathere was some work done before on that, but it was overriden by work to make hosted branches and mirrors faster11:06
ddaalucasvo: yes it's possible now11:06
lucasvoddaa: how?11:06
ddaafrom the bug page, click "Add Branch"11:07
ddaathe branch must already be hosted or mirrored on Launchpad11:07
ddaawhat's missing is adding some smarts to e.g. create bug-branch links, or updating bug status by scanning commit messages and merges.11:08
kikobradb, is the XMLRPC interface to +filebug actually deployed?11:09
bradbkiko: it should be, but I haven't tested it yet, because I didn't want to send my p/w over the network11:09
kikobradb, even over https?11:10
kikoor is xmlrpc not over https?11:10
ddaabradb: mh, eventually we should put an easy path to registering an external branch and explaining how to host one from the bug/+addbranch page.11:10
ddaait's a bit mysterious at the moment11:10
lucasvoare there any plans that LP will have a wiki per project?11:11
lucasvosuch as trac?11:11
ddaalucasvo: not AFAIK, but there are plan to add a simple wiki langage to the specifications tracker.11:11
lucasvook11:11
bradbkiko: it's over https, but, aiui, the credentials seem to be passed in the URL, which i thought might be a security concern. maybe that doesn't matter?11:12
sabdflit does11:12
lucasvobtw, on https://launchpad.net/products/harmony/+specs "mozilla specifications" is more or less a deadlink11:13
kikobradb, the credentials are passed in the URL? really?11:13
ddaampt: copy that? ^^11:13
ddaamh.. crap mpt is likely not around at this time11:13
mpthi ddaa11:14
bradbkiko: yes, and no, i think. /me verifies the xmlrpclib docs11:14
ddaampt: see last message from lucasvo11:14
bradbBoth the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication: http://user:pass@host:port/path. The user:pass portion will be base64-encoded as an HTTP `Authorization' header, and sent to the remote server as part of the connection process when invoking an XML-RPC method. You only need to use this if the remote server requires a Basic Authentication user and password.11:14
mptlucasvo, good point, report a bug and assign it to sabdfl :-P11:15
mptIt's hard to show a good example until upstreams start using Blueprint, though11:15
kikobradb, it seems to suggest that you use that syntax to /specify/ a user and password, but that an Authorization: header is what's shipped to the remote server.11:15
bradbyeah11:15
mptbzr specs would be a good example11:15
bradbso, perhaps it's ok11:15
=== bradb tries it on production, in failure mode first
kikosabdfl, bradb, why would the URL be an issue, btw? it is also encrypted in HTTPS traffic.11:16
sabdflmpt: woncha fix that with your long-approved-conflict-free-but-unlanded-bazaar UI cleanup? and that oneliner I gave you earlier?11:16
mptokie dokie11:16
lucasvompt: I still don't really get what a spec is, maybe writing a doc would be better than linking to upstream11:17
mptlucasvo, like a bug report on steroids11:17
sabdflkiko: if it's passed in url arguments it would be logged, for a start11:17
sabdflit it's in an auth header, that's different, but not what bradb said11:18
sabdflmpt: thanks11:18
kikosabdfl, logged by.. whom?11:18
sabdflkiko: by us11:19
sabdflremember we don't as a rule know anybody's password11:19
sabdflit's not evern recoverable from the db, given the digesting we do11:19
kikoah11:19
sabdflhowever, if it were logged, it would be at risk of lying around11:20
sabdfland being exposed11:20
kikoI don't think the password is ever passed over the URL, though11:20
sabdflwe should not be loggin in through xmlrpc11:20
bradbsabdfl: not in url args, just in the URL, as per the syntax taken from the xmlrpclib docs11:20
sabdflit should be a key that can be exchanged11:20
sabdflso that scripts etc can keep the key in the clear11:20
sabdflwithout exposing a password11:20
kikouser-agents allow specifying the user/password that way11:20
sabdflmake sense?11:20
sabdflbradb: as long as it turns into auth headers, that's no problem for now11:21
sabdflbut the proper xmlrpc interface needs keys11:21
kikosabdfl, the server doesn't actually receive the URL the client is accessing though!11:21
kikoit receives the path and host portions11:21
kikothe path in the GET or POST line11:21
kikoand the host portion (post HTTP/1.0) in a header11:21
kikoah11:22
kikoI see, you were confused by brad's suggestion of "URL arguments".11:22
sabdfl(22:12:37) bradb: kiko: it's over https, but, aiui, the credentials seem to be passed in the URL, which i thought might be a security concern. maybe that doesn't matter?11:22
kikoright11:22
sabdflthat's all i was commenting on11:22
kikosorry :)11:22
kikoas for the token idea.11:22
sabdflit would be perfeclty possible to write an xmlrpc interface this way if you did not know better11:23
sabdfli have seen worse done11:23
kikoso the user would post an auth header and get back a token which he could then keep on using for a while?11:23
sabdflkiko: no, the user goes to lp.net, goes to a page in their account, requests a key and is given one11:23
sabdflit has a lifespan of n days11:23
sabdflit can be revoked11:24
kikoah.11:24
bradbbug 5652311:24
UbugtuMalone bug 56523 in malone "xmlrpc works" [Untriaged,Unconfirmed]  https://launchpad.net/bugs/5652311:24
bradbw00t11:24
kikoVF11:24
sabdflwe correlate the key to the account, and use that person11:24
bradbkiko: that was a test with a python script11:24
sabdflif a project has a special need for a long-lived key, we can give them that11:24
bradbhttps://help.launchpad.net/MaloneXMLRPC11:24
sabdflwe can throttle on the basis of keys without hitting the db11:24
sabdflif we need to raise the throttle for a key, we can do that too11:24
sabdflall making sense?11:24
kikosabdfl, by throttle do you mean "time-limit"?11:25
sabdflrate-of-query-limit11:25
sabdfltypicla limit would be 1 query per second over any given minute11:26
sabdflso, you can burst, but then have to wait, or you can just slowly trawl11:26
kikosabdfl, and rate-limit where in the software stack? iptables? 11:27
=== bradb just updated the malone xmlrpc doc for production
=== cprov [n=cprov@monga.dorianet.com.br] has joined #launchpad
sabdflkiko: most anything that can do rate-limiting can do it on the basis of a header like that11:38
kikosabdfl, oh. apache has a mod_throttle, right?11:39
sabdflkiko: yes, and i'm sure pound has something similar, and there are very good appliances that can do it too11:39
kikoright.11:40
sabdflxmlrpc is great but also a risk, we can invest in doing it properly11:40
sabdflon the icon - doh11:40
kikook11:42
lifelesssquid-3 can throttle on anything it can filter on :011:44
lifelessso yeah, lots of things as sabdfl 11:44
lifelesssays11:44
kikosalgado, have you seen bug 35099?11:45
UbugtuMalone bug 35099 in launchpad "feedback about karma" [Wishlist,Confirmed]  https://launchpad.net/bugs/3509911:45
salgadokiko, no, first time I'm seeing it11:47
kikoyeah, me too11:47
kikosabdfl, about karma in LP: http://alligevel.blogspot.com/2006/07/karma-in-launchpad.html11:47
kikosalgado, assign to you?11:48
salgadokiko, sure11:49
kikosalgado, also, see the blog above.11:50
=== salgado reads
kikoBjornT, bradb, salgado: there's no new@support.launchpad.net, right?11:52
bradbno idea11:52
salgadoAFAIK, the email interface of the support tracker can only be used to add new comments11:53
kikosalgado, thanks.11:53
sabdflwe should definitely let folks create a question via email11:55
kikoagreed, just checking.11:55
kikosalgado, is there a bug filed on that?11:55
salgadonot sure, let me check11:56
kikoyes11:57
kikothere is11:57
kikohttps://launchpad.net/products/launchpad-support-tracker/+bug/5329211:57
UbugtuMalone bug 53292 in launchpad-support-tracker "Email submit support ticket feature" [Untriaged,Unconfirmed]  11:57
salgadothis is not really that, it's something more complex11:58
kikosalgado, I think aaron is just confused, that would solve his problem11:58
salgadoyeah, maybe11:59
kikoif he sets the mailing list to be his support contact11:59
kikoand we allow replies to the support requests11:59
kikoand email to new@support12:00
kikothen, well, it would work out.12:00
sabdflthat's a little heath robinson, but creative and yes it would work12:05
sabdflwe do need mailing list integration. would you put a penny in that jar, please, kiko?12:05
kikosabdfl, heh, okay. I'm not sure what that has to do with aaron's problem though. he wants to use gmane and our ticket tracker together. and we do support that already!12:06
sabdflhas anybody tried to run LP with python-twisted 2.4.0 in edgy? spiv?12:07
sabdfli just KNOW you must have made that work12:07
kikoI hope spiv's still in bed!12:07
sabdflone eye open, thats how it's done12:09

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