/srv/irclogs.ubuntu.com/2012/08/03/#launchpad-dev.txt

StevenK         BugSubscriptionFilterInformationType.information_type ==00:03
StevenK             bug.information_type,00:03
StevenK-        BugSubscriptionFilterStatus.status == None))00:03
StevenK+        BugSubscriptionFilterInformationType.information_type == None))00:03
StevenKwgrant: ^ Spot the error.00:03
* StevenK puts a brown paper bag over his head00:04
wgrantHeh00:06
wgrantStevenK: Does that fix everything?00:12
StevenKwgrant: Yup00:36
wgrantStevenK: Excellent.00:36
wgrantStevenK: Is it in devel yet?00:36
StevenKwgrant: No, I'll be lp-landing it in a few moments.00:37
wgrantGreat.00:37
StevenKwgrant: r1573900:42
wgrantIndeed.00:44
StevenKHmm,     [action.label for action in bug_edit.view.actions]00:56
StevenKIs [] rather than ['Change']00:56
wgrantStevenK: There are some issues with inheritance of actions00:58
wgrantI don't know details, but I've seen workarounds.00:58
StevenKI'm waiting for make run so I can poke00:58
StevenKHahaha, there is no button01:00
wgrantbin/run -r librarian -i development01:00
StevenKwgrant, wallyworld_: https://code.launchpad.net/~stevenk/launchpad/destroy-getusedbugtags/+merge/11802402:06
wgrantStevenK: Already there02:06
wgrant+15/-287 is what I like to see02:07
wgrantStevenK: Why'd you remove the wasRedirected check on line 164 of the diff?02:07
wgrantIt may be legit.02:08
StevenKThe test failed with it in02:09
wgrantRight, but it probably shouldn't have.02:09
StevenKWhy? That was the screwy redirect back to ourselves if the tags need confirming?02:11
wgrantThat would be a non-redirect02:11
wgrantThe redirect is back to BugTask:+index02:11
wgrantThe form seems to work fine, but that test should probably pass02:12
StevenK    bug_edit.wasRedirected()02:16
StevenK    - True02:16
StevenK    + False02:16
wgrantStevenK: Oh02:19
wgrantLook at that block of the test02:19
wgrantIt needs to die02:19
wgrantAnd you want to rewrite the prose in that whole section02:19
wgrant658-672 of that file can probably just be deleted02:20
wgrantAnd the prose before that mentions adding a new tag02:20
wgrantWhich isn't special any more02:20
StevenKhttp://pastebin.ubuntu.com/1126322/02:23
wgrantStevenK: You have a blank line where there should not be a blank line, but otherwise good02:26
StevenKwgrant: Any other comments?02:42
lifelesswallyworld_: / wgrant: bug https://bugs.launchpad.net/launchpad/+bug/97114403:02
_mup_Bug #971144: Remove direct sharee on sharing audit page should show any remaining team access <disclosure> <sharing> <ui> <Launchpad itself:Won't Fix by wallyworld> < https://launchpad.net/bugs/971144 >03:02
lifelessit claims there *is* a sharing audit page now, and that it expands teams.03:03
wallyworld_there was but it was removed ages ago03:03
lifelessOn the call you guys said that there was no such thing.03:03
lifelessah, wontfix. I see (I was blind. bah).03:03
lifelessthanks03:03
wallyworld_np03:03
wgrantWell03:05
wgrantThere was a page03:05
wgrantIt was never finished03:05
wgrantAnd didn't live for long03:05
wgrantStevenK: r=me, thanks03:15
StevenKwgrant: Finally tossed at ec2, thanks03:45
wallyworld_lifeless: in canonical_url, why do we only allow specifying the rootsite when request is None? In the case where a request comes in from code.lp.net and you want to get a bug url, it is not possible since the result starts with "code.lp..."03:48
lifelessI don't know03:50
lifelessI haven't looked at that in a year o rso03:50
lifelessthere should be tests with attached rationale03:50
StevenKcanonical_url() is useful, but horrible03:50
wallyworld_ok, will poke around03:51
wgrantwallyworld_: Why're you passing in a request?03:53
wgrantOh, to get a webservice base?03:53
wallyworld_yes03:53
wallyworld_i want to get self_link for a bug03:53
wgrantwallyworld_: That's not really what you want to do.03:53
wgrantwallyworld_: since cross-domain AJAX requests == boom03:54
wgrantThe problem is that you *are* getting a bugs URL03:54
wgrantYou need to not get one03:54
wallyworld_but i want one03:54
wgrantYou might want one for the web_link03:54
wgrantBut I don't see why you'd want one for self_link03:54
wallyworld_i need it to pass back to the client03:55
wallyworld_so the client can invoke an api on the bug03:55
wgrantThe JS client can't use a self_link that's on another domain03:55
wallyworld_it does now i think03:56
wgrantNope03:56
wgrantSame-origin ensures that it can't03:56
wallyworld_ah, it passes it in as a param03:56
wallyworld_so i need the self_link to pass as a param so that lazr restful knows how to unmarhsall it as a bug03:57
wallyworld_the js client now makes an extrs xhr call to get this info03:58
wgrantYou need to either use the path (eg. '/bugs/1234', or the path prefixed with the webservice root that the method is on03:58
_mup_Bug #1234: Gina is an unmaintainable mess of command line options, environment variables and shell scripts <lp-foundations> <Launchpad itself:Fix Released by debonzi> < https://launchpad.net/bugs/1234 >03:58
wgrantYou can't normally pass a bugs.launchpad.net URL into a method call on code.launchpad.net03:58
wallyworld_it does now in some form, i'll check exactly what is passed03:59
wallyworld_huh, so atm we issue a GET to http://code.lp.net/api/devel/bugs/123504:02
_mup_Bug #1235: When batch_start is >= the number of bugs shown, an error is raised <lp-foundations> <oops> <Launchpad itself:Fix Released by spiv> < https://launchpad.net/bugs/1235 >04:02
wallyworld_and the result has all the api links starting with code.04:02
wgrantRight.04:03
wallyworld_which seems wrong but anyway04:03
wgrantDomain doesn't matter in terms of API interpretation04:03
wgrantIt only exists on the webapp subdomains to work around same-origin04:03
wgrants/It/The API/04:03
wallyworld_ok04:03
wgrantYes, it is hideous, that's why I one-domainified LP in November :)04:04
wallyworld_so what happened to stop deploying it?04:05
wgrantProbably a combination of politics, leave, and teams being reassigned elsewhere.04:06
wallyworld_that's a shame04:07
lifelesswgrant: was it ready to action ?04:07
wgrantlifeless: There's one minor remaining technical issue: Product:+code-index is subtly different from Product:+branches in ways that confuse users and prevent trivially merging of them04:08
wgrantEverything else was ready to land.04:08
lifelessstub: hi, skype ?04:22
stublifeless: sure04:22
stubits firing up, finding my mike04:22
lifeless I want to be like mike04:48
adeuringgood morning07:47
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
lifelesswgrant: https://launchpad.net/anonymiseip08:58
wgrantlifeless: brb, rainbow table09:00
lifelesswgrant: acknowledged in the README09:00
lifelesswgrant: you don't need one, its only 32 bits.09:01
wgrantAh, in the middle of a 12 line paragraph09:01
wgrantlifeless: Meh, still more efficient if I want to steal all your users' IPs09:02
lifelesswell yeah.09:02
lifelessSo, if when we get ipv6, will need a deeper algorithm. But at that point it might actually be worth it.09:02
lifeless32 bit, anything deterministic is brute forcable if you can get a chosen plaintext through it.09:02
lifelessE.g. hit a bad url from your own ip09:02
wgrantHmm? A salt would work fine unless you want to bruteforce via the webservice.09:04
lifelessyou toss your chosen plaintext in and grab back the anonymised log entry matching the chosen URL09:06
lifelessthat gives you the salted output for your ip09:06
wgrantHow does that help you?09:06
wgrantIt's salted.09:06
lifelessbruteforce that - only 16 million to check09:07
wgrantThat's a pretty shitty salt09:07
lifelesshuh, its the output modulus that matters09:07
lifelessdoesn't matter how big the salt09:07
lifelessif its going through a fairly flat function like w.g. sha1, then the bit reduction means you're not going to be far off of 2^32 before you find a hit09:08
wgrantI'm still not seeing the attack that you describe.09:11
wgrantBut food calls.09:11
=== adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: adeuring | Firefighting: - | Critical bugs: 4.0*10^2
cjwatsonlifeless: I'd appreciate a more detailed pointer regarding https://code.launchpad.net/~cjwatson/launchpad/archive-getallpermissions/+merge/117606, if you have time - in particular, I'm not sure where/if invisible teams are magically filtered out of the returned collection right now10:07
cjwatsonIt seems most sensible to push it down into the query; but it is odd that Person._teamPrivacyQuery is a private method (well, insofar as Python has those), since that looks like the ideal thing to call10:07
=== _mup__ is now known as _mup_
cjwatsonCould somebody allocate me a DB patch number for the new job table at the end of bug 745799, if they think it's reasonable in principle?  A summary could just be "Create ProcessAcceptedBugsJob table."11:13
_mup_Bug #745799: DistroSeries:+queue Timeout accepting packages (bug structural subscriptions) <timeout> <Launchpad itself:Triaged> < https://launchpad.net/bugs/745799 >11:13
=== bac changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: adeuring, bac | Firefighting: - | Critical bugs: 4.0*10^2
bachi frankban12:11
=== slank` is now known as slank
czajkowskijml: did you get my reply to the list12:53
czajkowskimails from me seem to be taking forever and a day to go to lists :/12:54
jmlczajkowski: yep12:54
jmlczajkowski: wait... you replied directly to me12:54
jmlczajkowski: as well as to the list12:54
czajkowskiI replied to the list12:54
czajkowskinot to you I always reply to lists12:54
jmloh quite right.12:55
jmlthen yes, I got it.12:55
* jml is so used to Reply To All 12:55
czajkowskiany reason you were wondering :)12:55
jmlczajkowski: yes, actually13:03
jmlczajkowski: james_w overheard on #launchpad-ops that there's downtime scheduled for Aug 17. I was wondering whether that was a further rescheduling of the cocoplum downtime that happened yesterday13:04
czajkowskidifferent..13:05
jmlczajkowski: yeah, so I gather.13:05
jmlczajkowski: other, less vigilant stakeholders would probably appreciate an email to the list about it.13:06
wgrantI imagine everyone will be getting details about it soon13:06
czajkowskijml: I'm sure we will when they are ready13:06
wgrantWe don't know specifics yet13:06
jmlwgrant, czajkowski: glad to hear it. thanks.13:07
rick_h_jcsackett: morning, off the stand up so ping when you're ready to chat.13:47
jcsackettrick_h_: ping.13:53
rick_h_jcsackett: pong13:53
jcsackettrick_h_: g+?13:54
rick_h_jcsackett: yea, starting one up now13:54
jcsackettbac: could you look at https://code.launchpad.net/~jcsackett/launchpad/info-type-from-main-host/+merge/11812815:38
bacjcsackett: done15:40
=== salgado is now known as salgado-lunch
jcsackettthanks, bac.15:42
bacjcsackett: hope it wasn't too verbose15:43
jcsackettbac: just right.15:43
=== deryck is now known as deryck[lunch]
=== matsubara_ is now known as matsubara-afk
=== deryck[lunch] is now known as deryck
jcsackettrick_h_: ping me when you're available to chat. i'm free now.19:55
rick_h_jcsackett: awesome, I'll set it up19:59
=== bac changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: 4.0*10^2

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