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

wgrantlifeless: Foreign keys on trigger-maintained denorm tables -- any opinions?00:01
wgrantSeems like they're basically just going to slow things down.00:01
StevenKwgrant: https://devpad.canonical.com/~stevenk/query.log.gz00:05
wgrantwaitwhat00:07
wgrantaccesspolicy_pkey should be a serial00:07
wgrantIt can't conflict, unless you're not dirtying the DB properly.00:08
StevenKI don't get it either. :-/00:11
lifelesswgrant: stub wants them01:17
lifelesswgrant: I'm not strongly enough opinionated to debate either way yet.01:17
lifelesswgrant: intel SSD+101:17
wgrantlifeless: Well, we can't do them for array columns...01:19
StevenKlifeless: http://pastebin.ubuntu.com/869213/01:23
wgrantThe enterprise ID probably can't include the instance like that.01:24
wgrantSince they're clones of production.01:24
wgrantBut that's rather awkward.01:24
lifelessStevenK: might want a qualifier added - e.g. 'object_to_enterpriseid(bug, 'comments')01:24
StevenKwgrant: I was following lifeless' mail on the subject01:24
StevenKlifeless: Why?01:24
lifelessStevenK: I sketched out some thoughts on the txlongpoll discussion last weekend or so01:25
lifelessStevenK: can always add it later01:25
lifelessStevenK: it looks fine to me in all other regards01:25
StevenKI don't see the point. We're converting an object to a representation of one, *not* a method/property on an object.01:26
StevenKlifeless: I have hit a roadblock for enterpriseid_to_object(), in that I can't seem to get it return the object01:27
lifelessStevenK: there is a relatively low cost of change here if we're careful, so I'm fine leaving it out.01:27
lifelessStevenK: it wasn't in my initial emails after all :)01:27
StevenKIE, going from 'Person' to Person()01:27
lifelessStevenK: sys.modules['Person'] isn't what you want01:28
lifelessStevenK: you want sys.modules['lp.registry.model.person'].Person01:28
StevenKRight, which is fine for Person, but not PackageUpload01:28
lifelessStevenK: I think you'll probably need something a bit more directly connected to the LP code layout than what you have01:28
lifelesse.g. it may not be possible to JustSupport everything.01:29
lifelessalso remember that type needs to be unique01:29
lifelessand your current implementation would be broken if e.g. lp.services.email grew a Person class01:29
lifelessso, I suggest having an explicit map of supported types to strings, and strings to factories01:29
lifelesse.g. known_types = [01:30
lifeless    (Person, 'Person'),01:30
lifeless    ]01:30
lifelesstypes = dict(known_types)01:30
lifelessfactories = dict((label, klass) for klass, label in known_types)01:31
lifeless# adjust for taste01:31
=== stokachu is now known as battlemidget
StevenKwgrant: I've pushed my branch to lp:~stevenk/launchpad/accesspolicy-garbo if you can peer at it.03:18
wgrantStevenK: Looking03:33
wgrantAh03:34
wgrantThere's the problem.03:34
wgranttest_hourly_script doesn't dirty its DB03:34
wgranttest_daily_script does03:34
wgrantStevenK: Try fixing that.03:34
StevenKAH HA03:44
StevenKAbout time :-(03:44
lifelesswgrant: 'psycopg2.ProgrammingError: syntax error at or near "."03:51
lifelessLINE 3: ALTER TABLE BugJob RENAME TO todrop.BugJob;03:51
lifeless'03:52
lifelesswgrant: I think your advice is wrong :)03:52
StevenKHaha03:52
wgrantlifeless: That wasn't my command.03:52
wgrantALTER SCHEMA todrop03:52
StevenKSET SCHEMA todrop03:52
lifelesswgrant: you cleverly preserved it :>03:52
wgrantEr, that03:52
wgrantlifeless: I didn't really read the first sentence.03:52
wgrantIt was there already :)03:53
StevenKwallyworld: Are you up for reviewing a branch of mine?03:55
wallyworldok03:55
StevenKwallyworld: https://code.launchpad.net/~stevenk/launchpad/accesspolicy-garbo/+merge/9583403:55
wallyworldStevenK: i think you mean embardgoessecurity, not proprietary04:03
StevenKwgrant: ^04:04
wgrantThe wallyworld is correct.04:05
wallyworldproprietary is only for products with commercial subscriptions04:05
wallyworldStevenK: i'd like the tests to check the data as well as just the count04:06
wallyworldStevenK: because i'm stupid, why did you need to make a call to DatabaseLayer.force_dirty_database()  ?04:06
StevenKwallyworld: Because test_hourly_script is broken04:07
wallyworldof course :-)04:07
StevenKtest_daily_script did it, but test_hourly_script did not.04:07
wallyworldand existing tests didn;t need this?04:07
StevenKAnd it was causing test failures in unrealted tests04:07
wallyworldok04:08
wallyworldthanks for explaining04:08
wgrantIt depended on ordering.04:08
wgrantDepending on what the next test did, it would have worked even with the dirty DB04:08
wgranteg. if it was just deleting stuff04:08
wallyworldyuk04:08
wgrantOr using a non-serial primary key.04:08
StevenKwallyworld: I don't see the point of testing the APs themselves in the test.04:09
wgrantI would.04:09
wgrantAnd it's like 2 lines.04:09
wallyworldStevenK: it's not testing the api, but that you have told the garbo scrip tto insert the correct data04:09
wallyworldah, can't read, i thought you said api04:10
wallyworldbut my point stands :-)04:11
StevenKwallyworld: Anything else?04:11
wallyworldStevenK: no, looks nice otherwise04:12
lifelesswgrant: could I ask a favour? ec2 land https://code.launchpad.net/~lifeless/launchpad/bugjob/+merge/95837 ?04:16
wgrantlifeless: Self-reviewing a DB patch? Dubious.04:17
wgrantBut OK :)04:17
* lifeless shrugs04:17
lifelessI don't require stub to block on me for his schema changes.04:18
StevenKwallyworld: http://pastebin.ubuntu.com/869352/04:20
wallyworldStevenK: i'd use assertContentEqual to ignore sorting differences and you don't need the .count() check if you are conparing the actual values04:22
StevenKwallyworld: Good point.04:23
StevenKwallyworld: http://pastebin.ubuntu.com/869357/04:28
wallyworldStevenK: i had a thought. will the logic fail if we add a policy to a pillar by hand? i think it will04:29
wallyworldit will think the pillar is already processed04:30
wallyworldbut there may not be the 2 required policy types04:30
StevenKNot for the test data, but I can't see us doing so until the garbo jobs are done04:30
StevenKDistribution I can see being done during the first run04:31
wallyworldyes :-)04:31
StevenKProduct will take a little longer04:31
wallyworldyes, i'm concerned though since the fflag will be on for select users04:31
wallyworldand they can use the gui04:31
wallyworldperhaps we delay the fflag being on till garbo kob done04:31
StevenKRight04:33
lifeless.04:34
StevenKlifeless: Your DSL sucks.04:35
StevenKwallyworld: I've commited and pushed those changes.04:35
* wallyworld taps fingers04:36
StevenKwallyworld: Diff is updated04:38
wallyworldyes04:38
StevenKI was just pondering filing a bug or [no-qa]04:38
wallyworldStevenK: r=me. to not cut corners, you should probably do qa on it04:41
StevenKwallyworld, wgrant: QA-Landing looks awesomely full -- is it the truth?04:46
wallyworldStevenK: yes, i have a 4 pipe landing04:55
wallyworldbut 2 yui tests are failing on ec204:56
wallyworldso am trying to fix04:56
StevenKAh yes, QA-Landing really has been wallyworlded.05:00
=== battlemidget is now known as stokachu
lifelessmmm05:49
* lifeless forgets when implicit db user switches occur05:49
lifelesswgrant: sanity check me - we can drop the calculate-bug-heat db user and permissions05:50
=== almaisan-away is now known as al-maisan
StevenKWhy does https://launchpad.net/oops-tools say "This project is currently inactive." ?06:12
lifelessbecause it is06:12
lifelessyou want python-oops-tools06:13
huwshimiwgrant: On the +sharing page when you are selecting a team to share with, why are there options to grant access to public and public security... am I missing something? It seems like you don't need to grant access for those things.06:13
huwshimiwallyworld: ^06:13
lifelesshuwshimi: for private projects06:14
lifelesshuwshimi: or projects with private-by-default artifacts06:14
huwshimilifeless: I feel like I'm missing something. So "Public" for a private project is private?06:15
huwshimiI thought this was the whole point of the policies06:15
huwshimito have this stuff make sense :)06:16
lifelessoh I see, you're saying that any artifact covered by the public policy really should be public06:16
lifelessI'd need to page a bit more in to answer that; so I'll let wallyworld / wgrant / StevenK do so ;)06:16
huwshimi:)06:18
* StevenK is neck deep in Django06:21
* StevenK glares at lifeless 06:21
=== jtv1 is now known as jtv
huwshimioop, gotta go06:26
=== al-maisan is now known as almaisan-away
nigelbStevenK: should we send someone after you? :)07:22
=== almaisan-away is now known as al-maisan
czajkowskialoha09:06
adeuringgood  morning09:10
StevenKErrr, why did lifeless land a DB patch to devel?09:42
czajkowskiStevenK: do you actually sleep ?09:50
stubWhoopsies10:19
StevenKczajkowski: Sometimes.10:29
micahgis it even sleep time in StevenK's TZ?10:30
czajkowskijtv: any reason why on the RT we get mails *to* rosetta@launhcpad.net  on a daily basis?11:15
jtvczajkowski: we stopped using that address a while back (it generated more pain than gain), so I'd guess there's a "legacy" forwarding to RT.11:15
czajkowskijtv: aye on a daily basis at least 3-4 rts are created11:16
jtvSo you may want to figure out why the email gets there.  For instance, users may be replying to outgoing mail that accidentally still uses rosetta@.11:16
czajkowskijtv: MAILER-DAEMON" <noreply@launchpad.net>11:17
wgrantlifeless: Yes, they can go.11:34
wgrantlifeless: AFAIK I removed them from the codebase a while back.11:34
wgrantlifeless: But they need to be manually dropped from prod.11:34
wgrant(the bug heat users)11:34
=== al-maisan is now known as almaisan-away
salgadomrevell, hey there.  sorry to keep nagging, but I was wondering if you'll have some time to work with us on that work-items help text today?  we would like to land it together with the new UI, if possible :)12:17
czajkowskisalgado: morning12:18
salgadohi czajkowski!12:18
=== matsubara-afk is now known as matsubara
mrevellsalgado, Email incoming! :)12:32
salgadomrevell, perfect timing, thanks a bunch!12:35
mrevellMy pleasure :) Let me know if you need to talk about it. I'll be afk for 40 mins or so.12:36
salgadomrevell, there was a typo and the list of states was incomplete. I guess you won't mind me fixing that :)12:39
salgadomrevell, and https://help.launchpad.net/WorkItems doesn't exist yet12:39
=== almaisan-away is now known as al-maisan
=== benji changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: benji | Firefighting: - | Critical bugtasks: 4*10
salgadobenji, I've put a trivial one up for review (https://code.launchpad.net/~salgado/launchpad/workitems-widget-help-popup/+merge/95894), if you have a couple minutes :)13:50
benjisalgado: sure13:51
salgadobenji, fwiw, mrevell gave me the text you see there and I've already told him the wiki page linked to from there doesn't exist yet. I suppose he plans to steal the one from wiki.u.c13:53
benjisalgado: ok13:53
mrevellsalgado, benji: Hey, back from lunch. I'll create the wiki page this afternoon.13:53
mrevellsalgado, Thanks for making the corrections :)13:53
benjisalgado: review done13:54
salgadothanks benji. do you know how I'd go about using CSS to format the <pre> block there?13:57
benjisalgado: only with inline styles, but I suspect there's a CSS class already in existance for that13:59
salgadobenji, ah, that'd be nice. I'll see if I can find it13:59
salgadobenji, can't seem to find anything that would do it. is it ok if I just inline a margin-top: there?14:08
benjisalgado: you'd better ask someone more font-endy than me, we generally frown on inline style, but I don't know where the line is drawn, precisely14:09
salgadobenji, ok, will do. anyone you'd recommend?14:12
salgado(don't really know who to ask for that these days)14:12
salgadoderyck, maybe? ;)14:12
derycksalgado, hi. what's up?14:13
benjisalgado: Huw (huwshimi) would be a good start, but mrevell probably knows too14:13
salgadoderyck, hi there.  we're discussing how to avoid a blank line in a <pre> block: https://code.launchpad.net/~salgado/launchpad/workitems-widget-help-popup/+merge/9589414:13
mrevellsalgado, Yeah, it's best if you ask for a review from huwshimi.14:13
salgadoand benji asked me to check with somebody more frontend-y than him, right when you joined14:14
mrevellsalgado, He'll help with the CSS side of things.14:14
salgadoderyck, looks like you don't need to worry, though; I'll bug huw :)14:14
derycksalgado, ah, ok. cool :)14:14
salgadomrevell, cool, will do that14:14
mrevellsalgado, Huw's in Tasmania, so he won't be around for a few hours yet.14:14
deryckadeuring, abentley -- I'm coming, just taking a bit for the hangout to start for me.14:32
mabacrick_h_, could you have another look at the review since I fixed the info message for the whiteboard? I used your javascript14:33
deryckmabac, rick_h_ is unavailable until wed. maybe jcsackett could take it, since he's the mentor of rick_h_14:34
* jcsackett perks up, goes to take a look14:34
mabacderyck, ok thanks14:35
mabacjcsackett, great thanks!14:36
jcsackettmabac: oh wow, this branch has had a lot happen since i last looked at it.14:37
mabacjcsackett, oh I hoped it wasn't too bad. it should just be changing the order of the text fields and then the js for displaying an info message when editing the whiteboard.14:39
jcsackettmabac: no, it's not bad. just a case of me sorting out all the activity so i know what i'm looking at. :-P14:39
mabacjcsackett, hehe ok. note that two revisions where backed out entirely14:39
mabacjcsackett, 14855 and 14856 are reverted in 1485714:40
sinzuibenji, do you have time to review my branches listed on https://code.launchpad.net/launchpad/+activereviews14:48
benjisinzui: sure14:48
czajkowskisinzui: morning I think this one is a you question, as I remember I can't change a projects licience. https://answers.launchpad.net/launchpad/+question/18948814:54
sinzuiczajkowski, we do not own the project.14:55
sinzuiczajkowski, reactivate the project, then explain to the user that he can use the Change details link to update the license14:55
czajkowskisinzui: thank you.14:56
rick_h_jcsackett: I'm in/out (snack time for the boy) let me know if you need anything from me. Sorry it ran over until I was out14:59
mrevellsalgado, https://help.launchpad.net/WorkItems now redirects to a draft page that I'll flesh out and make live when we're ready.14:59
salgadomrevell, cool!15:00
czajkowskideryck: allenap what is the max apport attachment that can be uploaded to a bug ?15:08
deryckczajkowski, hmmm, not sure actually.  I can poke at code to see if allenap doesn't know off the top of his head.15:09
deryckrick_h_, geez, man, we're going to have to start calling you lifeless215:09
czajkowskideryck: asking as someone reported a bug at the weekend, but just wondering was things crashing as lotta folks submitting things due to UGJ15:09
czajkowskideryck: https://bugs.launchpad.net/launchpad/+bug/94562915:09
_mup_Bug #945629: Launchpad chokes on tiny package, deeper throat required? <Launchpad itself:New> < https://launchpad.net/bugs/945629 >15:09
deryckczajkowski, ah, this is a known bug.15:11
deryckczajkowski, it's not attachment limits, am looking for the bug.15:11
abentleyadeuring: are you up for a chat?15:15
benjisinzui: I just finished your two reviews.15:19
allenapczajkowski: Comments (or at least bug descriptions) have a limit of 50,000 characters. I don't know of a limit for attachments, so... what deryck said :)15:21
deryckczajkowski, this is bug 194558.  I'll dupe against it.15:21
_mup_Bug #194558: Project file upload timeout (and often do not OOPS) <arm> <escalated> <linaro> <Launchpad itself:Triaged> < https://launchpad.net/bugs/194558 >15:21
czajkowskiallenap: deryck thank you15:22
sinzuithank you benji15:22
benjimy pleasure15:22
deryckallenap, yeah, I guess we have no limits for how many attachments.15:23
adeuringabentley: sure. mumbleß15:24
adeuring=15:24
abentleyadeuring: sure.15:24
rick_h_deryck: heh, love my job and all that right? Can't be too far from the laptop.15:24
deryckrick_h_, heh, fair enough. Just don't love it so much that you hate it in 6 months from burnout. ;)15:24
benjisinzui: Gary points out that my code in the reviews isn't syntacticly correct, but I bet you'll get the gist15:27
sinzuibenji, thank. Your point is correct and I am playing with it now15:28
=== al-maisan is now known as almaisan-away
=== matsubara is now known as matsubara-lunch
abentleyadeuring: celery does indeed implement soft timeouts via a signal handler: celery/concurrency/processes/pool.py:18815:56
adeuringabentley: cool.15:56
abentleyadeuring: However, I was wrong about soft timeouts being configurable from the apply_async invocation.  They are only configurable on a task-type basis.  We may need RunFastJob, RunSlowJob, RunReallySlowJob tasks.15:58
adeuringabentley: ok, sounds good15:59
sinzuijcsackett, do you have a few minutes to discuss a bug I am working on http://pastebin.ubuntu.com/870095/16:27
=== Ursinha is now known as Ursinha-lunch
=== matsubara-lunch is now known as matsubara
jcsackettsinzui: sure, i'm free.16:55
sinzuijcsackett, fab. mumble or hangout16:59
jcsackettsinzui: i can do either. hangouts worked well last time.17:00
sinzuiokay hangout.17:00
=== Ursinha-lunch is now known as Ursinha
sinzuijcsackett, https://plus.google.com/hangouts/c264c08394aabf490ee4492d4bc30adeb7741e97?authuser=0&hl=en#17:03
adeuringabentley: lp:~adeuring/launchpad/lazr.jobrunner-oops17:10
abentleyadeuring: thanks!17:11
adeuringabentley: I think we should add a class BaseJob to runjob.py / jobrunner.py, just to document which methods and properties are required17:12
abentleyadeuring: That makes sense.  We could extract it from FakeJob17:13
adeuringabentley: yes, that's what I basically meant ;)17:14
abentleyadeuring: I've put some changes in trunk, so it's a good idea to merge trunk.17:25
adeuringabentley: right17:25
abentleyadeuring: It looks interesting-- so we just build up an oops report and publish.17:26
adeuringabentley: basically, yes. We still need to properly configure the OOPS reporting -- but that should not be done in lazr.jobrunner17:27
adeuring(where "configure" means to pull in things like including a timeline, for exmaple)17:27
abentleyadeuring: On the launchpad side, can we re-use the existing oops configuration?17:27
adeuringabentley: I think we need to refactor the ErrorReportingUtility17:28
abentleyadeuring: Oh, I see.17:28
adeuringabentley: but generally my dea is that we can use the same, or at least a similar, oops_config in ErrorReportingUtility and in lazr.jobrunner17:29
abentleyadeuring: Sounds good.17:29
=== deryck is now known as deryck[lunch]
=== danhg_ is now known as danhg
=== deryck[lunch] is now known as deryck
sinzuibenji, do you have time to review https://code.launchpad.net/~sinzui/launchpad/commercial-project-picker/+merge/9597018:48
matsubarahi there, I'm trying to run the workitems branch but can't run it locally. I keep getting this error:  https://pastebin.canonical.com/61627/ when I make schema. Anyone have ideas how to fix that?19:11
salgadomatsubara, if nobody has any ideas you might want to run ./utilities/launchpad-database-setup again19:20
matsubarasalgado, I did that already19:20
salgadohmm19:21
salgadoare you running with postgresql8.4 or 9.1?19:23
matsubarasalgado, I think I have both installed. this last time I ran lp-db-deps it ran against the 9.1 db19:27
matsubarado you have a debversion in your tree somewhere?19:27
salgadolib/lp/archivepublisher/debversion.py19:28
matsubararight, same here19:28
matsubarapsql:launchpad-2209-00-0.sql:1230: ERROR:  could not access file "$libdir/debversion": No such file or directory19:28
matsubarathis is the error I'm getting19:28
salgadobut that's not it19:28
matsubarawhat's the libdir variable?19:28
salgado /usr/lib/postgresql/8.4/lib/debversion.so19:29
salgadothat's the one19:29
salgadoyou seem to lack19:29
salgadoI'd say get rid of 9.1 and try with 8.4. that works for me, on oneiric19:30
salgadothere's a postgresql-8.4-debversion package, btw19:30
salgadobut launchpad-database-dependencies depends on it19:30
matsubarasalgado, right, for 8.4 I had the debversion file, but not for 9.119:33
matsubarasalgado, I stopped 9.1 and left only 8.4 running and am trying again19:33
matsubara(I'm precise btw)19:33
matsubara(I'm on precise btw)19:33
salgadogood luck, then :)19:34
matsubara:-)19:34
salgadoI tried to set it up on precise about a month ago and gave up; ended up setting up an Oneiric container19:34
matsubarasalgado, it's applying the db patches now, so I think it's fixed. thanks salgado19:36
sinzuisalgado, I believe 9.1 can be used. I think we are switching to it soon19:36
=== almaisan-away is now known as al-maisan
matsubara  File "/home/matsubara/devel/canonical/lp-sourcedeps/eggs/txlongpollfixture-0.1.3-py2.7.egg/txlongpollfixture/server.py", line 131, in _start19:38
matsubara    raise Exception("Timeout waiting for txlongpoll to start.")19:38
matsubaraException: Timeout waiting for txlongpoll to start.19:38
matsubaranow I got that error when I make run19:38
=== al-maisan is now known as almaisan-away
matsubaraand it looks like it's running: 25320 pts/9    Sl     0:02 txlongpoll: accepting connections on 2243519:38
matsubaraok, trying again worked.19:40
=== matsubara is now known as matsubara-afk
=== danhg_ is now known as danhg
abentleysinzui: to support the move of ec2 scripts from lp:launchpad to lp-dev-tools, I am thinking of copying the lastest bzr-pqm packages from the bzr daily PPA to the launchpad PPA.  Does that make sense?20:48
sinzuiabentley, could be. I run my own hacked version though since pqm-submit does not work on precise20:50
lifelessabentley: that would be easier for folk w/out the bzr ppa20:50
sinzuiIt would be nice to get the fix when someone actually applies my patch20:50
sinzuiOr discovered why I needed to write such am atrocious patch to make pqm-submit worl20:51
abentleysinzui: Where is your patch?20:52
sinzuihttps://bugs.launchpad.net/bzr-pqm/+bug/92274120:53
abentleylifeless: Yes, that was my thinking.  I assume not everyone is on the dailies.20:53
sinzuiabentley, ^20:53
_mup_Bug #922741: AttributeError: 'BzrBranch7' object has no attribute 'get_config_stack' <amd64> <apport-bug> <patch> <precise> <running-unity> <Bazaar PQM Plugin:New> < https://launchpad.net/bugs/922741 >20:53
abentleysinzui: Just going by the title, that may have been fixed in r8620:54
sinzuiwell. I think I can test that in a few minutes. I am about submit a branch20:55
abentleysinzui: which bzr are you running?20:55
poolieo/20:55
abentleypoolie: \o20:56
sinzuiabentley, 1.4.0~bzr83-120:56
* sinzui looks at his own branch20:56
abentleysinzui: which bzr, not which bzr-pqm?20:56
sinzuioh duh20:57
abentleythough from the traceback, I'd guess 2.520:57
sinzui2.5.0-1ubuntu120:57
abentleysinzui: This is wacky, because in 2.5, BzrBranch7 does provide get_config_stack.20:59
sinzuiabentley, wacky indeed20:59
sinzuiI really don't think I should have needed that patch21:00
sinzuiabentley, I pulled tip (bzr-pqm) and submitted.21:01
sinzuiLook like it did its part correctly21:02
abentleysinzui: I'm glad of that.21:02
sinzuiabentley, and It was a success.21:02
sinzuiI think I can mark my patch invalid now21:03
abentleysinzui: I don't really get what happened there, though I'll mention ec2 is using the egg version of bzr, not the system version.21:04
sinzuiabentley, given the oddness of my patch (wallyworld ran it too), I think there were version inconsistencies for about 6 weeks21:05
abentleysinzui: It appears that the egg version of bzr did not support get_config_stack-- it landed in r6157.21:08
abentleysinzui: So we could chalk this up to launchpad running a beta bzr.21:09
sinzuifab21:10
sinzuiI will tell my team21:10
abentleysinzui: I don't understand how a direct pqm-submit would be broken, unless you ran "bin/bzr".21:11
abentleysinzui: Or were also running a similar beta version.21:11
sinzuiabentley, ec2 <land|test> and pqm-submit were all broken for me at the time I reported the bug21:12
abentleysinzui: Are you certain ec2 test was broken?  It shouldn't be using pqm-submit at all.21:13
sinzuiabentley, yes it was. I had to use a different computer for a week21:13
sinzuiuntil I decided to add the hack21:13
abentleysinzui: Okay.  I guess you were using "ec2 test -s" or similar?21:15
sinzuiyes, that is right21:16
abentleysinzui: forgive my confusion about ec2 test.  I don't use it, so I didn't realize it can land branches.21:16
salgadohuwshimi, hi there. I've proposed a trivial branch (https://code.launchpad.net/~salgado/launchpad/workitems-widget-help-popup/+merge/95894) and my reviewer had some CSS-related questions so I was pointed at you :)21:26
salgadoit'd be great if you could have a look and tell me how I should proceed there :)21:26
huwshimisalgado: Sure! Let me take a look21:27
huwshimisalgado: Would you like me to comment here or on the mp?21:28
salgadohuwshimi, either way is fine with me21:29
huwshimisalgado: I just replied on the mp21:33
salgadooh, of course!21:34
salgadothanks huwshimi!21:34
huwshimisalgado: Hopefully that will give you proper spacing, but if not we can look at some CSS21:35
salgadoyep, confirming that now21:37
mwhudsonsalgado: you should steal my greasemonkey work items editor at some point :)21:39
salgadomwhudson, we considered that but in the name of simplicity we decided to use a textarea for now21:45
mwhudsonfair enough21:45
mwhudsonit will be trivial to adapt the greasemonkey to that i assume21:46
mwhudsonalthough the parsing/unparsing/parsing thing will be a bit strange21:46
mwhudsonsalgado: you are exposing the work items on the api i assume?21:46
salgadomwhudson, yes, for now only as a text field, using the same format as before. so you just have to change .whiteboard to .workitems_text, hopefully21:47
mwhudsonsalgado: oh, the api representation is as text as well?21:48
salgadomwhudson, yep21:49
mwhudsonok21:49
mwhudsonsalgado: how does this help status.l.o then?  you just know that it's formatted correctly?21:50
salgadomwhudson, yes, and we catch/fix errors when users enter them so they won't have to be nagged by status to go back and fix it later.  our actual goal is not really to help status though -- we want to implement work item reports in LP: https://dev.launchpad.net/Projects/WorkItems21:52
mwhudsonah ok21:52
=== matsubara-afk is now known as matsubara
=== benji changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10
StevenKlifeless: So why did your DB patch branch hit devel?22:28
lifelesshahhaa bad defaults.22:29
lifelessfortunately it will do no harm22:29
StevenKWhat? We had db-devel as the default for YEARS22:30
StevenKAnd it caused no end of issues22:30
sinzuiStevenK, regardless of future sharing and past legacy rules, user should be permitted to see public bugs. https://bugs.launchpad.net/launchpad/+bug/87287022:33
_mup_Bug #872870: Public bug cannot be viewed when linked to a private branch <403> <branches> <bugs> <disclosure> <privacy> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/872870 >22:33
sinzuiwallyworld_, your can pull https://code.launchpad.net/html5-browser I tested the env using22:58
sinzuiHTML5BROWSER_USE_PYGTK='true' ./test.py22:58
sinzuiwallyworld_, see https://code.launchpad.net/~sinzui/+recipe/html5-browser-daily23:05
bigjoolsmorning23:12
* StevenK 's world crashes down23:12
sinzuiwallyworld_, have you run this yet23:12
sinzuiapt-add-repository ppa:sinzui/ppa23:12
wallyworld_sinzui: sure have23:12
wallyworld_just waiting for build now :-)23:13
lifelesswgrant: do youi know of a way to say 'fuk it everything will need [SELECT|UPDATE|DELETE] on table Y' ?23:20
=== matsubara is now known as matsubara-afk
wgrantlifeless: public23:21
wgrantlifeless: But please don't.23:21
wgrantTHe only things that really belong there are...23:21
wgranthmm23:21
wgrantSELECT on featureflag23:21
wgrantAnd nothing else.23:21
wgrantAh, that's there already.23:22
wgrantAnd pillarname23:22
wallyworld_huwshimi: hi, sorry i missed you yesterday - was buying food for dinner. with your question, the +sharing page is wip. those options are being fixed and other stuff also being sorted out23:33
huwshimiwallyworld: No problems23:33
huwshimiwallyworld: So will the public options still be there?23:33
wallyworldhuwshimi: nope. only embargoes security and userdata, and for commercial projects, proprietrary23:34
huwshimiwallyworld: OK great, thanks for that!23:34
wallyworldhuwshimi:  np. i have a branch that i'm about to land with those changes, plus there are now checkboxes so you can select more than one23:35
huwshimiwallyworld: Ah great23:35
wgrantwallyworld: The new packages should be published.23:36
wallyworldwgrant: thanks, that was fast23:45
lifelesswgrant: mail sending23:47
wgrantwallyworld: Queue-jumping is handy :)23:48
wallyworldindeed23:48
wgrantlifeless: I await it in fear.23:48
lifeless /win goto mbarnett23:49
lifelessbah23:49
wgrantThat makes me even more concerned.23:49
mbarnettlifeless: that was more like a summon!23:49
lifelessmbarnett: My fingers apologise to you.23:49
wgrantlifeless: I see no mail.23:50
wgrantDid it go via forster?23:50
wgrantlifeless: you suck23:50
wgrant2012-03-05 23:50:25 WARNING Bad object name 'public.bugjob'23:50
lifelesswgrant: you suck too. But enough of the compliments.23:51
lifelesswgrant: you're talking about bugjob landing on the wrong branch? Has it caused a buildbot failure ?23:51
wgrantlifeless: No, but you forgot to remove DB permissions.23:51
wgrantSo security.py whinges.23:51
wgrantThe mislanding won't cause any problems.23:52
lifelessyeah23:52
wgrantIt just makes you the first violator of your policy :)23:52
StevenKHaha23:52
lifelesswgrant: does anything need calculate-bug-heat, talking of security.cfg ?23:52
wgrantlifeless: No.23:52
wgrantI apparently forgot to remove it from security.cfg23:52
wgrantIn my cleanup a few months back.23:52
lifeless(and from prod)23:52
wgrantAnd then it needs to be manually dropped from prod23:53
wgrantyeah23:53
wgrantAnd cleaned up from pgpass etc23:53
lifelessI will leave that to you, enough WIP as it is23:53
wgrantI may demolish it along with bugjob permissions in a few seconds.23:53
wgrantlifeless: Oh, by "mail sending" you meant you were talking about permissions for sending mail, rather than that you were sending a mail about the permissions?23:54
lifelessright23:54
wgrantThat explains why I see no email.23:54
lifelessand notifications more generally.23:54
wgrantI shall stop looking for the problem with forster.23:54
lifelesswgrant: hah! indeed.23:55
bigjoolspoolie: sat here chuckling at your tweet23:58
wgrantIs that a replacement for "lol"?23:58
bigjoolslolling is not chuckling23:59
bigjoolslol is for when people want you to think they liked something your said but are not really laughing at all23:59
bigjoolsyou* said, even23:59
wgrantTrue, true.23:59

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