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

sabdflzyga: there's a gazillion fixes for the poll stuff landing tomorrow or wednesday12:05
zygasabdfl: cool thanks12:05
=== BjornT__ [n=bjorn@84.32.140.183] has joined #launchpad
=== BjornT___ [n=bjorn@84.32.140.183] has joined #launchpad
=== BjornT_ [n=bjorn@84.32.140.183] has joined #launchpad
=== BjornT_ [n=bjorn@84.32.140.183] has joined #launchpad
=== BjornT [n=bjorn@84.32.140.183] has joined #launchpad
=== azeem [n=mbanck@host45.natpool.mwn.de] has joined #launchpad
=== cprov night guys
Kinnisonblargh12:47
=== Kinnison cries
cprovKinnison: hey, go to bed !12:47
Kinnison    TypeError: DBSchema Item from wrong class, <class 'canonical.lp.dbschema.PackagePublishingPocket'> != <class 'canonical.lp.dbschema.PackagePublishingPocket'>12:48
KinnisonWTF?!12:48
cprovKinnison: ehe, almost finished dep-aware ... missing dependency clause (<<, <, =) .. will do it tonight at home12:49
Kinnisoncprov: cool12:49
Kinnisonanyone awake who knows about dbschemas?12:49
cprovKinnison: dbschema is tricky you should compare the values attributes not the class itself12:50
Kinnisoncprov: this exception is coming from EnumCol12:50
KinnisonWhat's wierd is that it should be a DistroReleaseQueueStatus object12:50
=== Kinnison is going to have to investigate more
cprovKinnison: strange, let's sort it tomorrow, sleep well ...12:51
=== interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad
=== rbelem [n=rodrigo@200.246.97.164] has joined #launchpad
=== smokin^EyeZ [i=guess_@202.179.155.64] has joined #launchpad
=== JulioH [n=Julio@200.44.59.252] has joined #launchpad
=== stub [n=stub@costello.z3u.com] has joined #launchpad
JulioHepale01:31
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  fix MAIL FROM to be the standard bounce address. fixes https://launchpad.net/products/malone/+bug/2593 (patch-2669: brad.bollenbach@canonical.com)01:55
=== auth [i=auth@fiji.grd.sgsnet.se] has joined #launchpad
spivKinnison: That's unlikely to be a EnumCol-specific issue.02:09
spivKinnison: More likely to be that you've somehow imported that module from two different locations.02:09
spivKinnison: e.g. if you aren't careful with sys.path, doing relative and absolute imports can cause that.02:10
spivKinnison: Just before that error is raised, log the id of the two classes, and maybe also the .__module__ of them.02:12
Kinnisonspiv: it's security proxying02:30
=== Kinnison worked it out
Kinnisonsodding enumcol was using identity02:31
=== Kinnison found a bug filed against it
spivAah.02:34
=== GoRoDeK [n=gorodek@p5083E3D6.dip.t-dialin.net] has joined #launchpad
=== stub [n=stub@costello.z3u.com] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Many fixes related to language packs and po exports and fixed as a side effect bug 1419 [r=SteveA and others trivial]  (patch-2670: carlos.perello@canonical.com)03:09
=== JanC [n=janc@dD5E086DA.access.telenet.be] has joined #launchpad
=== ajmitch_ [n=ajmitch@port161-152.ubs.maxnet.co.nz] has joined #launchpad
=== ajmitch_ is now known as ajmitch
=== ajmitch_ [n=ajmitch@port161-152.ubs.maxnet.co.nz] has joined #launchpad
=== ajmitch_ is now known as ajmitch
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Do not access Foo._defaultOrder from other classes; use a public name instead (patch-2671: guilherme.salgado@canonical.com)05:16
stubwiki authentication and launchpad will be offline for approx. 20 mins in 15 minutes time unless anyone feels like bitching05:31
stubspiv: Any Librarian or Authserver changes that require a rollout?05:33
=== stub doesn't recall seeing any fly past
spivstub: Nope.05:34
spivWell, not that I know of ;)05:34
spivWhich is good, because I'm about to grab some lunch ;)05:35
stubspiv: I have changes in LaunchpadGarbageCollection so I'll stuff that in your queue when I get a chance to polish off the first half05:35
spivstub: Sounds good05:36
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  fix IBug.findCvesInText() and add test, allow setting datecreated in IMessageSet.fromText() (patch-2672: james.henstridge@canonical.com)06:28
=== zzone [n=daniel@CPE000bdb97337f-CM000f2120db83.cpe.net.cable.rogers.com] has joined #launchpad
=== zzone [n=daniel@CPE000bdb97337f-CM000f2120db83.cpe.net.cable.rogers.com] has left #launchpad ["Kopete]
=== Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad
jameshauto-link code seems a bit to eager07:08
jamesh"debug 123" going to "de<a href=...>bug 123</a>"07:09
UbugtuMalone bug #123: There's no direct way to see the project info when translating it Fix req. for: rosetta (upstream), Severity: Normal, Assigned to: Nobody, Status: Fixed http://launchpad.net/malone/bugs/12307:09
Keybukweird, my test failed with "Connection Refused" in a piece of code I didn't go near!07:12
=== BjornT [n=bjorn@84.32.140.183] has joined #launchpad
=== jordan [n=jordan@201.154.213.106] has joined #launchpad
jameshhi BjornT 07:35
BjornThi jamesh 07:35
jameshBjornT: I've got the basics of the bugzilla->Malone importer mostly working07:36
jameshit was really easy to write with the Malone APIs07:37
BjornTcool, nice to hear07:37
jameshneed to handle migration of attachments, milestones and a few other fields07:38
BjornTwhen do you think it will be finished?07:40
jameshHopefully we can run a test import on staging by the end of the week07:41
jameshone thing I've punted is rewriting "bug XYZ" bits in comments07:41
jameshwhich is difficult :)07:41
=== GoRoDeK [n=gorodek@p5083E198.dip.t-dialin.net] has joined #launchpad
BjornTah, true, i can see it being a problem07:43
=== Burgundavia [n=corey@S0106000000cc07fc.gv.shawcable.net] has joined #launchpad
jameshat the moment, the information I'm not handling include: operating system, platform, version, milestone, keywords, bug relationships, privacy and attachments07:52
jameshnone of the canonical-only bugs on bugzilla.ubuntu.com really look sensitive ..08:05
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=stevea]  kill the sourcerer twin (patch-2673: scott@canonical.com)08:09
Keybukoh, see, it works now08:10
=== pablo928 [n=paul@69.167.0.125] has joined #launchpad
=== einheit [n=steve@195.182.78.95] has joined #launchpad
jameshKeybuk: did it die in one of the cscvs tests before?08:18
Keybuksomething like that08:18
Keybukconnection refused08:18
jameshthose tests occasionally fail, which is annoying (probably bad cleanup or something)08:20
=== robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad
Keybuksomeone who knows zope ... is it possible for a class to implement two interfaces?08:37
spivYes.08:38
Keybukexcellent08:39
KeybukI'm considering adding an IPathable or something (I need a better name) to some of the database classes which will add followPath, constructPath and resolvePath functions08:39
Keybukand moving all of the hct "URL" code into there08:40
spivAs "pydoc zope.interface.implements" could tell you :)08:40
Keybuk(out of the big hctapi functions)08:40
Keybukspiv: that would involve knowing that thing08:40
KeybukI know more about ancient japanese suicide rituals than I do about zope08:40
ajmitchknowing those rituals is always handy when learning zope08:44
jameshajmitch: you don't have the zope nature08:47
ajmitchwhich is?08:47
=== ajmitch has had the joy of learning zope at times :)
=== Lathiat tried to find some basic docs on zope showing simple examples of what it does and failed
spivajmitch: zope 2?08:49
jameshzope 3 is a lot nicer to work with08:50
ajmitchspiv: yes, I've just started digging into zope 308:50
=== jamesh tried zope 2 years ago without producing anything very useful
ajmitchand I agree, zope 3 does look a lot nicer08:50
spivRight.  Zope 3 is a much more pleasant experience.08:50
=== pablo928 [n=paul@69.167.0.125] has left #launchpad []
KeybukI'm told that falling on one's sword is actually quite a pleasant experience09:06
Keybukyou don't have much in the way of nerves, and usually cut your backbone anyway if you do it right09:06
Keybukso there's not much pain09:06
Keybukand the feeling of all your blood pouring out of your body is quite euphoric09:06
sivanghmm09:08
sivangMOrning all btw09:08
sivangKeybuk: sounds interesting :)09:09
spivKeybuk: The trick with distrowatch is to remember to add in the kubuntu and edubuntu numbers too ;)09:09
spivoops, ww.09:09
Keybukspiv: they're both small-fry09:10
SteveA_Keybuk: i'm not so keen on 'IPathable' being implemented directly in the database code09:14
SteveA_it's a 'presentation' thing09:14
SteveA_like saying what URL something is at in the web application09:14
SteveA_so would be better done as some adapters, i think09:15
SteveA_but, if you want to do it directly in the database code, then provided it has a clean interface09:15
SteveA_we can refactor later if needed09:15
SteveA_also, the malone email UI has its own concept of 'pathable'09:16
SteveA_which is different from the hct one09:16
SteveA_which also suggests keeping them both out of being directly in the database is good09:16
KeybukSteveA_: how would you do it; right now it's three huge functions which rely on isinstance09:17
Keybukwhich just seems wrong09:17
Keybukwhat comes next in a URL is directly related to the type; so putting it in the code for that type seems "proper"09:17
SteveA_adapters09:24
SteveA_but, i must have a lithuanian lesson now09:24
SteveA_we can talk about it a bit later.09:24
Lathiatwhat does a '_' in a url actually signify09:26
Lathiaterr, a +09:26
KeybukSteveA: ok, I don't expect to start implementing it this morning09:27
=== Nafallo_away is now known as Nafallo
jameshLathiat: we use it to avoid namespace collisions09:31
Lathiatjamesh: in what way?09:32
jameshLathiat: things like usernames, etc can not begin with a plus, so if we create a page that begins with a plus then it won't ever collide with a name09:32
Lathiatjamesh: ah ok09:32
Lathiati guess the +newteam page is wrong then09:33
jameshwhy?09:34
Lathiatoh actually not09:34
Lathiatit can contain a +, just not start with one09:34
jamesh/people/+newteam is safe because you can't create a person or team called "+newteam"09:35
Lathiatjamesh: yeh sorry i meant the comment on the newteam page09:35
Lathiati didn't see the separation between starts with and contains09:35
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
=== ddaa [n=ddaa@marvin.xlii.org] has joined #launchpad
=== Nafallo is now known as Nafallo_away
=== stub [n=stub@costello.z3u.com] has joined #launchpad
stubSteveA: I already did the production rollout today as I wanted the DB down during the quiet time. I'll land other fixes as cherry picks when they come in.10:06
stubGina had issues - I was hoping to have fixed them already but baz was taking ages pulling down kiko's branch10:07
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
sabdflFailure in test test_simple_sendmail (canonical.launchpad.mail.ftests.test_stub)  10:48
sabdflbugger10:48
sabdflstub: any idea what b0rked my landing?10:49
sabdfl  Expected:      'nobody@example.com'  Got:      'nobody1@example.com'  10:49
sabdflthat was the only test failure10:49
stubnope. I havn't touched that code for months and months.10:49
stub    >>> from_addr, to_addrs, raw_message = stub.test_emails.pop()10:53
stub    >>> if from_addr == 'nobody1@example.com':10:53
stub    ...     from_addr, to_addrs, raw_message = stub.test_emails.pop()10:53
stub    >>> from_addr10:53
stub    'nobody@example.com'10:53
stubsabdfl: Maybe that 'if from_addr' needs to become a loop? It looks like there are a number of emails, and the one it is looking first might not be the first. That test might fail if there happen to be three emails in the test_emails list.10:54
jameshis it possible to temporarily disable zope event handlers?10:54
WaterSevenUbdoes anyone know why about-ubuntu firefox welcome page does not use the translated about-ubuntu that is available through help?11:02
WaterSevenUbzyga, hi there.11:02
zygaWaterSevenUb: hey, how are you :)11:02
SteveA_jamesh: what do you want to do?11:02
zygaWaterSevenUb: AFAIR there were some technical difficulties and some people were working on it11:02
SteveA_stub: okay, so you've done a production roll-out, and i can prepare my fixes for a cherry pick.  what happened with gina on staging exactly?11:03
WaterSevenUblaunchpad error: ProgrammingError11:05
WaterSevenUbA server error occurred. 11:05
jameshSteveA_: prevent email from going out while manipulating bugs11:05
SteveA_oh, like in a conversion script, for example?11:06
SteveA_so you just want to send the mail to /dev/null11:06
sabdflerrr stub, you already did the production rollout? without my code?11:06
jameshyeah11:06
SteveA_jamesh: let me think for a minute11:06
jameshSteveA_: I could imagine it being useful within Launchpad too, if we ever have a "mass change bugs" UI11:07
jameshsomething like bugzilla's "change multiple bugs at once", but without the spam11:08
sabdflstub, SteveA_: i need to get cracking on UBZ matter, am already a day overdue from yesterday's PQM slowness and gina11:08
sabdflcan i ask you to land my branch please?11:08
SteveA_jamesh: there's a difference between turning certain events off for your script, and turning them off during some processing of the webapp11:08
SteveA_sabdfl: yes11:08
sabdflit's reviewed, and tests pass locally11:08
SteveA_sabdfl: i can land your branch today.  what's the information i need?11:08
sabdflmark.shuttleworth@canonical.com/launchpad--newpackageclasses--011:09
SteveA_what patch level are you up to?11:09
sabdfl4111:09
=== carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad
sabdfli won't do further work on that branch11:09
jameshSteveA_: yep.  Doing it for the script is the important bit11:09
SteveA_mark.shuttleworth@canonical.com/launchpad--newpackageclasses--011:09
SteveA_got it11:09
SteveA_and, it is as you want it, review comments included11:10
sabdfli have tagged off kiko's launchpad and will work on gina again later, once kiko is back so we can talk about it11:10
SteveA_and just has an issue with unrelated flaky tests11:10
sabdflSteveA_: yes, precisely11:10
carlosmorning11:10
sabdfljamesh: can we talk about the schedul-o-matic?11:10
SteveA_okay.  i'll handle it, and sms you if there are serious problems11:10
sabdflSteveA_: cool, thanks very much11:12
sabdflSteveA_: best get in there before the pqm queue grows again11:12
sivangsabdfl: I can email -devel with the preferred LP spec/bof registeration instructions (As you described to me yesterday) if you like, so LP can start to have them in.11:17
SteveA_jamesh: for your script, we can just ensure that those event subscribers are not registered.   for a more general, and multi threaded app, we need to add an 'event channel' that has the behaviour we need.11:17
stubSteveA: you handling marks branch?11:18
sabdflsivang: go for it11:18
sabdfli'll follow up with more detail, but it would be great for you to get the ball rolling. thanks!11:19
SteveA_stub: yes11:19
stubSteveA: I'll send my (work in progress) gina email11:19
SteveA_stub: are you planning to cherrypick mark's branch, or to roll out again from RF ?11:19
sivangsabdfl: my pleasure :)11:19
KinnisonSteveA_: the kwargs comments you had11:20
KinnisonSteveA_: do you really want me to list every argument in full in those functions?11:20
SteveA_Kinnison: yes.11:20
=== stub runs out of disk space
KinnisonSteveA_: yeesh. Oookay, but yeesh11:20
stubSteveA: I'll cherry pick Mark's branch11:21
SteveA_Kinnison: we did the kwargs thing before.  in a few months, it will be a mysterious piece of code11:21
SteveA_and it will be totally non-obvious what it does11:21
SteveA_it was a maintenance disaster, and took a lot more effort to fix than anyone expected11:22
SteveA_so, i'm rather apprehensive about usint **kwargs now11:22
Kinnisonjust seems large and wasteful to me, but okay11:23
=== Kinnison will trust in your greater python experience
WaterSevenUbzyga, you are using breezy in Polish, right? Do you have the "Translate this application..." translated let us say in synaptic, for example... Is it translated in firefox too?11:31
WaterSevenUbzyga, in the "Help" menus. In my firefox this strings appear in english whereas in other applications appear translated.11:32
zygaWaterSevenUb: yes11:37
zygaWaterSevenUb: checking11:37
=== zyga has been using epiphany for a few weeks now
zygaWaterSevenUb: ha, it's not translated11:38
zygagood catch WaterSevenUb 11:38
zygaWaterSevenUb: I'll ask mvo11:38
zygaWaterSevenUb: we're in the subject #u-devel11:40
WaterSevenUbzyga, I'm watching.... ;)11:40
=== looksaus [n=looksaus@ip-83-134-125-62.dsl.scarlet.be] has joined #launchpad
looksausI'm looking for a description of planned Launchpad features regarding bounties11:50
looksausis there a public document describing those?11:50
KinnisonSteveA: in a class definition, does PEP8 want spaces here or not:11:51
Kinnisonclass Foo:11:51
Kinnison   bar = 1011:51
Kinnison      ^ ^11:51
KinnisonAnyone? ^^11:54
KinnisonI'm gonna assume "yes" given my reading of PEP811:57
stubyes11:58
SteveAlooksaus: i don't think we have anything written up about bounties.  if you're interested, you can see what launchpad already does, write some notes on the wiki, register it in launchpad as a spec.12:00
SteveAKinnison: what stub said12:00
SteveAit also wants a blank line above  bar = 1012:01
looksausregister in launchpad as 12:01
looksausoops, sorry12:01
KinnisonSteveA: yeah, but that's not what I was asking :-) Thanks12:01
looksausk, will do12:02
SteveAddaa: would baz get any faster if i nuked my revlib?12:06
ddaahell no!12:06
ddaagood hardlinking is the key to a fast baz with launchpad code12:07
ddaalibrary-relink, "baz diff -s --link", and fl-cow12:07
sivangI'm getting "Constraint not satisfied" error on https://launchpad.net/products/ubuntu/+addspec12:07
sivangI am trying to register "OneClickI18n" from the BOFs list at the wiki12:08
sivangthe complaint is about that name, "OneClickI18n"12:08
sivangis there something wrong with naming a spec like this?12:08
SteveAddaa: okay, where can i read how to do this?12:11
sivangeh, it won't accept the wiki name. just lowered case with dashes between words12:12
SteveAsivang: that error message should be improved12:12
SteveAmaybe file a bug on it?12:12
ddaaSteveA: https://wiki.launchpad.canonical.com/LaunchpadHackingFAQ#head-7ede78aa7deeb4b4c9e649ad7bf58422279436f612:12
sivangSteveA: will do that, sure12:12
ddaaSteveA: there's no documentation about the fl-cow stuff in the FAQ, I do not use it personally, it's lifeless' turf.12:13
ddaaI'm using hardlinked trees, though.12:13
=== thisfred [n=thisfred@a80-127-80-154.adsl.xs4all.nl] has joined #launchpad
KinnisonIs there a way to get pqm to fail given I know it'll eventually fail12:21
KinnisonI.E. can I force it to give up now?12:22
SteveAhas it already started on your job?12:23
Kinnisonyeah, Znarl fixed it for me :-)12:28
KinnisonZnarl|Saville12:35
ZnarlKinnison : Hello?12:36
=== Kinnison was just likening you to jimmy saville
=== ajmitch__ [n=ajmitch@port163-86.ubs.maxnet.co.nz] has joined #launchpad
=== ajmitch__ is now known as ajmitch
Lathiathrm, https://launchpad.net/people/motu/+assignedbugs is throwing back ReuestExpired/A server error occured errors12:49
sabdflZnarl: could you point isv@ubuntu.com to mdy@ubuntu.com please?12:49
Znarlsabdfl : I don't have access to email yet.12:51
sabdflcould you ask elmo to do it, or create an RT entry for it please? the address is already live on my wiki page, be a bummer for it to bounce :-)12:52
ZnarlYep, will do.12:52
sabdflthankee muchlee12:52
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
mptGooooooooooood morning12:56
ajmitchmorning mpt 12:57
Keybukok, where's bradb?!01:00
Keybukplease don't tell me that Malone is going to send every "Ubuntu Development Team" bug to every single ubuntu developer's personal mailbox01:00
=== Keybuk screams
Kinnisononly if noone has set a team email address01:01
Keybukbut the team address also stops things like the "Someone wants to join" reports, no?01:01
sabdflmoin moin mpt01:01
KinnisonKeybuk: those go to the owner/moderators iirc01:02
Keybukseriously, if you don't see the problem here, subscribe to ubuntu-bugs for a day01:02
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
matsubaragood morning!01:02
KeybukKinnison: how do I change that e-mail address?01:03
KeybukThis team has no contact email address. This means that Launchpad notifications directed to this team will be sent to each one of its members.01:04
Keybuk... that doesn't say what kind of notifications?01:04
Keybukis that the one I want?01:04
=== cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
BjornTKeybuk: yes, that's the one. this will be improved with PackageSubscriptions and ProductSubscriptions, where you can choose if you want to subscribe to bugs or not.01:07
Keybukis there any way to just set it to a null address?01:08
BjornTyou mean, don't send any notifications at all? i don't think so, but you could ask salgado about it.01:09
cprovhi, I got a strange error from PQM yesterday, my merge failed in test_simple_mail. Has someone received something similar ?01:17
SteveAcprov: yes01:17
SteveAi'm looking into it at the moment01:17
SteveAi can reproduce it sometimes01:17
SteveAif i run all the tests, and then just that test alone, i get the error01:17
SteveAi'm going to improve that test01:17
cprovSteveA: I've never catched it, requested the merge again let's see if it works, otherwise will wait yours, thank you 01:18
SteveAyeah, it's one of those tricky errors01:19
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
ddaaHey SteveA, is there a way to clear some tables of sampledata before running some tests?01:21
SteveAwhy would you want to do that?01:22
ddaaI'm annoyed by the non-locality of sampledata affecting many tests in many different places. I'd much prefer my tests to set up their own Branch etc. object or explicitely call a method that sets the sample data I need for the test.01:22
ddaaSo, I may just remove the sampledata, but kiko says it's useful to the manual Q&A people.01:23
SteveAyou can modify sample data within a test01:23
ddaaThat may need privs not available normally, like dropping rows in table where that's not normally possible.01:24
SteveAcan you just be additive?01:24
SteveAyou could add a special db user for that test's setup01:25
SteveAbut it is better if you can add your own stuff01:25
salgadostub, just to make sure.. the shipit export is scheduled to wednesday 0h UTC, right?01:25
ddaaThat's awkyard to be only additive, since the sampledata (which I mostly just ugraded) already touches many convenient things, like "Sample User".01:25
mptBjornT: Do you have any idea when PackageSubscriptions and ProductSubscriptions will arrive?01:25
ddaaSteveA: but I guess that's what I'll have to do.01:26
ddaaSteveA: BTW, I was wondering at whether the passwords for the sampledata users were documented somewhere?01:26
SteveAyes01:26
=== stub [n=stub@costello.z3u.com] has joined #launchpad
SteveAthey are all 'test'01:26
SteveAand it is documented in the sampledata01:26
ddaaMh... apparently it was not obvious enough...01:27
ddaathanks01:27
ddaaWell... apparently no...01:28
ddaacannot log in as robert.collins@canonical.com with that password01:28
salgadostub, just to make sure.. the shipit export is scheduled to wednesday 0h UTC, right?01:28
ddaaneither to david.allouche@canonical.com01:28
stubsalgado: Yes01:28
stubsalgado: erm... well 0h BST 01:29
stubsalgado: close enough?01:29
salgadostub, yes, I think it's okay.01:30
stubelmo: Do you have a particular attachment to running servers in the BST timezone, or can we switch to UTC at some point to avoid start/end DST crazies (and confused DBAs)?01:31
SteveAddaa: look in database/sampledata/foaf.sql01:31
SteveAddaa: there are a few sample people with password 'test'01:31
BjornTmpt: no, no idea. currently i'm doing some support tracker work, when i'm done with that i'll see if i can dedicate some time to implement the specs. i think they are quite important for malone.01:31
mptindeed01:34
mptBjornT: We need ProjectSubscriptions too (e.g. for the MOTUs and for Launchpad), so perhaps the ProductSubscriptions and PackageSubscriptions specs can be merged and expanded into a RegistrySubscriptions or similar to save work01:34
mptso that they have consistent data models and Web interfaces01:35
ddaaSteveA: thanks01:35
BjornTmpt: yeah i think so too. we might need DistributionSubscriptions as well.01:38
=== Kamion [n=cjwatson@83-216-156-196.colinw664.adsl.metronet.co.uk] has joined #launchpad
=== gneuman [n=gneuman@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
SteveABjornT: did you land any changes involving email tests into RF recently?01:38
Kamionwhere's the right place to send changes to source information for imports? (due to directories moving around in svn)01:38
BjornTSteveA: no, but bradb did01:39
BjornTSteveA: what's the problem?01:39
SteveAi want to know what he changed.01:39
SteveAit has triggered a problem with leaky data between tests01:39
SteveAit is hard to reproduce the problem, but i've seen it locally01:40
SteveAand various people have seen it in pqm01:40
SteveAi'm disabling the test that fails01:40
SteveAbut i want to get to the bottom of it01:40
BjornThe changed from_addr, which is passed to simple_sendmail, to be 'bounces@canonical.com' instead of the same as the From header01:40
=== SnakeBite [n=SnakeBit@84.242.143.99] has joined #launchpad
SteveAokay, got the pqm commit message01:43
SteveAi gotta say, the baz model is really good for such investigations01:45
=== SnakeBite [n=SnakeBit@84.242.143.99] has joined #launchpad
=== niemeyer [n=niemeyer@200.140.235.52] has joined #launchpad
SteveABjornT: i can't see anything in brad's changes that would trigger the problems i'm seeing.  he changed some things, but didn't add anything new in particular.01:50
BjornTSteveA: if it's the same failure salgado reported, i think i know what's the problem01:50
SteveAwhat is it?01:50
BjornTSteveA: in the test there is 'if from_addr == 'nobody1@example.com'. now, from_addr will always be 'bounces@canonical.com', so the condition will always be false01:51
SteveAthe test often passes01:51
SteveAFailed example:01:52
SteveA    message['From'] 01:52
SteveAExpected:01:52
SteveA    'nobody@example.com'01:52
SteveAGot:01:52
SteveA    'nobody1@example.com'01:52
SteveA01:52
SteveAand, that's the failure01:52
SteveAit's going at a lower level than what brad's change addresses01:52
BjornTyeah, the if statement is there since you don't know in what order the mails were sent in, sometimes it's the correct order, sometimes not01:52
SteveAioc01:53
SteveAthe if statement is wrong01:53
BjornTexactly01:53
SteveAi think the test should be made more robust01:53
SteveAby listifying, and then sorting01:53
SteveAand then printing out01:53
SteveAthe queue01:53
SteveAanyway, thanks for the pointer.  i'll go fix it01:54
BjornTcool01:54
=== mpt got that failure too
salgadohey BjornT. have some time for a quick review?01:56
BjornTsalgado: maybe, i'll have to step out for a while soon. send it to me, and i'll see if i can do it before i leave.01:57
salgadoBjornT, thanks, dude. but unfortunately I just found I have a method with side effects that shouldn't be there. I'll have to fix this and send it to you later01:59
=== TinMan [n=Lotus@163.153.189.55] has joined #launchpad
=== Kinnison 's hot water is almost back *yay*
zygasabdfl: ping02:29
zygasabdfl: you've said that if polls don't work today I should ping you02:29
zygaso I do02:29
=== BjornT heads out for a while
salgadozyga, it was me who said that. ;)02:31
zygahmm02:31
zygamaybe I've confused you, sorry02:31
zygaanyway, is the upload with gazillion fixes already done?02:31
salgadozyga, the merge queue is still pretty big, which means that even if I try to merge something, it'll take quite some time (3h, at least)02:39
stuban update was rolled out to production around 8 hours ago.02:39
zygahmm02:39
zygaso is it patched or not?02:39
zygaI'm confused ;-)02:39
zygait's fine if it's still in the queue02:40
salgadozyga, no, this update stub refers too doesn't include the fix for that problem02:40
zygaokay so it's in the queue02:40
zygait's a matter of time02:41
salgadozyga, we can delete one of the options for you (while that problme is not fixed), if you want02:41
zygasalgado: no, I'll wait - there is no rush really02:41
zygasalgado: if you could though02:41
zygaextending the poll deadline for 7 days would be nice02:42
salgadoit's not yet in the queue. kiko has that fix but didn't sent the merge request yet02:42
sabdflsalgado: my patch (which stub and stevea_ are landing and taking to production) does include poll fixes and page layout changes02:48
sabdfli don't know if it fixes the specific issue zyga is having02:48
sabdflSteveA, stub: success with the newpackageclasses landing?02:48
=== zyga doesn't know what issue he's getting since there is no backtrace to read
SteveAsabdfl: it is at #3 in pqm right now, and i fully expect it to merge this time.02:49
sabdflwhat was the test issue?02:49
SteveAa test of the email test enironment had become undeterministic because of a change brad made.  it wasn't brad's fault, rather the test that went wrong was not robustly written.02:50
SteveAat #1 in pqm is my patch to disable that test.  #2 is something important from Kinnison.  #3 is your branch.  #4 is a correct, deterministic re-enabling of the problematic test.02:50
zygahow long does it take to process a patch in the queue?02:52
zygaI guess it runs some test after each patch, right?02:52
SteveAabout 45 minutes i think02:52
SteveAmaybe more02:52
SteveAa lot of the time is spent in building the correct source code environment02:52
Kinnisons'between 45m and 1h depending on how busy chinstrap is02:53
SteveAand this will be made much quicker when we use bzr for launchpad02:53
SteveAwe've also asked to get a dedicated box for integrating launchpad code02:53
SteveAwhich will make us not depend on other people using chinstrap or not02:53
=== Kinnison nods
ddaaniemeyer: 02:53
SteveAand it can be a faster machine that chinstrap, too ;-)02:53
ddaalet's have this quick review02:53
ddaaFirst thing, you should not rely on the branch name to map to arch namespace.02:54
ddaaInstead rely on the branch url.02:54
ddaaI see no reason at first why Taxi should do any name mangling, except to create new branches.02:54
niemeyerddaa: I just followed the mangling convention used in the samples in the database.02:55
ddaaI understand. But the branch name is mutable.02:56
ddaaIt just happens to be set that way in the sampledata because of how it was migrated.02:56
niemeyerddaa: About relying on the branch name, I understand. I didn't implement it that way because I'm not yet sure about how to build the url.02:56
niemeyerddaa: So far the given url is always a file in the local disk.. should I just use it and expect that the real environment will give a real url?02:57
=== Kinnison goes to lunch now
Kinnisonciao all02:57
niemeyerddaa: Ok, I was just explaining how I got there.. will remove the mangling.02:58
ddaaniemeyer: I think we talked about that before. The url in the branch should be the publicly visible URL. The one importd actually use (to mirror to) has a different head but the same tail. The head of the backend url is archive_mirror_dir, the head of the frontend url should be similarly configurable.02:58
ddaaWhich is still different from the url of the local branch used for the import, which needs not be configurable since it's importd private data.02:58
ddaaIn a nutshell:02:59
=== bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad
ddaalocal branch (currently not meaningful, there's a tree and an archive) -> writeable sftp arch.ubuntu.com backend url (archive_mirror_dir) -> public http arch.ubuntu.com url (branch.url)03:01
niemeyerddaa: I think I misunderstand the meaning of url then..03:01
niemeyerddaa: Why do we have an url at all, if it has a fixed head? Why storing that in a database?03:01
niemeyerddaa: Why not storing just the part that actually changes?03:02
ddaaThe Branch.url is what we'll display in Launchpad. And people are going to be able to register their own branches.03:02
ddaaIt just happens that branches created by importd are all in the same place, that importd knows about.03:02
niemeyerddaa: I see.. it's fixed only for importd. Ok03:02
sabdflcarlos: ping03:03
sabdfl"En Ubuntu, como ahora."?03:03
niemeyersabdfl: What should be the meaning?03:04
sabdflnot sure03:05
=== spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad
niemeyersabdfl: That's strange, at least to my portuguese spanish.. :)03:05
niemeyer"In Ubuntu, like now.", or something close to that..03:06
niemeyerddaa: I'm still here.. let me know about other comments and when you finish reviewing please.03:07
bradbstub: Did your browser notification message stuff land yet? I don't recall whether or not I saw a merge for that yet.03:14
ddaaniemeyer: I do not understand getBranchRevision03:14
ddaaniemeyer: Revision.revision_id is UNIQUE03:14
niemeyerddaa: It gets the revision having revision_id and linked to branch.03:14
niemeyerHummm03:15
=== niemeyer checks the table description
ddaaso you can just Revision.selectOneBy(revision_id=revision_id)03:15
stubbradb: Nope. It was undergoing a hefty refactoring after review, and is almost ready.03:15
bradbok03:15
niemeyerddaa: Right03:16
niemeyerddaa: But notice that this functions checks if the revision is actually linked to the given branch.03:16
ddaaThat would be a meaningful sanity check.03:17
ddaaBut it's not apparent you are making a sanity check as it stands.03:17
ddaa(now, it will be a whole different story with bzr...)03:17
niemeyerIf revision_id is unique, it's a bit strange on a first sight that they're not directly linked to a branch.03:17
niemeyerWill have to think further about that03:17
ddaaniemeyer: the schema is that way because bzr requires it03:18
=== jinty [n=jinty@253.Red-83-58-126.dynamicIP.rima-tde.net] has joined #launchpad
ddaaATM you are mapping Arch onto a bzr model.03:18
ddaaso such weirdness is expected03:18
niemeyerddaa: Ok, will try to come up with something better03:18
ddaaThere's going to be another significant transition when we really start supporting Bzr, but Launchpad will not need to care.03:19
ddaa(at least, not much)03:19
ddaaBTW, your code does the right thing already, this method is not used :)03:21
niemeyerddaa: I've put it there just to see if you were really reviewing the code.03:21
=== niemeyer hides
niemeyerddaa: More seriously, this is used in the tests.03:22
niemeyerddaa: Also notice that line: # FIXME These get*() methods should be moved to somewhere else.03:22
niemeyer:)03:22
ddaaThe way I read it, it means "that shoud go into database.Branch". Not "that should go into the test suite"03:23
ddaaHand-wavy comments: bad03:23
niemeyerddaa: "somewhere else" reads more like "i have no idea, but not here please". :-)03:23
niemeyerddaa: What are "hand-wavy" comments?03:24
ddaahttp://en.wikipedia.org/wiki/Hand_waving03:26
ddaagenerally, a comment that's so vague as to at best useless and at worst misleading03:27
niemeyerddaa: Ok, will be more careful next time.03:27
ddaaAny such comment raises review red flags, because either it's a temporary marker and should have be fixed before review, or it marks something that cannot be done now for some reason, which should be explained.03:28
ddaaI'm a bit of a bastard reviewer, I reckon.03:28
niemeyerddaa: For that specific comment, please read it as: # FIXME: The get* methods may be useful to other parts of the code, so I don't think they should be in the test suite, otherwise I would have written them there. OTOH, if the mangled name is not mangled anymore, part of this becomes useless.03:29
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  temporarily disable problematic stub mailer test (patch-2674: steve.alexander@canonical.com)03:30
ddaaGood. Unashamed admission of ignorance.03:30
ddaaThat's useful :)03:31
lifelessand finally, gnight all here03:31
niemeyerddaa: Not alone, though. :)03:31
niemeyerlifeless: Good night!03:31
ddaalifeless: gnight03:31
sabdflnight lifeless03:32
sabdflddaa, niemeyer: how is TheBazaar looking?03:33
niemeyersabdfl: For my untrained eyes, it's looking like a mess right now.03:34
ddaasabdfl: niemeyer is making progress with teaching taxi about the new schema. I have started fixing some page, but I'm have a lot of trouble at becoming one with launchpad testing.03:34
ddaaniemeyer assessment is essentially correct03:34
=== looksaus [n=janhuib@165-185.245.81.adsl.skynet.be] has joined #launchpad
sabdflniemeyer, ddaa: ok, its early days, we have a few weeks to bring order to the mess03:35
sabdflyour goal is to be able to render a page like the kernel git listing page for every product in LP03:35
sabdfland to make the workflow really easy for people using bzr03:36
sabdflbzr branches should just show up, in the right places03:36
ddaasabdfl: I think I could restore the functionality we had in London in a few days, what is giving me a hard time is deciding what to put in the test suite and how.03:36
niemeyerSounds quite tangible03:36
sabdflwell, you should have sampledata, and page tests that exercise it, for sure03:36
ddaaeven that is bothering me, I do not like at all the loss of locality.03:37
sabdflSteveA: do you know if anything landed from kiko on the gina front? i branched from his -215, i think, was that the latest?03:37
ddaasabdfl: couple of questions about the schema03:37
sabdflfire away03:38
SteveAi haven't heard anything from kiko on gina since i left last night03:38
ddaa1. can we get rid of Revision.owner?03:38
SteveAstub ran kiko's changes on staging, and got various errors.  you were cc-ed into that email.03:38
ddaaseems pointless granularity to me03:38
ddaaIn all cases, it's taxi (or some variant thereof) that's going to create revision objects in the db.03:39
ddaaWhat makes sense to Launchpad is only Branch.owner03:39
niemeyerddaa: We'll probably want to refactor RevisionNumber as well..03:39
ddaasabdfl: I'd also like a reply to the "changes in history" mail I wrote late last week.03:40
niemeyerddaa: Right now the only way to relate a revision to a branch is using revision numbers, and that's not how bzr/baz/arch work.03:40
ddaasabdfl: and I'm also sort of uncomfortable with the NOT NULL Branch.home_page.03:40
sabdflddaa: in bzr, you have shared branches, anybody could commit right?03:40
ddaaniemeyer: that's how bzr works03:41
sabdflddaa: +1 to ALTER TABLE Branch ALTER COLUMN home_page DROP NOT NULL;03:41
ddaasabdfl: ack03:41
sabdflniemeyer: the same revision could be in multiple branches03:41
sabdflso you need a linking table03:42
sabdfland it could be different revision number in different branches, so that linking table needs to keep track of that03:42
niemeyersabdfl: Sure.. I'm talking about the revision number (rev_no).03:42
sabdflwhere's that?03:42
niemeyerrevisionnumber03:42
sabdflshould not be Revision.rev_no03:42
ddaasabdfl: with the case of a shared "centralised" branch, the owner should be a Team. I see no use case for a Revision.owner. Users are not allowed to alter revision data.03:42
sabdflniemeyer: i believe you need that03:42
sabdflRevisionNumber.sequence would have been my preferred name03:43
mptsabdfl: In changing HTML comments containing implementation details to TAL comments, I touched 34 other templates. Should I get someone to review the branch again in that case?03:43
ddaaand multiple committers is already covered by revision_author, which is not a Person for a reason.03:43
niemeyersabdfl: I think we do as well, but that's the only way to have a revision linked with a branch right now, isn't it?03:43
sabdflddaa: think of "owner" not only as a permissions thing, but also an "i created this" thing03:43
sabdflyou need to show WHO created it03:43
ddaasabdfl: that's what Revision.revision_author is about03:43
sabdflyou want to render a page that lists revisions, with commit messages, and the COMMITTER03:43
sabdflat the same time, someone else could tell you about a branch, so then they would be the owner of those revisions03:44
sabdfldon't drop it arbitrarily now03:44
sabdfldon't stress about it either03:44
sabdflnext?03:44
niemeyerHow do I say that revision revid123 is present in a branch?03:44
sabdflniemeyer: yes, the only way03:44
ddaasabdfl: I'm entirely happy with making all revision.owner be "Launchpad admins", but that would be a bit pointless :)03:44
sabdflyou need to create a RevisionNumber for it03:44
niemeyerddaa: Agreed03:45
sabdflddaa: it's got nothing to do with editability, ok?03:45
sabdflread above03:45
niemeyersabdfl: But not all revisions which are present in a branch have revsison numbers03:45
niemeyerrevision03:45
sabdflthey don't?03:45
sabdflthey can be parents, or merged in, right?03:45
ddaasabdfl: ack what you said03:45
niemeyersabdfl: Right03:45
sabdflniemeyer: that is reflected elsewhere in the data schema, i think03:46
ddaaRevisionParent03:46
sabdflthere should be a RevisionParent table03:46
sabdflaha03:46
ddaano matching sqlobject yet, no use for it ATM03:46
niemeyersabdfl: There is one03:47
sabdflthere is one what?03:47
sabdfloh, table03:47
niemeyersabdfl: Ok.. understood03:47
niemeyersabdfl: It still does not reflect the fact that even though a revision *has* a parent, it may not be present in the branch.03:48
ddaaBTW, I agree RevisionNumber.rev_no is not a terribly good name...03:48
ddaaniemeyer: ghosts?03:49
niemeyersabdfl: So you don't know which revisions are in the branch.03:49
niemeyerddaa: Yes03:49
ddaaThe database models the global revision pool. Bzr only garantees availability of revisions listed in revision-history, that's why I wrote that mail about "changes in history".03:50
niemeyerddaa: Right.. so we're in sync. Launchpad has no idea if a given revision is present on a branch or not.03:50
niemeyerddaa: Only if it's in the history03:50
niemeyerddaa: I don't know if we want to import that info or not.03:51
ddaaRight, and bzr does not garantee anything more than availability of revisions present in the history.03:51
ddaaI do not think we would want.03:51
ddaaEspecially because I can readily imagine a supermirror using one big centralised store.03:52
niemeyerddaa: That's the whole point. If it ensured that all revisions were in the branch, Launchpad would have the presence information already.03:52
niemeyerddaa: And that whole discussion gets back to the fact that branches may change their history.. oh dear.03:52
sabdflok, can you explain this to me? i'll try to recommend a change to the schema to give you waht you want03:53
ddaasabdfl: it's all explained in careful detail with a proposed schema change in the launchpad mailing list.03:53
niemeyersabdfl: I don't really know if we *want* it.03:53
sabdflwhat is the difference between a revision that is "in the history" or "present on a branch" ?03:53
sabdflddaa: url? title of email?03:54
niemeyersabdfl: I'm just pointing out that we don't have in Launchpad information about which revisions are present in the branch, besides the branch history.03:54
ddaa"How to change the history of branches in Launchpad"03:54
ddaaIMO there's no difference.03:54
sabdflniemeyer: what do you mean by "present in the branch"?03:54
SteveAsalgado: hi03:55
SteveAsalgado: https://chinstrap.ubuntu.com/~dsilvers/paste/fileLCiVRZ.html03:55
Kinnisonbradb: Did you mail me the details on sending mail from zopeless scripts in the end?03:55
niemeyersabdfl: The revision is present in the branch ancestry information, even if it's not in the history.03:55
bradbKinnison: No I mentioned the doc to read to you yesterday though. Perhaps you weren't around.03:55
bradbdoc/sending-mail.txt03:55
niemeyersabdfl: bzr accepts "ghost" relations (<revid> My parent is 123, but he's not here.)03:55
Kinnisonpossibly03:55
=== Kinnison looks
ddaaniemeyer: I think bzr has no branches. Only stores and histories.03:55
niemeyerddaa: Huh?03:56
Kinnisonbradb: rock on, ta03:56
Kinnisonbradb: Hmm, can that do bcc ?03:56
ddaaniemeyer: can you give me a definition of bzr branch that is neither: "the revision history" or "what is in the revision store of that branch"?03:56
niemeyerddaa: A bzr branch is a set of files which contain information about a given project.03:57
salgadoSteveA, thanks dude. /me switches to urgent-fixes mode03:57
Kinnisonbradb: also, what's the deal wrt. when during transaction-commit the mail gets sent?03:57
SteveAsalgado: you know what it is?03:57
Kinnisonbradb: is it after the db says "yes" or before?03:57
niemeyerddaa: Stores and revision histories are contained in a branch.03:57
salgadoSteveA, no, I don't. but I'll find out03:57
ddaaniemeyer: that is the user model03:58
niemeyerddaa: That's the bzr model..03:58
SteveAsalgado: another example here https://chinstrap.ubuntu.com/~dsilvers/paste/filebJHYel.html03:58
ddaaI'm asking about the conceptual model of bzr.03:58
bradbKinnison: Isn't bcc'ing just a matter of adding the bcc header to your message?03:58
=== kiko [n=kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
Kinnisonbradb: that simple_sendmail interface appears to take a body, not a full mail03:58
Kinnisonbradb: unless I'm reading it wrongly03:58
SteveAalso, salgado, change intOrZero to give the passed in value in the error output03:59
niemeyerddaa: That's what I think the conceptual model is..03:59
salgadoSteveA, sure03:59
ddaaniemeyer: -> #bzr03:59
bradbKinnison: hm, true, that should probably be renamed to "msg" instead03:59
niemeyerddaa: And I don't understand what's the point of this, btw.. :)03:59
kikomorning04:00
niemeyerddaa: I'm just pointing out that we don't know if we can find information about a given revision in a branch or not..04:00
kikoKinnison, you got reply-mail04:00
Kinnisonbradb: So I can add arbitrary headers in the "body" argument?04:00
ddaaniemeyer: I think there is a point in ontologies.04:00
ddaaniemeyer: i disagree we can04:01
bradbKinnison: In looking at the implementation, there's a headers dict parameter you can use to add the headers, in this case.04:01
=== SteveA --> food
niemeyerddaa: Can we?04:01
ddaaniemeyer: -> #bzr04:01
Kinnisonkiko: ack04:01
Kinnisonbradb: rock on04:01
Kinnisonbradb: thanks dude04:01
bradbKinnison: re: transactional. The email gets delivered during the commit AIUI. I don't know anything more specific than that.04:02
kikoKinnison, SteveA: I have a couple more gina bugfixes04:02
kikoI want to know if I should invest time in the gina doctest at this point04:02
kikoand I need help with Build04:02
kikospent the morning looking into this and doing reviews04:02
SteveAkiko: you should co-ordinate with mark too04:03
SteveAi'm going for some lunch04:03
SteveAmark's soyuz landing is at #2 in the pqm queue right now04:03
SteveAand i expect it to go through this time04:03
kikofinally04:03
SteveAwhen stu gets back from dinner, he's getting this onto staging04:03
SteveA(there was a strange spurious conflict issue)04:03
Kinnisonkiko: I'm going to read your mail and respond then we'll see what we're up to04:03
SteveAso, the main thing now is to fix up gina and test gina on staging.04:04
SteveAi have a few chores to do after getting something to eat, but i'll be around later on.04:04
kikoKinnison, cool.04:04
bradbkiko: http://69.70.209.33/products/firefox/+bugs -- I changed the UI as per your and mpt's suggestion and rearranged the ZPT so that the search widget ZPT is in once place and use-macro'd into callsites. Can I merge this patch?04:07
=== stub [n=stub@costello.z3u.com] has joined #launchpad
bradbstub!04:08
stubBrad!04:08
bradbi had another quick schema change request to make, if you have time04:08
kikobradb, that host isn't accessible from here :-/04:08
bradballowing nulls for Specification.specurl04:08
=== stub always has time for a quick schema change
stubWill it break my assigned bugs page this time?04:08
kikoprobably04:09
stubPlease do make the URL nullable04:09
bradbstub: you broke my app, so i broke your assigned bugs report04:10
Kinnisonkiko: responded04:10
=== bradb checks router
kikoKinnison, thanks04:12
jordicarlos: can you send a request for stub for that Urdu plural forms request?04:12
stubbradb: You want me to do the NULL Specifiation.specurl, or do you want to land it with some changes?04:13
bradbstub: if you could just make the schema change, and I'll worry about fixing the app-level changes today, that'd be great04:13
stubok.04:14
jordistub: hey stub.04:14
kikobradb, no connection.04:14
bradb(i'll make sure there's test data with a null url this time too, so that i can at least blame the tests when we find out which pages break because of this)04:14
stubwuss04:15
bradbkiko: oh, the port number, :808604:16
kikothat's more like it04:18
kikobradb, now we're talking! pastebin a diff for me04:18
bradbok04:20
kikobradb, you do realize that the underline under the bug # is kooky, right?04:21
kiko_5 .__ 04:22
kikocraack04:22
=== mgalvin [n=mgalvin@host-66-202-95-170.spr.choiceone.net] has joined #launchpad
salgadostub, the production logs are not being synced?04:22
mptkiko: If responding to a review results in minor changes to 34 more files, should I get another review?04:22
bradbkiko: i didn't cut the page up that way. it only looks particular kooky because of the separation between the number and the title04:23
bradb(done to line up the IDs)04:23
mptkiko, that kooky separation is fixed in my bug-listings-love branch, which failed PQM last night04:23
kikompt, at least put a diff up somewhere04:23
stubsalgado: I have no idea. I don't have the foggiest idea where the mirror is04:23
kikookay, thanks mpt 04:23
mptkiko: somewhere for what? jamesh's script does that already04:23
kikosalgado, they are rsynced to chinstrap AFAIUI04:24
kikompt, well, jamesh' script takes a while to pick up new changes..04:24
salgadostub, I thought they were in chinstrap:~stub/production_logs04:24
salgadoand in fact they're there, but out of sync04:24
stubsalgado: Those ones I've synced manually once or twice. SteveA got elmo or Zarl to sync them across somewhere regularly IIRC04:25
bradbmeanwhile, I'm thinking we need a better connection between upstreams, between distros, and between upstreams and distros. All this URL-hacking-as-navigation is pretty old skool.04:25
salgadokiko, do you know where they are? (the production logs)04:25
salgadoSteveA is not here, I guess04:25
stubsalgado: I'll do a manual sync for now04:26
bradbso: 1. making it easy to jump from one product's bugs to another's, 2. same idea for D's, DSP's, and SP's, 3. being able to quickly jump to the bugs filed on a specific packaging of an upstream and 4. being able to quickly jump to the relevant upstream's bugs for a DSP/SP04:27
bradbmpt: have you done any thinking about how to better connect those entities, so that we can hack URLs less often?04:27
salgadostub, thank you!04:27
stubsalgado: enjoy (all 500MB! )04:27
kikosalgado, yes, I do04:28
kikosalgado, /srv/gangotri*/04:28
mptbradb: No, apart from reporting that bug about product->package bug listing links04:29
bradbok04:30
bradbthat's what brought it to my attention once again04:30
bradbkiko: https://chinstrap.ubuntu.com/~dsilvers/paste/fileGMWnKf.html04:30
ddaaniemeyer: so, my point was that Launchpad does not model bzr branches.04:31
ddaaIt models bzr histories and the bzr ancestry-graph.04:31
ddaaAnd you are damn right.04:31
ddaaIt breaks on the edge of known space.04:31
jordikiko: hey dude04:32
jordikiko: remember we had a team for Shona called "shona" that we wanted to rename to "ubuntu-l10n-sn"?04:33
jordiYou asked me to remind at some point, because two weeks ago you couldn't do it04:33
niemeyerddaa: Understood04:33
ddaaCannot model ghost revisions, that's a problem, but not for importd, at least.04:33
niemeyerddaa: Indeed04:34
=== ddaa bows
ddaaOne point each. Play again.04:34
kikojordi, we can't do it yet, I need to merge in gneuman's patches, but they still have issues.04:34
niemeyerddaa: Changes may be needed in importd.. but that issue is much more conceptual that about implementation, as you say.04:35
niemeyerthan about04:35
ddaaniemeyer: right now, just map baz onto the not-quite-bzr-but-almost schema we have.04:35
niemeyerddaa: I'm late for lunch.. will be glad to know your general opinion about taxi, and other comments you may have.04:35
=== SteveA_ [n=steve@195.182.78.95] has joined #launchpad
niemeyerddaa: Will you stay around for a while, or would you like to discuss that right now?04:36
ddaaI'll leave in about 2:30 hours04:36
niemeyerNice.. I'll try to have a quick lunch and get back.04:37
ddaaI think I need some rest now :)04:37
niemeyerddaa: Thanks for discussing it :)04:37
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
jordikiko: ok. When should I try again?04:40
kikojordi, let's hope for next week04:42
=== zyga_ [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
sabdfljordi: should be easy to rename a team04:45
jordisabdfl: really?04:46
jordisabdfl: if you think it can be done, /people/shona should be ubuntu-l10n-sn04:47
stubKinnison: ping04:48
sabdfljordi: damn, kiko was right04:48
sabdfli used to be able to rename people04:48
Kinnisonstub: yo04:48
jordisabdfl: WillBeFixed(TM)04:49
jordi:)04:49
sabdflkiko: hmm +review works for me04:49
sabdflis there an issue, or can i just try it?04:49
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
Kinnisonsabdfl: +review should just work04:49
stubKinnison: So it looks like we have duplicate SourcePacakgeReleases in the production DB. If we nuke them, should Gina rebuild everything happily or are there sourcepackagereleases in there from other sources?04:49
salgadosabdfl, someone dropped that for teams. I asked gneuman to put it back, but kiko hasn't merged his changes yet04:50
Kinnisonstub: the only things in launchpad gina imported IIRC04:50
kikosabdfl, +review might work -- I have a patch and test for the team issue.04:50
salgadosabdfl, there should be no issues, +review might work for teams too04:50
kikosalgado, I would have, but there are other problems in his patch04:50
jordisabdfl: I have some people here asking about translations for the CoC.04:50
Kinnisonstub: certainly gina is the only way to get stuff into the db04:50
sabdflstub: i dont think we should have anything there, that must be from a gina run04:50
Kinnisonstub: until I land my uploader04:50
Kinnisonwhich would be made easier if you lot would stop sending patches :-)04:50
jordisabdfl: should we handle this similary to the unofficial GPL translations?04:50
sabdfljordi: https://launchpad.net/people/ubuntu-l10n-sn/04:50
=== Kinnison wishes 'make check' went faster
sabdfldone04:50
sabdflKinnison: i'm sure pqm feels the same :-)04:51
jordisabdfl: good :)04:51
jordithanks04:51
ddaasabdfl: after considerable banging of head, I think niemeyer and I agreed on what are the problems.04:51
jordisabdfl: you should tell kiko how you did this, for the next time.04:51
ddaaSo, there's the changing history thing, that's covered in the mail with the subject: "How to change the history of branches in Launchpad"04:52
stubKinnison: So I'll add nuking the contents of sourcepackagereleasefile, sourcepackagerelease and securesourcepackagepublishinghistory to the list of stuff to delete04:52
ddaaAnd there is the problem of ghost revisions.04:52
=== Loiosh [n=loiosh@c-67-187-98-56.hsd1.tx.comcast.net] has joined #launchpad
jordisabdfl: back to code of conduct; FSF promotes trasnlations of thE GPL, but strongly recommends that they are not used for licensing, just as reference.04:52
ddaaWhich will requires some schema change, I'm not clear which, yet.04:52
Kinnisonstub: sprf, then sspph, then spr04:53
Kinnisonstub: after you've cleared the binaries04:53
jordiie, translations of the Code of Conduct could be linked from the page with the text, but with big flashy red letters stating its nothing official; what you need to sign is the English version.04:53
sabdflddaa: ok. as i understand it, the problem is that a bzr branch can refer to a branch that you cannot see. that should be no problem. we should be able to create a revision entry for it without the branch.... even the revision-and-branch, perhaps, with no revision number.04:54
sabdfljordi: sounds good04:54
kikojordi, I've noticed already04:54
jordithis would help people understand what the CC is, should they have problems with the English.04:54
sabdflthe system will enforce what it recognises, anyway04:54
kikoyeah, it's already picky enough as it is!04:54
sabdflif there is real demand, we could do real-certified-translations04:54
ddaasabdfl: the problem is that we may have a revision without having its ancestor.04:55
ddaaYet knowing the revision_id of the ancestor.04:55
sabdfli see. well lets talk more at UBZ04:55
sabdflkiko: so, was -215 your latest changes to gina?04:55
jordisabdfl: it should be easy to translate; it's not evil legalsee language.04:56
ddaaack -> UBZ04:56
kikosabdfl, no, -21704:56
sabdfljordi: yes, agreed, and its designed to be friendly, so a local language one is a good idea.04:56
sabdflwe just have to be a little careful, to get "official" ones, and update the system to know about those, serve them, and recognise them when they come back signed04:56
sabdfla good topic for UBZ spec action04:57
sabdflkiko: full branch id?04:57
kikochristian.reis@canonical.com--lozenge/launchpad--devel--0--patch-21704:57
jordisabdfl: will add a spec04:57
kikosabdfl, I was asking if we should invest in gina.txt today.04:57
sabdflddaa: will you add a spec to the UBZ schedule for the ghost revision issue?04:57
sabdflgina.txt?04:58
sabdfltest?04:58
ddaasabdfl: will talk to JaneW about it.04:58
jordisabdfl: a translation of one of these documents should be done quite openly, in the language/motu mailing lists or whatever. Whatever is needed so drafts get lots of reads04:58
sabdflddaa: err... easy, (1) write spec on wiki, (2) register in LP, (3) add to UBZ agenda in LP04:58
sabdfljust write the braindump summary intro paragraph for now04:59
bradbkiko: can i merge the patch?04:59
ddaasabdfl: okay, on my way.04:59
sabdfljordi: agreed04:59
kikobradb, I still see reference to old-style and new-style in the patch. Why?05:00
bradbhm, that is unintentional. /me checks05:00
kikobradb, the docstring for get_sortorder_from_request at least needs to be updated. I think you didn't read your diff.05:00
=== BatchDrake [n=0xffffff@cm240178.red.mundo-r.com] has joined #launchpad
jordikiko: when you have a min; can gnome-l10n-ku be added to gnome-translators?05:05
bradbkiko: changed to:05:05
bradbdef get_sortorder_from_request(request):05:05
bradb    """Get the sortorder from the request."""05:05
bradb    if request.get("orderby"):05:05
bradb        return request.get("orderby").split(",")05:05
bradb    else:05:05
bradb        # No sort ordering specified, so use a reasonable default.05:05
bradb        return ["-priority", "-severity"] 05:05
=== BatchDrake [n=0xffffff@cm240178.red.mundo-r.com] has left #launchpad ["So]
bradbremoved current_sortorder from the template, because I guess we don't need it anymore05:06
kikobradb, that's better05:06
kikojordi, sure05:06
kikojordi, if you give me URLs for your requests it's easier :)05:07
jordikiko: sorry. :)05:07
=== syn\ack [i=javi@unaffiliated/x-00001/synack] has joined #launchpad
bradbkiko: does that mean i can merge it then? :)05:08
jordiadd https://launchpad.net/people/gnome-l10n-ku to https://launchpad.net/rosetta/groups/gnome-translation-project/05:08
syn\ackhi05:08
kikobradb, isn't there a bug filed on the fact that you can't file bugs on binary packages?05:08
salgadoSteveA, around?05:09
kikokurdish, jordi?05:09
kikothanks mpt05:09
bradbkiko: I dunno. Our search sucks. There might have been such a bug in the now deceased dogfood data we had.05:10
jordikiko: yes05:10
kikodone, jordi 05:10
jordikiko: thanks man05:10
mptkiko: for?05:10
sabdflkiko: ok, gina needs some deep surgery05:11
sabdfli don't mind doing it today05:11
sabdfli need help setting up the test environment05:12
sabdflwhat do you use? an archive copy?05:12
kikosabdfl, I can probably do it myself, since I now am happier than I used to be with it05:12
sabdflelmo: how big is a copy of main i386 and ppc?05:12
kikosabdfl, I want to be able to work on gina.txt for this though05:12
sabdflkiko: ok, i'd like to be involved, though, since i think that will speed things up05:12
sabdflthat's a good idea yes05:12
kikobecause it's going to be a lot better than testing on staging and discovering "ah it failed"05:12
bradbkiko: can i merge this patch?05:12
=== gneuman is now known as gneuman-univ
kikobradb, get a new diff up. sabdfl, if you can take a quick look at gina.txt I can tell you more or less what the plan is05:13
bradbkiko: a new diff up for what?05:13
kikobradb, for your latest changes.05:13
bradbi just pasted the change i made, and there were two lines of ZPT that i removed05:13
kikobradb, you don't really want to make my life easier, do you?05:14
bradbargh. /me feels himself crushed under the weight of process.05:14
kikobradb, what are you going to work on after this?05:15
sabdflkiko: looks good05:15
=== heyko [n=heyko@p548440ED.dip.t-dialin.net] has joined #launchpad
bradbkiko: bugfixing: DR release bug counts, nullable spec URLs, and then getting into linking upstreams and distributions more effectively.05:16
kikobradb, okay, cool. I've assigned bug 3322 to matsubara.05:16
UbugtuMalone bug #3322: It should be possible to indicate a binary package when filing a bug Fix req. for: malone (upstream), Severity: Normal, Assigned to: Diogo Matsubara, Status: New http://launchpad.net/malone/bugs/332205:16
bradbmeanwhile, i'm also anxiously waiting for stub's browser notification message patch to land, so that i can provide useful feedback all over Malone05:16
kikosabdfl, I want to add: a second distro release, and about 10 more packages that test the codepaths. At the moment we only test: one distro release, archictecture independent, so a lot of this is just hanging there in space.05:17
bradbkiko: ok05:17
sabdflkiko: makes sense05:17
carlosjordi, d05:17
carlosjordi, sure05:17
sabdflwe need a sourcepackagerelease and binary package releases that are published in BOTH distroreleases05:17
kikosabdfl, exactly, some published with the same version, some with newer versions05:18
sabdflyes05:18
kikosabdfl, I don't suggest testing failure modes, because that will take too much time -- just make sure it copes with what we will have05:18
sabdfltesting failure modes should be straightforward?05:19
=== matsubara is now known as matsubara-lunch
kikosabdfl, how do you suggest I do it using the existing gina.txt?05:19
sabdflhmm... i see. check for error messages in the log?05:20
sabdfli did this with cve importing05:20
kikosabdfl, I'd need to add an extra loop for each failure mode, to test properly, don't you think?05:21
sabdflkiko: well. not necessarily05:22
sabdflsay there are X clear failure conditions we want to detect05:22
kikookay05:22
sabdflif yo have one sample archive, and can run gina over it, you should get X error messages in the log05:22
sabdfltest for that05:22
sabdflit's not perfect, but it's a start05:22
kikoagreed05:22
kikoit's what I suggested above as not testing "properly", but it is a reasonable check.05:23
kikookidokie05:23
kikolet me have lunch and delve into this05:23
bradbkiko: https://chinstrap.ubuntu.com/~dsilvers/paste/fileyn9YYf.html05:26
=== kiko gets his discounted Nokia 770
sabdflgosh, pocket_distrorelease is a bad name for "the distro and pocket into which we are dumping data"05:28
kikobradb, is there any reason to define sortwidget_label as a separate macro?05:29
kiko+    <table>05:30
kiko+      <tr tal:condition="view/showListView"05:30
kikobradb, that condition is redundant with the one in a containing tal:list_view05:30
kikobradb, I'm assuming the rest of the changes to that file are the advanced search form, yes?05:31
kikobradb, it would have been nice if you had added to bugtask-macros-listview a batched-list macro, but that's optional05:33
bradbkiko: i made it a separate macro because the widget was originally going to be used in more than one kind of layout, but now i've just added the whole thing (i.e. including the search widget) to the DSP bug listing, so it probably doesn't need to me05:33
kikobradb, I guess it's consistent with the other widget in there though05:34
kikor=kiko with these comments05:34
bradbright, that extra showListView class is unneeded. I removed it.05:35
kikoclause05:37
bradbkiko: re: the sortwidget macros then: should the macro be written such that it's forced that the label/widget are a row in a table?05:37
kikobradb, nah, I'd leave then as-is, they are consistent with the other widget in there.05:38
bradbi didn't make any changes to the advanced search form05:38
kikomaybe reindented?05:39
jordicarlos: great, thanks05:39
kikolook at the diff05:39
bradbkiko: right, reindentation05:39
jordicarlos: I created the spec sabdfl asked for; https://wiki.ubuntu.com/RosettaTeamlessTranslating05:40
jordiI know the spec name could be better :)05:40
jordicarlos: can you have a look if I'm misisng something?05:40
bradbkiko: does that address everything to your satisfaction?05:40
bradbstub: how does the db patch look?05:41
sabdfljordi: call the mode "Organised" perhaps?05:41
sabdflClose / Organised / Open?05:41
sabdflkiko: gina hurts my brain a little05:42
sabdflkick me next time is use the word "temporary" to describe something to be written05:42
sabdflor better, PIE me05:42
kikosabdfl, well, she wasn't so bad in the beginning -- we just never considered rearchitecting her to cope with the added requirements.05:43
kikobradb, yeah, looks okay.05:44
kikogo for it05:44
bradbok, thanks05:44
sabdflit's only 2,000 lines of code, we could refactor it pretty easily and clean it up05:44
sabdfli like the use of the config system05:44
kiko-fudthat was Kinnison's work!05:44
sabdfland the idea of having handlers is sound05:44
=== kiko-fud > out to lunch
kiko-fud:)05:44
sabdflthe PackagesMap grew a little out of control, though05:45
sabdflthat should be a set of classes, not a class with nested dicts05:45
kiko-fudthere's a lot of duplication05:45
jordisabdfl: organised... I wouldn't get much sense of what "Organised" means if I had to select one of the three05:45
kiko-fudand the handling of source and binary packages shouldn't be so identical05:45
kiko-fudanyway05:45
kiko-fudout for a bit, back in 2m05:46
kiko-fud20m05:46
=== Loiosh [n=loiosh@c-67-187-98-56.hsd1.tx.comcast.net] has left #launchpad []
sabdfljordi: i'm trying to give the sense of there being some structure05:46
sabdflStructured?05:46
jordisabdfl: we might want to come up with a name at the BOF05:47
jordihmm.05:47
sabdfljordi: actually, i think i could implement this in about 2 hours with tests05:47
sabdflthere's only one or two methods that need to be updated to know about the new way05:47
sabdfllet me take a look, since kiko has gina under the whip05:47
jordiok05:48
sabdfljordi: hmm.... maybe even faster05:48
jordiI had some QA concerns; ie Rosetta lacking a team for Occitan, but a KDE team already existing05:49
jordithat could generate translation clashes, right?05:49
salgado-lunchback05:55
ddaaniemeyer: ping05:55
niemeyerPong!05:56
niemeyerddaa: pong!05:56
ddaahttps://launchpad.net/products/launchpad/+spec/ghost-revisions05:56
ddaaLet's fire a gobby05:57
niemeyerddaa: Cool05:57
niemeyerddaa: Can you host it?05:57
ddaaYup05:58
niemeyer(I'm nat'ed)05:58
niemeyerddaa: Please, run two different ones..05:58
ddaawhy  two?05:58
niemeyerddaa: One for the original code, and one for your changes..05:58
ddaawell... you have the original code... don't you?05:59
niemeyerddaa: Sure.. but having the changes marked in the code while we're looking at it is nice.05:59
niemeyerddaa: Would that be uncomfortable to you?06:00
ddaanot sure what you mean -> msg06:00
stubbradb: could take some time. I've had to nuke my revlib06:03
bradbstub: i hear ya06:03
=== Nafallo_away is now known as Nafallo
jordiis it normal that site navigation doesn't go past Launchpad>>Products>>Oregano when I'm viewing a potemplate or whatever?06:12
jordisee https://launchpad.net/products/oregano/+series/main/+pots/oregano/06:12
Kinnisoncan someone remind me how to run a specific pagetest story?06:13
Kinnisonit's something like python test.py -f . story06:13
Kinnison?06:13
kikoKinnison, I don't think it's possible, is it?06:13
jordikiko: can you go here https://launchpad.net/products/oregano/+launchpad and mark it as "Rosetta official"?06:13
=== matsubara-lunch is now known as matsubara
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: r=spiv, mark's soyuz loving. (patch-2675: mark.shuttleworth@canonical.com, rocketfuel@canonical.com, scott@canonical.com)06:14
Kinnisonsabdfl: congrats06:15
SteveA_Kinnison: python test.py -f --test=name.txt06:16
KinnisonSteveA_: that runs a specific doctest06:16
SteveA_jordi: that's in the design for breadcrumbs.  there's a spec on it like LaunchpadHierarchyNavigation06:16
BjornTKinnison: what you can do is python test.py -f --test=<regexp>, with a regexp that will match all the tests in the story. it's not guaranteed to work, though...06:16
KinnisonSteveA_: can i use that to run a full pagetest story?06:16
KinnisonBjornT: arse06:16
SteveA_Kinnison: you can run all the pagetests06:16
=== Kinnison just wants to run the gpg-coc story
SteveA_Kinnison: python test.py -f canonical.launchpad.ftests.test_pages06:16
SteveA_that's not very very slow06:16
KinnisonSteveA_: okay, ta06:17
SteveA_jordi: the idea is that the breadcrumbs stop where you've got navigation by menus06:17
SteveA_jordi: if you find a place where breadcrumbs are insufficient or confusing, then file a bug with that url, and why they are confusing.06:17
SteveA_jordi: it is easy to fix such things by tweaking the breadcrumbs.06:17
jordiSteveA_: nod06:18
jordiSteveA_: ok, its new and it struck me as a bug06:18
SteveA_it is good to see these things fro mother 06:18
SteveA_it is good to see these things from other points of view06:18
jordiyes06:18
SteveA_the main thing is not whether they look odd, but whether they work for navigation06:18
SteveA_although, not looking odd helps too ;-)06:18
jordiheh06:20
salgadoSteveA, I can't reproduce that problem, but it seems to me that form.get(sometextentry) is returning None06:20
mptjordi: the breadcrumbs take you up to where other navigation takes over06:21
jordinod06:21
salgadoSteveA, in what cases it's expected to return None when that's a text entry?06:21
mptjordi: The "other navigation" is in a pretty bad state at the moment, but that's not the breadcrumbs' fault06:21
mptand it'll improve06:22
jordidamn06:22
jordiis this a known bug? https://launchpad.net/products/xqf/unknown/+edit06:22
carloskiko, wow06:24
SteveA_salgado: on the phone with scott06:24
carloskiko, seems like librarian is not behaving as it should or we have a transaction problem I'm not aware of...06:25
mptportlet-actions!06:25
carloskiko, anyway, I'm tired of those errors, I'm going to catch that exception and will do an uncached export if we get it06:25
SteveA_mpt, jordi fixed in a branch of mine06:26
SteveA_to be cherrypicked RSN06:26
mptok06:26
kikocarlos, I asked spiv to look into this for a long time06:26
kikohe hasn't managed to find the issue06:26
kikoso I think you're right06:26
carlosyeah, I know06:26
carlosthat's why I'm going to implement an easy workaround06:26
jordiSteveA_: k06:27
salgadostub, https://launchpad.net/errors/showEntry.html?id=1129652737.180.071184157449706:29
salgadostub, apparently, accessing person.preferredemail is taking too long06:30
kikosalgado, log expired though06:31
salgadohttps://launchpad.net/errors/showEntry.html?id=1129652737.180.071184157449706:31
stubsalgado: when from? Most likely something else was locking the person table06:31
salgadostub, apparently, always06:31
salgadojust go to https://launchpad.net/people/+requestmerge?field.dupeaccount=kiko06:32
salgado:P06:32
salgadoand try to merge06:32
kikotrying to steal my karma!06:32
salgadoif I were doing that for karma I would merge jordi's account06:32
salgadohe's been cheating the karma framework for a long time06:33
stubThat exception isn't very helpful - it isn't telling us what the query is :-/06:34
carlossalgado, that's my fault06:35
salgadocarlos, the karma thing, I guess?06:36
carlossalgado, yeah06:37
salgadostub, am I crazy or this traceback (https://chinstrap.ubuntu.com/~dsilvers/paste/file2QSIT1.html) means that it expired when trying to check if I'm a member of the launchpad_developers, in order to show me the traceback?06:38
stubsalgado: that is correct06:38
kikothis has happened to me quite a few times.06:39
stubNothing unusual running06:39
stubNo cronjobs anway06:39
stubWe need that exception to include the dud sql :-(06:40
kikois that easy to do?06:40
stubkiko: Should be I think06:41
matsubaraDoes anybody know why the IProductSeriesSource and IProductSeries are split on two Interfaces? All the data of the IProductSeriesSource are defined to one db table: productseries, is there a reason for that?06:41
stubkiko: should I try your gina fixes on staging or wait until you and mark land that work being discussed before?06:42
stubmatsubara: it would likely be to make assigning permissions easier. 06:43
stubmatsubara: butress administrators get write access to one interface, other people only get write access to the other06:43
=== stub wanders off to bed
matsubarathanks stub 06:45
sabdfljordi: done06:46
sabdflcarlos: can I send you the patch?06:46
carlossabdfl, which patch?06:46
sabdflfor the teamless translating bits06:46
carlossure06:46
sabdflit has no tests. you'll need to add some.06:47
kikostub, let's try my fixes -- what do you think?06:47
matsubaraby the way, what is this butress thing? I can't find anything on the wiki...06:47
carlossabdfl, ok06:47
jordisabdfl: we've been discussing about the convenience of having a 3rd mode. We should just make Teamless mode the default in Closed?06:47
kikomatsubara, it's what became "the bazaar"06:47
sabdflmatsubara: Buttress is the old name for TheBazaar06:47
matsubarathanks :)06:48
sabdfljordi: no, Closed means "nothing happens without a designated translator". the new Structured mode means "where there is no designated translator, you can go wild"06:48
kikoif stub's justification is correct, however, it's odd that you need two interfaces for a single form, matsubara.06:49
sabdflhmm.... carlos, can we try dsomething?06:49
sabdfli'll do baz undo, then send you a tar of the resulting dir, and you try to redo it over there?06:49
carlossabdfl, ok06:49
jordisabdfl: aha; reverting spec :)06:49
sabdflor i could commit  this to my current ginafixes branch06:50
kikosabdfl, that's going to make it more difficult to read..06:50
sabdflkiko: right, i'm trying to avoid that06:50
sabdflbut am not making any gina changes since you are handling that and neither of us wants conflicts :-)06:51
sabdflcarlos:  it should pass tests, because there is no test data with the new permission06:51
matsubarakiko: I'm just trying to replicate the old form, and the old one had fields from both Interfaces.06:51
sabdflso if it doesn't, then shout :-)06:52
kikooh06:52
kikomatsubara, that's what I think is weird -- what fields are those? are they protected by any particular permission code in the template or browser code?06:52
carlossabdfl, I prefer the first option, send me the undo directory, please...06:52
salgadois staging down?06:53
mptddaa?06:54
ddaampt: pong06:54
mptddaa: "resolved: One or more of the paths supplied doesn't exist."06:54
mptThis is for an .arch-ids file06:55
ddaaha06:55
ddaayes06:55
ddaaresolved is stupid and broken06:55
mptI did cp foo.id.rej foo.id06:55
mptbecause foo.id didn't exist06:55
matsubarathe fields are: releaseroot and releasefileglob, and I think they belong to another form: productseries-source and shouldn't be on productseries-edit06:55
mptand then resolved06:55
ddaampt: just fix all your conflicts and then "baz resolved --all"06:55
mptok06:55
=== jordi tries to add his first LP spec
jordisabdfl: should I still add a spec for this in LP, or is it enough now as there's code in your tree?06:57
=== syn\ack [i=javi@unaffiliated/x-00001/synack] has left #launchpad []
sabdfljordi: go ahead and add it06:58
sabdflbe nice to be able to say Implemented when it lands06:59
salgadoKinnison, around?07:00
Kinnisonsalgado: yes07:00
kikomatsubara, what does ddaa think?07:00
=== WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad
kikomatsubara, either that, or you need to move them from one interface to another07:01
ddaawell... they sure would be weird in +edit07:01
ddaaI guess +source would be better07:02
ddaabut Keybuk is the consumer of this data07:02
ddaanot me07:02
kikoso what does Keybuk say?07:02
ddaaso he's the guy to ask about permission policy07:02
salgadoKinnison, you have write access to dogfood, right?07:02
matsubarathey are on the +edit now with the current non auto generated form07:02
Kinnisonsalgado: yes07:02
salgadoKinnison, would you apply a small patch there for me, so I can test something?07:03
=== cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
Kinnisonsalgado: sure07:04
salgadoKinnison, great. what revision are we running there?07:04
Kinnisonsalgado: quite an old one. You want me to upgrade first?07:08
=== jinty [n=jinty@253.Red-83-58-126.dynamicIP.rima-tde.net] has joined #launchpad
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
salgadoKinnison, no. the patch is one that's already in production. I want to make sure that patch causes a timeout I'm seeing07:09
salgadoKinnison, this is it: https://chinstrap.ubuntu.com/~dsilvers/paste/filezvL3VY.html07:10
Kinnisoncan you put it in a file on mawson?07:12
kikosalgado, except_()?07:12
Kinnisonsalgado: we're at 2608 on mawson07:12
salgadoKinnison, I don't have access to mawson07:13
=== segfault [i=carlos@prognus.com.br] has joined #launchpad
salgadoKinnison, it should be safe to replay rocketfuel@canonical.com/launchpad--devel--0--patch-261707:13
KinnisonI'll try07:14
salgadokiko, yes, I guess that's what's causing the timeout when trying to merge accounts07:14
kikohmmm wonder how it's implemented07:14
Kinnisonsalgado: patch replayed, dogfood restarted07:14
salgadokiko, the same way as intersect() and union()07:15
kikosalgado, hmmm07:16
kikoKinnison, architecturetag is just a stringcol. did you know that?07:16
kikoprocessorfamily is foreignkey07:16
kikobuild.*07:16
kikosorry, DAR.*07:16
salgadoKinnison, in dogfood, do we have the same limits we have in production for how long a query can run?07:17
Kinnisonsalgado: dunno07:19
Kinnisonsalgado: I doubt it07:19
Kinnisonkiko: yes07:19
Kinnisonkiko: that's completely correct07:19
kikoKinnison, and I can trust it even so?07:19
kikoit's not even a dbschema value07:19
kikoI don't understand why07:19
salgadoKinnison, okay, thanks for applying the patch. you can undo it if you want; I won't need it anymore07:20
Kinnisonkiko: because it's arbitrary for the distribution07:20
Kinnisonkiko: It's the most trustworthy bit07:20
niemeyerddaa: Thanks for the session07:21
ddaaI'm outta here guys.07:21
kikoKinnison, sounds dangerous -- why not have the distribution register the tag it likes? anyway, hacking on07:22
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  make test_simple_sendmail work deterministically (patch-2676: steve.alexander@canonical.com)07:24
=== SnakeBite [n=SnakeBit@84.242.143.99] has joined #launchpad
kikoKinnison, is the Releases.gz guaranteed to only contain one copy of a file?07:36
kikoKinnison, s/file/package name/ s/copy of/entry for/07:36
Kinnisonkiko: Packages.gz will only ever contain one stanza per package name07:38
kikoKinnison, thanks.07:43
kikoKinnison, in the pool I can find the dsc, the tar and the diff, right?07:44
kikoand the deb07:44
Kinnisonyes07:44
Kinnisonthe pool is pool/component/initial/spn/07:45
Kinnisonwhere "initial" is a-z or liba-libz as appropriate07:45
jordigotta leave to my internet-less flat. Laters.07:45
Kinnisonand comes from the spn07:45
kikoKinnison, why are source packages kept in an arch-specific directory? do we symlink between architectures?07:46
Kinnisonthey're not07:47
Kinnisonthe pool is everything in together07:47
kikooh, right07:49
kikodoh07:49
kikoI'm being silly07:49
kikoman, util-linux is big07:49
kikosucks07:49
Nafalloapt-get update outside pool, apt-get upgrade inside pool :-)07:49
=== lamont is now known as lamont-away
carlossabdfl, do you have the patch ready?08:02
kikoSteveA_, you're not going to like +1mb of test matter for gina, are you?08:06
SteveA_kiko: sounds a lot.  why so big?  it needs real binaries?08:07
kikowell08:07
kikoI'd like to test with real packages08:07
kikoI'm looking for small ones08:07
Kinnisonlua5008:08
Kinnisons'small08:08
SteveA_kiko: do you need the real binary data though?08:08
SteveA_i mean, gina basically just sticks it in the librarian08:08
SteveA_so any data will do08:08
SteveA_you can turn off sig checking08:08
kikowell08:09
salgadoSteveA, 5lines diff: https://chinstrap.ubuntu.com/~dsilvers/paste/fileTvU7fv.html08:09
kikosalgado, no, we run dpkg -e and stuff on the packages.08:09
kikoerrr08:10
kikoSteveA_, that was for you. no can do.08:10
kikoI'll try and make the hit smaller08:10
SteveA_salgado: r=me08:10
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Fix for bug 1623: external bug tracker page only shows 10 latest watches. When viewing a bugtracker, allow optionally displaying all bugtracker watches via a GET variable (patch-2677: christian.reis@canonical.com)08:10
salgadoSteveA, ta!08:10
SteveA_kiko: don't worry too much about it08:11
kikothanks SteveA_ 08:11
=== salgado makes sure that exception is not raised anywhere else
SteveA_kiko: just get gina working08:11
salgadoit is not, as expected08:11
SteveA_salgado: one thing08:11
SteveA_what happens if an exception gets kw args?08:11
salgadoit breaks!08:12
SteveA_aha08:12
SteveA_so, do this08:12
SteveA_don't give the exception *args and **kw08:13
SteveA_make its init take  def __init__(self, sqlargs, sqlkw):08:13
SteveA_    Exception.__init__(self, sqlargs, sqlkw)08:13
SteveA_do that08:13
=== Nafallo is now known as Nafallo_away
SteveA_and make sure that the subclass of RequestExpired also works08:14
SteveA_the subclass is RequestQueryTimeout or something like that08:14
SteveA_in the same module08:14
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
=== eruin [n=eruin@unaffiliated/eruin] has joined #launchpad
salgadoSteveA, why do this instead of simply calling RequestExpired('foo', args, kwargs)? they seem to do the same thing, no?08:18
=== salgado is pretty sure there's a reason for that, but he wants to know it
SteveA_why do what?08:20
SteveA_have a separate exception type?08:20
SteveA_or write a special __init__ ?08:20
SteveA_you don't need to write a special __init__, of course08:20
SteveA_as the default Exception __init__ does the job08:20
SteveA_so, if that's what you meant, well spotted08:21
salgadoso, no need to change anything apart from the *args and **kwargs to args and kwargs?08:23
SteveA_you need to implement the same thing in RequestQueryTimeout08:23
SteveA_or whatever that exception is called08:23
salgadois that supposed to be a subclass of RequestExpired? was it added recently?08:24
salgadoI can't seem to find any subclass of RequestExpired08:24
SteveA_oh... that merge failed08:25
SteveA_so okay, go ahead and add it08:25
SteveA_and i'll square it when i get the commit landed08:25
=== Kinnison heads off to do dinner, bbl
Kinnisonciao08:26
mptWho wrote librarianformatter_noca.txt?08:33
kikopas mois08:41
kikomoi08:41
kikois there something you run that gets you a zopeless console, salgado?08:44
salgadokiko, yes08:44
salgadocd canonical/database ; python -i harness.py08:45
kikoaha08:50
kikoKinnison, do you know what preimport_sourcecheck() is useful for?08:50
salgadoSteveA, did you see the messages where I said I couldn't reproduce that traceback you found in the logs today? might you have some time to discuss it?08:56
=== BjornT_ [n=bjorn@84.32.140.183] has joined #launchpad
=== LinuxTux [n=misiek@dial-2079.elblag.dialog.net.pl] has joined #launchpad
=== LinuxTux [n=misiek@dial-2079.elblag.dialog.net.pl] has left #launchpad []
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
mptcrap09:07
carloshttps://launchpad.net/distros/ubuntu/breezy/+sources/gnome-games09:07
carlosI think that page is a bit weird09:07
carlosit says that " This source package is not published in The Breezy Badger Release."09:07
carlosbut you can see there information about that package being published ....09:08
=== BjornT__ [n=bjorn@84.32.140.183] has joined #launchpad
carlosor at least released...09:08
mptIt uses the word "pocket"09:08
mptThat's weird in itself :-)09:08
mptSteveA: ping09:11
=== BjornT___ [n=bjorn@84.32.140.183] has joined #launchpad
=== gneuman-univ is now known as gneuman
=== eruin [n=eruin@unaffiliated/eruin] has joined #launchpad
mptkiko, can I change the zope source code?09:17
kikompt, not really09:18
mptOne of the LP tests is failing because it expects "An error occurred", and it's getting "An error occured"09:19
mptI think the misspelling is coming from zope09:19
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
=== pwilson [n=pwilson@stanford.columbia.tresys.com] has joined #launchpad
kikompt, possibly, but, well, should't we be providing a better error message?09:22
jbaileympt: Shouldn't it give a 500 response code with it for an error page?  Maybe just test for that.09:23
mptkiko, jbailey: it's a portalmessage in an addform09:24
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Added Urdu plural form (patch-2678: carlos.perello@canonical.com)09:24
mptIt's followed by a more specific error at the particular control09:24
kikompt, we have launchpad-addform.pt, don't we?09:33
zygakiko: hi09:34
zygakiko: were you recently hacking public polls?09:34
mptkiko: yes, which calls for "status"09:35
mptwhich equals "view/update"09:35
mptand view seems to be in zope somewhere09:35
salgadokiko, how's it going with that patch for poll traversals?09:35
kikosalgado, you need to help gneuman, I've asked him like 3 times to get your help09:39
kikosalgado, look at your INBOX -- how many emails did you reply to me today?09:39
salgadokiko, the one related to #759 I'll discuss with matsubara soon. gneuman hasn't asked for help today, apart from some questions09:41
=== eruin [n=eruin@unaffiliated/eruin] has joined #launchpad
kikosalgado, can you kick him for me?09:44
sabdflSteveA: so was PQM good to you?09:45
kikoffs09:47
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad []
salgadokiko, he said he's going to do some cleanup before09:49
kikoyeah yeah09:50
sabdflSteveA_: ping ^09:54
=== lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #launchpad
kikoKinnison, does publisher.publish() know not to publish a file twice?09:58
sabdflKinnison: have we opened up the uploader?09:59
sabdflkiko: i have the TB now, then will continue looking at gina09:59
sabdflwant to try to give you some concrete suggestions based on the current architecture09:59
sabdflthe main thing i'm trying to discover is whether the source and binary package maps can be combined in such a way that you know, when you are importing a binary package, about ALL the binary packages in the "build"10:00
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: Fix to make RequestExpired show the sql query. r=SteveA (patch-2679: guilherme.salgado@canonical.com)10:05
kikosabdfl, well, you could look at the source record and sniff through its binaries line, but I think that's often not complete. you could also put together an additional data structure that mapped source packages to binary packages.10:07
sabdflkiko: only way to be certain would be to do it backwards - go through all binaries, and keep track of which source they came from10:07
kikosabdfl, in a way, we do this already, right?10:08
sabdfli figure we need to create a consolidated data structure that knows about the binaries and the source packages, linked10:08
sabdflkiko: no10:08
sabdflwe don't10:08
sabdflat the moment its two separate lists, as i read the code10:08
sabdflone of source packages10:08
sabdfland the a set of binpkg lists, by architecture10:09
kikoI mean, we already go through all binary packages per architecture in the main gina loop10:13
kikosalgado, otoh, is it vital that we discover this ahead of time, or can we do it lazily (as we currently do)?10:13
kikoor do you think that we're not going to manage avoiding duplicating builds if we don't take this approach.10:13
salgadohuh?10:14
kikoduh10:14
kikosabdfl!10:14
sabdflkiko?10:17
sabdflwhat i would want to end up with is a data structure in python that models the SPR -> Build -> BPR structure we want in the db10:17
sabdflthen have Gina iterate over that structure, and map the bits we want into the db10:17
sabdfleither SPN/BPN only, or SPR's, or the whole lot10:18
salgadoBjornT___, ping10:18
=== lamont [n=lamont@15.238.7.121] has joined #launchpad
carlossabdfl, the .diff was good enough, thanks10:27
carlossabdfl, time to have dinner, later will add tests and request a trivial merge10:27
carlossabdfl, thanks10:27
=== carlos -> dinner
sabdflnp10:30
sabdfli hope that's a popular little feature-ette10:30
sabdfljordi: ^10:30
sabdflkiko: what's with the !?10:30
kikosabdfl, it was a correction to salgado, my brain's all gina today.10:34
kikothis is going to be a long night10:42
=== kiko hacks some dsc files for fun and profit
sabdflkiko: i apologise, i should have taken a long look at gina some time ago10:45
SteveA_sabdfl: yes10:45
SteveA_sabdfl: you pinged earlier10:46
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [r=kiko]  create a sortorder widget for the various bug listings that were using pesky table headers on list views. (patch-2680: brad.bollenbach@canonical.com)10:46
sabdflSteveA_: so did newpackageclasses land? on both production and HEAD?10:47
SteveA_it landed in HEAD.  stub should have put it onto staging10:47
SteveA_it'll be put onto production tomorrow, assuming nothing bad happened on staging10:48
kikothis is fun10:49
kikoSteveA_, I have a question for you. can you take a quick one?10:49
kikoI am testing gina10:50
kikogina creates source package releases10:50
kikohowever10:50
kikoif I do10:50
kiko    >>> SourcePackageRelease.select().count()10:50
kikobefore and after gina.txt10:50
kiko(well, inside it, but before the call that spawns gina inside it)10:50
kikoI always get back 6.10:50
SteveA_you need to commit10:50
kikoI do10:50
kikomany times indeed10:50
kikooh10:51
SteveA_in the doctest10:51
kikoI see what you mean.10:51
SteveA_seeing as you probably shell out10:51
kikoright, right10:51
kikoof course10:51
=== kiko apologizes
kikoSteveA_, using the ztm, right?10:51
SteveA_kiko: what's happening with gina?10:51
SteveA_kiko: import transaction ; transaction.get_transaction().commit() iirc10:52
SteveA_there are examples elsewhere i think10:52
SteveA_kiko: do i need to do anything with gina on staging / talk with stub tomorrow morning?10:52
kikoSteveA_, I'm working on tests for it10:53
kikorefactoring and cleaning up as I go10:53
=== looksaus [n=looksaus@ip-83-134-125-62.dsl.scarlet.be] has joined #launchpad
=== TinMan [n=Lotus@cpe-66-65-244-241.nycap.res.rr.com] has joined #launchpad
=== TinMan [n=Lotus@cpe-66-65-244-241.nycap.res.rr.com] has joined #launchpad
looksauswho is responsible for the bounty system in Launchpad?11:07
=== Nafallo_away is now known as Nafallo
looksausand... someone here suggested me to create a "specification" in Launchpad11:09
=== bradb heads off
=== bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad []
looksausshould I just add that info to the wiki somewhere?11:10
=== Kinnison returns from his dinner
Kinnisonkiko: How do you mean?11:17
Kinnisonsabdfl: I'm cleaning up my branch, merging in your stuff, solving the conflicts etc11:18
Nafalloyay! /me added a hackergotchi ;-)11:18
KinnisonSteveA_: I have a bizarre pagetest brokenness11:19
SteveA_Kinnison: seen the hacking FAQ on accommodating whitespace?11:21
Kinnisonnot uet11:22
KinnisonI don't think that's the issue11:23
=== Kinnison undoes his branch into a side area to run the test suite unencumbered
sabdflKinnison: merging in my stuff from HEAD? did it land there?11:23
Kinnisonsabdfl: your stuff landed earlier today11:24
=== Kinnison is currently fighting his way through bizarre failure modes before doing a merge onto his branch
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  fix the release bug counts on the bug listing + test (patch-2681: brad.bollenbach@canonical.com)11:24
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
KinnisonLife hasn't been made easy by overly-fragile pagetests11:25
=== Kinnison makes a fresh db and runs the pagetests
Kinnisonis our sampledata now newly huger or something?11:27
=== Kinnison phews as the pagetests start
KinnisonSteveA_: once I have a copy of this test output, will you have a quick look at it for me?11:35
SteveA_Kinnison: i need to sleep now.11:35
Kinnisonthat's fair11:35
=== Kinnison will do his best to solve it on his own
Kinnisonthanks11:36
Kinnisoneach pagetest story gets its own fresh database to run in, yes?11:36
Kinnisonso any contamination from my nascentupload doctest shouldn't reach it, yes?11:37
SteveA_yes11:37
=== Kinnison shrugs and tries again
Kinnisonthanks11:38
Kinnisonsleep well11:38
Kinnisonand I'll see you in the morning11:38
SteveA_okay11:38
SteveA_i'll be around11:38
=== Kinnison nods
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
=== jinty [n=jinty@205.134.224.215] has joined #launchpad
carlossabdfl, around?11:54
carlossabdfl, I think we lost the link to change the permission rights (Closed or Open) for a product or distro11:56
sabdflcarlos: ?11:56
carlossabdfl, I don't find it11:57
carlosand I don't remember the URL11:57
sabdflhttps://launchpad.net/distros/ubuntu/+changetranslators11:57
sabdflit's under the Translations facet11:57
carlossabdfl, the form that lets you set the kind of permissions that a distribution or product has to handle translations11:57
carlosoh!11:58
carlosright11:58
carlossabdfl, thanks!11:58
sabdfli had to look for it too when i was testing this afternoon :-)11:59
sabdflbut i think this is the right place for it11:59
sabdflcarlos: you want to test these scenarios:12:00
sabdfl - user is a designated translator for that product and language12:00
carlossabdfl, yeah, it makes more sense12:00
sabdfl - user is not a designated translator, and there is a translator designated12:00
sabdfl - there are no designated translators12:01
carlosok12:02

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