/srv/irclogs.ubuntu.com/2005/07/10/#launchpad.txt

dafright, source packages are magic12:04
kiko    def __init__(self, sourcepackagename, distrorelease=None,12:04
kiko                 distribution=None):12:04
dafbut that magic stops at a certain level12:04
dafwhat's that from?12:05
dafSourcePackage?12:05
kikoyes12:05
kikothat's my point12:05
dafthe difference is that we actually have a DB table called BinaryPackage, n'est pas?12:05
kikoyes, that's true12:06
kikoso you're proposing a BinaryPackageSubSet?12:06
kikohmmm12:06
dafmaybe12:06
dafthese things are a bit odd12:06
kikoBinaryPackageSetInDistroRelease12:06
kikoyeah12:06
dafso best avoided if possible12:06
kikomaking pages without nice content objects is a bit sucky though12:06
dafyeah, something like that might be better12:06
dafright12:07
kikowould you support renaming database/ content/12:07
dafhmmmm12:07
kikogiven SourcePackage and other non-DB cruft accumulating there? :-)12:07
dafthe "database" code does a lot more than just DB access12:07
dafso "content" is more accurate, I guess12:07
kikoI thought so too12:08
kikowe'd call them domain/ at Async12:08
dafthe other option is to have both database/ and content/ and have the DB layer kept very thin12:09
dafthis was the original plan about a year back, I think12:09
dafbut it never worked out that way12:09
kikothe sab was against it 12:10
dafand I think it might be tricky to keep them separate12:10
kikoit was a lot of glue code, too 12:10
dafwe have moved stuff out of database/ before12:10
dafhmm12:10
dafthen again, I can't think of an example12:11
dafunless the traversal code used to live in there12:11
dafyou can make the DB code lighter if you use adapters12:12
dafbut the sab isn't too keen on those either12:12
kikoindeed12:13
dafanyhow12:13
dafthe source package stuff should be easy12:13
dafthe binary package URL code should be easy12:13
dafthe binary package fetching code is a bit more mysterious12:13
kikoyeah12:14
kikohmmm12:14
lifelessmorning all12:14
kikolifeless!12:16
kikohow goes it?12:16
lifelessask me in an hour ;)12:16
lifelessneither caffeine nor food have touched me yet12:16
kikolifeless, my merge failed, any change you can do a 0-minute look into it?12:18
kikoI'd like to run home soonish..12:18
lifelesskiko: sure12:21
lifelesskiko: what error did you get ?12:21
=== sabdfl [~mark@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad
lifelessddaa: how goes it ?12:25
ddaalifeless: grrrr I just sent my activity report, you're making me work off-hours ;)12:25
ddaaTalked with Keybuk. I think I finally understand what ftp details are all about.12:26
kikolifeless, you got email!12:26
ddaaWe can be much more liberal with creating series than I first thought.12:26
ddaaAlso, I understand http ftp details12:26
lifelessgood12:27
lifelesskiko: I do ?12:27
kikolifeless, you should have received 2 mails I sent to you earlier12:27
kikoif you didn't, let me know12:28
ddaasabdfl: I understood you were interested in funding a bounty for a subethaedit-like editor.12:30
sabdflddaa: yes12:30
ddaaSo, I think I should let you know...12:30
ddaaI've been working on such a thing on my spare time for a few weeks.12:30
ddaaIt's not yet release though.12:30
sabdflddaa: ok, thanks for letting me know12:31
sabdflin general i want bounties to bring new people into the project though ;-)12:31
ddaaI'll mail you, jdub and a couple of potentially interested guys once I release it (it just needs a few refactorings before that).12:32
ddaaI'm sure you're going to love the technology :) Python, Twisted, GTK, lotsa test cases etc.12:34
lifelesskiko: helps when I don't delete a random digit from the fingerprint12:35
lifelesskiko: try now12:35
=== kiko laughs
lifelesshey, proved the security works, no ?12:39
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
kikoI lost my commit message12:40
=== kiko cries
lifeless'history'12:40
kikoit's gone12:40
kikosent again12:40
lifelessmail queue ?12:40
=== kiko crosses fingers
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
kiko-zzzlifeless, let me know if it looks bad12:42
lifelesskiko-zzz: it will mail you directly12:43
kiko-zzzI know12:46
sabdflhey stub12:47
stubMorning12:47
lifelessomg12:47
lifelessstub in the morning!!!12:48
kiko-zzzheh12:48
lifelessstub: dude, any day to work from here is fine12:48
stubKiko gets to see me grumpy-before my-coffee instead of grumpy-im-up-too-late12:48
stublifeless: I won't be coming up - need to look after the sick wifey (and I might be contagious too)12:49
ddaastub: janitorial db request12:49
lifelessstub: ok12:50
ddaaplease wipe out all productseries in the "unassigned" and "duplicates" productseries. You can nuke the the "unassigned" and "duplicates" products and the "do-not-use-info-import" project while you are at it.12:50
sabdflstub: after coffee, could you check out shift-potemplates-to-branches patch-74 please?12:50
=== mdke [~matt@mdke.user] has left #launchpad []
lifelesssabdfl: I've found the dragons btw.12:54
lifelesssabdfl: ... in the libarch codebase. This last set of code has been very hard slogging - I feel like I've melted my brain down.12:55
sabdfllifeless: the snakepit12:56
lifelessyes12:56
lifelesshaha. my current patch size:01:02
lifeless287 files changed, 16926 insertions(+), 3513 deletions(-)01:02
lifelessmm, take out 5K adds for patch logs.01:03
lifeless10000 insertions01:03
sabdfllifeless: it would be nice to be able to get something out of baz that can sanely be fed to diffstat01:06
lifelesssabdfl: absolutely. Its on the todo. I wonder if Matthieu would like to do it, its right up his alley.01:07
sabdflstub: hope the wifey recovers smoothly01:08
kiko-zzzlifeless, how's my merge going?01:09
lifelesskiko-zzz: its building baz now, so I'd say your merge did its thing and you should have mail01:10
lifelessactually, you are in the queue still01:10
=== kiko-zzz waahs
kiko-zzzI'm going home!01:11
sabdflnight kiko-zzz01:13
sabdfllifeless: i ran out of disk space today01:13
ddaakiko-zzz: I did not know you where hacking on baz now :)01:13
sabdfl9.3g of .arch-revlib01:13
lifelesssabdfl: yup01:13
sabdflwhat's the plan to make baz less wasteful again?01:13
lifelesssabdfl: the win32friendlyformat library will store one and only one copy of each text, regardless of order of add01:14
lifelessWin32FriendlyFormats on the arch wiki.01:14
ddaasabdfl: did you give library-relink a try, in the meantime it's handy (and has other added bonuses)01:14
lifelesssabdfl: it can be built when I've finished the current set of work - all its dependencies should be in place.01:14
sabdflstub: ok, all tests pass, just waiting for a HALT or a db patchnum from you01:14
=== stub fires off baz switch
sabdflddaa: you mean rm -rf ~/.arch-revlib/*.com* ?01:15
dilysNew Malone bug 1230 filed on product Bazaar by Robert Collins: baz diff <other branch> output is useless for diffstat01:15
dilyshttps://launchpad.ubuntu.com/malone/bugs/123001:15
lifelesssabdfl: there is a python script that ddaa is referring to that ensures you are optimally using the revlib01:16
lifelesssabdfl: it can give very significant savings01:16
sabdfllifeless: where's that at?01:16
lifelessddaa: do you have the coordinates ?01:16
ddaasabdfl: http://push.sourcecontrol.net/archives/aaron.bentley@utoronto.ca--baz/library-relink--devel--101:17
lifelesssabdfl: not sure offhand, if ddaa isn't either I'll ... there you og01:17
ddaaI was just assembling them :)01:17
ddaaYou can expect a 50% shrink in your revlib disk usage with that.01:17
ddaaAnd it also makes merges faster.01:18
stubsabdfl: Landing that patch will break staging until we sort the production data01:18
ddaause hardlinked source trees to make working on launchpad actually bearable.01:18
sabdflstub: is there any production data that will break this?01:18
sabdfldaf couldn't find any01:18
ddaa(when working on launchpad, here baz is cpu bound, since I switched to hardlinked trees and a well-linked revlib)01:18
stubsabdfl: Two productseries01:19
sabdflstub: which ones?01:19
stub(21:42:29) stub: sabdfl: There are only two01:19
stub(21:42:31) stub:  ddtp-ubuntu | ubuntu01:19
stub(21:42:31) stub:  drupal      | main01:19
stub(21:42:45) stub: (product.name | productseries.name )01:19
sabdflstub: nup01:19
sabdflboth of those are fine01:19
sabdflthey have multiple templates, but all on the same release01:20
stubok. I'll run it against staging once my switch has finished01:20
sabdflso they will all map nicely to a single productseries01:20
stubThey do? 01:21
=== stub looks at his query again
stuboh get stuffed no space on device01:22
kiko-zzzheh01:24
kiko-zzzstaging server shutdown Tue Jul 5 00:21:56 BST 200501:25
kiko-zzzTraceback (most recent call last):01:25
kiko-zzz  File "scripts/pgmassacre.py", line 57, in ?01:25
kiko-zzz    os.kill(pid, signal)                     01:25
kiko-zzzOSError: [Errno 3]  No such process01:25
kiko-zzzFailed to destroy existing launchpad_staging database01:25
kiko-zzzlifeless, ddaa: what do I do when I get a bunch of01:26
kiko-zzzkiko@lozenge:~/devel/rocketfuel/launchpad/sourcecode/pygettextpo$ baz status --lint01:26
kiko-zzzDuplicated ids among each group of files listed here:01:26
kiko-zzz[...] 01:26
kiko-zzzit's on pygettextpo, which I don't ever commit to01:27
ddaayou try to make sense of it and you remove the offending files/ids01:27
=== kiko-zzz will remove IDs and pray
ddaaanyway, you had a bad mrege01:27
ddaait breaks that way when it has conflicting file additions01:28
kiko-zzzbut I only do updates on that tree..01:28
ddaasounds unlikely...01:28
sabdfli've had that before01:28
kiko-zzzit's a pygettextpo tree01:29
kiko-zzzrocketfuel@canonical.com/pygettextpo--devel--001:30
kiko-zzzstub, heads up on nightly.sh error outputs01:30
kiko-zzznow update gives me conflicts, whee01:31
lifelesskiko-zzz: wowzers01:31
lifelesskiko-zzz: do an undo -n01:31
kiko-zzzyeah, doin01:32
sabdflwhat's -n?01:32
lifelessdont save the output01:33
lifeless'--no-output'01:33
stubkiko-zzz: Yup. I'll have to fix pgmassacre.py - it is supposed to be bulletproof.01:35
kiko-zzzstub, also the failure for the linkchecker01:35
lifelessgoing to greasy spoon for brekkie and more changeset brain surgery.01:36
lifelessbbiab01:36
stubAhh... I think there were too updates running simultanously ;-/ 01:37
kiko-zzzhow can that have been?01:37
ddaanight guys01:38
stubLinkChecker locking or running 24hours+ - I've been tweaking it but might be making things worse rather than better.01:39
kiko-zzzweird.01:39
sabdflstub: patch ok?01:53
sabdflkeen to crash, it's late-ish01:53
stubsabdfl: My revlib is repopulating01:54
sabdflstub: ok01:54
jameshsabdfl: I've marked your debbugs branch as merge-conditional, so if you've addressed the issues in my last review you can submit the merge02:09
sabdfljamesh: last review?02:10
jameshsabdfl: mostly the stuff you already replied to.  I just sent a reply to that clarifying the linkMessage() issue I mentioned02:11
stubAlmost there.... stay on target...02:11
cprovjamesh: hi, there, don't forget gpg-ng, let's merge it tomorrow ... I'm back to buildd which is also in your queue, maybe tomorrow (ohh), but this is a very long and hard review, prepare yourself. I need to go, thank you for care and patience. 02:18
jameshI sent a review for it yesterday02:18
jameshdisapeared :(02:19
sabdfljamesh: looks good i'll update the implementation02:19
=== asgeirf [~asgeirf@203-206-229-169.dyn.iinet.net.au] has joined #launchpad
sabdflstub: i'm packing it in, will be up again in a few hours and land it then after your comments02:41
stubsabdfl: ok. 02:42
=== sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad []
dilysNew Malone bug 1231 filed on product The Launchpad by Matthew Paul Thomas: http://launchpad.net/ goes to the wrong place04:14
dilyshttps://launchpad.ubuntu.com/malone/bugs/123104:14
dilysNew Malone bug 1232 filed on product The Launchpad by Matthew Paul Thomas: Can't log in to launchpad.net04:22
dilyshttps://launchpad.ubuntu.com/malone/bugs/123204:22
dilysMerge to rocketfuel@canonical.com/dists--devel--0: [trivial]  New production config (patch-94: stuart.bishop@canonical.com)05:43
stublifeless: tag of production--1.24 hasn't taken - mirror not mirroring I suspect.05:53
dilysNew Malone bug 1233 filed on product Malone by Matthew Paul Thomas: CVE reference editing page has bad title05:58
dilyshttps://launchpad.ubuntu.com/malone/bugs/123305:58
lifelessstub: done06:07
mptyow, chinstrap.ubuntu.com hits the trifecta of Things That Can Be Wrong With a Security Certificate06:14
mpt* expired06:15
mpt* unknown CA06:15
mpt* wrong host06:15
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  linkreport.py tweaks (patch-2011: stuart.bishop@canonical.com)06:16
jameshmpt: unknown CA isn't necessarily a sign that something is wrong06:50
jameshof course, we could install a "Canonical" CA cert with Ubuntu :)06:50
jameshstub: do you mind if I leave the "start date" column in the calendar as "dtstart"?07:14
jameshstub: that's the name used in the iCalendar spec07:14
stubjamesh: If it matches the iCalendar spec, yes. I only changed it because it better matches our existing column names.07:15
jameshstub: also, my code currently treats a NULL timezone name as UTC.  Would you prefer that I make the column NOT NULL, and set the column to 'UTC' for existing data?07:19
stubjamesh: Probably better keeping it NULL for now - this way we can tell apart users who have set their timezone to UTC, and users who haven't set their timezone.07:21
stublifeless: I'll rollout the next production release now07:25
lifelessk07:29
mptjamesh: confirmation alert == wrong :-)07:30
jameshmpt: so we should fix our mozilla-firefox packages not to display the alert?07:30
mptperhaps07:30
mptthe whole SSL trust model is daft07:30
jameshmpt: the hostname issue is a real problem: https://bugzilla.ubuntu.com/show_bug.cgi?id=127807:31
=== mpt wonders why "Log Out" isn't working
jameshthe certs need to have a subjectAltName field listing the additional DNS names used by each server07:31
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
mptwell, that didn't work07:35
stubhttp://bazaar.canonical.com/packages/debs/./Release: Unable to find expected entry  Sources in Meta-index file (malformed Release file?)08:02
SteveAmorning08:19
SteveAwhy can't i mark this bug fixed? https://launchpad.ubuntu.com/products/launchpad/+bugs/1193/+edit08:35
SteveAi get a system error when i try08:35
jameshSteveA: by the way, your launchpad--unittest-authentication--0 branch has been sitting unmerged for a while.08:54
stubSteveA: Try again - I still had rollout stuff to finish off08:55
SteveAjamesh: yeah, i discovered that it probably isn't needed.08:56
jameshoh?08:56
SteveAthere may be an equivalent facility already available in the unit testing machinery.08:56
SteveAbut, i need to check this out.08:56
SteveAthanks for the reminder anyway08:56
SteveAstub: hmm... a problem08:57
stubSteveA: Hmm.... an unhelpful hmm....08:59
=== SteveA gets a screenshot
SteveAhttps://chinstrap.ubuntu.com/~stevea/malone.png09:00
SteveAI have a [save changes]  button, but no means to make any changes09:01
SteveAseems to be a regression from just before that roll-out09:01
SteveABjornT, mpt: is that how it is supposed to look?09:01
mptno09:02
=== mpt blames kiko-zzz because he's asleep
mptand also because he's the only one who touched the task page recently, afaik09:03
SteveAwell, it's screwed, and i can't close bugs09:03
stubA regression from Friday you mean09:03
mptSteveA: oh, you're logged in but you can't edit?09:04
mptthat's bad09:04
SteveAyeah, look at the screen shot09:04
SteveAstub: a regression from production 1 hour ago09:04
stubYup, which was tagged from Friday's code09:04
stubHeh... *I* can edit it ;)09:05
SteveAWTF would it give me a [save changes]  button, but nothig to change?09:05
stubAnd I don't know why - you are an administrator of both the launchpad and the admins teams, just like me09:05
mptbecause someone put the button outside a tal:block by mistake09:05
mptpossibly09:05
=== mpt looks
stubArgh - I take that back09:06
=== stub gets a system error submitting
mpt<div class="actions" tal:condition="context/required:launchpad.Edit"><input type="submit" ... value="Save Changes" ...>09:08
stubAhh... but I know about that and can fix09:08
=== stub inserts the KarmaAction data
stubok - I can happily close that bug09:09
=== BjornT could edit it
SteveAaha09:10
mptI can't, but I still get the button09:10
SteveAi see what is happening09:11
SteveAhttps://launchpad.ubuntu.com/products/launchpad/+bugs/119309:11
SteveAnote the URL09:11
SteveAi get a [save changes]  button09:11
SteveAbut no opportunity to make changes09:11
SteveAhttps://launchpad.ubuntu.com/products/launchpad/+bugs/1193/+edit09:11
SteveAI can edit09:11
SteveAlooks like the default view was changed to "viewing" not "editing", but someone left a button in there09:11
mptso that tal:condition is wrong09:11
SteveAalso, when i press "save changes", nothing *appears* to happen09:12
SteveAthat is, the page re-renders exactly the same as before09:12
SteveAi'd expect to be taken to a "view" page09:12
SteveAwhere i can see the effects of my changes09:12
jameshpossibly it is using required:launchpad.AnyPerson instead of required:launchpad.Edit09:12
SteveAor at least have a message saying "your changes have been made"09:12
BjornTyeah, i noticed that as well09:12
mptjamesh: no, see above09:13
BjornTSteveA: did change it to fixed?09:13
SteveAyes09:14
SteveAand i received an email about it09:14
BjornTi got an mail saying that stub changed it to fixed, so it could be that we edited it at the same time :)09:14
BjornTyeah, now when i edited it i got a message saying so09:15
stubI changed it to fixed09:15
stub(and was first)09:15
SteveAhttps://launchpad.ubuntu.com/products/launchpad/+bugs09:16
SteveAthis table is odd09:16
SteveAit looks as if the id of bugs is a checkbox09:16
SteveAand the severity is a number09:16
SteveAmpt: is this wrong for you too?09:17
SteveAthe title column is small09:17
SteveAah --09:17
mptyes, that's wrong09:17
SteveAbasically, the checkbox column is not reflected in the table heading09:17
SteveAso it's screwed09:17
mptThe checkbox column isn't supposed to have a heading09:17
mptAny heading it could possibly have would make the column far too wide09:18
mptThat's why I combined the heading for the checkbox column and the next column09:18
mptand now someone's busted it09:18
SteveAnbsp ?09:19
SteveAhttps://launchpad.ubuntu.com/products/launchpad/+bugs09:19
SteveAusability problems here09:19
SteveAit was not immediately clear to me that i was seeing only one batch of bugs09:19
SteveAbecause at the end of the table, it just ends09:20
SteveAit has no indication that there are more09:20
mptyes, the navigation should be at the end of the table09:20
SteveAa "see next N bugs" link at the bottom of the table would help a lot09:20
mptrather than at the beginning09:20
SteveAalso, i want to see all 60 open bugs09:20
mptI keep telling bradb-away to do that09:20
SteveAbut even if i change the batch_end in the URL query, i can't see them09:20
mptbut he won't because sabdfl says no09:21
SteveAsays no to what?09:21
SteveAbeing able to change the batch_end ?09:21
SteveAbeing able to view all bugs?09:21
mptbeing able to view all bugs09:21
SteveAi'd be happy with a batch size of 200 or so09:21
=== sabdfl [~mark@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad
mpt(actually, being able to view 500 of them, which is much the same thing in most cases)09:21
SteveAso, i don't need to see *ALL* bugs09:22
BjornTmpt: setting batch_end manually should still work, otherwise it shouldn't be in the url09:22
SteveAjust a reasonable number09:22
mptBjornT: Agreed, that's a bug09:22
SteveA20 is just far too few09:22
dilysNew Malone bug 1234 filed on product The Launchpad by Stuart Bishop: Gina is an unmaintainable mess of command line options, environment variables and shell scripts09:22
dilyshttps://launchpad.ubuntu.com/malone/bugs/123409:22
SteveAmorning sabdfl 09:22
SteveAis it right that you object to showing more than 20 bugs in /products/launchpad/+bugs  ?09:22
sabdflmorning guys09:23
SteveAi'm finding the current page very frustrating for triaging my bugs, and going into them to change status. 09:23
sabdflstubarooney,, any joyous news?09:23
SteveAfar too much mousing around to get the work done.09:23
Burgundaviampt, what did you think of the idea of moving the bug type links into tabs?09:23
mptBurgundavia: "did"?09:24
Burgundaviampt, do09:24
mptI don't like the idea of nested tabs09:24
Burgundaviahow would they be nested?09:24
mptand tabs in Malone are scheduled to be used for (for example)  "Firefox Bugs", "Report a Bug", "Show Reports", "Admin"09:25
Burgundaviaah, ok09:25
stubsabdfl: if you mean that db patch, it is reviewed and fine. Check your email.09:25
Burgundaviathe other idea was to move those links to the bottom of the page09:25
Burgundaviathe reason I suggested tabs, as it makes ajax-ing the thing easy09:25
mptBurgundavia: we could also do that with a <select>09:26
Burgundaviayes09:26
SteveABjornT: https://launchpad.ubuntu.com/products/launchpad/+bugs/+index?batch_start=60&batch_end=6109:26
SteveAgets me a system error09:26
SteveAthis was produced by clicking "next" from https://launchpad.ubuntu.com/products/launchpad/+bugs/+index?batch_start=40&batch_end=6009:27
SteveAah, okay09:27
SteveAhere's what happened09:27
SteveAi was using that bugs page in one tab, and opening bugs in a new tab09:27
Burgundaviampt, basically, that view is current too wide09:27
SteveAi marked one of these as fixed09:27
mptBurgundavia: too wide, or too narrow?09:27
SteveAthen i went back to the list, and asked to go to the next batch09:27
Burgundaviampt, I mentioned all this to bradb09:27
Burgundaviampt, the page as a total is too wide09:27
SteveAhowever, on this request, there were fewer bugs in the results09:28
Burgundaviabug list + actions portlet09:28
sabdflstub: rock, thanks09:28
mptBurgundavia: oh, right09:28
SteveAso, the system asked itself to go to a non-existent batch09:28
SteveAso i got a system error09:28
Burgundaviampt, I have 1280x1024 and it fills my screen09:28
mptBurgundavia: agreed, I'd like the table to take up the whole width09:28
SteveAwhat should happen, is i get a normal batch navigation thing saying "no more results" instead of an error09:28
Burgundaviaand move the actions portlet to inline?09:28
mptBurgundavia: yes09:28
Burgundaviaok09:28
Burgundaviaglad we are thinking along the same paths09:29
sabdflSteveA: if that was your landing that neatened up the make check display, then THANK YOU!09:29
SteveAsabdfl:  the fascist output?  yeah09:29
SteveAit was annoying me too much09:29
mptBurgundavia: https://launchpad.ubuntu.com/malone/bugs/93609:29
BjornTSteveA: can you file a bug about it? you can assign it to me09:30
SteveABjornT: okay09:30
SteveAmpt: in the box on that bug list, "file a bug" is not underlined, but the links under "bug statistics" are.09:30
SteveAit meant that I had to hunt around for a "file a bug" link09:30
dilysNew Malone bug 1235 filed on product The Launchpad by Steve Alexander: Reaching the end of a batch of bugs gives a System Error09:34
dilyshttps://launchpad.ubuntu.com/malone/bugs/123509:34
SteveAhow do i assign someone to work on a bug?09:35
SteveAi cannot find this in the UI09:35
SteveAoh, i found it09:35
SteveAthere's this box saying "The Launchpad" and various things, with a blank space for an "assignee".  I have to click on "The Launchpad", and then I'm taken to a page where i can change it.09:36
SteveAthat's not entirely obvious09:36
SteveAand, i'm *sure* i've done this before, but somehow managed to forget that's what i'm supposed to do.09:36
SteveAmpt: i'm on this page: https://launchpad.ubuntu.com/products/launchpad/+bugs/1235/+edit09:38
SteveAIn the "bug status" box, there's a link saying "The Launchpad".  When I click on it, I don't get to "The Launchpad" product.  I get back to where I already am.09:38
dilysNew Malone bug 1236 filed on product Malone by Matthew Paul Thomas: Malone column headings are all wrong09:39
dilyshttps://launchpad.ubuntu.com/malone/bugs/123609:39
BjornTSteveA: i think kiko-zzz fixed that one09:39
SteveAcool09:40
dilysNew Malone bug 1237 filed on product The Launchpad by Steve Alexander: Batches of bugs are way too short09:42
dilyshttps://launchpad.ubuntu.com/malone/bugs/123709:42
mptSteveA: Yes, that portlet seems rather pointless to me09:44
sabdflSteveA: wait for my landing in 5 mins09:45
mptSteveA: The reporter and date can go at the top like they do on the bug page, and the rest of it is redundant09:45
sabdflstub: i wonder if it would be possible to feed linkchecker some URL templates, and have it analyse the site for errors, GROUP BY those templates?09:47
sabdflso, for example, we could feed it /products/$Product.name/ and it would then COUNT the number of times the same error happened on pages matching that URL, and report that number09:47
stubsabdfl: We get the output of linkchecker in a csv - we can do whatever we like with it. We just need to know what and spend the time doing it.09:48
sabdflstub: cool - this would allow us to find the "topcrashers" quite easily09:48
stubsabdfl: I've started hacking up linkreport.py, now in rocketfuel, which is designed to be a daily report but is probably too noisy09:49
stubIt is only a start, but a starting point if anyone wants to do some more serious reporting09:50
sabdflexcellent, thanks stub!09:50
SteveAstub: do you think we'll be able to get to the stage where a failing page on staging is a major event, and can cause an angry email to the list?09:51
stubI personally think the goal should be to fix all the broken pages so complex reports aren't required ;)09:51
dilysNew Malone bug 1238 filed on product Malone by Matthew Paul Thomas: Can't subscribe someone after reporting a bug09:51
dilyshttps://launchpad.ubuntu.com/malone/bugs/123809:51
stubSteveA: Yes - linkreport.py will do that, but it might be a bit noisy (you will get a rather long angry email if your stuffup breaks 5000 URLs...)09:52
SteveAa simple email saying "5000 URLs broken, see http://xxxx" would do09:52
SteveAbut then again, what's 5000 lines on a development mailing list?09:53
stubWe have to get the notifications working - there are a number of broken pages that have been broken *since linkchecker has been running* that have not been fixed, including some that look like pretty trivial ZCML stuffups.09:53
SteveAthere are a bunch that are due to a bug in the login machinery09:53
SteveAwhere a link with ?foo=1&foo=2  will cause a system error09:53
stubSo people either aren't taking resposibility for broken pages, or it isn't clear to people that their pages are broken09:53
SteveAi'll fix that today, and it should greatly reduce the number of failed links.09:54
stubSteveA: I'm talking about some links  where '{context}' has leaked into the URL - probably a forgotten $ or something09:54
SteveAstub: can you grep those out?09:54
stubBut it might just be lost in the noise09:54
SteveAand send a mail to the list with just those in it?09:54
SteveAI did a grep for "[^$] [{] "09:56
SteveAand didn't find anything significant09:56
stubAgainst what? The current linkchecker report is stuffed (problem running last night - there is another run going on now)09:57
SteveAokay09:58
SteveAi did a grep against .pt and .zcml files09:59
SteveAin launchpad09:59
stubSo far running 4.7 hours and still no end in sight (todo list growing rather than shrinking) ;-( I've tried optimizing memory usage,  but I think I'll need to scrap that work and put together a PostgreSQL backend for memory usage problems. Hopefully we can continue doing a full daily scan for a while longer.10:13
sabdflstub: what's the trick to getting the db working on breezy?10:23
sabdfli added plpython10:23
stubsabdfl: I don't know - I haven't used breezy.10:23
sabdflIOError: [Errno 2]  No such file or directory: '/usr/share/postgresql/contrib/tsearch2.sql'10:23
stubsabdfl: I believe that some of the files have moved location, so some of the db setup scripts are broken. I think Keybuk was playing with this, but I don't know if he tweaked anything or gave it up as a bad job.10:24
sabdflthat looks like it, yes10:25
=== carlos [~carlos@69.Red-80-33-181.pooles.rima-tde.net] has joined #launchpad
stubIt might be a simple case of sticking some if statements in fti.py to cope with the possible locations of tsearch2.sql. Also, fti.py runs a patch to tsearch2 (stored in database/schema) -- this patch is not necessary under 8.0.10:27
carlosmorning10:28
sabdflstub: would it be possible to store some locations in the config?10:36
sabdflis anybody else seeing foaf test failures on chinstrap that do not show up on te local machine?10:37
sabdflmake check gives me a clean bill of health, but pqm is complaining of test failures in mege-people and delete-email tests10:38
sabdflSteveA: is there any way to run just one "story", like the foaf page tests?10:38
stubsabdfl: I'd rather just hard code some locations in fti.py with some 'if os.path.exists(..)' statements in there. We only have two different systems to support, and we still have to have 7.4 and 8.0 specific branching in the code to cope with the tsearch2 patch I mentioned.10:38
sabdflstub: i was thinking we could grow the config system to allow local prefs on a per-machine basis (outside of revision control)10:39
sabdflthat could then deal with the 8.0 and 7.4 issues10:39
sabdflas well as the breezy / hoary issues10:39
SteveAsabdfl: no.  you can run all of the page tests, or a single page test .txt file, but not one story.10:40
SteveAto run all of the page tests, python test.py -f canonical.launchpad.ftests.test_pages10:40
sabdflSteveA: does the matching not support globs, like --test="foaf/*"10:40
SteveAthe 'foaf/' part of it isn't used in the name10:41
SteveAjust the name of the file10:41
sabdflSteveA: any idea what could be behind these mysterious test failures on chinstrap that don't show up here?10:42
SteveAi don't know anything about test failures on chinstrap10:42
SteveAmy recent merges all worked.10:42
SteveAcan you forward me a rejection email from pqm?10:42
sabdflit appears that the server gets an internal server error10:42
sabdflbut since i can't see the traceback...10:43
stubsabdfl: I don't see what we gain, except for an extra knob for people to break and more documentation for people to read. We don't need to support arbitrary operating systems and installation directories - just two.10:43
sabdflwell, two releases (current and dev) and soon two version of pg (7.4 and 8.0)10:44
SteveAstub: i want a way to say that "chunky diff is turned off in general, but can be turned on on an individual developer's machine, and won't be committed"10:44
SteveAsabdfl: turn chunky diff off in your launchpad.conf, commit it, mirror, and try to merge in pqm again10:44
SteveAthe chunky diff will be off for the tests, so the output you'll get back will have the full traceback in it10:44
stubSteveA: You can do that now by creating your own config10:45
stubSteveA: The comments in configs/default/launchpad.conf describe this I think10:45
SteveAstub: does that involve changing any files that might be committed ?10:45
sabdflSteveA: all that will do is tell... oh. perfect. ok!10:45
stubSteveA: No - You create a configs/+myconfig directory containing whatever config you like, then make run LPCONFIG=+myconfig 10:45
stubSteveA: We could streamline this, but the mechanics are all there10:46
SteveAa 'make myconfig' option would help10:46
SteveAthat sets it up based on launchpad.conf, but with chunkydiff turned off10:46
SteveAum, on10:46
SteveAmake developer-config10:46
SteveAthen , when launchpad.conf changes, these can just be nuked10:46
SteveAmake +developerconfig be used in preference to the default, when it is present10:47
stubI think we want some sort of inheritance in there, which would be useful for production rollouts and stuff, but that involves migrating from ZConfig to something custom I think.10:47
sabdflerrr... stub, that's what i was just suggesting, and you said it was a terrible idea three minutes ago :-)10:47
SteveAcan you not just read in one base zconfig file, process it, and then read in another, and allow the other to override / add values?10:47
SteveAthat would be a minor change to what we have already10:48
stubsabdfl: You were suggesting putting the os/tsearch2 specific settings in the config, wern't you?10:48
stubSteveA: I have no idea ;)10:48
sabdflstub: i was suggesting allowing that, and allowing a non-RCS override config file, which would inherit the default conf10:49
SteveAstub: DOIT ;-)10:49
=== stub goes on a quick shopping run for 'icky wife
sabdflso people can turn of chunkydiff locally, or on, wihtout fear of comttting that10:49
sabdfland pqm can always have chunkydiff off10:49
sabdflso we see tracebacks10:49
SteveAwe could make test_on_merge force chunkydiff to be off10:49
SteveAum... i think...10:50
stubSteveA: In my Copious Spare Time (tm). We don't *need* it and there are higher priority things to do right now.10:50
stubSteveA: Yup - that would work. Or even hardcode 'If I am chinstrap' in there.10:50
SteveAat least, file a bug about it so we don't have to have this discussion again.10:50
=== stub runs off on a quick shopping trip for 'icky wife
sabdfla test failure on pqm SHOULD have chunkydiff off, because it's unlikely and you want the max info back10:51
=== sabdfl heads to the office
=== sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad []
dilysNew Malone bug 1239 filed on product Bazaar by Bjorn Tillenius: baz: uncaught exception: -1:(conflict applying patch in arch_build_revision)11:03
dilyshttps://launchpad.ubuntu.com/malone/bugs/123911:03
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has left #launchpad []
=== stub [~stub@203-217-37-199.dyn.iinet.net.au] has joined #launchpad
=== sabdfl [~mark@217.205.109.249] has joined #launchpad
dafjamesh: around?11:44
jameshdaf: yeah11:44
dafjamesh: did you get my mail about the imports branch?11:44
jameshdaf: yeah.  I haven't done the followup review11:44
dafok11:44
dafin retrospect, I should probably have made those later changes on another branch11:45
sabdflBjornT: interesting thought: attachments are bug-wide, but patches are possibly context-specific11:49
sabdflso it seems to me that an attachment should be linked to Bug, and if it's a patch for a context, that should be recorded on BugTask11:50
sabdflmaybe11:50
BjornTyeah maybe. seems complicated, though11:51
sabdflBjornT: i would also like to retain the BugAttachment.message link11:54
sabdflso in the web UI, when you display the message, you can include a link to the attachment from that message11:54
sabdflso say i'm scrolling through the messages, and i read about an attachment, there's a link right there to it11:54
sabdfli'll mark up the spec11:55
BjornTsabdfl: so, when you add an attachment, you have to add a comment as well? kiko threatened to add "." as a comment in that case :)12:00
BjornTwe could interleave the attachments with the comments, even without linking to a message, if we'd include datecreated, or improved the bug activity12:01
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.24: Multi-backend production configs (patch-1: stuart.bishop@canonical.com)12:05
dafSteveA: hello12:27
SteveAyes12:28
dafI think I may have found a bug in the menus12:29
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Multi-backend production configs (patch-2012: stuart.bishop@canonical.com, rocketfuel@canonical.com)12:29
dafso I tried to access the +debug-menus page12:29
dafbut got a zope.publisher.interfaces.NotFound12:29
SteveAgive me the url you tried12:30
dafhttp://localhost:8086/distros/ubuntu/hoary/+sources/evolution/+pots/evolution-2.2/af/+translate/+debug-menus12:30
SteveAis +translate a view ?12:30
SteveAis it a page?12:31
dafyes12:31
SteveAthen you need to replace that with +debug-menus12:31
dafah12:31
dafhmmmmm12:32
dafthis is an interesting one12:32
=== daf tries to explain
dafwell, the symptom is this:12:34
dafwhen I'm looking at /evolution-2.2/af/, the Translations faces is selected but not linked12:34
dafwhen I'm looking at /evolution-2.2/af/+translation, the Translations facet is selected and linked12:34
SteveAdaf: i'm busy with the import fascist.  can you file me a bug?12:36
dafcertainly12:36
dilysNew Malone bug 1240 filed on product The Launchpad by Dafydd Harries: selected facet menu being linked or not linked in a confusing manner12:39
dilyshttps://launchpad.ubuntu.com/malone/bugs/124012:39
dafhmm, that's interesting12:43
dafhttp://localhost:8086/products/evolution/+bugs doesn't have facet menus12:43
carlosBjornT, hi, around?12:47
BjornTcarlos: hi12:47
carlosBjornT, about your question if POTemplate should be launchpad.Public or not12:47
carlosBjornT, that part is the normal view 12:47
carlosthe +edit for that lets you change a POTemplate is under Launchpad.Edit permission12:48
carlos s/for//12:48
dafjamesh: a quick suggestion for the pending reviews page -- could it link to the wiki page?12:49
dafjamesh: it would make switching between the two a bit easier :)12:49
dafcarlos: do you know what the problem is with SchoolTool in Rosetta?12:52
carlosdaf, I didn't see at it 12:52
dafhttps://launchpad.ubuntu.com/products/schooltool/+translations12:52
carloswasn't it fixed with mark's changes?12:52
BjornTcarlos: i asked, since generally you shouldn't rely on web ui permissions. why can't edits of POTemplate be restricted by launchpad.Edit? (this issue won't block the merge, though)12:52
carlosBjornT, I think I don't get you12:53
dafcarlos: see that link12:53
carlosBjornT, If I change it to launchpad.Edit, the users will not be able to view the potemplates, right?12:53
carlosdaf, that's a broken .pot upload12:54
dafok12:54
dafdo we have the .pot file?12:54
carlosdaf, we should not show anything until the .pot file is imported12:54
carlosdaf, don't know, just ask for it now that we export it :-D12:54
dafheh12:55
dafdo we have notifications for broken PO template uploads?12:55
carlosnot yet12:56
carlosdaf, we talked about it already on Friday...12:56
dafthat seems like something the PO import script should do12:56
dafwe did?12:56
carlosdaf, if it was not friday, it was last week12:57
dafmkay12:57
SteveAhttps://chinstrap.ubuntu.com/~dsilvers/paste/filesp6IpR.html12:58
SteveAThat's the output from the new import fascist12:58
SteveAdaf, carlos: there seem to be only one or two violations in Rosetta code.  Well done.12:58
dafthanks, Steve12:58
dafI believe I've fixed some of that browser code already12:58
dafon my --import-fascism-- branch12:58
carlosdaf, good work12:59
SteveAi want to get people fixing this stuff before i merge the fascist.12:59
BjornTcarlos: you can have one <allow attributes=[attributes to be viewable]  /> and one <require permission="launchpad.Edit" set_attributes=[editable attributes]  />01:00
dafI didn't get much response when I last brought it up on the list01:00
SteveAdaf: is there anything stopping your merging your fascism branch?01:00
BjornTcarlos: although, since you have IEditPOTemplate, maybe you want <require... set_schema="IEditPOTemplate" /> instead01:00
SteveAdaf: are there items in that pasted text that you can add to your fascism branch?01:00
dafI'm awaiting a review from jamesh 01:00
dafI expect there are01:01
carlosBjornT, hmm, not sure if it changed, but without the set_attributes I'm not able to read those attributes either01:01
carlosBjornT, I want to remove the IEditPOTemplate difference (need to talk with daf first)01:01
carlosBjornT, it's confusing, and we are the only ones using it atm (as far as I know)01:01
carlosso we are mixing edit and readonly methods between both interfaces01:02
carlosand it's a mess01:02
SteveAdaf: it says "needs reply"01:02
dafSteveA: I've updated it on the PendingReviews page to "needs review"01:03
dafSteveA: it would be nice if I could run the new fascist here to see which ones I haven't fixed yet01:03
SteveAcarlos: i did some design work with tres at europython.  we'll be getting rid of IReadXXX and IEditXXX interfaces in the nearish future.01:03
=== ddaa [~ddaa@marvin.xlii.org] has joined #launchpad
carlosSteveA, get rid == remove or use it 01:04
SteveAdaf: steve.alexander@canonical.com--z8/launchpad--trivial--0, mirroring now01:04
dafget rid of == to remove01:04
BjornTcarlos: yeah, it's confusing. but then you should be able to do <allow interface="IPOTemplate" /> and <require permission="launchpad.Edit" set_schema="IPOTemplate" />01:04
dafSteveA: excellent, thanks01:04
SteveAcarlos: use a cleaner mechanism to specify which parts of an interface are for reading and which are for writing01:04
ddaasabdfl: why do you want to remove the +sourceadmin links from the product pages?01:04
SteveAdaf: mirrored01:05
carlosSteveA, should we wait then or could I merge IPOTemplate with IEditPOTemplate and fix it with the new design later?01:05
SteveAdon't wait01:05
SteveAfix stuff that you need to fix now01:05
carlosSteveA, ok01:05
dafSteveA: all traversal functions should be in browser/traversers.py, yes?01:05
SteveAdaf: no01:05
SteveAi'm doing some work on that kinda right now01:06
SteveAbest not to move traversers around01:06
carlosBjornT, will that let me access all fields as readonly from the view?01:06
SteveAso you won't conflict with me01:06
dafok01:06
BjornTcarlos: yes, if the user doesn't have launchpad.Edit, they will be readonly01:06
carlosok01:07
carlosBjornT, thanks01:07
dafcarlos: can we kill TranslationEffort dead dead dead?01:08
BjornTnp01:08
carlosdaf, sure01:09
dafhurrah01:09
carlosdaf, is the DB table still there? sabdfl, can we remove it too?01:09
dafyep, the table's still there01:11
carlosmpt, dude, the new launchpad look is cool! :-)01:11
=== SteveA wonders where all the brazillians are
mptthanks carlos01:11
dafmpt: yep, it looks very nice01:12
SteveAdaf: https://launchpad.ubuntu.com/malone/bugs/124001:13
SteveAdaf: you didn't include the output of +debug-menus01:13
dafoops, right01:13
dafI've pasted it there01:15
SteveAdaf: is the translate link the DefaultLink?01:17
dafthe interfaces code seems to have a huge amount of cargo-culted imports01:17
dafSteveA: hmm, the debug output doesn't tell you that?01:17
SteveAno, i need to improve it to tell me that01:18
dafok01:18
SteveAi should also improve it to say where the menus are defined01:18
dafthe translations facet is default, yes01:18
dafand the overview item is the default in the app menu01:18
SteveAbut, there is no problem with the app menu01:19
SteveAdaf:  can i review your import fascism ?01:21
dafif it's ok with James, it's fine by me01:23
jameshdaf/SteveA: I don't mind.01:25
SteveA* Applying 1 revisions (in reverse): . done.01:26
SteveAhahaha01:26
jameshit is applying the reverse of the patch01:26
jameshnot applying one patch in reverse order01:26
SteveAit sounds very funny01:26
=== jamesh thinks signedcocs sounds funny
SteveAdaf: approved01:29
dafSteveA: thanks01:33
dafSteveA: I'm have a few more changes I'm about to commit01:33
dafSteveA: based on the new fascist01:34
SteveAif they're just cleaning up imports, formatting of imports, __all__ etc. then they're trivial01:34
dafyep, they are01:34
SteveAso, my fascist says 21 database, 91 imports without __all__, 27 imports of names not in __all__01:34
daftrivial changes in large quantities :)01:34
SteveAwhat does yours say now?01:35
dafjust a second...01:35
SteveAi got a quick value, from --test=menus.txt01:35
dafyes, that's a good way to do it01:35
dafwell, an easy way to do it01:35
dafjust pulling in your fascist01:36
dafSteveA: I've just mailed you about the pyflakes harness01:37
SteveAok01:37
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: PoTemplateAdmin changes r=spiv,bjornt (patch-2013: carlos.perello@canonical.com)01:41
dafoh, bother, this is not a full launchpad tree, so I can't run tests here01:41
dafjust a moment01:41
carlosfinally....01:43
dafcarlos: congratulations :)01:43
carlosdaf, thanks01:43
carlosdaf, did you fixed the missing import kiko told us on Friday?01:43
=== cprov [~cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
carlosdaf, I'm looking into it atm but it's there....01:44
carloskiko-zzz, ?01:44
dafwhat missing import?01:44
SteveAcprov: hi01:44
cprovSteveA: hi, morning ..01:45
SteveAcprov: https://chinstrap.ubuntu.com/~dsilvers/paste/filesp6IpR.html01:45
SteveAthat's the latest import fascist output 01:45
SteveAdaf is about to merge some fixes to this01:45
SteveAafter daf has merged, it would be good to get the areas of code you're involved in fixed up01:45
SteveAmostly it's a matter of making sure there's an __all__ in interfaces, database, and browser code01:45
SteveAand that the __all__ is complete01:46
carlosdaf, IPersonSet01:46
dafwell, it may be that the __all__ is complete and other modules are importing code they shouldn't01:46
dafcarlos: which file?01:46
SteveAdaf: that is true01:46
cprovSteveA: sure, I think it's already solved in my branches pending review, but I'll ensure, tks01:46
SteveAcprov: note that the fascist has become more facist today01:47
SteveAi haven't merged the new fascist yet01:47
SteveAbecause it produces a lot of output right now01:47
=== cprov noted and imagine where it'll stop ;)
SteveAdepending on how much daf's branch fixes, i'll merge it later today01:48
SteveAcprov: well, we'll have the fascist raising exceptions before long01:48
cprovSteveA: just joking, having facist test suite is good, reduce the future pain caused my silly mistakes 01:49
SteveAafter the exceptions, we'll have the facsist administering electric shocks through your hkeyboard01:50
dafSteveA: 5 DB import violations, 70 from * without __all__, 21 imports of names not in __all__01:51
SteveAdown from  21 database, 91 imports without __all__, 27 imports of names not in __all__01:51
SteveAnice work on the database ones01:52
SteveAthose are by far the most significant01:52
dafI'm pleasantly surprised by that, actually01:52
SteveAand the ones i want raising exceptions soonest01:52
dafthese are the remaining offenders:01:53
SteveAwhat are the five remaining database violations?01:53
daf    canonical.launchpad.browser.binarypackagename01:53
daf    canonical.launchpad.browser.bounty01:53
daf    canonical.launchpad.browser.bugtracker01:53
daf    canonical.launchpad.browser.codeofconduct01:53
daf    canonical.launchpad.browser.distribution01:53
dafapart from bugracker, these are all related to use of CustomWidgetFactory01:55
dafright, merge submitted01:55
=== debonzi [~debonzi@200-161-81-234.dsl.telesp.net.br] has joined #launchpad
dafhttps://chinstrap.ubuntu.com/~dsilvers/paste/fileopNfjH.html02:04
dafmorgs: ^^02:04
dafmissing import in browser/project.py?02:04
dafdebonzi: ^^02:05
dafsome missing imports in browser/{distribution,distrorelease}.py?02:05
dafwho owns addview.py?02:05
carlosdaf, infrastructure team?02:06
dafI guess so02:06
dafis that spiv and Steve?02:06
carlosboth?02:07
carlos :-)02:07
dafwow, 196 unused imports in the interface code02:08
carlosdaf, *only*?02:14
carlos:-)02:14
morgsdaf: thx02:14
dafcarlos: ha02:15
dafmorgs: no problem02:15
=== salgado [~salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
carlosstub, is it possible to get the patchsets I just sent you merged into production today? (+ one that is waiting for PQM)02:26
carloslifeless, ^^^02:27
stubPing me when the third one is through - I'll merge them all at once to save PQM time02:28
lifelesscarlos: I don't have an account on gangotri yet AFAIK.02:28
carlosstub, ok, thank you (btw, seems like I will need a fourth one)02:29
carloslifeless, do we have production in a new server?02:29
dafcarlos: what's the fourth one?02:29
lifelesscarlos: yes, we're scaling up to load balancing02:29
carlosdaf, I need some help testing the .py cronscript execution02:29
carloslifeless, cool02:30
lifelesscarlos: and to give gina breathing room02:30
carlosdaf, see the error log output02:30
dafhuh?02:31
carlosdaf, https://chinstrap.ubuntu.com/~dsilvers/paste/fileqbsUIo.html02:32
carlosdaf, you should read from time to time the cronscripts output ;-)02:32
dafgna02:33
dafstub had some ideas for testing these, I think02:33
carlosdaf, oh, I thought you tried them already02:34
dafnope02:34
carlosthat's what I asked you for help :-P02:34
carlosok, I have stub's ideas in my logs, will try to apply them when possible (the attach script is a bit difficult)02:34
dafthe attach script is hard02:35
dafunless you use twisted to creeate a fake HTTP server02:35
carlosdaf, I think I will add a small check to be sure the imports and the argument parsing works02:36
carlosdaf, and will think about the twisted fake HTTP server later...02:36
dafI haven't written a HTTP server before02:37
dafso I'm not sure how hard it is02:37
jameshdaf/carlos: if you are doing a fake HTTP server for testing purposes, you can probably do more realistic tests by making it a fake HTTP proxy02:37
sabdflSteveA: i turned chunkydiff off and all i got back was a three line failure message02:37
jameshthat way you can have the script think it is talking to the production URLs02:38
dafjamesh: how would that work?02:38
dafoh, I see02:38
sabdflSteveA: erk02:38
SteveAsabdfl: please forward it to me02:38
sabdflsorry02:38
jameshdaf: set the http_proxy environment variable02:38
sabdflmy bad02:38
carlosjamesh, yeah, I have that in my logs too, you told us the same last time we talked about this problem :-P02:38
dafjamesh: right, got you now02:38
sabdfli forgot to say r=stevea :-)02:38
SteveAaha02:38
jameshdaf: the script will do "GET http://hostname/..." rather than "GET /..."02:38
=== SteveA doesn
=== SteveA doesn't remember approving something recently
dafjamesh: the script takes a parameter telling it the address to look at, so I'm not sure if it would make much difference02:38
carlosbtw, are we moving from launchpad.ubuntu.com to launchpad.net?02:39
SteveAyes02:39
SteveAstub and elmo are sorting out the finer details02:39
carlosSteveA, will the old one die?02:39
SteveAi suppose elmo can set up a general redirect02:39
dafmpt: yo?02:39
carlosok02:40
jameshdaf: I suppose it might not be too much more useful than the command line arg.  It does have the benefit that you only need to set an environment variable to point the script at the fake server02:41
stubSteveA: I need to make canonical.launchpad.scripts.log a global. This global will be set when command line options are passed. Scripts using it will do so using 'from canonical.launchpad.scripts import log'. This means that scripts will be using the value of 'log' at import time, rather than the correct instance. So solve this, does canonical.launchpad.scripts.log need to be a wrapper?02:41
carloshttps://chinstrap.ubuntu.com/~dsilvers/paste/file1cXpPc.html02:42
dafstub: what's the benefit of it being a global?02:42
SteveAstub: that makes sense.  or, you make people import get_log, and say log = get_log.02:43
SteveAstub: a wrapper would be easier for clients to use. 02:43
stubdaf: I can retrofit it to gina without rewriting the damn thing02:43
carlosdaf, ^^^ Is normal that I get angry when people says 'pootle is actively developed....'02:43
carlos?02:43
carlosdaf, I mean, I get the impresion as Rosetta is stalled and without being developed....02:43
lifelessstub: why not a utility ?02:43
lifelessstub: and the gina compatability thing a shim to the utility ?02:44
dafcarlos: well, if it's implying that Rosetta is not actively developed...02:44
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Added missing import + test rs=kiko (patch-2014: carlos.perello@canonical.com)02:44
jameshstub: if it is just the root logger, do you need a wrapper?02:44
jameshstub: can't you just have the global variable, and then configure it other modules import it?02:44
SteveAi think you want a logger to be a module-level thing 02:44
SteveAit's an import ordering thing02:45
SteveAyou need to set up the global variable before it is imported by other code02:45
lifelesssingletons are good at that ;002:45
stubjamesh: Probably - it would mean the root logger is being reconfigured, which might not be a good thing (?)02:45
SteveAbecause cpython doesn't have a 'become()' operation to change the object to a different one.02:45
SteveAso, you need a wrapper02:45
jameshyes, but to set up the logger you generally do: "log = logging.getLogger()", then do some work to configure "log"02:45
jameshyou can do the first bit during module scripts.py's initialisation, and the second part after passing command line args02:46
dafcarlos: is that the third merge there?02:46
dafcarlos: should stub wait for the fourth or update production now?02:46
jameshthat way it is the same object before and after02:46
carlosI'm still getting errors in my local tree but PQM does nto get them...: https://chinstrap.ubuntu.com/~dsilvers/paste/fileul09Zc.html02:47
jameshstub: just leave it unconfigured until you pass command line args02:47
carlosdaf, yes, that's the third one02:47
stubjamesh: It would work, but I'm a bit uncomfortable about things using the root logger (even scripts), as it makes it difficult to control if we start combinging bits. Might be YAGNI though.02:47
carlosdaf, the fourth one is in its way to rocketfuel02:47
dafcarlos: ok02:47
jameshstub: fair enough02:47
SteveAwell, we could do logging by module name, or something like that02:48
jameshstub: one other useful thing: set the converter attribute of the logging.Formatter instance to time.gmtime -- it will cause log messages to be formatted in UTC rather than local time02:48
jamesh(which is +0100 in the data center at the moment)02:49
lifelessnothing should use the root logger02:49
lifelessits really quite important to have a child and use that IME02:49
stubjamesh: Ta02:51
dafstub: if you use  %(levelname)-8s, the columns line up nicely02:51
=== daf -> lunch
jameshlifeless: your robert.collins@canonical.com/cscvs--devel--1.0--patch-350 branch has been sitting in merge-conditional state for quite a while.  Do you plan to merge it at some point?02:54
lifelessjamesh: definately.02:55
jameshokay.  Just checking up on it.02:55
lifelessthanks for reminding me;_)02:55
kikowomp womp womp02:58
kikohey carlos my man02:58
kikoyo lifeless 02:58
kikomy merge almost worked02:58
kiko2 test failures :-P02:58
carloskiko, morning :-)02:58
salgadostub, gina doesn't have access to the production db anymore?02:58
stubsalgado: You are running it? I thought it needed to be setup?02:59
ddaaduh... aspell-br is...03:00
ddaaBreton...03:00
stubI updated the access today because I was under the impression it was no longer used03:00
salgadostub, no, I'm not. I just wanted to connect to the db to do a query03:00
salgadostub, the gina script is not going to be run with the gina db user?03:02
stubsalgado: Sorry - your backdoor is closed.03:02
kikostub!03:03
stubsalgado: yes but it needs to be tested against staging first03:03
salgadostub, you can be sure I'd never run it in production without testing it (thousands of times) against staging03:04
stubsalgado: I'm very confused. I was under the impression that I was having to run Gina now.03:05
lifelessnight guys03:05
cprovstub: do you have a minute to discuss the renameing of GPGKeys.revoked ?03:05
lifelessddaa: you and jblack on on similar tz right now, can you sync up with him and see how its going for him ? I'll then sync with whichever of you is around in my morning03:06
ddaa"similar tz right now"?03:06
lifelesswaking/sleeping pattern03:06
stubdebonzi: I'm doing Gina config stuff atm, so you might want to avoid playing with it for a bit until you can review my changes03:06
debonzistub, cool.. no problem03:07
stubcprov: Sure03:07
ddaalifeless: not anymore, I'm waking up earlier now.03:07
ddaaanyway, I'll sync with him whener he shows up.03:08
cprovstub: nice, the sane way should be renaming "revoke" to "inactive" (we keep the existent logic)  but other tables have "active" would it be a problem looking to the whole DB ? do you have a opinion about that ?03:10
kikodisabled is another option03:10
stubI don't have a major problem with inactive, although I don't see why you can't use 'not active; in the code (I guess that would be more than simple cut&paste?)03:11
salgadodaf, carlos, seen this -> https://launchpad.ubuntu.com/errors/showEntry.html?id=1120548526.070.171839082334 ?03:12
sabdfldaf, carlos: why have you added productrelease, distrorelease and sourcepackagename to the POTEmplate edit page?03:12
=== stub is trying to work out why he doesn't have a major problem with it, when he has in other cases
cprovkiko: right , "disable" is also a name alternative, but the logic still different 03:12
sabdflthat's absolutely an admin requirement - it will KILL us if people start doing that03:12
sabdflthere used to be a +admin page with those on it03:12
kikosabdfl, aren't the links restricted to admin-only?03:13
sabdflkiko: no03:13
cprovstub: the point is the existent data migration ... if we change from "revoked" to "active" we need to change all false to true ...is it ok for you ? 03:13
sabdflthere used to be a +edit and a +admin03:13
sabdfland someone helpfully collapsed them03:14
sabdfldaf, carlos: please ack03:14
stubcprov: Can you call the database column 'active', and add an 'inactive' property to the GPGKey database class that returns 'not self.active' ?03:14
sabdfli need you to understand why we cannot have normal users re-linking templates from product to distro03:14
bradbmorning all03:14
stubcprov: Data migration is fine - I just updated a few million rows today. A couple of dozen/hundred GPGKeys isn't a problem ;)03:14
sabdflhey bradb03:14
carlossabdfl, I have a fix since Friday that I had to modify and got merged this morning, waiting for another fix to get it merged into production03:15
bradbhey sabdfl 03:15
cprovstub: sure I can, but it looks like a workarround, and since we are developing, not repairing, there is no need for workarrounds ;)03:15
carlossabdfl, only admins will see it, that way we can move POTemplates from the web page without asking stuart to do it by hand03:15
sabdflrf is currently the problem, not the solution03:15
stubcprov: Cool. Drop the property idea.03:15
sabdfland this is launchpad.Edit, not launchpad.Admin03:15
sabdflalso, owners often get Admin, don't they?03:15
sabdflthat would be a problem03:16
carlossabdfl, hmm, no I don't have a fix for that error03:16
carlossabdfl, I thought it was related with +edit03:16
sabdflAFAICS the latest RF has only a +edit, which is launchpad.Edit, and which allows editing EVERYTHING03:16
sabdflcarlos: do you understand that there needs to be:03:16
sabdfl +edit, which lets you change basic details03:16
sabdfl +admin, which lets you link differently to upstream or distrorelease and edit stuff hte normal user SHOULD NOT SEE03:16
carlossabdfl, the browser code does the admin/normal owner difference03:17
carlossabdfl, I had +edit and +admin, but kiko asked me to collapse both03:17
sabdflcarlos: it appears to be broken03:17
kikocarlos, whoa03:17
carlossabdfl, I have tests03:17
kikocarlos, I said collapse them /if/ you restrict the links/controls accordingly03:17
carloskiko, it's done that way03:17
cprovstub: fine, May I move the branch with the DB patch to your queue ? ... another DB patch code dependant ...03:17
kikothat's not what sabdfl is saying03:17
sabdflthis is still wrong, carlos, daf, we have separate +admin and _edit pages wherever possible, and don't depend on browser code for the distinction03:18
carlosgrrrrr03:18
carloskiko, sabdfl please coordinate a bit more :-(03:18
stubcprov: Sure03:18
kikosabdfl, the only reason I suggested it was to avoid the extra work03:18
cprovstub: thanks, have fun later03:18
SteveAwe should not over-use the permission query namespace03:19
kikocarlos, steve's slapping my wrist too, so I'll just say sorry on this one. 03:19
SteveAif we over-use it, this will make things really hard to maintain03:19
SteveAin general, a page requires a permission to access it03:20
SteveAsometimes, we want to do cute things, especially in portlets / menus03:20
SteveAtaking permissions into account03:20
SteveAbut, if a page has lots of permission query stuff in it, it will make it hard to understand03:20
SteveAand hard to maintain03:20
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Merge in calendar code, r=salgado,stub (patch-2015: james.henstridge@canonical.com, marius.gedminas@canonical.com, stuart.bishop@canonical.com)03:21
carloswell, we will get the final fix merged into production and I will undo the changes to be merged with next production update....03:21
sabdflkiko: extra work?03:22
sabdflit's two zcml statements!03:22
sabdfli'll fix it now, and land03:22
kikoI appear to me in the middle of some misunderstanding.03:23
lifelessok, goodnight for real, tests passing, me crashing03:25
carloslifeless, night03:25
=== carlos wishes pqm were faster
salgadocarlos, have you seen the error report I pasted here for you?03:26
carlossalgado, no, sorry03:26
carlosI think I missed it03:26
salgadocarlos, https://launchpad.ubuntu.com/errors/showEntry.html?id=1120548526.070.17183908233403:27
carlosoh03:27
carlossorry, I mixed it with sabdfl's comments03:27
carlossalgado, yeah, I saw it03:27
carlossalgado, daf was working on that, I will give him the trace as soon as he's back03:27
salgadocarlos, just need to add addLanguage() and removeLanguage() to IPerson03:28
kikocarlos, daf: this parse_options() things makes me want to cry03:28
carlosin case he can fix it faster03:28
kikostub, any chance we can get a torpedo fix in to get rosetta-poimport running again?03:28
carlossalgado, ?, those comes from SQLObject directly...03:28
carlossalgado, at least that's the way it was when I implemented it some months ago...03:28
carloskiko, pqm has a fix03:28
salgadocarlos, exactly. then you just need to add them to the interface. no need to implement03:28
kikostub, any chance you can pull that patch from pqm when it's through with a pretty-pretty-please?03:29
salgadocarlos, if you don't add them to the interface the security proxy won't allow you to use them03:29
carloskiko, stub is waiting for it to cherry pick the fix03:29
kikoah03:29
kikocarlos, how come we get this sort of basic error happening repeatedly? :-(03:29
carlossalgado, hmmm, but those methods are there since long ago, I mean I'm using them since long ago, not sure if daf changed anything so we get that error now....03:30
carloskiko, because we are not checking the cronscript execution03:30
sabdflcarlos: are you merging another sampledata change now?03:30
sabdfli've been trying to land something for two days03:31
carloskiko, we talked about it, test for that is a bit difficult but I'm going to work on it this week03:31
kikocarlos, even pyflakes or pylint would catch that one..03:31
carlossabdfl, no, I didn't change any sampledata this week03:31
salgadocarlos, for me it looks like the code which uses this method is not tested, because any call to person.addLanguage() will not work03:31
sabdflcarlos: someone changed the owner of a potemplate in a merge today03:31
sabdfland conflicted with me03:31
carloskiko, I need to get used to those tools, still trying to get uptodate after the exams, give me sometime...03:32
kikosabdfl, I meant extra work for the end-user.03:32
carlossabdfl, oh, I changed it on Friday but was not merged until today, sorry03:32
carlossabdfl, forgot that one03:32
carlossabdfl, I had to change it to add a test 03:33
carlossalgado, could be, let me ask daf when he's back It's long ago since last time I touched that code and he should be able to answer it easily03:33
kikocarlos, apologies, btw -- only pychecker would have caught this error.03:37
kikostill, just running it once manually would have caught it...03:38
carloskiko, isn't pychecker broken with sqlobject classes?03:38
kikoI don't know, I just ran it on this file and it worked fine03:38
SteveAkiko: i can appreciate the "extra work for the end user" side of things.  it is also important to give the end-user a consistent model that they can understand.03:38
SteveAif we use +edit and +admin pages consistently, that forms part of the model03:39
kikodoes the +admin page have all the fields the +edit page has?03:39
carloskiko, yes, the only difference was the readonly 'name' field03:39
SteveAif we're requiring extra page changes for frequently undertaken tasks, then that's a good time to look at doing something to fix that, but that doesn't particuarly disrupt the overall model.03:40
carloskiko, because the +admin one has potemplatename as read/write03:40
carlosthat it's a kind of alias03:40
kikoand can +edit and +alias use the same zpt?03:42
carlos+alias?03:42
carlos+admin ;-)03:42
carloskiko, they could, yes03:42
kikoaiee03:43
carlosas it's an autogenerated form03:43
kikoah03:43
kikoand if it wasn't?03:43
SteveAaw screw.  when i run page tests in isolation, all pass03:43
kikonot without using PQNS, I suspect03:43
SteveAwhen i run all tests, a foaf test fails03:43
sabdflSteveA: 30-mergepeople..?03:43
carloskiko, with tal conditionals we could solve that, I suppose, but then it's the same problem with the current merge, right?03:43
SteveAsabdfl: yeah03:43
carloskiko, as the security code is inside the .pt file03:43
kikocarlos, right.03:43
sabdfli'm trying to debug that too03:44
sabdflon my machine, all tests pass03:44
carlosSteveA, same here, but with malone tests03:44
SteveAcarlos: there is a feature called "usage" that allows you to use one page template under different circumstances.03:44
sabdfli've spent all day on this, and am about to ban anyone else from emailing pqm till i get it landed :-)03:44
SteveAcarlos: we're not using it at present, though.03:44
carlosSteveA, isn't it the same problem we have now?03:44
SteveAsabdfl: maybe i should take a look at it, as it is failing on my machine.03:44
sabdflcarlos, SteveA: this is a very simple situation, that does not call for fancy zope3 stuff03:44
carlosSteveA, some fields will appear as launchpad.Admin and others as launchpad.Edit03:44
sabdflit requires two zcml directives, one for the +edit page, which many people will use to edit the description and potemplatename, and one for the +admin page, which only hard-core admins and rosetta-exports will use03:45
carlossabdfl, I know, I solved it that way first time I implemented it03:45
sabdflcarlos: i do not want forms that are sometimes editable and sometimes not03:45
sabdfli've spent days shitting on bradb for that in malone, let's not do it in rosetta, please03:45
kikoright, the zcml is simple, but the page templates are my question03:45
sabdflkiko: they are all autogenerated, first, and second, you WANT different templates because you likely want different additional details on them03:46
kikoI didn't think that was the case here -- simply one field that would be editable or not.03:46
kikoanyway, I am overruled03:47
=== seb128 [~seb128@ANancy-151-1-4-223.w83-194.abo.wanadoo.fr] has joined #launchpad
seb128hi03:48
seb128can we get gnome-menus on arch.u.c? :)03:49
carlosstub, are you ready?03:49
carlosstub, my changes are ready03:49
SteveAsabdfl: i've tracked down the bug03:49
ddaaseb128: sure03:49
ddaaseb128: here are the required steps03:49
sabdflcarlos: i don't have time to sort this out properly, i'm just going to delete those test. best make backups if you want them03:50
ddaaseb128: look for the product on launchpad. In that case it's alredy there: https://launchpad.ubuntu.com/products/gnome-menus03:50
seb128k03:50
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Added missing security declaration + typos (patch-2016: carlos.perello@canonical.com)03:50
sabdflSteveA: what's the fix?03:50
SteveAsabdfl: it's some strange case of equality on sqlobjects.  the deep fix, i'll have to look into.03:51
SteveAi can give you a quick fix03:51
sabdflSteveA: please03:51
SteveAi'm just going to test it -- don't want to waste your time with a bogus fix03:51
carlossabdfl, delete those tests?03:51
carlossabdfl, because the conflict?03:51
sabdfli had also done a assert email.person == self, 'Wrong person! %r %r' % (email.person, self)03:51
sabdflto try to get to the bottom of it03:52
sabdflbut since it didn't show on my machine i've had to keep submitting03:52
sabdfland everyone else gets ahead in the queue03:52
ddaaseb128: since it has only dummy descriptions and such, I have it to you. Please make a good description, and enter cvs and ftp details in the ill-named head branch.03:52
ddaa* I have assigned it to you03:52
sabdfland then there are conflicts so the tests aren't run by pqm...03:52
seb128ddaa: ok03:52
carlossabdfl, ok, merge it and I will redo the sampledata change 03:52
carlossabdfl, and reactivate the test03:52
sabdflcarlos: the sampledata is fine, i have fixed that03:52
carlossabdfl, ok?03:52
carlossabdfl, then=?03:52
sabdflit's the edit-*.txt tests03:53
stubcarlos: patch-2016?03:53
=== ddaa goes out to rename "head" to "main"
sabdflall of which test the forms i will remove03:53
carlosstub, I just sent you an email with the extra ones to add to the previous email03:53
sabdfli don't have time to recreate those tests on the admin pages03:53
ddaaseb128: wait a min...03:53
sabdflddaa: why not add a recommendation that "main" be the name of any new series being created for a prodct has has no series?03:53
seb128ddaa: k03:54
carlossabdfl, as long as you leave the edit ones, that's enough03:54
sabdflyou could add that direct to the web pages03:54
sabdflcarlos: there's nothing left to edit, beyond the description03:54
ddaasabdfl: probably because I have not asked for it clearly enough.03:54
carlossabdfl, I will add the +admin ones03:54
sabdflnothing else is safe for ordinary users03:54
carlossabdfl, the owner03:54
ddaasabdfl: anyway, those are automatically created products and branches.03:54
carlossabdfl, aren't they supposed to change the owner of a potemplate?03:54
sabdflddaa: what i'm saying is, if there is a behaviour of LP users you want to avoid, the thing to do is nudge the pages that induce that behaviour in the directin you want03:54
sabdflcarlos: that's object reassignment, check with salgado on the best practice there03:55
carlossabdfl, ok03:55
ddaasabdfl: yes, we complained several time that the text was wrong, but I think we never went around filing a formal bug.03:55
carlossabdfl, anyway, the test checks that only the right values are tehre03:55
ddaaThough I'm not even sure of that. I'll check once I'm done with seb128.03:55
carlossabdfl, so that test should reappear03:55
carlossabdfl, but don't worry, I will take care of it03:55
=== carlos -> lunch
sabdflddaa: just fix it yourself, if it is just text it will be a quick review03:56
sabdflddaa: you should get comfortable with the code behind those pages, and improve it to suit your purposes03:56
sabdflevery now and then you'll do something that's not perfect, but it will get sorted out03:56
sabdfland we'll find a better way to achieve what you want03:56
SteveAsabdfl: the thing is, they're the same person.  just, a different object.  __eq__ is supposed to work.  i don't yet know why it doesn't.  I shall find out after some lunch.03:57
carlosstub, do you need anything from me or could I leave to have lunch?03:57
SteveAsabdfl:         assert email.person.id == self.id03:57
sabdflbut it is much better if you treat LP as open source for your needs :-)03:57
SteveAsabdfl: all my tests pass when that line is changed.03:57
ddaasabdfl: I'll do it when I can get around to it.03:57
stubcarlos: have lunch03:57
carlosok03:57
carloslater03:57
SteveAsabdfl: but, please add an XXX comment owned by me, that this is so because of an sqlobject oddity03:57
ddaaseb128: about gnome things in general03:57
ddaaseb128: you need to set up a 'main' series for the MAIN branch on the CVS.03:58
=== SteveA --> lunch
ddaaseb128: and additional series for release branches like gnome-2-10 that are actually packaged03:59
seb128ok03:59
ddaamh...03:59
ddaaactually, since you are packaging 2.11...03:59
seb128hoary has 2.1004:00
ddaaIf you care about 2.10, then you should enter the cvs details for the release _branch_ on the CVS.04:00
ddaain the 2.10 series you'll give ftp details with ftproot=ftp://ftp.gnome.org/pub/gnome/sources/gnome-menus/2.10/04:01
ddaaand if you are interested about hct support for packaging 2.11 you should also create a 2.11 series. Since it does not have a cvs branch, just enter ftp details on that one.04:01
ddaaseb128: you get the idea?04:01
seb128yep04:02
seb128I don't really care about 2.10 atm, main is fine04:02
=== seb128 updates the descriptions
sabdfloh, gosh, darn, sampledata conflicts again04:03
ddaawell, I guess you care about 2.11, at least we're going to have to put ftp details there, so I'd like distro people to enters details about what they are packaging in breezy.04:03
ddaa(otherwise someone else here will have to do it)04:04
sabdflstub: the calendar merge has made my life difficult04:04
sabdflwas any new sampledata added?04:05
sabdflor was it just a structural change?04:05
ddaaseb128: I'm not clear on whether 2.11 should be a separate series or just put the ftp details for that on MAIN, and change them regularly... I guess it's a matter of taste...04:05
seb128ddaa: I prefer to have MAIN, and to create gnome-2-12 later04:05
stubsabdfl: IIRC sample data changes were in there04:06
ddaaseb128: that's your choice. As long as the ftp details for the latest releases are _somewhere_ meaningful, HCT will be happy.04:06
sabdflstub: pity, there goes a few useful hours :-/04:06
ddaa(and as a consequence, you will be happy, sabdfl will be happy, and will be happy)04:06
seb128ddaa: I've updated the page for MAIN04:07
seb128ddaa: k04:07
ddaaseb128: I see no cvs or ftp details in the series04:08
sabdflstub: what was the db patch number that added the db structures for calendars?04:09
=== jdahlin [~jdahlin@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
ddaaAbout the product description. You should leave blank lines instead of the "dot line" format of control files.04:09
stubsabdfl: patch-17-38-0.sql04:09
seb128ddaa: I've update the serie, fixing the main04:10
ddaaseb128: the Download URL field of the product description is _not_ the place to tell HCT where to retrieve tarballs. Actually, it's used nowhere yet so it can be safely ignored. The place to input that data is the "edit series details" page.04:11
seb128ddaa: main updated too04:11
seb128ddaa: I've figured that after editing the serie :)04:11
ddaaseb128: what is the page of what you call the "series"?04:11
seb128https://launchpad.ubuntu.com/products/gnome-menus/+series/main/+edit04:11
ddaaHu...04:12
ddaaThat's the edit page for the main series yes.04:12
ddaaSo, I guess that what you call the "main" is: https://launchpad.ubuntu.com/products/gnome-menus04:12
ddaaThat is the product.04:12
ddaaFor launchpad entry purposes, "main" is just a series among equals.04:13
seb128right04:13
seb128so I've update the product information, and put the right ftp etc for the main serie04:13
seb128s/update/updated/04:13
=== ddaa ties the product to the gnome project, since it follows the gnome release cycle
sabdflddaa: are svn imports syncing? lifeless?04:14
ddaasabdfl: last I heard of it, there was a bug with svn update not actually updating.04:14
sabdfllifeless: ?04:14
ddaahe's sleeping04:14
ddaaseb128: still no cvs details on the series. Can you enter them, please?04:15
seb128oh, that's "edit source"04:16
seb128doing it now04:16
seb128ddaa: should I specify a branch for HEAD?04:17
ddaayes, MAIN is the branch.04:17
ddaaHEAD is some sort of autocrackful tag.04:17
seb128updated04:17
ddaaLooks good.04:18
ddaaseb128: autotest import running, I'll tell you when it's up on arch.ubuntu.com or if there is problem preventing that.04:19
seb128ddaa: thanks04:19
stubdebonzi: Can you have a look at stuart.bishop@canonical.com/launchpad--gina--0 ? I have ripped out the command line, replaced it with entries in launchpad.conf, and changed all the print statements to use the Python logging system (probably with badly chosen log levels). I also have not tested it ;)04:22
debonzistub, man.. its so cool.. :) Sure I can.. do you want me to do some tests too?04:23
stubdebonzi: tests? Of course ;) You probably want to review the levels I'm logging stuff at. In general, I think it will run with '-q' so only WARNINGS and above are printed. I might have made some INFO that should be WARNING or ERROR and have almost certainly mixed up some INFO and DEBUG statements.04:24
stubdebonzi: Note I have *not* tested - the modules might not import at the moment, but I gotta do this production merge.04:26
sabdflstub: founds quite a quick way to deal with this smapledata conflict04:27
debonzistub, right.. I will take a look on it and try to make some runs localy..04:27
sabdflmv the newer patches out the way, make the db with old sampledata, apply patches, make newsampledata, mv patches back, mv newsampledata to current, make04:27
debonzistub, I *have* to go buy some food now... I will be looking to it right after lunch ... 04:28
=== debonzi -> FOOD
stubdebonzi: No problem. I'm going to bed after this rollout anyway ;) If I have broken anything majorly, we can keep running with the command line stuff for the time being.04:29
debonzistub, cool... Thanks dude04:29
sabdflwho just asked for a landing?04:32
sabdfland is it big?04:32
bradbi just sent a merge request. it's only about 3 lines.04:36
sabdflok04:37
kikobradb, is it a fix for the odd error that steve reported today?04:41
bradbno, it's a fix for the header when viewing the upstream bug listing as the upstream maintainer04:42
bradbi noticed that bug that SteveA couldn't mark as fixed is marked fixed04:42
bradbSteveA: what's the story on that one?04:42
kikobradb, look up the system error in the error logs04:43
kikohttps://launchpad.ubuntu.com/products/launchpad/+bugs/1193/+edit04:43
kikoshouldn't be hard to find04:43
stubbradb: The view page has a save button on it was the major cause04:43
stubbradb: (so Steve thought he was on the edit page)04:44
bradbit does? i thought i fixed that more than a week ago.04:45
=== bradb waits for a merge from rf to finish to look at what's happening
kikostub, are you talking about the error-reports bug steve reported?04:45
kikoor some other issue?04:45
stubkiko: Brad Bollenbach: i noticed that bug that SteveA couldn't mark as fixed is marked fixed04:46
kikostub, oh, I see04:47
kikoso he misreported?04:48
kikoI changed the 'status' to fixed.04:48
kikothat's what he said04:48
kikoand more interesting, I don't seem to have write access to that page04:48
bradbkiko: how did you change the status to fixed?04:49
kikoI didn't04:49
bradboh, "that's what he said", ok04:49
kikobradb, I just emailed to the list and to you summarizing04:50
bradbok, thanks, taking a look while my ctags rebuild04:50
mptkiko: Is https://launchpad.ubuntu.com/malone/bugs/1236 yours?04:51
ddaaseb128: gnome@arch.ubuntu.com/gnome-menus--MAIN--004:51
seb128ddaa: thanks04:52
sabdflbradb: is that to fix the integrityerror in bugtask.txt?04:52
bradbsabdfl: the merge request i did? it's a fix so that the "select" column header is rendered when looking at the bugs as an upstream maintainer of a thing.04:53
sabdflok04:53
bradbi haven't yet given any thought as to how to reset the db connection in the middle of a doctest, to recover from an IntegrityError04:54
kikompt, let me see04:57
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  small header fix in the bug listing (patch-2017: brad.bollenbach@canonical.com)04:59
kikompt, nope04:59
mptheh, good timing05:00
kikoI can fix it if you like, but I think you're the man for it :-P05:00
mptbradb: How did you fix it?05:00
kikobradb, is that patch a fix for bug 1236?05:01
bradbkiko: yeah05:01
kikosabdfl, is the tree closed for merges?05:01
kikoaha05:01
bradbmpt: just added three lines of html to show the select table header when it should05:01
mptbradb: Does the header contain any text?05:02
bradbjust the word "select"05:02
=== mpt cries
mptok, I'll fix it later05:04
=== Keybuk [~scott@descent.netsplit.com] has joined #launchpad
kikompt, I'll let you close the bug then05:05
mptbradb: Did you move the title column to the right?05:05
bradbmpt: yes05:06
bradbbugzilla style05:06
mptwhy?05:06
mptI'm sure there's a good reason :-)05:06
mptbut "bugzilla style" isn't ...05:06
bradbwell, it helps for some use cases, but it's less useful for others05:08
bradbmpt: let's say you're jblack 05:08
bradband lifeless has assigned a bunch of bugs to you05:08
bradbso, you have a "todo" list now05:08
mpthmm, I remember jblack saying something about column ordering, yes05:08
bradbsome of those bugs are important, some of them are less important05:08
bradbso, you're going through your todo list...what kinds of things are the most important to be able to scan quickly when going through this todo list?05:09
bradb(and why?)05:09
mptthe checkboxes, and the summaries05:09
mptso I can check a bunch of them and click the menu at the bottom of the list to change the selected bugs to High priority05:10
mptor target them for 1.605:10
bradbmpt: that's what lifeless already did for you05:10
mptlifeless set priorities for jblack's bugs?05:11
mptThat would make sense for bugtracker.somebigcorporation.com05:11
bradbAFAIU, it's not jblack who decides, for example, that a bug is targeted for a specific release05:11
mptI don't think it's the usual case for projects where the people collaborating aren't usually in a contractual relationship05:12
bradbmaybe i misunderstood, but that would be all the more confusing, considering jblack suggested these column ordering changes ;)05:12
bradbmpt: what do you think needs to be changed from the way it currently looks?05:13
bradb(and why?)05:13
mptI accept that's what jblack would like, I just don't think it's the usual case05:13
mptThe usual case is:05:14
mpt* people haven't bothered to set priority05:14
mpt* people haven't bothered to set severity05:14
mpt* for a lot of the bugs you're looking at, there is no assignee yet05:14
mpt* reporter isn't that interesting05:14
morgsSteveA: test.py runs in python2.3, but uses set() which is not supported?05:15
kikoreporter is rarely interesting05:15
bradbmpt: "the usual case" for which type of user?05:15
bradbit sounds like you're talking about the triager use case now05:15
mptnot really05:16
mptEven Launchpadders don't bother to set severities and priorities on their bugs!05:16
mpt(most of the time)05:16
bradbdoes BMO have a triagers guide?05:17
mptI'm pretty sure it does05:17
bradbfor example, GNOME does. the first paragraph of the GNOME triagers guide says that triaging involves setting the severity/priority on a bug (among other things)05:17
mptwhere's that?05:18
bradbBMO's triage guide mentions setting Severity as "Optional, but helpful"05:18
bradbmpt: http://developer.gnome.org/projects/bugsquad/triage/05:19
mptIn b.m.o, if you dare set the priority on a bug that isn't assigned to you, you'll probably get yelled at05:19
kikoseverity is most of the time only settable by the reporter05:19
kikopriority is most of the time only settable by the project manager05:19
kiko(or the developer if he is allowed to prioritize his work)05:20
=== jdahlin is now known as jd-fud
mpt"As stated in the Bugzilla Etiquette you MUST NOT CHANGE the Target Milestone and Priority fields. These fields are reserved for the developers. Bugs      with Target Milestones in the past are NOT EXCEPTED."05:20
mpthttp://www.mozilla.org/quality/help/bugzilla-privilege-guide.html#editbugs05:21
bradbKDE's triager guide also mentions setting the severity, at least05:21
=== lifeless [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad
bradbmpt: sure, that makes sense. it seems logical that a triager has no place choosing target or priority. i'm just reporting the information i've found.05:22
mptwhat a weird circumstance that b.g.o and b.m.o practice should be so different05:23
bradbmpt: might we be at the point now where different "types" of listings need different, well, "types" of listings? :)05:24
SteveAbradb: i couldn't mark it fixed from the page i was on, because of url changes in the recent production upgrade05:24
mptbradb: yeah, but customizability doesn't preclude us from having to choose a default :-P05:24
SteveAmorgs: test.py should be changed, then.  me, I always use "python test.py"05:24
kikompt, I think the GNOME triager's guide is wrong.05:25
mptbradb: The other reason having the title as the last column in Bugzilla really annoys me is that I can't see the bug number and the title at the same time05:26
mpte.g. https://bugzilla.mozilla.org/duplicates.cgi?sortby=delta&reverse=1&maxrows=100&changedsince=3005:26
mptnormal buglists are better than that, but not much better.05:27
bradbmpt: btw, i wasn't talking about "customizability", i was talking about showing a different kind of listing, depending on the view you're looking at (so, a triage view looks somewhat different to the "my todo list" sort of view, etc.)05:27
carloshmm05:27
SteveAright... let's see why email.person != self05:28
bradbcolumn customizability is somewhere down the line well behind canned searches, IMHO05:28
carlossabdfl,  we have two portlets with similar information in the same page: https://launchpad.ubuntu.com/products/ddtp-ubuntu05:28
mptbradb: and how would you determine which view to show?05:28
carlosmpt, ^^^05:28
bradbmpt: we could create them. +untriaged, +mytodolist, +whatever, etc.05:29
sabdflcarlos: the title on both portlets suck, i certainly didn't set those :-)_05:29
mptkiko: wrong as in badly written, or misguided, or what?05:29
bradbmpt: and then it's just a matter of "affording" them05:29
sabdflerrr05:30
sabdflsorry05:30
kikompt, misguided05:30
carlossabdfl, the title and the content....05:30
sabdflthat's the product title coming though :-)05:30
mptahh05:30
mptI was thinking "huh? is this a Rosetta page?" :-)05:30
carlossabdfl, are you fixing it then?05:31
sabdfli think the second one is a borked product-PROJECT-details05:31
sabdflyou sort of need to see both05:31
sabdflthe product details, and the project details05:31
sabdflbecause, for example, translation permission is the "most restrctive of BOTH"05:31
mptthere's something a bit broken in the "latest malone bugs" box too05:32
kikompt, what's broken there?05:32
carlosmpt, yeah, the icon is in the next line05:32
kikoI changed that portlet in my tree05:32
carlossabdfl, I see, then the description should be improved :-)05:32
mptkiko: (1) They're not Malone bugs, they're "Package Descriptions for Ubuntu" bugs. (2) There's a stray (i) icon at the bottom.05:32
kikompt, what page is this?05:33
carlossabdfl, anyway, that product does not have a project05:33
mptkiko: https://launchpad.ubuntu.com/products/ddtp-ubuntu05:33
bradbSteveA: so, just to be clear, is there a problem with marking the bug fixed, or has the problem magically gone away? i'm not sure if you're saying this was a problem specific to, perhaps, having tried to make this change right in the middle of a prod upgrade.05:33
carlosso I'm not sure that portlet should appear05:33
kikompt, I changed that to Latest Bugs Reported05:33
kikono clue about the dangling icon, let me check.05:34
mptbradb: targeted views is an interesting idea, though we seem to have a lot of trouble keeping even one view in good working order :-)05:34
kikompt, I think that's fixed in RF05:34
mptgood good05:34
kikoah, it's not, but I will fix here05:35
kikocarlos, bradb, sabdfl, mpt: leave the dangling icon and the title to me05:35
mptkiko: looks like a <li><div tal:condition> instead of an <li tal:condition>, perhaps05:35
sabdfl<insert background music>05:35
sabdflkiko to the rescue!05:35
carlos:-D05:35
kikoexactly05:35
bradblp 91105:36
=== mpt croons, "But dangling, leave the last dance to me"
SteveAbradb: this was specific to using the system during an upgrade.  i subsequently marked it as fixed.05:36
kikoI'm rescuing that in total selfishness, because I don't want 5000 conflicts on my merge 05:36
bradbSteveA: ok, cool05:36
ddaakiko: there are that many files in launchpad?05:36
sabdflSteveA: so the correct form action for self-posting forms is: <form tal:attributes="action request/getURL"> ?05:38
bradbsabdfl: will you be okay with me splitting bugtask-editform.pt into bugtask-view.pt and bugtask-edit.pt? i want to fix this save-changes-showing-up-on-the-view-form again bug, and keep it simple.05:39
SteveAthat will work well.  i think we established that action="" ought to work according to the RFC, but we should check it in the browsers we wish to support.05:39
SteveAwho is awake and knows sqlobject internals well ?05:40
SteveAmpt: what do you think of action="" in self-posting forms?05:40
SteveAsabdfl: in the interests of simplicity, i think we should use action="" until someone reports an error.05:40
mptSteveA: I don't know of anything particularly bad about it05:41
sabdflbradb: i think so, but is that something that could wait till post-1.0?05:41
sabdflSteveA: linkchecker does, for a start05:41
SteveAlinkchecker does not comply with the RFC, then.05:41
SteveAin which case, what you posted above is right05:41
SteveAand stub should fix linkchecker sometime05:42
sabdfli'm mailing the list, to ask folks to be consistent, should I use the above, or =""?05:42
SteveAuse ="", as we can always do a mass replacement if linkchecker cannot be fixed05:43
SteveAbecause there is only one way to spell action="", but multiple ways to spell the TALES version05:43
SteveAand the right thing to do is to fix linkchecker05:43
mptto be fair to linkchecker, the usual meaning of action="" on most sites would be "oops"05:44
mptit just so happens that we use it often05:44
dafaction="" is perfectly valid05:44
SteveAdaf: yes.  we checked the RFC last time this topic came up05:45
bradbsabdfl: it'll take five mins to fix (cp foo bar, vim bar, delete a small snippet, change the ZCML, baz commit -s "[trivial]  ..."). if i don't do this, the save changes button will show on the view-only form when people who have edit privs view the view-only form05:45
=== daf wonders what happened to his merge request
kikompt, what class can I use for some text that will say "No bugs have been filed on this product"?05:45
dafmpt: hi05:45
mptkiko: "discreet"05:45
sabdflbradb: ok, go ahead05:45
bradbcheers05:45
mptdaf: ho05:45
mptugh, 3.45am :-(05:46
sabdflmorning mpt :-)05:46
kikompt, should I get rid of this silly bugnavigation table?05:46
kiko(and use <li> instead?)05:46
dafmpt: launchpad-editform.pt uses <h3> for the main page title, which is a bit inconsistent05:46
kikoit's a one-celled table with confusing highlighting...05:46
mptkiko: where?05:46
kikompt, in the latest-bugs portlet I said05:47
mptdaf: I saw that earlier today ... do you have an example URL handy?05:47
carloskiko, Before you see it and start crying... the import is failing now because it's missing some DB permissions05:47
carlosdaf, did you see salgado's report about the Rosetta preferences page?05:47
kikompt, for instance localhost:6038/products/malone05:48
carlosdaf, seems like we are missing tests for that part 05:48
dafcarlos: looks like that error page has expired05:48
mptkiko: where'd you get that sampledata and port? :-)05:49
mptkiko: oh, I see05:49
mptyes, use a <ul>05:49
carlosdaf, https://chinstrap.ubuntu.com/~dsilvers/paste/fileSKfjfq.html05:49
kikowhat class, mpt?05:49
mptkiko: there isn't one for bugs yet05:49
dafcarlos: hmmm05:50
mptdaf: Are you suggesting that I should fix it? :-)05:50
mpt(the <h3>, I mean)05:50
dafmpt: well...05:50
dafmpt: either that or tell me how to fix it05:51
BjornTSteveA: i've had to look at sqlobject's internal several times, wouldn't say i know it well, though. what's your question?05:51
mptdaf: the heading shouldn't be there at all ... Anything interesting it contains should be in the <h1>05:51
SteveAi'm trying to work out why i have two person objects that are different objects, but have the same id05:51
dafmpt: https://launchpad.ubuntu.com/products/plonecompositepack/unknown/+pots/compopack-po/+edit05:52
mptdaf: but I fear that means altering lots of code at once05:52
dafok05:52
mptdaf: I don't have permission for that page05:52
dafjust making sure you're aware of the issue05:52
dafbah05:52
dafwhy isn't mpt an admin?05:52
mptyes, I am05:52
mptaware of the issue, I mean05:52
dafright05:52
mptnot an admin :-)05:52
BjornTSteveA: i had that problem a while ago as well. somehow the cache got cleared in the middle of an transaction... talked to spiv about it, but he couldn't neither explain it nor reproduce it05:54
SteveAokay.  i have a live one.  i'll spend a little while looking into it05:54
dafah, I fudged the merge05:55
dafre-submitted now05:55
kikompt, discrete is doing nothing for me 05:55
SteveABjornT: i think i see the code that is causing the problem05:56
kikooh05:56
dafdiscreet, perchance?05:56
kikodiscreet05:56
BjornTSteveA: cool. what code is it?05:56
kikoweird.05:56
SteveABjornT: let me actually see if it is the code first ;-)05:57
mptkiko: I did *not* come up with the name for that class05:57
BjornTSteveA: ok :)05:57
kikompt, liar!05:58
mptIt's from plone.css05:58
mptand it's correctly spelled, it's just likely to be misspelled by Brazilians05:58
kikoBarzilians make no mistakes!05:59
bradbkiko: LPI meeting in 2, right?06:00
dafhttp://www.google.com/search?q=%22discreet+mathematics%2206:00
kikobradb, YES!06:00
dafkiko: I did a bit of work on the source package stuff06:00
bradbin #canonical-meeting?06:00
kikodaf, you da man!06:00
daflet me find that patch...06:00
mptdaf: http://www.google.com/search?hl=en&lr=&q=%22very+discrete%2206:00
kikoyeah06:01
=== morgs [~morgan@wblv-146-236-76.telkomadsl.co.za] has left #launchpad []
dafmpt: :)06:01
carlosdebonzi, when will gina start hoary/warty/breezy imports into production?06:03
debonzicarlos, not sure.. stub is taking care of it06:03
kikodebonzi, are you sure? stub seemed to be halted by the gina problems he reported06:03
kikoKinnison, I am holding you reponsible for anything that happens or doesn't to gina in the next days :-P06:04
carlosdebonzi, but the idea is that it start running this week, right?06:04
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.24: [trivial]  Patches for production (patch-2: carlos.perello@canonical.com, stuart.bishop@canonical.com, rocketfuel@canonical.com)06:04
Kinnisonkiko: I see06:04
kikoseriously06:05
Kinnisonkiko: very well06:05
debonzikiko, there was no problem in gina AFAICS.. the problem was that warty was not available on the launchpad db.. I talked with him today.. he has made some improvements that I am about to check06:05
kikoyou guys need to make it happen06:05
debonzicarlos, yes.. it should happen as soon as possible..06:05
carlosok06:05
kikono more excuses06:05
Kinnisonkiko: Indeed. I appreciate that. I do my best06:05
kikothis run has been delayed for way too long06:05
=== koke_ [~koke@adsl229-164.unizar.es] has joined #launchpad
=== Kinnison nods
carloskoke_, hi06:06
KinnisonIt is getting out of hand06:06
koke_hi! :)06:06
kikoKinnison, I'm going to talk to debonzi today06:09
=== Kinnison nods
KinnisonI've just sent an email to stub and debonzi, CCd to you about it06:10
dafkiko: https://chinstrap.ubuntu.com/~dsilvers/paste/filejhoxSJ.html06:11
dafkiko: that's what I have so far06:11
dafkiko: that gets me out of one DB improt into browser code06:11
SteveAhi koke_ 06:15
kikodaf, ah, neat06:15
dafif it looks ok to you, it means I can put my menus stuff up for review06:16
=== jd-fud is now known as jdahlin
=== comadreja [~comadreja@80.224.108.240] has joined #launchpad
carlossabdfl, daf: Until we implement a way to remove POFile and POTemplate objects, I need a product placeholder to move there POTemplate duplicates that should be removed so people doesn't translate them06:38
carlossabdfl, daf is it ok to create a product 'deprecated' to store them there?06:38
=== lifeless [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad
carloskiko, ^^^06:42
kikoI'm busy06:43
kikoand hmmm, I don't know if I approve06:43
=== carlos waits then until someone decides it while tags the obsolete POTemplates
kikocarlos, what about templates with translations for languages that should be hidden?06:48
kikobradb, how easy is it to produce a link to the person a bug is assigned to?06:49
kikoand how easy is it to omit a field if it's not relevant (in the read-only display)06:50
carloskiko, that's another issue06:50
bradbkiko: link for a person in ZPT should be (in theory, but untested) person/fmt:url, i think06:50
carloskiko, the right fix is to implement a way to merge POFiles and to remove POTemplate and POFiles06:50
carloskiko, so we don't lose translations and we can remove them after the merge is done (if needed)06:51
bradbkiko: for a read-only display...is the template being used for any other reason that the read-only display?06:51
=== jdahlin [~jdahlin@200-171-140-32.dsl.telesp.net.br] has left #launchpad [""]
=== Keybuk hugs smerge-mode
carloskiko, I'm asking for a way to fix the UI until we implement that feature so we "hide" those pofiles from the users and they don't lose their time with that. Overtime, the potemplate duplication should disappear as our automatic imports is being improved overtime06:52
kikocarlos, I was just asking if you were also proposing to fix that problem as well.06:52
kikobradb, visit the task page in editable and non-editable mode.06:53
carloskiko, we already want to fix it06:53
carloskiko, we were waiting post 1.0 to write a spec and implement it06:53
kikobradb, the issues I see are: 1) "Remote bug details" is usually blank and confusing in the non-editable mode. 2) the person isn't linked to06:53
bradbkiko: my next merge is about to break it into two separate templates. (first merge request failed because of a bugtask.zcml conflict)06:53
kikobradb, /please/ wait for my stuff to land before merging, I will cry blood06:54
kikoI just submitted my merge request06:54
kikoaieee06:54
=== kiko prays
bradbaugh, i hate it when these five minute things turn into 2 hour jobs06:54
kikocarlos, but could this problem also be fixed by using a deprecated product?06:56
kikowell06:56
carloskiko, no, because we move a POTemplate + all its POFiles06:56
kikos/fixed/worked around/06:56
kikoI see.06:56
carloskiko, and we don't have a way to move POFiles around06:56
carloswe could do it using Stuart's DB interface06:56
kikobradb, how can I see what PQM is doing?06:57
=== mpt [~mpt@203-167-186-120.dsl.clear.net.nz] has joined #launchpad
kikompt!06:57
carlosand could be a bit complicate... I prefer to fix it with the merge solution06:57
kikookay.06:57
carloskiko, ps aux|grep pqm at chinstrap06:57
bradbkiko: watch 'ps aux | grep pqm' on chinstrap is the best i can do06:57
kikomy tests pass06:57
kikomy merge request has been sent06:57
dafkiko: so, that diff?07:00
kikoFUCKING @#@!#@! PQM07:00
kikoconflicts galore07:00
kikoshould I give up07:00
kikoshould I give up07:00
kikoshould I give up07:00
kikoman07:01
kiko6 conflicts in page templates07:01
kikodaf, it looks like a start07:02
bradbwelcome to lp development :)07:02
dafkiko: should I commit it to my menus branch or what?07:02
kikodaf, I'd rather see it committed directly to RF...07:03
dafsure07:03
dafr=kiko?07:03
kikodaf, what does that change help you with, though?07:04
dafit means that rather than this:07:04
kikoare there no existing callsites that use findSourcesByName?07:04
daffrom canonical.launchpad.database import SourcePackageSet07:05
daf            sp_set = SourcePackageSet(distrorelease=self.context.distrorelease)07:05
daf            source_package = sp_set[self.context.sourcepackagename.name] 07:05
dafI can do this:07:05
daf            source_package = self.context.distrorelease.getSourcePackageByName(07:05
daf                self.context.sourcepackagename)07:05
SteveAany idea why pdb would be ignoring my breakpoints?07:05
dafkiko: nope, I grepped the whole tree07:05
kikodaf, the first bit tests to see if we supplied a string, right?07:06
dafyarr07:07
kikothat is such a hack07:07
dafyou can pass in a SourcePackageName or a string07:07
dafmm, it is a bit icky07:07
kikodocstrings need fixing then07:07
kikoare you sure that import is non-circular-import-safe?07:08
dafotherwise, you can have getSourcePackageByName and getSourcePackageBySourcePackageName07:08
bradbSteveA: maybe try throwing an exception immediately above the breakpoint?07:08
dafup to you ;)07:08
kikodaf, I don't think your code is so bad if the docstring clarifies it07:08
dafok07:08
SteveAbradb: the point is to add a breakpoint only when a certain point has been reached07:08
dafI haven't found any problems with circular imports07:08
kikoyou patch is currently in "ignoring docstrings" mode07:08
dafyes, that's true07:09
dafI'll docstring it07:09
kikor=kiko with that07:09
kikoenjoy the ride while it lasts07:09
kiko6 conflicts in pagetemplates07:09
bradbSteveA: ah07:09
kiko-fudman07:25
ddaaKeybuk: any reason not to use *.tar.bz2 when they are available from upstream?07:26
Keybuknope07:26
ddaaCool, let's try and be nice to gnu.org :)07:26
kiko-fudsabdfl?07:47
sabdflhi07:48
kiko-fudsabdfl, did you by any change remove the Mark this bug as occurring [...]  links?07:49
kiko-fud(from the -headline.pt portlet)07:49
bradb-lunchSteveA: how do you write multi-line Attribute docstrings?07:53
bradb-lunche.g.07:53
bradb-lunch    sourcepackagename = Attribute("""A dict like07:53
bradb-lunch                                     {'old' : ISourcePackageReleaseSet, 'new' : ISourcePackageReleaseSet}07:53
bradb-lunch                                     or None, if no sourcepackagename was made.""")07:53
bradb-lunch(er, s/Set/Name/, but anyway)07:53
SteveAi prefer using less indentation, as it makes things easier to read07:54
SteveA  sourcepackagename = Attribute(07:54
SteveA      """yeah...07:54
SteveA     """)07:54
SteveAbut lining up better07:54
bradb-lunch    sourcepackagename = Attribute(07:54
bradb-lunch        """A dict like {'old' : ISourcePackageName, 'new' : ISourcePackageName}07:54
bradb-lunch?07:54
bradb-lunch           or None, if no sourcepackagename was made.""")07:54
bradb-lunchs/was made/change was made/07:55
SteveAthe first line should be a plain description of what it is for, then say what form it takes.07:55
bradb-lunchok07:55
kiko-fudsabdfl?07:55
SteveAlike "A description of changes to the sourcepackagename of something"07:55
SteveAalso, have you considered using a class with old and new attributes, instead of a dict?07:56
SteveAit might make things clearer07:56
SteveAas you can document the old-new stuff in that class07:56
SteveAclass ChangedAttribute:07:56
SteveA    def __init__(self, old, new):07:56
SteveAetc.07:56
SteveAor ChangedValue might be better07:57
SteveAi dunno.  just a suggestion. 07:57
SteveAi have't looked at the rest of the code07:57
SteveAso i can't make a good recommendation07:57
=== SteveA finds a deep bug in sqlos
bradb-lunchi think it best to stick with what we've got, for now07:57
SteveAyou get what i'm saying thoug?07:57
bradb-lunchyes07:58
SteveAcool07:58
=== bradb-lunch & # bbl
=== sabdfl [~mark@sabdfl.silver.supporter.pdpc] has left #launchpad []
=== lamont__ [~lamont@15.238.6.251] has joined #launchpad
dafSteveA: you have an XXX in interfaces/general.py08:23
dafSteveA: do we have a plan for that?08:23
SteveAdaf: i'm kinda busy in the debugger08:23
dafit's not urgent08:24
dafbut now, while I'm cleaning up interfaces, might be an opportune time to try to fix it08:24
dafhmm, I'm getting odd failure messages from PQM08:27
=== lifeless_ [~robertc@dsl-211.17.240.220.rns02-kent-syd.dsl.comindico.com.au] has joined #launchpad
dilysNew Malone bug 1241 filed on source package wings3d by dwbrown: wings3d won't run, missing erlang library08:41
dilyshttps://launchpad.ubuntu.com/malone/bugs/124108:41
=== kiko-fud chants the dilys chant
kiko-fudBjornT, ping?08:54
carlosbradb-lunch, BjornT https://launchpad.ubuntu.com/errors/showEntry.html?id=1120589672.070.6405785138108:54
SteveAkiko-fud: i think i've found out why the staging server consumes a lot of ram.  i think there's connection caches that aren't being properly emptied in sqlobject.08:56
kiko-fudthat is so cool08:56
kiko-fudsqlos is chock-full-o-bugs08:57
SteveAyeah, well i'm in its guts now08:57
=== carlos leaves
carlossee you tomorrow!09:11
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko]  IDistroRelease.getSourcePackageByName (patch-2019: daf@canonical.com)09:11
bradbright, you can't file a bug on a distro release yet (for no other reason than that it isn't implemented yet...and, well, it didn't seem like a good idea to make it simple and obvious to file a bug on a specific release, because then lots of users might start doing that when they don't meant to.)09:12
dafSteveA: I have a branch where every interface file has an __all__09:13
SteveAcool09:13
dafdoes that need reviewing, or shall I just push it through as [trivial] ?09:14
SteveAtrivial09:14
dafgroovy09:14
dafit can land with the other import fascism stuff, if PQM stops being weird09:14
kiko-fud@#@!$@!#09:15
kiko-fuddilys, accept my changes ffs09:15
dafkiko-fud: you getting weird CVS errors too?09:15
kiko-fudnope09:16
kiko-fudshe's just slow09:16
dafah09:16
dilysNew Malone bug 1242 filed on product Malone by Brad Bollenbach: BugPriority and BugSeverity vocabs are misnamed09:25
dilyshttps://launchpad.ubuntu.com/malone/bugs/124209:25
SteveAdaf: i just received a discard message from launchpad-error-reports09:35
SteveAHello Carlos Perello Marin,09:35
SteveARosetta has finished exporting your requested files.09:35
SteveAHowever, problems were encountered exporting the09:35
SteveAfollowing files:09:35
SteveA * es.mo09:35
SteveA * es_ES.mo09:35
SteveA * ko.mo09:35
SteveAand so on09:35
dafdiscard?09:37
dafddaa: around?09:38
SteveAdaf: the error reports list discarded it09:43
dafdo you know why?09:43
SteveAno09:43
dafhmm09:43
dafI thought stub (or maybe somebody else) had whitelisted mail from that address09:44
dafcertainly those mails have gotten through before09:44
SteveAFrom:09:44
SteveArosetta@canonical.com09:44
dafyes09:45
dafhmm:09:45
dafThere were 8 database import violations.09:45
dafThere were 32 imports 'from *' without an __all__.09:45
dafI wonder how we got back up to 809:45
=== asmodai [~asmodai@sakko.demon.nl] has joined #Launchpad
salgadoSteveA, do you have two minutes to talk about a problem I found and am not sure what to do so it won't happen again?09:59
SteveAok09:59
salgadoso, someone requests something that needs email validation, we send that person a token, and that token has a type10:00
salgadowhen you go to that token page, I get the type and then redirect you to the correct page for that type10:00
salgadoeach of these correct pages has a self-posting form10:01
ddaadaf: pong10:01
=== sabdfl [~mark@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad
salgadono problem up to now. but someone change the action of the form to be action="." and this broke people merge10:02
sabdfldaf: i have a nice surprise for you and carlos tomorrow ;-)10:02
sabdflsalgado: that was me, i apologise10:03
salgadoeven worst, I can't see how to catch these kind of problems with pagetests10:03
sabdfli think i buggered up a few pages like that10:03
dafsabdfl: ooh!10:03
dafddaa: I was cleaning up some of the interface code10:03
dafddaa: and encountered some oddities in interfaces/pyarch.py10:03
salgadosabdfl, don't worry. I think this is good because we need to find a way to catch this kind of problems10:03
ddaadaf: please nuke all you want10:03
bradbis there a way to make all string literals in a python module be unicode without prefixing all of them with a u?10:03
dafddaa: well...10:04
ddaadaf: this stuff is essentially all cruft.10:04
salgadoSteveA, are you with me?10:04
dafddaa: you import ArchiveNotRegistered, but then define a class by the same name10:04
sabdflSteveA: is there a nice way to traverse and consume multiple url path components?10:04
SteveAsalgado: we need to start using ClientForm in order to catch these kinds of problem.  stub's been looking at it.  it will allow us to process the form much like a browser does.10:04
SteveAbradb: no, use u"literal"10:04
sabdflsay i want a url like foo/+bar/baz10:04
ddaadaf: hu... that's a arch.broker oddity... which is also essentially all cruft10:04
sabdfland i never want a BarSet10:04
bradbSteveA: ok10:04
sabdfli never want a page like foo/+bar/10:04
sabdfli always want a baz10:04
sabdflhow would you do that?10:05
ddaadaf: the arch.broker and pyarch interface are two bits that need to be refactored using a hacksaw.10:05
dafddaa: is this file 100% nukable?10:05
SteveAso, in the traversal for a foo, you want to essentially say '+bar/baz' is a name you're interested in10:05
sabdflthe standard traverser seems to get (object, request, name)10:05
SteveAyou can't just say that though10:05
dafddaa: or does it need to be cleaned up by somebody who knows what's going on?10:05
sabdflwhere name would be +bar10:05
SteveAso you have to use the request itself10:05
sabdfli want to "consume" the +bar and the baz10:05
SteveAyes10:06
SteveAthere's an api on the request to do that10:06
sabdflSteveA: ok, i see that this will allow me to peek ahead to the bar10:06
=== Burgundavia [~corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad
sabdflbut how do i tell zope that i've also used up the baz10:06
SteveAlet me check that API10:06
ddaadaf: I'm not very conversant with the uses of interfaces in launchpad, but as far as I know it's essentially all nukable. I believe no zope thing use it. But I might be wrong.10:06
dafddaa: hmm -- guess I could try nuking it and seeing if the tests still pass10:07
SteveAyou need to use two apis from request10:07
ddaadaf: there are some specific tests in the canonical.arch stuff that depend on it.10:07
SteveA  request.getTraversalStack() and request.setTraversalStack()10:07
sabdflSteveA: ok, is there an example in LP you can point me at?10:07
ddaadaf: but that's circular stuff, tests that crufty code implements a crufty interface.10:07
SteveAyou get a list from request.setTraversalStack()10:07
sabdfli think we want to avoid FooSubSet's like this10:08
SteveAinspect / alter this list.  then set back to the request.10:08
dafddaa: https://chinstrap.ubuntu.com/~dsilvers/paste/file1CrjuK.html10:08
dafddaa: those are my immediate concernts10:08
sabdflSteveA: the list is the remaining name items?10:08
SteveAsabdfl: if we want to do this a lot, then i can write something to make this straightforward.10:08
SteveAyes, in reverse order iirc10:08
sabdflthanks SteveA!10:09
SteveAi suggest popping into the debugger in your traverse function10:09
SteveAand inspecting getTraverseStack()10:09
SteveAto get a feel for what it looks like10:09
SteveAif you have just +bar and nothing more, return None from your traverse function10:10
SteveAand that will be a 40410:10
ddaadaf: I do not know about the first. The second and third one as wrong even in the original intent (it was supposed to define the exceptions only if pyarch was not available), and the last one is probably an offshot of those.10:10
sabdfl*** AttributeError: 'BrowserRequest' object has no attribute 'getTraverseStack'10:12
sabdflSteveA: that's what it looks like ;-)10:12
sabdflah, it's getTraversalStack()10:13
SteveAyeah10:13
SteveAi'll add a facility to do this "consuming a path segment" when i land the traversal / urls / breadcrumbs refactor that we discussed.10:14
SteveAthen it will be easy to apply this when we need an extra namespacing thing10:14
SteveAsabdfl: i have tracked down the cause of the problem we had earlier to do with comparing persons10:18
sabdflwhat was it?10:18
sabdfldid you have a security proxied object on the one side?10:18
SteveAi don't yet know how to fix it.  it is to do with a connection's __del__ being called.10:18
SteveAnothing to do with the security proxies10:18
sabdfli've landed with that security proxy weirdness in there10:19
SteveAthe connection's __del__ is removing objects from the cache10:19
sabdflas long as nobody adds a /fmt:date we will be fine :-)10:19
SteveAit isn't the security proxies.  the two person objects were different objects.10:19
SteveAthey're meant to be the same person object10:19
SteveAthe GC is interrupting the flow of the program10:20
SteveAand doing some collection, including the dbconnection10:20
SteveAwhich is removing the cache10:20
SteveAnow, i think that this may be a dbconnection from a different thread10:20
SteveAor from a previous transaction10:20
bradbsalgado: i just replied to your FBN review. might you have a chance to take a look so that we can try and land this today?10:21
SteveAin which case, the fix is to make the connection more picky about which cache it empties10:21
SteveAand i now understand more sqlobject internals than i really wanted to.10:21
bradbSteveA: is it a good idea for boolean comparisons to rely on cache behaviour?10:23
SteveAdoesn't matter.10:23
SteveAif the cache is screwed up, then we have more to worry about than just that.10:23
SteveAit means that you may be changing some state, but still get an old object lying around.10:24
salgadobradb, cool. I'll try to have a look at it10:24
SteveAso, a fix to __eq__ would fix this on the surface level10:24
SteveAbut would be hiding some deeper problems10:24
bradbi agree that broken caching is a bad thing, i was just wondering if writing code the depends on caching behaviour/policy working in a specific way is a reliable coding practice10:25
SteveAall our code depends on the cache working properly10:25
bradbsalgado: cool, thanks10:26
bradbkiko-fud: i didn't notice your branch land yet. does this mean i shouldn't merge my branch that splits the task page into view/edit pages?10:28
bradbddaa: does baz give me a way yet to show all of my branches that have patches that aren't yet in rf?10:31
SteveAokay, i think i can fix this.  i still can't explain exactly why it is happening.  i need to look some more at the cache code first.10:32
ddaabradb: not really, I have a hack here (idea stolen from fai actually) that shows which patchlogs from the current branch are not present in rocketfuel.10:33
SteveAso bradb, we should rely on cacheing not being broken.  that's what i'm doing right now.10:34
bradbi've completely lost track of the branch i had going that made the sidebar into portlets on the search page10:34
bradbSteveA: ok10:35
bradbddaa: any idea if that kind of functionality is intended to appear soon in baz?10:37
ddaabradb: it has not been discussed a lot before, and the current focus is on UI tweaks (matthieu moy) and deep reorganisations (rob collins), not new features. So you should rather script something up if you need it.10:39
bradbok10:40
SteveAbradb: add them to the pending reviews page for jamesh's script to deal with <.5 wink>10:41
bradbheh heh10:41
mptbradb!10:44
bradbmpt!10:44
mptbradb: Is cvereference-index.pt used any more? cveref.zcml says it is, but the URL pattern it gives just redirects to the bug page.10:46
bradbnever looked at that page. /me checks.10:46
bradbmpt: i added a CVE ref to bug #3 in my local data, and went to: http://localhost:8086/malone/bugs/3/cverefs/1. i got a NotFoundError.10:52
bradbi can't think of any place that we're linking to that page in malone though (and i can't see a huge benefit in having index pages for each and every little thing on a bug), so if you can remove it from the ZCML (and the template), and no tests fail, it should be ok10:52
bradbunless sabdfl says otherwise10:52
sabdflbradb: err... no10:53
sabdflwe do need a page which shows a cve ref, talks about what they are, and links to the ref on the CVE site10:54
bradbsabdfl: so, if i understand correctly, you prefer to go the route that each little thing on a bug (a watch, an infestation [some day] , a CVE ref, an external link, etc.) should have an index page of its own?10:55
bradb(an attachment...)10:56
mptbradb: Was your NotFoundError the result of clicking on a link?10:57
SteveAi can now explain exactly why the cache errors are occuring.10:57
bradbmpt: no, i'm unaware of any link directly to that page10:57
mptbradb: It's strange that cverefs/1/+edit should work while cverefs/1 does not10:58
SteveAi'm going to bed.  i'll actually fix it tomorrow.  and talk with stub about it, because he needs to know what happened.10:58
bradbmpt: let's take one step back here: is it good to have to go to a separate page to edit a cve ref? and then another separate page to edit a watch? and then another separate page to edit a ext ref?, etc.10:59
mptbradb: If you put edit forms for them all on the bug page, it would become extremely crowded11:00
sabdflnight SteveA11:00
bradbmpt: might there be a way that they can be "there", but not necessarily visible, unless the user specifically clicks something?11:01
mptbradb: Yes, but even then, there wouldn't really be enough room for editing in a portlet.11:01
bradbmpt: does this stuff have to be shown in portlets?11:02
mptNot necessarily, no11:03
bradbmpt: in your ideal world, as a malone end-user, would prefer the capacity to change many things at once, and sign off with a comment, or would you prefer to have to visit separate pages to change each one of those things, and not have the option to comment?11:04
mptI'd prefer to be able to change many things at once11:04
bradbsabdfl: what about you?11:05
mptthough that has to be balanced against clutter11:05
bradbi agree. i'm not implying that it would be simple to design this interface in a way that normal human beings would understand, but it seems like the right direction to aim at, at least11:06
bradbmpt: in any case, i guess the answer to your question for now is that we can't remove that cve index form just yet11:08
mptok.11:08
bradbin other news, i seem to have lost the changes i made to turn the sidebar into portlets again on the search listing page. mpt, are you doing any work on the search listing? if not, were there any ideas you had planned specifically related to the portlets/sidebar layout fu?11:10
bradb(31 branches and a small brain == a hard life)11:11
mptsure, Burgundavia mentioned this yesterday11:11
mptI think it would be useful to establish a pattern of "a + sign at the bottom of a list, on the left, means add something to the list"11:12
mpt(a lot of software already uses that pattern)11:12
mptso the "Report a bug" link can go there11:12
Burgundaviacan that be carried into the urls?11:13
Burgundaviaso that +bugs becomes bugs?11:13
mptbradb: and the various filters can become a <select> above the list.11:13
salgadobradb, you got mail11:13
bradbsalgado: awesome thanks11:13
mptBurgundavia: No, we need to guard against the possibility that any distro ever calls one of its releases (or any product ever calls one of its branches, etc) "bugs" or "translations" or "calendar" etc11:14
Burgundaviatrue11:14
mptanyway, I'm off to get my yellow fever vaccine, bbl11:14
=== kiko scratches head
kikowtf is pqm dropping my requests11:14
kikohey mpt11:14
salgadobradb, also, can I ask you that you send review replies direct to me (cc:ed launchpad-reviews@, of course), so it'll fall into my inbox and will get high priority?11:14
kikogood luck11:14
bradbsalgado: sure, no problem11:15
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Fix the person's page and move links to reassign product/project/distro/distrorelease to the right portlets. r=kiko (patch-2020: guilherme.salgado@canonical.com)11:20
kikoFFS11:21
=== kiko kicks dilys
dilysow11:21
kikompt, what's up with the right-aligned <th>s?11:39
kikoit makes all our tables look totally freaky11:39
dafkiko: did your merge actually succeed, and dilys is not reporting it, or what?11:40
kikodaf, it didn't succeed, but pqm didn't return anything to me either11:40
kikoI say fuck pqm11:41
dafhmm11:41
dafdid the mail get lost somewhere?11:41
kikoI don't think so11:42
kikoI just reset11:42
kikoreseNt11:42
kikoand am waiting11:42
bradbkiko: did you check your mail on chinstrap?11:43
kikonope11:44
kikowill do11:44
dafhow do you do that?11:44
kikokiko@chinstrap ~ $ mail11:44
kikoNo mail for kiko11:45
bradbouch11:45
kikobradb, is there any auto-linkification code present in zope3?11:45
bradbthere might be, but i don't know about it11:46
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Unbreak people merge and make IPerson.unvalidatedemails return only emails from tokens of type VALIDATEEMAIL. (patch-2021: guilherme.salgado@canonical.com)11:48
=== asmodai [~asmodai@sakko.demon.nl] has joined #Launchpad
lifeless_morning all11:53
=== asgeirf [~asgeirf@203-206-229-169.dyn.iinet.net.au] has joined #launchpad
kikolifeless, PQM seems to have dropped some requests from me -- can you please check?11:55
lifeless22:13 mail from you11:56
bradbsalgado: replied to your reply. is this r=salgado, or is there anything else you'd like me to do?11:56
lifeless19:20 mail from you11:56
lifelesskiko - I'm not sure what I'm looking for - I can't see any mails that aren't hter e;11:57
salgadobradb, cool. I thought I already gave r=salgado, but if not, now you have11:58
bradbsweet, thanks11:58
kikolifeless, and before the 19:20 mail?11:59
kikoJul  5 15:15:59 localhost postfix/smtp[7432] : BD1F92553: to=<pqm@pqm.ubuntu.com>, relay=www.async.com.br[200.171.140.32] , delay=1, status=sent (250 2.0.0 j65IGFZo018404 Message accepted for delivery)12:00
lifelessthats utc ?12:00
kikosorry, no12:01
kikothat's UTC-312:01
lifelessdid you send another at 15:20 ?12:02
lifelessnm12:02
lifelessyes tht was processed12:02
kikoand what happened?12:02
lifelesslooks like it failed12:03
kikookay12:03
kikothanks.12:03
lifelesshang on12:03
kikosomebody dropped an email between then and now12:03
lifelessyes, failed12:03
lifelessit went onto trying dafs12:03
kikookay.12:04
lifelessdo you get mail sent to kiko@async.com.br ?12:04
kikoit's forwarded there eventually, yes12:04

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