/srv/irclogs.ubuntu.com/2012/09/14/#launchpad-dev.txt

cjohnstonAnyone know where the the text that was in http://goo.gl/O4CQ4 went to?00:19
cjohnston(as in, where I might find it now)00:19
StevenKwgrant: Hmmm, my pdb isn't firing.00:54
wgrantStevenK: Where is it and why isn't it firing?00:56
StevenKwgrant: http://pastebin.ubuntu.com/1203852/00:56
wgrantStevenK: Oh, right00:59
wgrantStevenK: That view isn't /+archivesubscriptions/$ID00:59
wgrantIt's ArchiveSubscription:+index or so00:59
StevenKteam_sub, '+index' doesn't fire it either01:01
StevenKOh, bah, ArchiveSubscription:+index is the edit view01:27
StevenKwgrant: I think this is a race.01:38
StevenKwgrant: They all back onto IArchiveAuthTokenSet.getActiveTokenForArchiveAndPerson()01:38
StevenKSo when the guard checks, self.active_token is an EmptyResultSet, then IArchive.newAuthToken() is called, and when it calls the same method, it returns a token and raises01:40
StevenKs/an EmptyResultSet/None/01:45
wgrantStevenK: But it's not a unique violation from the DB, is it?01:47
StevenKwgrant: No, it's newAuthToken raising it01:48
=== Ursinha is now known as Ursinha-afk
wgrantStevenK: Each appserver transaction sees an isolated snapshot of the DB01:49
wgrantStevenK: If newAuthToken can see it in the DB (and not by a unique constraint violation error), then it's not a race01:49
wgrantThe appservers are not READ COMMITTED01:49
StevenKwgrant: Both the view's self.active_token and IArchive.getAuthToken() back onto the same method01:49
StevenKSo I don't get how it could return None and then a token01:49
wallyworld__wgrant: StevenK: sinzui: are we supporting embargoed specs for private projects?01:49
wgrantwallyworld__: IMO no, but it seems like we are01:49
wallyworld__i'm reviewing a branch which has them01:50
wgrantThere's already code landed that permits them01:50
wgrantSo don't block this on that01:50
wallyworld__ok01:50
StevenKwgrant: Can you think of a scenario? Because I can't, but it happens. :-(01:52
rick_h__I think it's coming out of the need for Private Projects to have public, embargoed, proprietary options01:53
rick_h__all of the apps will get default apps that match the project ootb I believe01:53
StevenKWhy? Embargoed is special01:53
StevenKPublic and Proprietary sure, sounds good01:53
wgrantThe debate over whether Embargoed makes sense for a project is still raging01:53
rick_h__because it's strange to have a new project setup with one option and see something you didn't select somewhere else01:53
rick_h__right01:53
rick_h__agreed, so easier to take it into account and remove than to fit back in01:54
wgrantIf Embargoed makes sense for a project, then it makes sense for blueprints01:54
rick_h__but if you stick to the idea that embargoed imples one day being public while proprietary does not, then it seems there's a niche for it01:55
StevenKOther way around01:57
lifelessStevenK: huh ?01:58
wgrantStevenK: No, rick_h correctly portrays the other side of the argument01:59
wgrantThat Embargoed should also be used for Proprietary stuff that may become public02:00
wgrantI tend to disagree02:00
wgrantBut there are reasonable arguments both ways02:03
StevenKwgrant: So I can't think of how to write a test for this issue, and you rejected my current fix.02:03
wgrantStevenK: can you link me back to an oops?02:05
StevenKwgrant: https://oops.canonical.com/oops/?oopsid=OOPS-3607c5f44e382d14bd9ff678dbc5109702:05
wgrantSuppressing an exception when we don't know why it happens is a good reason to reject a fix :)02:05
wgrantStevenK: Do you have a recent one?02:05
wgrantOr maybe that URL is just bad02:06
StevenKThat was the most recent one I could find, I can re-grep on neem if you wish02:06
wgrantBecause it's not there any more02:06
StevenKOh, sigh02:06
StevenKI even mentioned it in a bug02:06
StevenKYeah, 2012-09-10 has been deleted02:07
lifelessit shouldn't have pruned then !02:08
StevenKWell, it did02:08
lifelessugh02:08
StevenKI bloody hope it has turned up again, because that was the only OOPS we had02:08
wgrantWait02:08
wgrant-10?02:08
wgrantThat's not yet 5 days old02:09
wgrantIs the pruning threshold like 2 days now or something>?02:09
StevenKdrwxr-xr-x 2 oops_tools oops_tools 2.1M Sep 11 10:28 2012-09-0602:09
StevenKdrwxr-xr-x 2 oops_tools oops_tools 704K Sep 14 02:07 2012-09-1102:09
lifelessdidn't we lower it when we had that huge batched?02:10
lifelessmay not have been re-raised02:10
StevenKIn either case, I linked it to a bug and it pruned it02:10
wgrantStevenK: You may have linked it while the prune was happening02:11
wgrantIt can take a while02:11
StevenKIt worked this morning while I was on the call02:11
wgrantMysterious02:13
wgrantprune.log is modified at 11:41 today02:13
wgrantThe last line in the log:02:13
wgrantINFO:root:Querying OOPS references on auditorclient from 2012-09-10 01:40:01.689000+00:00 to 2012-09-11 01:40:02.192021+00:0002:13
wgrantI wonder if it's pruning to -3 days02:13
wgrantAnd it also only looks at references up to -3 days02:14
wgrantHee hee02:14
wgrantYes02:14
wgrantThat explains a bit02:14
* StevenK can't convince his browser to show him the cached copy either02:14
wgrant    prune_until = datetime.datetime.now(utc) - one_week02:15
wgrant    references = finder.find_oops_references(02:15
wgrant        prune_from, prune_until, options.project, options.projectgroup)02:15
wgrant(I suspect one_week may be cowboyed)02:15
lifelessright, it only needs to look at references made after the oops was created02:16
StevenKRight, it pruned the only ArchiveSubscriptionError OOPS we had.02:16
StevenKWhich is just awesome.02:16
wgrantlifeless: Right, but it also only looks at references made until the pruning threshold02:16
wgrantlifeless: The start bound is correct02:16
wgrantThe end bound shouldn't exist02:16
lifelesswgrant: oh, should be now() ?02:17
wgrantRight02:17
lifelesswgrant: probably a bad cowboy02:17
lifelesshloeung: yo02:17
wgrantlifeless: No, it's in trunk02:17
wgrantMy paste was from trunk02:17
lifelesshloeung: unping02:17
lifelesswgrant: dow; can has fix ?02:17
wgrantConfirmed that neem has one_week cowboyed to be days=302:18
wgrantSo this explains it02:18
StevenKI wonder how many other OOPSes have been pruned that were referenced02:18
wgrantNot too many02:19
wgrantAnything referenced within 24h should be safe02:19
StevenKSo I'm guessing I should find something else to work on02:30
StevenKSince we don't understand what caused it, and the only OOPS we had has been deleted.02:31
jtvHi StevenK, wgrant — can I bounce a problem & solution for format-imports off you?02:36
StevenKformat-imports doesn't have problems, only bad input02:36
wgrantSure02:37
jtvStevenK: then try "from . import foo"  :)02:38
jtvBlows up.02:38
StevenKUse imp for that02:38
jtvimp?02:38
StevenKhttp://docs.python.org/library/imp.html#module-imp02:39
wgrantWhy use imp for that?02:40
jtvWhat William said.02:40
StevenKjtv: Django uses imp in it's manage.py02:41
jtvNot a reason in itself.  It also doesn't believe in database transactions.  :)02:41
lifelesswell02:41
lifelessso . is definitely local02:41
lifelessformat-imports just needs to be taught02:41
jtvThat's what I just did.02:42
jtvIn a nutshell: the first level of an import is either an identifier, or a series of dots.02:42
jtv(Previously: just an identifier)02:42
jtvAnd I list "." as one of the known local packages.02:42
jtvStill leaves ".." wide open, but watch me not care.02:43
jtvAny objections to that solution?  I'm implementing it in MAAS, but since the script was copied from LP, I'd like to share the fix.02:45
lifelessseems fine, I'd like that.02:46
bigjoolsStevenK: "its"02:46
lifelessWould MAAS use the script if it was in lp-dev-utils ?02:46
lifelessor would it still want a local copy ?02:46
jtvThank you bigjools :)02:47
bigjoolsjtv: I knew you'd be itching after reading it too02:47
jtvI was so proud of suppressing it.02:47
bigjoolshaha02:47
jtvlifeless: lp-dev-utils sounds like a better place.02:47
lifelessjtv: is there any delta between the scripts ?02:48
jtvBut maybe that's a separate issue; this is really just a distraction for me so I'm very much looking for a quick fix.02:48
* jtv checks02:48
lifelessjtv: if so, could it be made into data - a config file or something ?02:48
lifelessjtv: yes, it is a separate issue.02:48
jtvThere are several isolated changes.  :(02:49
jtvChanges the MAAS version makes compared to the LP version: http://paste.ubuntu.com/1203983/02:50
jtvOne of those is a typo fix in LP; the rest looks like modernizations in the maas version.02:51
mwhudsonhm, where has Y.lazr.activator.Activator gone03:22
lifelesslazr is gone gone gone03:23
mwhudsonyeah i saw that commit03:23
mwhudsonit broke my greasemonkey work item editor :)03:24
mwhudsonlp.ui.activator03:24
StevenKwgrant: Re: bug 966205, do you think it's sensible to delete all logintoken's on merge?05:12
wgrantBug #96620505:13
wgrantOh right05:13
wgrantThat one05:13
StevenKPrivate05:13
wgrantI'd just delete them all, yeah05:14
lifelesspurple, I have to run, C stuff; perhaps one of you could help #newbie in #bzr05:22
* StevenK tries to find the person merge tests05:24
StevenKwgrant: https://pastebin.canonical.com/74532/05:26
wgrantStevenK: There's no action there05:35
StevenKI thought it POST'd to the same URL05:36
wgrantRight05:37
wgrantBut I see no POST to the same URL05:37
StevenKOdd, since there was POST, the OOPS had it.05:39
wgrantWhat did you grep for?05:39
StevenK~thomas-guest/+archivesubscriptions/39008/+index05:40
wgrantWhy +index?05:40
wgrantThat wouldn't normally be there05:41
StevenKIt obviously was, there was three matches05:41
wgrantNone of which we were looking for05:41
wgrantSo I'd drop the trailing /+index05:41
StevenKwallyworld__, wgrant: https://code.launchpad.net/~stevenk/launchpad/remove-logintokens-on-merge/+merge/12433805:55
* wallyworld__ sad, conflict ahead05:56
StevenKwallyworld__: Oh?05:57
wallyworld__person-merge.txt - it's being nuked for new unit tests05:58
wallyworld__for a bug i'm ficing05:58
lifelessyay django05:58
lifeless  File "/home/robertc/source/launchpad/oops-tools/working/eggs/Django-1.4-py2.6.egg/django/contrib/auth/management/__init__.py", line 85, in get_system_username05:58
lifeless    return getpass.getuser().decode(locale.getdefaultlocale()[1])05:58
lifelessTypeError: decode() argument 1 must be string, not None05:58
StevenKwallyworld__: That's awesome, and sorry05:58
wallyworld__StevenK: no problem :-)05:58
wallyworld__no need to apologies05:58
wallyworld__bah, can't type05:58
StevenKwallyworld__: You aren't fixing the linked bug?05:59
wallyworld__no, i checked :-)06:00
wallyworld__i'm fixing 101997506:00
wallyworld__bug 101997506:00
_mup_Bug #1019975: AttributeError: 'NoneType' object has no attribute 'displayname'  requesting people merge <merge-deactivate> <oops> <regression> <Launchpad itself:In Progress by wallyworld> < https://launchpad.net/bugs/1019975 >06:00
wallyworld__fix is easy, but adding a test is a pain until i convert the doctest06:01
StevenKwgrant: 3 out of 4 appserver logs grepped, waiting for gac06:03
lifelessgrah06:12
lifelesswgrant: in your lxc travels, did you see lxc choosing POSIX as the locale, no matter what /etc/environment and /etc/default/locale say ?06:13
wgrantStevenK: Great06:17
wgrantlifeless: I don't believe so06:17
wgrantBy POSIX you mean C?06:17
lifelessno06:17
lifelessrobertc@lucid-test-lp:~$ locale06:18
lifelessLANG=06:18
lifelessLANGUAGE=06:18
lifelessLC_CTYPE="POSIX"06:18
lifeless...06:18
lifelessLC_IDENTIFICATION="POSIX"06:18
lifelessLC_ALL=06:18
wgrantWell that's odd06:18
lifelessI have en_AU etc available06:18
lifelesslanguage pack en base installed06:18
wgrantI could understand C06:18
wgrantBut POSIX is a bit odd06:18
StevenKlifeless: Not en_NZ? :-)06:18
lifelessof course, my environment outside of LXC is latin and klingon06:19
lifelessStevenK: habits.06:19
StevenKlifeless: tlh_LA ? :-)06:19
lifelessrobertc@lifeless-64:~$ locale06:19
lifelessLANG=en_AU.UTF-806:19
lifelessLANGUAGE=la_AU:tlh_GB:tlh:en06:19
wgrantOh06:20
lifeless$ LANGUAGE="en_US:en" LANG=en_US.UTF-8 ssh -A -X lucid-test-lp.local06:21
lifelessLast login: Fri Sep 14 06:21:22 2012 from lifeless-64.local06:21
lifelessrobertc@lucid-test-lp:~$ locale06:21
lifelessLANG=06:21
lifelessLANGUAGE=06:21
lifelessLC_CTYPE="POSIX"06:22
wgrantlifeless: You haven't changed sshd's AcceptEnv default or something?06:23
lifelesshah06:23
lifelessAcceptEnv LANG LC_*06:23
lifeless*I* did not set that.06:24
wgrantThat's normal06:24
wgrantThe default06:24
StevenK... Why is my LANG en_US.UTF-8 ? :-(06:24
wgrantStevenK: Because you're terrible06:25
wgrantMine is correct :)06:25
StevenKI'm trying to remember where it is set.06:25
wgrant/etc/default/locale, usually06:26
StevenKsteven@undermined:~% cat /etc/default/locale06:26
StevenKLANG="en_AU.UTF-8"06:26
StevenKsteven@undermined:~% echo $LANG06:26
StevenKen_US.UTF-806:26
lifelessthats the same kind of FUNK I'm seeing06:26
lifelesshttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=33050006:32
lifelessis looking similar06:32
wgrantYeah, but that one's from 200506:32
wgrantIf it's the one I just looked at06:32
wgrantAnd SSH should be overriding that06:32
lifelessssh was present in that bug06:34
lifelessand message 65 says it still happens06:34
wgrantHm, true06:34
StevenKwgrant: https://pastebin.canonical.com/74533/06:45
wgrantStevenK: Right, that makes a bit more sense06:48
wgrantThough the +index bits are suspiciously missing now06:49
lifelessoh charming06:52
lifelessfor some reason I've ended up with django 1.4 in my oops-tools setup06:52
lifelessrather than 1.3 which I think it was running06:52
StevenKwgrant: So it doesn't look like a race06:53
lifelessImproperlyConfigured at /oops/06:53
lifelessError importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"06:53
wgrantStevenK: Right, as expected06:57
wgrantI knew it couldn't be, but evidence is good :)06:58
StevenKwgrant: So then I should be able to trigger it with a test case. :-(06:59
wgrantStevenK: Yes, if it's correctly set up06:59
StevenKwgrant: But I still don't get it -- both methods back onto IArchiveAuthTokenSet.getActiveTokenForArchiveAndPerson()07:02
StevenKHmmm07:08
StevenKI wonder if there is a value that date_deactivated can be set to that isn't None07:10
czajkowskimorning07:20
adeuringgood morning09:02
=== adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: adeuring | Firefighting: - | Critical bugs: ∞
dpmhi adeuring, would you have time to review https://code.launchpad.net/~dpm/launchpad/translations-exporter/+merge/124373 ? Thanks!09:58
adeuringdpm: sure, I'll look09:58
dpmexcellent, thanks!09:59
StevenKdpm: You can validate the distroseries by using getUtility(IDistributionSet).getByNameOrVersion()10:56
StevenKI think.10:56
StevenKI'm a little fuzzy on the details10:56
dpmStevenK, ah, great, will look into that, thanks for the feedback!10:56
StevenKSorry, getUtility(IDistroSeriesSet).findByName()10:57
StevenKThe first one is for finding distributions10:57
dpmok10:58
mpthrm11:17
mptI know there's a bug report about "Can't search for the absence of a bug tag", but I can't find it11:17
mptIt's not in <https://bugs.launchpad.net/launchpad/+bugs?field.tag=bugtag>11:18
mptoh, it's bug 81575, Fix Released11:20
_mup_Bug #81575: no way to search for absence of a tag <bugtag> <lp-bugs> <oem-services> <ubuntu-qa> <Launchpad itself:Fix Released by allenap> < https://launchpad.net/bugs/81575 >11:20
* mpt scours the search form again11:20
mptaha, "To search for the absence of a particular bug tag, place a minus sign before its name: e.g. -test"11:21
adeuringdpm: comment sent. Ping me if you have any questions11:36
adeuringdpm: LP "censored" much of the replay. Use the "download full text" link11:42
dpmthanks adeuring. I can't see any more text in the downloaded text file than the textbox in LP, though.11:43
adeuringdpm: weird... But the mail you'll get sould be complete ;)11:44
dpmadeuring, hm, the mail has exactly the same text as the textbox and the downloaded link, nothing additional11:44
adeuringdpm: maybe I am too stupid to find all of my own comments in the web browser. WHat I don't see in the web browser is your Python code with some comments from me.11:46
dpmadeuring, ah, wait, I was missing the inline comments in the diff, sorry, all good, now. Sorry...11:46
adeuringnp ;)11:46
dpmadeuring, thanks a lot for the detailed review. Who should I best talk to to go past the "thou shalt not increase the LOC count for.." step?11:47
adeuringdpm:  get some support first (the admins would probably appreciate a cron job, i assume), then talk with flacoste11:49
czajkowskidpm: do you know who the team leads are?11:50
czajkowskidpm: bigjools, sinzui gary_poster|away jam gmb11:51
cjwatsonczajkowski,dpm: https://dev.launchpad.net/PolicyAndProcess/MaintenanceCosts says "needs a waiver from the LP Project lead or CDO Technical architect "11:52
cjwatsoni.e. Francis or Robert11:52
czajkowskicjwatson: nods11:52
lifelessI'll grant a waiver11:54
lifelessthis code already exists in the wrong place11:54
lifelessits not adding debt to move it into LP11:55
lifelessdpm: ^11:55
lifelessits reducing debt by getting it into the right place.11:55
czajkowski:)11:55
dpmthanks lifeless11:55
rick_h__dammit, buildbot is starting to get on my last nerves.11:56
=== gary_poster|away is now known as gary_poster
rick_h__ok, so how did rev 15954 land when it's got a broken test in it I hit in both of my ec2 test runs? /me is so confused12:09
rick_h__sinzui: it looks like the doctest cleanup in https://code.launchpad.net/~sinzui/launchpad/mailman-email-addresses/+merge/124273 breaks the doctest because it removes list_four but there's another test using it. Shold that bit just be reinstated ok?12:12
sinzuidamn12:13
sinzuiyes12:13
sinzuiI was going to rewrite that as unittests to day too12:13
sinzuioh well12:13
rick_h__how could the change have landed with a broken doctest in there though?12:14
rick_h__sinzui: ok, added it back in and test passes, going to submit it as a testfix12:17
sinzuiYou are a life saver12:18
cjohnstonIt looks like LP has changed where it stores text for some pages now, any idea where the text for goo.gl/O4CQ4 might be located now12:33
cjohnston?12:33
czajkowskicjohnston: rather than starting mid sentence, perhaps explainign what you are doing and what is wrong12:38
cjwatsoncjohnston: lib/lp/blueprints/interfaces/specificationsubscription.py12:39
cjohnstonTrying to change the text, it's not there.. Based on the conversation I had on the mailing list in the past12:39
cjwatson(I grepped for 'Participation essential' and it was the first of a small number of hits)12:39
cjohnstonthanks cjwatson.. I guess grepping half the sentence was what got me. :-/12:43
rick_h__sinzui: sorry, but I evidently fail. I've tried to submit this with pqm-submit and lp-land and not getting any email/pqm action I can see12:48
rick_h__sinzui: can you see if you can push https://code.launchpad.net/~rharding/launchpad/testfix_message_holds/+merge/124405 through lp-land as testfix please?12:48
sinzuiokay12:51
* rick_h__ is about to start tossing things out windows gah!12:51
sinzuirick_h_, I think I have a note about the obscure bzr pqm syntax to submit other peoples branches.12:52
rick_h__I had thought that  bzr lp-land --testfix --no-qa https://code.launchpad.net/~rharding/launchpad/testfix_message_holds/+merge/12440512:53
rick_h__would do the thing12:53
rick_h__but no success or fail email so I'm not even sure I guess that it's getting there12:53
sinzuirick_h_ try this12:53
sinzuibzr pqm-submit -m "[testfix][r=sinzui] Revert doctest."12:54
* sinzui is watching https://pqm.launchpad.net/ for old-time sake12:55
sinzuipqm saw it12:56
sinzuiThat it. Today I am taking a torch and pitchfork and raising an angry mob on mailing list doc tests12:57
rick_h__yay the pqm gods have accepted my offering13:02
nigelbWhat sacrifice did you offer? A whale? ;)13:02
sinzui:)13:03
rick_h__10 pqm-submits and a "@$#@$@ you"13:03
nigelblol13:03
abentleyadeuring: Here is an example where the web UI cannot protect you from entering disallowed values: https://blueprints.qastaging.launchpad.net/specs/+new13:15
adeuringabentley: do you mean that "embargoed" might be undesired/invalid? Or that somebody crafts the POST request manually to send USERDATA or whatever else?13:17
abentleyadeuring: I mean that "embargoed" may be undesired/invalid.13:18
adeuringabentley: anyway, transititonToInformationType() should check that the new value is valid13:18
adeuringabentley: ok, if EMBAGOED is undesired, we should not present it to the user13:18
abentleyadeuring: We don't know that it's undesired at the time we present it to the user.  Look at the form.  One of the inputs is "target", which is the project or distro.13:19
abentleyadeuring: Where we know it's undesired, we hide it, of course.  This is an example where we cannot do that.13:20
abentleyadeuring: (target is listed as "For: The project for which this proposal is being made."13:20
adeuringabentley: ah, sure. But we can (1) add a a warning to "Only shared with users permitted to see embargoed information. " that this might not work, and (b) if the value is selected but not usable, we should show an error.13:21
abentleyadeuring: My point is that we are currently showing an error-- an OOPS.13:21
adeuringabentley: sure, that's bad. But getting undesired data into the DB is bad too13:22
abentleyadeuring: Right, but an assertion due to a missing AccessPolicy is the wrong way to defend against that.13:24
adeuringabentley: the other artifacts raise a dedicated exception13:25
adeuringwe can do that too13:25
adeuringfor spec13:25
abentleyadeuring: When deryk's code lands, we'll have that.  Until then, I don't know if I can QA my code.13:27
adeuringabentley: so what should we do?13:27
abentleyadeuring: There's no way to add an access policy on qastaging, right?13:28
adeuringI don't know13:28
adeuringMy guess is: create a product which uses EMBAGOED for bugs too13:29
abentleyadeuring: Oh, yes, that might work.13:29
deryckrick_h_96, rick_h__ rick who?  ping for standup.13:31
rick_h__deryck: I'm in there?13:31
rick_h__or not...13:32
abentleyderyck, adeuring: private & embargoed blueprints break the front page: https://blueprints.qastaging.launchpad.net/14:20
deryckabentley, oh, ouch.  that's a bad one.14:21
abentleyderyck: Blocker for the beta?14:21
adeuringseems that we need to filter properly...14:22
deryckabentley, yes, we should fix that first.  but let's make that fix the priority.14:22
jcsackettsinzui: i am looking at bug 808952 and wondering, is there any reason we haven't exposed all Message types on the API?14:22
_mup_Bug #808952: NoCanonicalUrl using api to fetch bug comments <api> <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/808952 >14:22
deryckabentley, do you want that one next, or shall I?14:23
abentleyderyck: Could you?  I'm still on QA.14:23
deryckabentley, I absolutely can.  I likewise am not free yet.  Still fixing a couple tests.  But when I get free I can take it next.14:23
sinzuijcsackett, we only expose those that are needed. I think this case is differnt though14:24
sinzuijcsackett, Our views can show objects without a canonical url, but the api requires that we define one, and that Lp provide the objects consistently to make the url14:25
jcsackettso you think we should update the API to handle situations more like our views?14:26
sinzuino14:27
sinzuiI am saying that comments do not match what we put in the zcml14:27
sinzui        <browser:url14:27
sinzui            for="lp.bugs.interfaces.bugmessage.IBugComment"14:27
sinzui            path_expression="string:comments/${index}"14:27
sinzui            attribute_to_parent="bugtask"14:27
sinzui            rootsite="bugs"/>14:27
sinzuijcsackett, I think bug 210821 might be easier to fix. We know the portlet that shows the active project. I think we can walk backwards to find the code that put there14:29
_mup_Bug #210821: bug tracker list shows inactive projects <404> <bugwatch> <lp-bugs> <qa-ok> <trivial> <Launchpad itself:Triaged> < https://launchpad.net/bugs/210821 >14:29
jcsackettsinzui: fair.14:30
=== james_w` is now known as james_w
abentleyderyck: I'm done QA for now.  Shall I work on the front page query so you can work on the blog post?15:00
deryckabentley, if you have the bandwidth, I would appreciate that!  I'm still fighting trying to figure out why a test is failing too.15:01
abentleyderyck: Okay.  I'm also filing a bug and adding a card.15:01
deryckabentley, I added a red card, but didn't file a bug yet.15:02
abentleyderyck: ack15:02
abentleyderyck: What do you think about hiding Proprietary/Embargoed from the front page entirely, even if you have permission to see them?  Would be a simpler fix.15:04
deryckabentley, I was going to take that approach.  simple and naive for now.15:05
abentleyderyck: Cool.15:05
deryckabentley, other lists will need more care, but the top-level page can just be public stuff.15:05
deryckabentley, also we're okay about other lists breaking, it's how we've been releasing this other stuff, and we can fix those later.....15:05
deryckabentley, this one is a beta blocker because it would affect everyone.15:06
abentleyderyck: Agreed.15:06
deryckcool15:06
deryckabentley, while we're chatting... :)  I'd appreciate your second eyes on this test:  http://pastebin.ubuntu.com/1204931/15:06
deryckabentley, it's breaking for me on line 5.  the match_it is in setUp and looking for field.information_type.....15:07
deryckabentley, I have no idea what I changed to break it, and looking in the browser manually I see that field.15:07
deryckabentley, am I understanding what it's trying to test?  Something else I should look at?15:07
abentleyderyck: I thought match_it was for the information type in the privacy banner?  And the privacy banner isn't displayed for PUBLIC.15:08
deryckabentley, ah, ok.  So maybe a bad test then.15:08
deryckabentley, the test class is TestNewSpecificationInformationType15:09
deryckand then goes through each target in a small test like this.15:09
abentleyderyck: No, I was confused.  match_it matches the field, not the banner text.15:11
abentleyderyck: Are you sure the field is displayed?  For a project with only PUBLIC blueprints, it wouldn't be.15:12
deryckabentley, ah, ok.  I looked wrong.  I had a test project which was proprietary.  Sorry.  I see now....15:13
deryckI can fix it to test that it's Not match.15:13
abentleyderyck: No, I think the test needs to change so that the Specification policy defaults to public but permits proprietary.15:14
deryckabentley, ah, gotchas.  ok.15:15
abentleyderyck: And in a later branch, we should add tests to ensure that the rest of the defaults work.  For the "Use sharing policy default for creating specs" card.15:16
deryckabentley, agreed.  sounds good.15:17
deryckabentley, thanks for the help!  I can move forward again, yay! :)15:18
abentleyderyck: np.15:19
abentleyderyck: I'm not sure I'll be able to QA this bugfix because the qastaging front page was already timing out.15:20
deryckabentley, ok.  I guess test as good locally as possible.15:21
deryckabentley, well, if it times out again though, you can consider it fixed. :)15:21
abentleyderyck: Yes.  Theoretically, I could have added unacceptable delay to the pageload, though.15:22
deryckoh right15:22
=== fjlacoste is now known as flacoste
abentleyrick_h__: Does this error look familiar? http://pastebin.ubuntu.com/1204999/15:36
rick_h__abentley: looking15:43
rick_h__abentley: yea, that's the testfix from this morning15:43
abentleyrick_h_: So merge and resubmit?15:44
rick_h__abentley: rgr15:44
abentleyrick_h_: Actually, since that's the only failing test I'm gonna do a straight lp-land once I'm sure it's fixed.15:44
rick_h__abentley: yea sounds good. It's running through buildout now so should be clear by EOD15:45
=== Ursinha` is now known as Ursula
* nigelb wonders why gmail thinks mail from francis is spam :P16:02
=== Ursinha is now known as Ursinha-afk
=== Ursula is now known as Ursinha
=== matsubara is now known as matsubara-lunch
rick_h__jcsackett: ping, got a sec?17:00
jcsackettrick_h__: i think you just pinged me, but could be stale message as my bouncer just reconnected.17:04
=== adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ∞
=== matsubara-lunch is now known as matsubara
=== Ursinha is now known as Ursinha-lunch
abentleybac: are you OCR today?17:39
abentleyderyck: Could you please review https://code.launchpad.net/~abentley/launchpad/fix-blueprints-home-with-proprietary/+merge/124485 ?17:41
deryckabentley, sure.17:41
deryckabentley, looks good, thanks.  r=me.17:44
abentleyderyck: I've determined that with my fix, the search results and "completed" list also behave properly.18:34
abentleyderyck: However, "meetings" are broken by PROPRIETARY specs.  Bug 105102918:34
_mup_Bug #1051029: PROPRIETARY specifications break meeting listings <Launchpad itself:Triaged> < https://launchpad.net/bugs/1051029 >18:34
deryckabentley, ok, thanks for checking all that18:48
deryckabentley, I think we can live with that bug until we can get to it18:48
abentleyderyck: Agreed.18:49
deryckcool18:49
abentleyderyck: I suspect we're going to have this issue with Product, ProductSeries, Distribution and DistroSeries, too.18:49
abentleyrick_h__: What's the status of lp:~rharding/launchpad/lp_cache_update into lp:launchpad?  I'd like to use json_dump_information_types.19:55
rick_h__abentley: it should be coming. I got the ec2 success email just a bit ago19:56
abentleyrick_h_: excellent.19:57
rick_h__deryck: ping20:03
deryckhi rick_h__.  sup?20:03
rick_h__deryck: just fyi, I can't find any reason for the js timeout error. jcsackett couldn't replicate it and I ended up tossing it at ec2 agin20:03
jcsackettrick_h__: that's a weird one.20:03
rick_h__if you get a chance to look you'd be another set of eyes, but fyi I did get a second look and nothing seems odd to praying to the ec2 gods20:03
rick_h__just a heads up while I go run away for EOD20:04
deryckrick_h__, sorry man.  I looked briefly and didn't see anything.  and spent most of the morning fixing my tests.  meant to come back, but switched to other stuff and forgot.20:05
rick_h_droidunderstand, not a problem20:06
deryckheh20:06
deryckthese are not the rick_h's you seek20:07
abentleyrick_h__: It hasn't landed yet, and the PQM queue is empty.  I don't think it's going to land without further effort.20:08
rick_h__abentley: looking20:08
=== salgado` is now known as salgado
rick_h__abentley: ok, wtf. email says sumitted to pqm, I've got nothing from pqm that says it was/wasn't happy20:15
rick_h__so going to lp-land it and see what we get I guess20:16
rick_h__is pqm having issues today? This morning it wasn't responding to my lp-land and looks like it's not again20:22
rick_h__abentley: ok sorry but I've got to get the boy before the babysitter arrives in 30. I do see it in pqm, so will wait to see if it succeeds/fails for some reason20:23
rick_h__abentley: but ec2 tests pass and dammit I'll get through pqm/buildbot if I've got to fly to london and throttle some hardware20:24
abentleyrick_h__: I've unblocked myself by making your branch a pipe in my pipeline.20:24
abentleyrick_h__: And of course, now it's merged.20:25
sinzuirick_h_: use the force...21:12
sinzuibzr pqm-submit -m "..."21:12
=== matsubara is now known as matsubara-afk

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