=== dand [n=dand@83.103.205.67] has joined #launchpad === stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad [12:25] heya stub [12:26] yo [12:29] yoiifcation [12:31] how goes it [12:31] hey sabdfl [12:32] kiko: excellent thanks. you? [12:32] pretty good. glad to see you back in the london seat! had a good rest? [12:33] hi [12:34] Is Steve's navigation work ready for production rollout Tuesday? [12:34] stub, I need to merge them in to test, first [12:34] it's a pretty big change [12:35] kiko: There was a patch from salgado improving the shipit export file name. Do you happen to know if it unguessable (since it contains very private data?) === niemeyer_ [n=niemeyer@200.138.52.87] has joined #launchpad === jinty [n=jinty@205.134.224.215] has joined #launchpad [12:46] (or is he emailing the results instead of sticking them in the Librarian?) === stub waits for his revlib cleanup to finish [12:48] Current one in my branch is guessable and needs to be fixed. Don't know about the updated version yet === RWG [n=RWGraphi@69.177.65.86] has joined #launchpad === RWG [n=RWGraphi@69.177.65.86] has left #launchpad ["Connection] === spiv [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad [12:53] stub, both are guessable. jane wants them guessable. what should we do? [12:55] kiko: They can't be guessable until we work out how to put security into the Librarian and implement it. The only place we can put a secret at the moment is the filename, so any private data going into the Librarian *must* have a strongly unguessable filename. [12:56] Jane or marileze or whoever sends the files to the producer will need to manually rename it before resending it if necessary. [12:57] stub, can you email jane directly and raise this concern? at any rate, I think this will have to be dealt with next week.. jane really wants them to run this week === lamont__ [n=lamont@129.19.2.8] has joined #launchpad [12:59] It will be fixed today and merged in. I can't run the export until it s done. There is no way I'm going to create a permanent URL containing the shipping addresses of 20,000 geeks incudeing a fair number of privacy nuts and make it publicly available on the web. There is currently no alternative. === Virtuall[BZA] [n=virtuall@who.is.virtuall.info] has joined #launchpad [01:01] stub, whatever -- negotiate with the client, is all I ask. [01:01] she's not a lax customer either [01:01] kiko: There is no negotiation. We cannot do it. It would be illegal in most countries. [01:02] you're not listening.. :) [01:02] I am. If I wait until Jane is online and tell her the problem *before* fixing it, there will be no shipit run this week. If I fix it now, there will be. [01:03] dude... we are releasing _next_ week :-) [01:03] I agree you don't need to wait for her; I am pointing out however that this will need to be discussed with her, because she already asked salgado to change the filename to something less obscure. [01:04] kiko: So there will be no test shippit run this week, and I still will not do the export until it is fixed. [01:04] *My* address is in that list. [01:04] ah. test. :-P [01:06] night all [01:07] night [01:16] kiko: So shall I email Jane saying 'This is the situation, there is no alternative, and it would be fixed already except Kiko wants Jane to be aware of the problem before we fix it for no particular reason since there is no choice or decision to be made', or 'This is the issue, which I have fixed' [01:18] stub, I already conceded your point above -- do the fix, and notify her of the issue. [01:19] kiko: ok ;) [01:19] bah - I read that sentance three times and missed 'don't need to wait for her' each time ;-P [01:20] Weee... utilities/library-relink.py supposedly just saved me 2GB of a 2.7GB revlib [01:23] I feel like crying when baz gives me conflicts in files I didn't tough [01:23] touch either [01:24] Yer - I got that on a feature branch last night. I typed 'baz undo' and went to bed to will be having fun later today ;-/ [01:25] kiko: during merg e?> === eruin slaps kiko discreetly with a search tool while making duck-like sounds [01:27] lifeless, yeah, during merge [01:27] I'm also getting the weirdest thing [01:28] -- {arch}/launchpad/launchpad--devel/launchpad--devel--0/rocketfuel@canonical.com/patch-log/patch-2170 [01:28] lifeless, any clue what that is? [01:29] Bah - I think salgado broke the sampledata on that branch so some build tests are failing during the cherry pick ;-/ [01:30] oh, gross [01:30] lifeless: I might have to roll out a branch where some of the tests are failing due to sampledata issues [01:30] man, I'm really baz-fucked today [01:35] lifeless? [01:41] kiko: me too [01:41] 128 conflicts [01:41] naaaice [01:41] night all === sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has left #launchpad [] [01:42] I got only 3 [01:42] maybe I should just retire this branch [02:11] 00:09:02 INFO lock /var/lock/launchpad-poimport.lock already exists, exiting [02:11] stub, that message is happening quite often, perhaps we should increase the interval with which it runs? [02:12] kiko: That would make a longer possible delay between someone uploading a file and it being imported. It isn't an issue except we are running it without '-q' at the moment, on Carlos' request [02:13] Might be better to reduce the verbosity of that message to 'DEBUG' ? [02:14] Bah - crontab doesn't know the output it is emailing is utf-8 encoded ;-/ [02:14] yeah, hmmm [02:31] lifeless, ping [02:31] matsubara: ? [02:31] kiko: pong [02:31] lifeless, could you help me solve this: https://launchpad.net/products/launchpad/+bug/750 ? [02:32] lifeless, do you know what happened to needsSyncReview? [02:32] ? [02:33] needsSyncReview is/was a flag used in the product series workflow by the importd team, which is currently ddaa [02:36] kiko: Do you happen to know if salgado is retricting shipit order information to ASCII at input time? [02:41] stub, yes, for everything (but the name originally -- it's now for everything, period) [02:41] kiko: And where are the shipit tests living? [02:41] there are both functional doc and pagetests [02:41] matsubara: ok. There is still code in the export that is stripping accented characters, which is dangerous because it is lossy. I'll remove it. [02:41] matsubara: But where. I can't find them ;) [02:42] doc/shipit.txt? [02:42] matsubara: Ta. I need glasses. [02:42] also standalone/xx-shipit-* [02:43] lifeless, do you know why the flag is missing? [02:43] lifeless, or if it was database-backed? [02:43] matsubara: I do not recall, sorry === rbelem [n=rodrigo@200.246.97.164] has joined #launchpad [03:01] kiko, remember to close 538 === tritium [n=michael@pcp0011975002pcs.sandia01.nm.comcast.net] has joined #launchpad === interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad === rbelem_ [n=rodrigo@200.246.97.164] has joined #launchpad [05:19] Merge to rocketfuel@canonical.com/launchpad--devel--0: r=kiko Fix for bugs 2468 and 2467: System error when targeting a fix for a release, when no source package is specified, and System error when requesting fix in a distribution without specifying a source package. Unifies the way BugTask target names are rendered throughout Launchpad, making it consistent and ensuring we use a single codepath. Adds a test for bug 2467; pending a test for bug 2468. Patch === philiKON [n=philipp@222.70.121.120] has joined #launchpad [05:35] is there someone here who can give me access to https://launchpad.net/products/zope/+series/zope3.1/+pots/zope/+upload ? [05:35] i'm the maintainer of the zope translations [05:35] uploading a POT used to work, no idea why it doesn't anymore [05:35] get a "Forbidden" now [05:38] spiv: ping [05:41] philiKON: I'm not sure. [05:42] carlos does not seem to be around right now [05:42] that's ok, i'll wait [05:42] and hes Da Man for this [05:42] ok :) [05:43] philiKON: maybe because you aren't listed as registrant of zope? [05:44] (or belong to a team listed as the registrant [05:44] jamesh, i'm the team administrator [05:44] https://launchpad.net/people/zope3-dev/+members [05:45] for some reason, "mohsen" is listed as the owner of https://launchpad.net/products/zope/+series/zope3.1/+pots/zope though [05:45] philiKON: sure, but https://launchpad.net/products/zope shows the registrant as stub [05:45] maybe stub knows :) [05:55] stub: is there any reason you are listed as owner of https://launchpad.net/products/zope rather than the zope3-dev team? [05:56] Because I registered it? And the zope3-dev team doesn't necessarily have anything to do with Zope2, which will be a separate product series? [05:57] I have no ideas what rights it conveys besides setting metadata on the product and series === robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad [05:58] I wonder why philiKON used to be able to upload a template then [05:59] i think i created the zope3.1 series [06:00] https://launchpad.net/products/zope/+series/zope3.1/+pots/zope is owned by "mohsen" though. no idea why. [06:00] lifeless, I was approved as a member many months ago, before we started using launchpad. Who approves the proposed members of "Ubuntu Members"? [06:00] i definitely remember uploading the first POT [06:01] tritium: mdz I would presume [06:01] or any of the CC [06:01] lifeless, ok, thanks [06:01] you too, ajmitch [06:02] speaking of zope, how would I get a team renamed? [06:03] since I in my ubuntu-centric ways registered a zope team on launchpad, intended for ubuntu & debian packaging === bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad === bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad [] [06:05] ajmitch, we might want to merge that with the zope3-dev team... [06:05] i created the zope3-dev team out of my zope3 developer-centric view :) [06:05] right :) [06:06] the debian/ubuntu team handles zope 2.x & 3.x packaging [06:06] hah [06:06] is Five in ubuntu/debian yet? [06:06] bob2, well, it is through zope2.8 [06:06] five 1.0 is part of zope 2.8 [06:06] oh, great [06:07] I'm happy to change ownership of the Zope product and projects to a suitable team [06:08] 'five' ? [06:08] heh [06:08] Zope 2 + 3 [06:08] erk [06:08] lifeless: brings some zope3 things to zope2 [06:08] why not just 'zope' [06:08] fun stuff :) [06:08] if i can be an admin of 'zope', i would vote for 'zope' [06:08] man, thats gonna be fun when z4 comes out, 'nine' [06:08] then we can move people over from 'zope3-dev' to 'zope' slowly... [06:09] lifeless, there won't be a z4... hopefully [06:09] maybe rename the existing zope team to pkg-zope, as it is in debian :) [06:09] How about you create a zope-admins team philiKON and I change ownership to that? [06:09] stub, phew, that would be a lot of teams then. [06:09] stub, but ok [06:10] Teams can be members of teams. Lots of rope for everyone! [06:10] ah, yeah :) === ajmitch should really tweak .procmailrc to sort ozzope mail into a separate folder [06:11] You probably just want zope-admins and zope-developers (or zope) for the product side. [06:11] lifeless: the CC deals with approving Members [06:11] right now we have 'zope' and 'zope3-dev' [06:11] And the distro stuff should be seperate teams probably once members can automatically upload new packages into Ubuntu Grumpy Groundhog. [06:11] lifeless: I deal with developers [06:12] mdz: ah righ [06:12] i guess we want to end up with 'zope-dev', 'zope-admin' and 'pkg-zope'...? [06:12] 't' [06:12] stub: the distro stuff is useful being separate now for bug assignment [06:12] ajmitch: mmm, you have 'upstream' and 'distrorelease' for that [06:12] true [06:12] philiKON: You could collapse 'zope-dev' and 'zope-admin' into one team if you don't mind giving full control over everything to eveyone ;) [06:13] nah, having them separate is better [06:13] stub, can teams be renamed? [06:13] mdz, should I just wait for the CC to review the proposed members, or ping somebody? [06:13] According to the spec, yes. === stub checks reality [06:13] tritium: if they were approved at a CC meeting but not processed in launchpad yet, then I'd say poke someone [06:14] stub, i propose to rename "zope3-dev" to just "zope-dev" and "zope" to "pkg-zope", like ajmitch suggested [06:14] mdz, thanks. I will, then. [06:14] Bah - there is no team rename in there. Thankfully the DBA is online... [06:15] stub, i created the 'zope-admin' team. would be great if you could give ownership of the zope package to that team [06:16] Renames are done [06:16] ajmitch, does anybody from the package guys need to be in this zope-admin team? [06:16] ah, cool [06:16] thanks [06:16] Extra points for someone creating a 16x16 icon for the emblem... [06:17] philiKON: probably not, afaik [06:17] ajmitch, ok... lemme know if that becomes the case [06:17] what does the zope-admin team do? :) [06:18] zope-admins now owns the zope product [06:18] be the owner of the 'zope' project [06:18] right [06:18] lifeless: pong [06:18] we'll apply if needed then [06:18] Change the product description, create new product series, that sort of stuff [06:18] stub: thanks for the rename [06:18] spiv: whats a good exception for 'cannot add FOO to container BAR, FOO is already present' [06:21] Hmm. Probably make an AlreadyExistsError? [06:21] yah, so there is not top level one [06:21] thanks [06:21] rorrEyeK ? [06:21] Probably a subclass of ValueError [06:22] I'm not sure about that. [06:22] works for me, TODOing it - thanks [06:22] Do you really want random "except ValueError:" clauses catching this? [06:23] noodle time [06:23] Mmm.... noodles.... [06:26] ajmitch, stub, you guys know what's up with this team: https://launchpad.net/people/zope3-dev-zope ? === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad [06:28] philiKON: That is actually a person. The zope3 developers mailing list email address must have gotten sucked in an an account created. [06:28] ah === stub nukes it [06:35] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] ShipIt paranoia updates (patch-2594: stuart.bishop@canonical.com) [07:05] whilst you are nuking stuff [07:05] how octopus-like are the sprint ? [07:05] (s) [07:10] dunno ;-) [07:11] Doesn't look bad. Just a cluster of three tables. [07:11] care to nuke the 'test print one' [07:12] Merge to rocketfuel@canonical.com/launchpad--production--1.35: Merge ShipIt export into production (patch-8: guilherme.salgado@canonical.com, stuart.bishop@canonical.com, rocketfuel@canonical.com) [08:22] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Add shipit indexes (patch-2595: stuart.bishop@canonical.com) === carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad [09:04] morning [09:04] stub, hi [09:04] stub, the language pack script is using the db as read only [09:04] am I able to use commit in that situation? [09:05] carlos: yes. [09:05] oh! [09:06] ok, didn't know that, then I will commit after every pofile export [09:06] carlos: You can start abusing it again if you want - the upgrade I was doing has finished. [09:06] ok [09:06] thanks [09:06] carlos: I had to kill the process because I didn't notice what was happening until half way through [09:12] stub, added a commit and running the script now. Could you confirm if it's enough? [09:13] stub, btw, I think there is something wrong with the change you did to prevent that poimport fail more than once per day with a file [09:14] stub, we have more than 500 pofiles that are not being imported and I don't see anything in our logs that indicates that those pofiles are giving us problems [09:14] carlos: Shall I nuke the history and see what happens? [09:14] stub, yes, please [09:17] carlos: https://chinstrap.ubuntu.com/~dsilvers/paste/filenRPozP.html [09:18] cache nuked [09:19] stub, thank you [09:19] let's se what happens... [09:24] man, launchpad is sure taking long to upload my zope3.1 POT... === GoRoDeK [n=gorodek@p5083E981.dip.t-dialin.net] has joined #launchpad === Virtuall[BZA] [n=virtuall@who.is.virtuall.info] has joined #launchpad [09:29] philiKON, when did you upload it? [09:29] 3 hours ago maybe [09:31] philiKON, I cannot check it now, but I detected some problems with the import queue, debugging it atm [09:34] I might have interrupted that import - I had the system down for about 30 minutes. [09:37] stub, should i just resubmit? [09:37] philiKON: I don't know ;) Carlos? [09:38] hmm, I'm not sure === sabdfl [n=mark@host217-37-231-22.in-addr.btopenworld.com] has joined #launchpad [09:38] stub, please, could you execute SELECT ptn.name, pt.rawimportstatus from potemplatename ptn, potemplate pt where pt.potemplatename=ptn.id and ptn.name like 'zope'; ? [09:39] 3 entries, all with rawimportstatus==3 [09:39] that means that the import is done [09:39] philiKON, could you confirm, please? [09:40] carlos, ok. how do i do that? i have no idea what changed in the POT after the last upload (i just know *that* it changed) [09:41] Good morning everybody [09:41] philiKON, Project-Id-Version: Development/Revision: 38234/Branch: Zope-3.1 [09:41] philiKON, is that one? [09:41] or that's the old one? [09:41] sivang, morning [09:42] carlos, lemme check [09:42] carlos, looks like the new one [09:43] carlos, thanks [09:43] philiKON, cool [09:43] I did nothing ;-) but you are welcome === dand [n=dand@gw.datagroup.ro] has joined #launchpad [09:58] Marning [10:04] stub, ok, seems like the changes you did are the problem here [10:05] stub, the script is importing files from Wednesday now [10:05] ok. probably just a logic fault in the 'recently seen' code. [10:05] hi [10:08] carlos: I've scheduled a daily deletion of the cache, which should last until we can have a closer look at it. [10:08] yo stub [10:08] Review my branch bitch it is growing hair! [10:08] did you get the shipit export crack sorted? [10:08] stub, ok, thank you [10:08] Still working on shipit [10:08] stub: that's kinda fitting, coming from you [10:08] stub: i had a thought... export to a place on the filesystem [10:09] a directory given in the config [10:09] and point apache ,with auth at it [10:09] Oh... exports are sorted for now. Although we should refactor to not use the Librarian in this case I think. [10:10] I'm trying to rollout the updated shipit stuff to production [10:11] Or implement authorization into the Librarian somehow. === thebigearl [n=thebigea@dialin-80-228-157-042.ewe-ip-backbone.de] has joined #launchpad [10:13] #ubuntuusers [10:13] oops... sry === Jonex [n=Jonex@80.65.200.134] has joined #launchpad [10:31] SteveA, spiv hi, around? [10:32] hello carlos [10:32] SteveA, spiv http://librarian.launchpad.net/560358/560391/lSkFwO4AG0ocgPLZEaZ8JaScmVg.txt [10:32] We still have problems with librarian... [10:33] I can implement a workaround for that with a try/except and doing a full export instead of using the cache from librarian [10:33] but that will hide that problem [10:33] carlos: that's an isolated traceback [10:33] it doesn't tell me what was running [10:34] spiv: ping [10:34] SteveA, It came from a .po export request [10:34] the failure is when we fetch a file from librarian [10:34] and, this is a file that was recently added? [10:35] not sure [10:35] but spiv already checked the code and we have the needed commits [10:36] so in theory is not a transaction problem if that's what you are thinking on [10:36] stub: is commit() synchronous? [10:36] spiv is aware already of that bug and we don't see where is the problem exactly... [10:36] well [10:36] my question is if I can "hide" that problem [10:36] eh? [10:37] when spiv and i talked a while ago, we have a few ideas of what might be the root of the problem [10:37] or what should I do so users don't get this problem [10:37] and spiv was going to work on finding out which of the ideas is correct [10:37] SteveA, oh! didn't know it [10:37] stub: when in python i say commit(), does that call block until the data is in the "current committed data for all threads" on the postgres server? === jinty [n=jinty@205.134.224.215] has joined #launchpad [10:38] SteveA: So I'm told. [10:39] carlos: can you try putting a try/except around the call to the librarian in pofile.py, and if there's a LookupError, then log a warning, sleep for 1s, try again [10:39] I don't think spiv has tried lowering the transaction isolation a notch which would be safe and probably solve this [10:40] SteveA, Is that better than just request a full export? [10:40] yes [10:40] it also tells us when such an error has occured [10:40] so we can keep investigating it [10:41] stub: my worry about doing that is we may never find the cause of the problem [10:41] SteveA, I mean, log the warning and do a full export so if the error persists the user will get the file... [10:41] SteveA, a full export does not depend on librarian [10:41] If it solves it it tells us a lot about the cause of the problem. [10:42] well, it does but to feed it not to retrieve anything [10:43] stub: would you lower the isolation level for the librarian, for the exporter, or both? [10:43] SteveA: The Librarian [10:43] carlos: okay. [10:43] stub: it's tough though, beacuse all we will see is the absense of problems, not problems being solved. [10:44] still, provided carlos is logging this, we can see the frequency of errors, and try this out [10:44] without shitting on things [10:44] SteveA: It will mean that *yes*, the commit is happening in the export and *yes* the commit is visible to the Librarian. Which means either the Librarian has a transaction issue (not resetting the transaction at the start of the request). [10:45] stub: sure, so i'm saying, let's get carlos to make this change, watch the logs for a while, then lower the isolation level, and watch the logs for a while. [10:45] and note the differences. [10:45] c/carlos/spiv [10:46] oh [10:46] stub, no, it's my work :-P [11:04] stub, is the commit that I added enough to fix the lock problem you told me this morning? [11:05] carlos: Dunno ;) [11:05] carlos: Should be [11:05] ok [11:06] The easiest way for me to tell could break your export run again, so I won't do that just yet ;) [11:06] What is the correct way to invoke your superclass' __init__ ? [11:06] it it simply MySuperClass.__init__(self) [11:06] or is there some more 'correct' solution? [11:06] If you are a classic class, yes. [11:07] I'm a __metaclass__ = type [11:07] Kinnison: are you intending your class to be used in a crazy heap of mixins? [11:07] do you have a single base class? [11:07] no [11:07] yes [11:07] then that is the correct way [11:07] It's a very simple abstractparent ==> (child1, child2) heirarchy [11:07] good [11:08] then use what you wrote [11:08] okay [11:08] thanks [11:08] authserver down? [11:09] stub: i'm seeing a result ordering issue in shipit code [11:09] SteveA: Is there a method run on class construction? [11:09] https://chinstrap.ubuntu.com/~dsilvers/paste/file2tLS5P.html [11:10] Kinnison: __init__ [11:10] SteveA: I want to register each of the child classes in an array [11:10] Kinnison: what do you mean "class construction" [11:10] lifeless: that's instance construction [11:10] Kinnison: there are such things [11:10] Kinnison: don't mess with them [11:10] SteveA: I did some fixes to fmt:text-to-html that should fix https://launchpad.net/products/launchpad/+bug/1749 [11:10] do it by hand [11:10] okay, so I should just register them by hand in the module level code? [11:10] yes [11:10] sure [11:10] thanks [11:10] it uses 77% less regular expressions [11:10] anything more contrived gets scary [11:10] Kinnison: then not that I know of, you'd have to hook into the module loader.. but __new__ may be close to what you want, which is run to create instances, or just put the stuff you want in the class decl.. [11:10] except for gurus [11:10] class Foo: [11:11] who love that shit [11:11] something_here_is_run_at_'class construction' [11:11] SteveA: Looks like the usual [11:11] lifeless: i'd be inclined to use a class advisor [11:11] lifeless: but, really... it is too complex for what Kinnison needs [11:11] SteveA: I don't know that term [11:11] lifeless: like implements(IFoo) [11:11] SteveA: nor what Kinnison needs, was just answering the question ;) [11:12] SteveA: oh right, just code executed during class parsing [11:12] i came up with the idea when jim said something was a nice idea but couldn't be done ;-) i showed it to PJE who coined the term 'class advisor' and improved the implementation and added to his PEAK library. jamesh wrote a weblog entry on them [11:12] sweet [11:12] lifeless: code executed during class parsing which changes the metaclass [11:12] and remembers the original metaclass [11:13] SteveA: decorates the metaclass ? [11:13] then uses the metaclass to hook into offering some advice [11:13] kind of [11:13] gone again.. [11:13] bye-for-now [11:13] it isn't really a decorator in the sense we usually use the term [11:13] i think [11:14] stub: usual? [11:14] lifeless: http://blogs.gnome.org/view/jamesh/2005/09/08/0 <- that's my understanding of the code [11:16] jamesh: the rules you give for determining the true metaclass are i think slightly simplified [11:16] then again, they aren't documented properly anywhere except in the C source code that does this stuff [11:16] even GvR generally documents them wrongly [11:16] fortunately PJE is kinda pedantic on these things ;-) [11:17] i think the simplified version is better for a blog article anyway === Seveas [n=seveas@seveas.demon.nl] has joined #launchpad [11:19] SteveA: Someone forgot to put in an orderBy argument so we get indeterminate SQLObject result ordering [11:20] and it isn't warned [11:20] because the test uses a list comprehension [11:21] i'll let salgado fix it in a few hours [11:21] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Split a shipit db patch in two so it can be run seperatly (patch-2596: stuart.bishop@canonical.com) [11:21] unless it's going to crap all over pqm merges [11:41] I am creating some "context" control classes for the uploader. They allow the uploader to decide what tests are appropriate for an upload in a given context. E.g. for uploads from the buildds, we don't check for signatures. === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [11:42] Now, I could just set up things like in __init__ do self.checksigs = True/False [11:42] or I could have effectively static properties [11:42] so that I can docstring them [11:42] what is the best style? === _Rappy_ [n=hunt-pre@dsl-253-122.monet.no] has joined #launchpad [11:59] SteveA: ^^ ? [12:00] Kinnison: hello [12:01] Kinnison: can you possibly find a different term than "context" ? [12:01] or a more specific term? [12:01] It's an UploadContext [12:02] Or rather, one of InsecureUploadContext and BuildDaemonUploadContext [12:02] okay. just, don't use the variable name 'context' anywhere [12:02] Not even in process-upload.py ? [12:02] you have an OO design choice here [12:02] no not even there [12:02] always uploadcontext or ucontext or something [12:03] okay [12:03] it was very confusing reading 'request' in salgado's original shipit database classes [12:03] Fair enough [12:03] so, the OO design choice is [12:03] do you make your UploadContext classes express information about policy, or do you get them do implement policy [12:04] that is, you can say === ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad [12:04] class UploadContext: [12:04] They are to express policy [12:04] checksigs = False # the we trust all uploads cos we are on crack [12:04] or you can say [12:04] class UploadContext: [12:04] The NascentUpload class will apply policy provided by a context object [12:04] def verify_upload(self, upload): [12:05] ... this implementation doesn't check the sig for the above reasons === Kinnison was pondering [12:05] [12:05] class InsecureUploadContext: [12:05] @property [12:05] you could also have a single ContextPolicy class [12:05] and make singleton instances of it [12:05] to express the different variations in policy [12:05] def check_sigs(self): [12:05] if there are only a few of these [12:05] """We check signatures on insecure uploads.""" [12:05] return True [12:06] i suggest you have some classes, and use class attributes [12:06] and define an interface IContextPolicy (or whatever) [12:06] where you document the expected attributes [12:06] contexts need to verify their arguments though [12:06] E.g. The BuildDaemonUploadContext will verify that the process-upload instance was given a build-id to attach to [12:07] this is a different thing than what you were asking originally [12:07] i would need to understand how the parts fit together in order to make a recommendation about this [12:07] Okay [12:08] but === Kinnison ponders how best to describe this. [12:08] maybe start by writing the interfaces for the various moving parts [12:08] and write a decent interface docstring for each [12:08] so, you have your upload context part, and your process upload part === Kinnison nods [12:08] that should help to communicate the larger picture [12:08] My NascentUpload stuff is what I was going to start writing next [12:09] because I imagined that as I try and apply a context to a NascentUpload it'll give me a chance to work out the best interface [12:10] you can write in the docstring what you imaging the scope and responsibilities of an UploadContext are [12:10] these things are not clear to me [12:10] yep, I'll do that [12:10] The doctests have some of this information in them already [12:10] I guess I need to migrate that to the docstrings [12:11] okay [12:11] perhaps i've been some help clarifying things [12:11] Yep [12:11] thanks === Kinnison gets on with things === Kinnison imagines that once it comes down to code review more will come out and perhaps more directed suggestions will be possible === jinty [n=jinty@205.134.224.215] has joined #launchpad [12:18] SteveA: so , I don't recall (after checking the logs) what book did you recommend for Zope, besides the "Web component development with Zope 3" or wasn't any other? :) [12:19] i haven't read any of the books for learning zope3 [12:20] bob2 has, i think [12:20] i know the authors of both books [12:20] stephan's book is available online [12:20] so, that's a good start [12:20] it is a wiki site [12:20] but you can buy the paper book too [12:25] k thanks === sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has left #launchpad [] [12:30] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] rename uploader.py to poppyinterface.py in canonical.archivepublisher (patch-2597: daniel.silverstone@canonical.com) [12:41] When a doctest is run, what is its CWD? [12:45] Kinnison: reading between the lines, look at the gpg tests, they figure out where to find files [12:46] Right [12:47] (the answer is, any, you don't (cant) know) [12:48] Kinnison: i suggest to do the following: import a module. inspect the module's __file__ attribute. get files relative to that. === Kinnison fortunately has exactly what he wants :-) [12:48] we could have a open_file_from(module) or get_filename_from(module) [12:48] if these are needed [12:48] from canonical.archivepublisher.tests import datadir [12:49] :-) [12:49] yay === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [12:53] Hmm, interesting test system bug [12:53] if you run: python text.py -f --test="foobar" [12:53] where foobar matches some pagetest names too [12:54] then the pagetests are also run [12:54] but the story isn't run in its entirety [12:54] which causes failures [12:55] carlos: was Tagalog added to the database in the end? [12:55] (tl code) [12:56] jordi, no, I don't think so [12:56] I'm going to request a change to the DB so I will add that request too [12:56] Kinnison: yes, known limitation in the pagetests [12:56] SteveA: this is very annoying [12:56] Plural-Forms is nplurals=2; plural=n>1; === Kinnison has two doctests he wants to run, namely nascentupload.txt and uploadpolicy.txt [12:56] can I simply give multiple --test= args? [12:57] probably not [12:57] carlos: great. We have a few others in the queue, but we don't have reliable info yet. [12:57] just run one, then run the other [12:57] but test startup is hideously expensive [12:57] or start a wiki page / bug on what you want the test runner to do [12:57] jordi, send me it by email, please [12:57] sure [12:58] carlos: it's in the launchpad mailing list though [12:58] ok [12:58] Date: Fri, 23 Sep 2005 18:34:41 +0200 === Kinnison reports https://launchpad.net/products/launchpad/+bug/2933 [01:00] theres a bug on ita laready [01:01] I couldn't spot it [01:01] :-( === Kinnison is sure kiko will dedupe it later [01:07] jamesh: So now that the GPG web-of-trust code is available on staging, what should I run to set it off? [01:08] do we have any testing account on production? [01:14] + Module canonical.launchpad.database.bugtracker, line 68, in __getitem__ [01:14] + raise KeyError, id [01:14] + KeyError: [01:15] [01:15] hahahaha [01:18] did that do what I think it did ?! [01:20] i imagine that someone changed the name 'id' to the name 'name' in that function [01:20] but left it raising KeyError, id [01:20] so id became the global builtin [01:21] yah [01:26] It could also mean someone passed __builtin__.id into the __getitem__ method [01:27] id might be a valid local that happens to be bound to the __builtin__ ;) [01:28] and furthermore [01:29] a rogue C extention could be corrupting the heap and causing a legitimate string id to be replaced with that function [01:31] Nah - it is a buggy __repr__ method on the id object [01:31] Merge to rocketfuel@canonical.com/launchpad--production--1.35: [trivial] sync (patch-9: stuart.bishop@canonical.com) [01:31] def __repr__(self): return repr(id) [01:38] jordi, request sent [01:42] carlos: any reason to keep the -v option on poimport? [01:42] stub, no, you can remove it now that we detected why it was not working [01:52] carlos: thansk mate [01:53] np === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [01:58] Gooooooooooooood morning [01:58] "Unable to fork for patch", eh [01:58] The same file has been added on two branches, and I get two conflicts (the file, and the .arch-ids/thefile.id). How to I resolve it? [02:00] lifeless, ddaa: ^^^ [02:01] baz resolved --all? [02:01] I mean [02:01] is that two files with different contents or same name [02:01] or is that just the merge bug that cannot deal with redundant adds? [02:02] baz resolved .arch-ids/uuid.py.id [02:02] resolved: One or more of the paths supplied doesn't exist. [02:02] baz resolved --all [02:02] I know baz resolved is buggy with conflicting adds. [02:02] ok. So leave it until I resolve everything else, and do the global resolve. [02:03] stub: no [02:03] stub: choose one of the fiells [02:03] stub: and one of the ids [02:03] well, you also need to remove one of the ids [02:03] stub: move them into the the right place [02:03] stub: delete the other two [02:03] but that will appear in status anyway [02:04] better again, try doing the merge without spurious conflicts [02:04] lifeless: Did that. The .id still stays on the conflict list and I can't resolve it individually (I avoid --all incase I miss one) [02:04] stub: ignore the conflict list [02:04] stub: ;0 [02:05] ddaa: if its added twice it will always conflict, its not spurious [02:05] I think you are wrong, for subtle reasons [02:05] ddaa: you have the same file, with two different ids, but sharing the same path [02:05] But I do not wish to have an argument about it at this current time and place [02:05] ddaa: that is a conflict in any VCS I know [02:06] oh sure, except there's a bug in merge where that happens for files with the same id [02:06] ddaa: there is a separate bug, where if the file path is different, it doesn't know how to choose the right move target [02:06] ddaa: but thats not what I understood to be the case here [02:07] frankly I've given up trying to interpret most baz bug reports [02:07] there are few stock solutions to ease the immediate pain [02:08] but most of the time what the users say is so out of line with what the problem actually is that's it's not worth it [02:08] It isn't a spurious conflict. I committed the same file on another branch because I needed the module and someone hadn't reviewed it yet. And now I'm cleaning up. === matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:08] good morning === bob2 forwarded all the debian baz bugs to lp and left them [02:09] ddaa: well, fwiw, when I've looked at the 'why am I getting random conflicts' stuff, its always been history shortcuts [02:09] etoohardtofix [02:09] which is a known issue in baz, and not relevant to bzr [02:09] so I don't think we're getting stuff thats out of line, its quite predictable within the bounds of c-baz === Jonex [n=Jonex@80.65.200.134] has left #launchpad [] [02:11] jamesh: great news aobut bug 1749 [02:12] (launchpad was offline when i wanted to look earlier) [02:14] history shortcuts? [02:19] lifeless: most of the time here, it turns out to be a criss-cross situation. [02:19] Apparently pqm encourages a pattern that causes criss-cross: [02:19] 1. send merge request [02:20] 2. merge rocketfuel before starting working on something else [02:20] 3. merge performed by pqm === terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad [02:20] ddaa: criss-cross is ok with baz merge, as long as you are not cherry picking [02:21] ddaa: not ideal either, but not bad, it will just take the common base before. [02:21] except when baz merge goes out of memory trying to cache the whole history since the big bang [02:21] ddaa: usually you get one too far back, and thats due to history shortcuts [02:22] lifeless: let's abandon this line of discussion. I have no desire to rant about baz. [02:22] ddaa: ok [02:22] ddaa: note I'm not defending accuracy or reliability, just cause === ddaa ignores lifeless' last message === cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === lifeless goes back to counterstrike === niemeyer [n=niemeyer@200-193-158-172.ctame7006.dsl.brasiltelecom.net.br] has joined #launchpad [02:29] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] converted a bunch of browser:traverse into navigation (patch-2598: steve.alexander@canonical.com) === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [02:38] lifeless: bazaar_1.4.2-1ubuntu1 has unaligned loads and/or stores in it's sha1 code. fix that. kthxbye. [02:39] I suppose I should track down _where_, huh? === lifeless channels anthony baxter [02:40] bug reports - you know things with patches - are welcomeed [02:40] I think he stole the sha1 code from elsewhere [02:41] blame colin walters === camilotelles [n=Camilo@firefumsoft.fumsoft.softex.br] has joined #launchpad [02:50] SteveA, I have a request for the sysadmin [02:50] should I add it to https://wiki.canonical.com/LaunchpadSysadminRequests ? [02:51] carlos: you can mail it to RT [02:51] i'll msg you the email address [02:51] ok [02:51] thanks [02:51] it's a good idea to cc me or kiko [02:51] or both [02:51] ok [02:53] lifeless: in your "ignore annoying mac filenames in python" cscvs patch [02:53] what does "note that hiding all should be ok - validation checks the final result." mean? [02:54] lifeless: that's a clarification requested to me by spiv, since your patch ended up in one of my reviewed branches [02:58] ddaa: it means that hiding all invalid file names is ok, as live ones will trigger a end-result validation failure [02:58] okay [02:58] thanks, it would be nice if you were a bit more proactive at getting your branch merged, though [02:59] I'll handle that one. === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad [03:00] ddaa: that one I deliberately left for you [03:01] ddaa: as you had other stuff you said to me you didn't want interrupted [03:01] some time back [03:01] ha... I guess so. It's hardly an extensive patch, I do not think it would have blocked me. [03:02] is that the same issue with your pybaz patch? :) [03:02] (I know it's not, I'm just teasing) [03:03] no [03:04] that one is me having to do a fix to hct [03:04] and I keep getting halfway to doing it [03:04] :/ [03:05] BTW, keep in mind that my next big chunk next week is working on the BranchDataStorage db patch. [03:05] So large amounts of HCT borkage are to be expected. [03:05] kiko-zzz: Hey. Any news on the sortorder widget patch I sent you yesterday? [03:05] lifeless: also, I'd like to know who is likely to work on cscvs/bzr and improtd/bzr? [03:09] SteveA: BrowserNotificationMessages is now conflict free [03:09] thanks [03:09] i'm about to change that ;-) [03:09] probably not actually [03:09] but i'll review it after i send this next merge off, and get some lunch [03:10] stub: i've converted all NotFoundErrors from zope to launchpad === carlos -> lunch [03:19] hey ho [03:28] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Added plural forms for Tagalog and associated Philippines's languages to that country (patch-2599: carlos.perello@canonical.com) [03:29] hey kiko [03:29] kiko: might you have a chance to review the sortorder widget patch this morning? === lamont [n=lamont@mix.mmjgroup.com] has joined #launchpad === gneuman [n=gneuman@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [03:35] bradb, yeah, but I need to spend some time with matsubara and gneuman first -- is it blocking you? [03:35] not really blocking me, no [03:37] carlos the bugspammer :) [03:39] salgado: hi [03:39] hi SteveA [03:39] so, in my merge that is with pqm, i commented out two shipit doctest lines [03:39] because there's a query with ambiguous ordering [03:40] i mailed you a link to a traceback [03:40] SteveA, I've been looking into that for the past 15 minutes [03:40] okay [03:40] i commented them out so that pqm wouldn't maybe fail [03:41] can't find what could be wrong, as the requests are always ordered by the date requested [03:41] maybe there are two things with the same date [03:41] are they ordered by id also? [03:41] no, they're not [03:42] I guess that would solve it [03:42] but first I want to make sure what's going on [03:43] so, make the test return the name and the date [03:43] then you'll be able to see [03:44] I just did that. and yes, there's three things with the same date [03:45] great [03:45] tvarka [03:45] you might want to either wait for PQM to process my latest stuff [03:45] or merge from steve.alexander@canonical.com/launchpad--Navigation--0--patch-30 [03:45] before you send that to pqm [03:46] I'll wait for pqm. how long since you sent your branch there? [03:47] it will arrive 55 minutes in the future [03:47] at Fri Oct 7 14:39:15 2005 UTC [03:47] 7 minutes. that probably means at least 30 more minutes to run all the tests [03:47] lifeless: the times on http://pqm.ubuntu.com/ are 1 hour in the future [03:47] that should be enough time for me to poke kiko and get my shipit-searching branch reviewed [03:47] SteveA: oh, are they GMT not UTC ? [03:48] kiko, that's an easy one. ;) [03:48] SteveA: erm, BST I guess I mean [03:48] salgado, do you really want to land that today? I was thinking we should focus on getting any trivial fixes landed first [03:48] also [03:48] lifeless: the page says UTC [03:48] I need your help on a frigging merge crapola that baz inflicted on me [03:48] SteveA: yes, but what is it really ? [03:48] it nuked cronscripts/shipit-exports.py, salgado [03:48] can you believe it? [03:48] but if you remove UTC and say BST then they will read right, at least today [03:48] no idea about after DST changes [03:48] SteveA: ok, so its getting localtime not UTC. [03:49] SteveA: can you file a bug on pqm in launchpad for me ? [03:49] kiko, of course I can! [03:49] #@!#!$!@!!@*& [03:50] lifeless: done [03:50] SteveA: thanks [03:51] SteveA: now I will ignore that for a year or so [03:51] yeah, and one hour [03:51] SteveA: and then when you complain next time dst comes around [03:51] I'll be enthused and work on it [03:51] i'll ask elmo to set the local time on that box to NZ [03:51] ROTFL === SteveA --> lunch [03:52] NZ time is a fair bit different to Sydney time [03:52] jamesh: but so much more accurate [03:52] :) [03:52] lifeless: UTC+14:00? [03:55] jamesh: +12 [03:55] lifeless: I met some kiwis pushing for 2 hours daylight saving when I went over there :) [03:56] jamesh: city folk :P [03:56] they wanted 1 hour DST in the winter and 2 hours in the summer [04:00] night all === sabdfl [n=mark@217.205.109.249] has joined #launchpad [04:07] carlos: ping [04:23] kiko, ;-) [04:23] mpt, pong [04:24] carlos, let's talk about https://launchpad.net/products/rosetta/+bug/2036 === mpt thinks we should have Ubugtu in here [04:24] it's the unbelievable sabdfl! [04:24] skin and bones! [04:24] mpt, ok [04:24] carlos: What templates are we currently showing, and why? [04:25] Ubugtu? [04:25] mpt, we are showing all templates that distribution has that have at least one translation [04:25] mpt, the idea is to show all of them [04:25] the fact that some are missing is a bug [04:25] How can they ever get from 0 translations to 1 translation? [04:26] mpt, because you reach them using another paths or a new .po file is imported [04:26] carlos: other paths such as what? [04:27] mpt, for instance /rosetta points to many of those translations [04:27] ok [04:28] carlos, why are you hiding the ones with 0 translations in the first place? [04:28] mpt, and as soon as gina is executed on production distros/ubuntu/breezy/+sources [04:28] mpt, as I said, it's a bug [04:28] well, I guess it's a bug [04:28] I doubt mark had any interest on hidding them [04:29] ok [04:29] so there's nothing really that I need to design here [04:30] carlos, one more question: I'm looking at https://launchpad.net/distros/ubuntu/hoary/+lang/hi [04:30] mpt, a good way to prevent that that page sucks so much [04:30] carlos: I can't work out what order the templates are listed in [04:31] mpt, no order at all [04:31] we need to add an orderBy to that query [04:31] ok, I'll report that bug [04:31] I doubt it has it [04:31] I think we have that one already [04:34] I don't see it [04:34] when searching for "order" or "sort" [04:35] there's bug 20, but that's not quite the same [04:38] ok, then file it, please === grayman [n=grayman@85-64-195-124.barak-online.net] has joined #launchpad [04:42] done, bug 2938 === mpt blows a ladybug off his keyboard [04:47] mpt, thanks === camilotelles [n=Camilo@fireincub.fumsoft.softex.br] has joined #launchpad [04:57] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] lots of tidying up. converting all database classes to use NotFoundError consistently, and to import it from launchpad.interfaces in preparation for the move to a new zope3. Also, introduced a NameNotAvailable error. removed browser:traverse rdirective. commented out shipit test that fails sometimes. (patch-2600: steve.alexander@canonical.com) [05:04] bradb: will your package nameage get into the next production update? === zorglub_ [n=53915de2@wahe.diwi.org] has joined #launchpad [05:05] mpt: I think so, since I merged it before what I understand to be the cutoff date. [05:08] hello, I simply haven't found how to edit a bug's details (severity, ...) [05:08] I have to add back that link, this is just too silly. ;) [05:08] zorglub_: you have to click on the package name [05:09] ahah ok [05:09] bradb: or restore the underlining and the bug icons, like I wanted to do === mpt grates his teeth [05:10] mpt: that doesn't help much, IMHO [05:10] You haven't seen it [05:10] i can imagine it though [05:11] mpt: even with a neon sign saying "THIS IS CLICKABLE", it still gives basically no hint whatsoever that that's where you're supposed to go to edit the assignee/status details [05:11] particularly when seen through the eyes of someone who isn't that familiar with Malone [05:12] Sure, the controls should already be on the page you're looking at === salgado preferred the [Edit] link [05:12] than having to click on the package/upstream name [05:12] mpt: yeah, that would be even better. ;) [05:12] but any design that's repeating the same word over and over again is wrong [05:12] salgado: [Edit] was shown to be invisible, in user testing [05:13] because [Edit] still doesn't say "this is what you click to edit the assignee/status details" [05:14] indeed, but the package name doesn't do that either [05:14] salgado: correct :) [05:15] we should have a mini-icon that means "edit", and use it liberally. [05:20] sabdfl, we do have an edit mini-icon (/@@/edit.gif) [05:20] Merge to rocketfuel@canonical.com/cscvs--devel--1.0: [r=spiv] python high bit filename filtering (patch-113: david.allouche@canonical.com, robert.collins@canonical.com) [05:20] I think the problem is that having to go to a separate page at all is so unnecessarily different from (and less efficient than) other bug trackers, that even that might not make it obvious [05:21] if "[Edit] " didn't work, I doubt an icon for the same would work. [05:21] mpt: until the edit form controls can be made tight enough to fit in the current task headline bar, we will retain a separate page, 'k? [05:22] sabdfl: sure, I'm not allowed to change the page at all, so need for more specific restrictions :-) [05:23] hooray, mirror finished === Kinnison [n=dsilvers@haddenham.pepperfish.net] has joined #launchpad [05:27] re [05:39] hey Kinnison [05:40] hi sivan [05:42] "The world will change this week" -- said by a passerby who saw my new bugtarget search portlet [05:43] salgado: Do you have time for a code review in the next hour or so? === Virtuall[BZA] [n=virtuall@who.is.virtuall.info] has joined #launchpad [05:48] bradb, how big is it? [05:49] salgado: I don't have the diff ready yet, but it's pretty small (it *looks* a lot bigger than it is, because of adding the new portlet in a bunch of different places, but the core code is probably 100 lines) [05:50] bradb, I can do it after lunch [05:50] in 1h, aprox. [05:50] salgado: awesome, thanks. i'll send it off in a bit. [05:56] heh [05:56] I thought I cleared the status notes, but left behind carlos's word "Cheers" [05:58] :) [06:04] bradb: ping [06:04] sabdfl: pong [06:04] just discovered your DistroSourcePackage work [06:05] i have a mostly-fledged DistributionSourcePackage [06:05] how much work did you do on DistroSourcePackage? which pages are there? url's? [06:05] i'll need to integrate our work [06:06] hm [06:06] there's the bug listing [06:06] /distros/ubuntu/+sources/mozilla-firefox/+bugs [06:06] ddaa: niemeyer joins you on LP next week [06:06] bradb: pqm will shortly be nuking browser/traversers.py [06:07] has all of that branch work landed? [06:07] SteveA: urgh [06:07] why urgh? [06:07] does it all migrate to class files? [06:07] yes. all migrated already [06:07] this is just rearranging things [06:07] into the proper modules [06:08] now, i'm in a position to solve the breadcrumbs problem [06:08] nice [06:08] with that, and a pillars-of-launchpad tweak or two, our page layout will start to become very usable [06:09] traversers.py was the last hold-out of "everything from everywhere in one module" in the browser code [06:09] it's already a zillion times better than it was six months ago [06:09] sabdfl: basically other than the bug page, there's just little bits of infrastructure (like the *Set, the interfaces) and tests. nothing too serious. [06:09] yeah. i'm finding launchpad not too bad to use for bugtrackingn etc. now [06:09] i did the minimum required to make it work for me [06:10] bradb: is it done, i.e. you don't have more branches that are landing with changes to it? [06:10] sabdfl: I'm changing the dsp bug page a little bit now, to make it work with the bugtarget search portlet. [06:12] that should be landed within a few hours [06:13] sabdfl: I also added back the menu on another branch (seemed to have gotten blown away during the menus integration.) that patch is awaiting kiko's review. [06:14] jordi, ping === klaatujr [i=klaatujr@12-217-115-46.client.mchsi.com] has joined #launchpad [06:20] what's a dsp url with sampledata? [06:21] jordi, unping, i'll email [06:22] sabdfl: /distros/debian/+sources/mozilla-firefox/+bugs, IIRC [06:23] bradb: i do like the move to non-table listings... [06:23] It's nice when they aren't that many bugs being displayed, IMHO. === klaatujr [i=klaatujr@12-217-115-46.client.mchsi.com] has left #launchpad [] [06:27] bradb: i'll tidy up the layout a little [06:27] drive-by polishing [06:27] sabdfl: Can you wait on that for just a bit? You might conflict with me and mpt === Kinnison waves sabdfl's drive-by polishing at soyuz [06:27] ok [06:28] thanks [06:32] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] Make sure reloads on the shipit-myrequest page won't blow up in user's face. (patch-2601: guilherme.salgado@canonical.com) [06:32] heh [06:32] always nice to see somebody that cares for the end-user's good looks [06:33] MIRROR BAZ MIRROR [06:33] bradb: conflicts ahoy on DistroSourcePackage... === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad [06:34] sabdfl: Maybe it's due to the nav stuff. [06:34] bradb: no, i just have to merge to entirely different "distribution source package" implementations :-) [06:34] that's touched mainly browser code [06:35] although i have made the not found exception stuff better in database code [06:35] bradb: yours should not have been inside files called "packages.py" and "sourcepackage.py" [06:35] carlos: ping [06:35] please observe the pattern [06:35] aha! [06:36] it should have gone into browser/distrosourcepackage.py and database/distrosourcepackage.py [06:36] ok? [06:36] sabdfl: right [06:36] i thought that was odd when i was adding browser navigation code for that [06:37] why do you need the __eq__ and __ne__ methods? [06:38] i have two wikinames [06:38] is it because I am special? [06:38] sabdfl: so that .target comparisons Just Work, regardless of what kind of object .target is. [06:38] ok [06:38] damn, everyone has two [06:39] bradb: remember we talked about the quality of the current release and the whole distro w.r.t. bugtasks? [06:39] i.e. closing a bug in breezy now would also close it in ubuntu? [06:39] is that implemented? [06:39] and in email interfaces? [06:39] sabdfl: not implemented yet [06:39] is there a spec? [06:39] no that i know of offhand [06:40] could you create a one-paragraph braindump, register in LP, and put on the UBZ agenda please? [06:40] sure, i'll do that now [06:40] thanks [06:41] sabdfl: is that because breezy is the "current dev release" of ubuntu? [06:42] or is that a special case? [06:45] SteveA: yes [06:45] sorry [06:45] current dev release fixing should also fix distro bugtask [06:46] right, figures [06:50] is there any # for translators [06:51] bradb: ok, looks like we need to do a bugzilla import script... [06:51] indeed :) [06:51] we have about 2,900 open/new/pendingupload bugs on ubuntu [06:51] malone will easily handle that [06:51] yup === zyga invites interested people to #ubuntu-translators [06:53] sabdfl: the spec i added for the task res. issue is here: https://wiki.launchpad.canonical.com/ResolvingTargetedBugTasks [06:55] SteveA, pong [06:55] carlos: pitti sent an update about language packs [06:55] ok [06:58] bad news... need to investigate a bit, I think that perhaps a reimport should fix that... [07:00] carlos: let me know what happens with it please === SteveA --> home [07:00] SteveA, sure [07:07] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] nuke browser/traversers.py (patch-2602: steve.alexander@canonical.com) [07:10] carlos: fantastic! [07:10] carlos: thanks for fixing; ie, loading me with a ton of work :P [07:11] ;-) [07:15] mdke: next time, for Rosetta issues, mail rosetta@ so Carlos will read too. This export thing seems something he'll be able to analyse correctly [07:16] salgado: patch sent! [07:17] carlos: the ubuntu-doc people are getting a pair of files that don't validate, with duplicate msgids [07:17] Kinnison: ping [07:18] Kinnison: From what header is the sourcepackage maintainer set? [07:19] pardon? [07:19] maybe i'm asking the wrong person [07:19] perhaps you're asking the wrong question [07:19] Kinnison: do you know how our maintainership data is populated? [07:20] no [07:20] hm [07:20] kiko-fud: do you know how our maintainership data is populated? [07:22] via gina [07:22] bradb: What table are you on about? [07:22] Kinnison: maintainership [07:23] bradb: I thought that was a fairly manual process [07:23] kiko-fud: Mm, last I asked (though I don't recall who I asked), I was of the understanding that maintainership data comes from the uploads. [07:23] bradb, we don't deal in uploads yet -- all our data comes from gina [07:23] I guess gina polls that data every so often? [07:24] right [07:24] it looks at the archive [07:24] kiko-fud: what piece of data does gina look at to get the maintainer? [07:24] the releases file IIRC [07:24] Because I'm thinking: is this going to work for inherited packages? [07:25] I hate to say this, but gina doesn't touch the Maintainership table at all [07:25] it should though :) [07:25] The archive can't tell us who maintains what [07:25] it doesn't always know [07:25] Plus in Ubuntu we don't always have a specific maintainer [07:25] (per-se) [07:26] so, this field will be manually overrideable, presumably? [07:26] i.e. in the web UI? [07:27] jordi, I'm aware of that [07:27] I have to give a clear answer to Kamion and mdz about how they can set the maintainer in cases where the data we've loaded is incorrect. [07:27] Kinnison, at least in the old sourcpackage model we set the maintainer correctly [07:27] I think they filed a bug and I already answered them [07:28] jordi, I think it's related with obsolete messages [07:28] kiko-fud: setting the maintainer in the sourcepackagerelease is *NOT* the same as setting a maintainership record [07:28] sabdfl: can you chime in here please? [07:28] Kinnison, it used to be, in the old sourcepackage model. [07:29] kiko-fud: it hasn't been for about 9 months [07:29] it's not my fault you were born into the 90s [07:30] we don't have a "make me the default assignee for bugs on this" table [07:30] we have package subscriptions [07:30] which are "cc me on bugs on this package" [07:30] but it makes sense to add this === sabdfl [n=mark@pdpc/supporter/silver/sabdfl] has left #launchpad [] [07:32] heh [07:32] he hath spoken [07:33] That still leaves the original problem unresolved, it seems. [07:33] ISTM that the maintainer of the package must be set correctly, however that is done. [07:33] well [07:33] you first need to ask yourself [07:33] Inherited package or not, otherwise the user will be mislead and confused. [07:33] who is the maintainer of the package? [07:34] kiko: the person responsible for making sure the fix ends up in $distro [07:34] carlos, what do you think pitti's mail looks like [07:34] carlos: yes, it's not the first time obsolete msgs give us trouble [07:34] bradb, I'm not sure we know who that person is for all packages. [07:34] kiko: We probably don't. But shouldn't there be a way of letting the user manually enter that data? [07:35] for packages? [07:35] yeah [07:35] I guess -- it's not a very difficult change [07:35] but I'm not sure that's what maintainership is [07:37] jordi, I know, it's a know bug [07:37] carlos: got a bug number? [07:37] to me "default assignee" is a way of saying "i maintain this thing (even though it may be a non-forked package from an upstream distro)" [07:38] bradb, is that the same as maintainership? Kinnison? [07:38] it's a bit impure perhaps, but in the context of launchpad, i think it is. [07:40] i'm just guessing though. i don't have enough user input to do any more than that. [07:41] me neither. tell you what: is there anywhere in our code that currently uses that table? [07:41] yup, bugmail [07:41] anywhere else? [07:41] if not -- dude, go for it! [07:41] I'd rename it perhaps [07:42] go for it, i.e. make it editable? [07:43] use it to your advantage! [07:43] kiko, I think the problem is that we rejected many pofiles when we started with Rosetta and Hoary so it's a matter to review them by hand [07:50] jordi, https://launchpad.net/products/rosetta/+bug/2621 [07:50] carlos, but dropped individual translations -- is that because the template is out of sync? [07:51] kiko, either the potemplate is out of sync or we missed some imports for Hoary [07:51] kiko, if breezy is not losing translations, hoary should not do that either [07:51] with breezy, every day we get new uploads [07:51] hoary is frozen already [07:52] so we need to force a new import to fix any issue we had === Kinnison preps to run away [07:58] SteveA, will you STOP CONFLICTING WITH ME?! [07:58] it's the 4th time I request a merge! [08:00] carlos, I don't know if I understand exactly what you mean [08:00] oh [08:01] kiko, we did many fixes since the Hoary release [08:01] carlos, so we only include in the pofile translated strings -- no blanks? [08:01] so many .pot and .po files that were failing to import at that time will work now [08:02] kiko, ? I don't get your answer, sorry [08:02] it was a question :) [08:02] the pofile, it doesn't include blank translations, right? it only includes msgid/translation pairs for translation != ""? [08:02] the dropped plural form is weird [08:02] ciao [08:05] kiko, right, was a question, sorry [08:06] kiko, no, we have them too, but to compare the rosetta output martin removes them [08:06] kiko, about the dropped plural form, it's normal as long as we don't have any msgid_Plural [08:07] I need to debug it to be 100% sure that it's the case, but I have a test for that and I doubt it's incorrect (but all things are possible with real data...) [08:08] ah, I see. [08:08] yeah, you learned the language. [08:10] salgado: did you get my patch? [08:11] bradb, yep. reviewing it now [08:11] awesome [08:12] carlos: if mdke does an upload of a single po file and there are some strings that differ between the rosetta data and the po file he's uploading, what takes precedence, and what gets relegated to the translation memory? [08:12] i was thinking more of strings that are translated in rosetta, and not at all in the po file [08:13] oh, then rosetta should be smart. [08:14] jordi, if it's a published upload, Rosetta has preference if it's not a published upload, the .po has preference [08:14] carlos: good to know [08:14] carlos: and if the translations are missing in the upload, but are in rosetta, they get filled up, right? [08:16] jordi, they will be there, yes [08:16] or at least they should O:-) [08:18] hehe [08:24] salgado, ping? [08:25] kiko, pong [08:25] mpt: I'm attempting to look at your Malone front page changes now [08:25] salgado, you know person.activememberships and person.myactivememberships? === jinty [n=jinty@205.134.224.215] has joined #launchpad [08:26] kiko, yes [08:26] well [08:26] the names kinda suck [08:26] I wanted to know [08:26] is it possible to add some asserts to them [08:26] to ensure you ran them on the right thing [08:26] for a person it doesn't even make sense to run activememberships, does it? [08:27] no, it doesnt. I even thought about merging them into a single method and act according to what self is [08:27] hmmm [08:28] tricky [08:28] because a team can have activememberships and myactivememberships [08:28] okay [08:28] I'll just add a note [08:37] ddaa, ping? [08:44] carlos, ping [08:45] mpt: hm [08:45] mpt: you completely blew away the portlets from the front page? :) [08:45] kiko, pong [08:46] mpt: This also assumes that global searching will work [08:46] carlos, https://launchpad.net/products/rosetta/+bug/1098 [08:46] is it still relevant? [08:49] kiko, could be I didn't fix it, perhaps it was fixed as a side effect of another fix... [08:49] well, I wrote code before that bug that should prevent that error to happen, but seems like I did a mistake [08:50] it's an old bug [08:50] now that the language packs are more or less on their track I'm caring much more about bug reports so next week I will try to handle all big bugs and the permissions ones from Jordi [08:50] kiko, I know [08:50] okay [08:50] On the Translations page of a new project: [08:50] "If you would like to help translate Silva then you should ask the [08:50] Rosetta team to set it up by sending an email to the Rosetta mailing [08:50] list. You should give them the URL to the Silva.pot and .po files. You [08:50] will be able to start translating once they are imported." === RWG [i=RWGraphi@69.177.14.20] has joined #launchpad [08:51] carlos: can we change this to suggest that the URLs are a tar.gz with all the files? [08:52] Kinnison, kiko: do you know if our data model supports finding out if a package is 1. inherited (i'm guessing almost certainly yes) and 2. no different to the original package? can gina be made smart enough to make that distinction? [08:52] in theory yes [08:52] jordi, sure [08:53] jordi, file a bug and set me as the owner and set the urgency to high [08:53] carlos: thanks [08:53] k [08:53] kiko: hm. i wonder if there should be a distro default maintainer for inherited packages that aren't forked? [08:53] Carlos Marin [08:54] Crad Bollenback in Canada [08:54] *Bollenbach [08:54] *Brad [08:56] time to leave... [08:56] see you! [08:56] jordi, do you need anything from me [08:56] My fridge is rampaging in the next door neighbor's garden; I need to go cheer it on. === RWG [i=RWGraphi@69.177.14.20] has left #launchpad ["Connection] [08:57] carlos: don't think so [08:57] carlos: have a nice weekend dude [08:57] carlos: only that I duoubt I can modify severity and owner [08:59] jordi, ok, don't worry [08:59] see you [09:00] https://launchpad.net/products/rosetta/+bug/2947 [09:00] thanks [09:03] heh [09:03] I *rule* the karma top 5. [09:06] ddaaaaaaa [09:06] that won't highlight my nick [09:06] two things [09:06] I will have to leave in a few minutes [09:07] a) I did a baz replay --reverse and committed. is that okay? I ended up with an UNKNOWN patch in my history. Will PQM hate me? [09:07] b) Are you going to look into bug 2915? [09:08] IIRC that tends to make log-for-merge unhappy, wich causes noise in rockefuel merge log [09:08] forever? [09:08] you should do sync-tree after replay --reverse to restore the patchlog [09:08] darn [09:08] until somebody fixes rocketfuel [09:08] is it too late for that now? [09:08] I do not remember the specifics, it's not a critical problem anyway [09:09] can I go on working on the branch? === kiko prays for pqm [09:09] kiko: 2915 is FIXED! [09:09] oh [09:10] epiphany is removed from the GNOME project, epiphany-browser is now in the GNOME project [09:10] thanks [09:10] you're so sweet [09:10] kiko: I think you should restore the patchlog for the reversed patch before sending a merge to rocketfuel [09:11] I will try [09:11] kiko: got a min? [09:11] jordi, sure [09:11] but I might be confused, I remember there used to be a problem, but I'm not sure exactly what it was [09:11] kiko: how's it looking for that patch to get reviewed? it'll make your triaging life a lot easier. ;) [09:11] kiko: I've got a request to add a Shona team. [09:12] https://launchpad.net/people/shona [09:12] kiko: and it conflicts with the patch i sent to salgado, so i hoping to get them both sorted out and landed today [09:12] but this dude has messed up things it seems. [09:12] yeah [09:12] jordi, what is the issue? === ddaa leaves to watch Voyager [09:13] should we rename this "shona" thing to ubuntu-l10n-shona, and when someone else joins, switch from shepard to this team for ubuntu translators? [09:13] kiko: we need to add shepard to ubuntu translators for the Shona language. [09:13] shona = sn [09:13] we can rename it now and update the ubuntu translators. are you ok with that? [09:14] jordi? [09:14] wrong, it's sna it seems [09:14] yes [09:15] so ubuntu-l10n-shona or -sna? [09:15] but, per sab policy, sheaprd should be enabled in ubuntu translators, not the team [09:15] not until there are more people in the team at least [09:15] or we can make an exception, now that the team is already created anyway [09:15] whatever you think is better [09:15] -sna [09:16] right [09:16] exceptions-r-us [09:16] oh-oh [09:16] no no no [09:16] it appears I can't rename it [09:17] salgado, how do I change a team's name? [09:17] they do have a two letter code "sn" [09:17] kiko: make it "sn" [09:17] ok [09:17] but I can't rename the team [09:17] so no luck yet [09:17] kiko, you can't. someone droped that [09:17] ah [09:17] that's what neuman's patch did [09:17] jordi, can you remind me to rename it next week? [09:18] kiko: yes. Should I mail you? [09:18] kiko, yes. I asked him to do that [09:18] next week, yes [09:18] mail you now, so you have it in your queue? [09:18] if you email me now, jordi, it will get lost [09:18] ok. let's see how I do to remember. :) [09:18] put an email in YOUR inbox :) [09:19] shephard appointed for ubuntu-sn [09:19] https://launchpad.net/rosetta/groups/ubuntu-translators/ [09:20] ProgrammingError: ERROR: canceling query due to user request [09:24] shouldn't that be "cancelling"? [09:24] Merge to rocketfuel@canonical.com/cscvs--devel--1.0: [r=spiv] use svn_oo.util.pysvnClient instead of pysvn.Cleant, tweak inventory for bzr (patch-114: david.allouche@canonical.com) [09:24] kiko: many thanks [09:25] kiko: I have the same mail problem as you do I'm afraid [09:25] I'm slowly learning to flag CRITICAL stuff [09:25] critical = gets you fired if ignored :) [09:26] or "severity is meaningless", depending on who you talk to [09:27] in fact, we have a spec proposing to get rid of it [09:36] bradb: Err. I trust that the spec talks about current use cases and what replaces them? =) [09:36] are there valid use cases for severity? [09:37] kiko: dude, my patch! === bradb nags salgado too, while he's at it [09:37] jbailey: not in detail, but in summary [09:38] kiko: I use severity to know which bugs I need to fix before I go home, (critical), and which bugs I need to fix before release (major). Trivial is cosmetic bugs that I can do when I don't feel like working and enhancements are things that probably need specs to go along with them. [09:38] kiko: Everything else is normal. [09:38] jbailey: What do you use priority for? [09:38] jbailey, that sounds like priority tome. [09:38] bradb: I don't. =) [09:38] jbailey, then you're misusing priority to represent severity [09:38] severity is something else. [09:39] errr [09:39] the opposite of what I said three sentences above. [09:39] jbailey: It sounds like you're using the thing that describes what effect the bug has on the user to prioritize fixing it [09:39] Priority tells me which ones I would need to do first. [09:39] I should probably prioritize the normal bugs. [09:39] no [09:39] well [09:39] not exactly :) [09:39] severity is how severe the bug is [09:39] I'd rather give priority to my boss to tell me what order he'd like things done in. [09:40] if it's a showstopper, critical, world-crashing issue [09:40] severity doesn't really make sense for features and enhancements [09:40] priority indicates what order you should fix them [09:41] and you're right, priority is something that's more of a management thing [09:42] I'd love mdz or people dealing with community etc to let me know which bugs people care about more. In bugzilla land, it could even be through the vote system. === bradb is warming up to the voting system [09:43] Ultimately I need to know what *must* be done today. Then I need to know what I ought to do tomorrow when this is out of the way. [09:44] Basically, there will always be more bugs than time, so I think that's really what I'm looking for. [09:44] jbailey: we'll give you that [09:45] jbailey, what must be done today is P1 [09:45] then you can order the rest using P2-P5 [09:45] or alternatively [09:45] your manager can order it [09:46] Right. [09:46] The complication is... [09:46] Some tasks are trivial and easy to get out of the way. [09:46] So should be a higher priority so that we still take care of the little details. [09:47] right [09:47] so smaller, cheaper tasks should get higher priority [09:47] it's a traditional scheduling problem :) [09:48] Yup =) [09:48] And I hate to say it, but it would be nice if bugs from people with higher karma got a boost. =) [09:50] That would make Rosetta users happy. [09:51] Karma: 2938282 [09:53] who's that? [09:54] noone, but rosetta's karma system is wacked ;) [09:58] bradb: could be me ;) [09:59] current karma is nearly 20k [09:59] heh [09:59] heheheheheh bradb has 813. :) [09:59] that's pound sterling [10:04] kiko,jbailey: things come in as P2; I bump them up to P1 if they're particularly important [10:04] jbailey: currently, what's important is the 5.10 milestone report I posted to -devel === Ubugtu [n=bugbot@www.binaries4all.com] has joined #launchpad [10:11] bug 1000 [10:11] Malone bug #1000: There are too many bug reports in Malone Fix req. for: upstream launchpad, Severity: Normal, Assigned to: Nobody, Status: Rejected http://launchpad.net/malone/bugs/1000 [10:11] mpt, see it works :) [10:12] great, thanks Seveas [10:12] yw [10:13] nice one [10:13] cool [10:14] Seveas! [10:15] kiko? [10:15] that rocks [10:16] it knows the ubuntu and gnome bugzillae too if neccessery, justreplace 'bug' with gnome or ubuntu [10:16] kiko: where does rosetta get the name for a language? [10:16] bugzilla/malone urls are triggers too [10:16] Asturian is incorrectly called "Asturian; Bable", when it should be "Asturian". [10:16] hmmm [10:16] jordi, I think that requires a database patch, file a bug [10:18] kiko: done. [10:18] spoke too fast [10:18] PRogrammingError [10:19] https://launchpad.net/errors/showEntry.html?id=1128716317.920.888504782347 [10:20] I don't know if its related [10:21] but I changed the title from [10:21] Incorrect language name for "ast": "Asturian; Bable" [10:21] jordi, request expired right? [10:21] what's the bug #? [10:21] I don't know [10:21] now it got filed as 2951 [10:21] after changing the title from "Incorrect language name for "ast": "Asturian; Bable" [10:21] fuck [10:21] damn [10:21] Incorrect language name for "ast": Asturian; Bable [10:22] to [10:22] "Incorrect language name for "ast": "Asturian; Bable" [10:22] ie, added quotes. [10:22] matsubara, I'm still waiting for your test -- am I going to get it today? [10:22] kiko: it didn't take long to show that error [10:22] a few seconds [10:22] yeah, it's weird [10:23] are you ok with what you have, or should I file a bug? [10:34] bradb, review sent. sorry for the delay [10:36] it's okay [10:36] a timeout, I think, jordi [10:36] salgado: cool, thanks [10:40] kiko: good [10:40] dinner time. Have a nice weekend folks. [10:44] mdz: Ah cool, I didn't know that you used the Priority flags. I hadn't been using them, so I uncluttered my display. === cprov -> whyyyy baz status get so long in a just switched tree ? 5 min !! === Ubugtu [n=bugbot@81.171.100.21] has joined #launchpad [11:16] salgado: I've got a reply coming up in about 5 mins... [11:16] (with view tests, etc.) [11:17] bradb, sent too [11:18] kiko: thanks [11:18] i won't get to that one until monday...conflicts, etc. === palmTree [n=chatzill@213.210.238.185] has joined #launchpad [11:23] salgado: reply sent === zygis [n=zygis@84.46.151.241] has joined #launchpad [11:26] Merge to rocketfuel@canonical.com/launchpad--devel--0: [trivial] mention gettext in About Rosetta page (bug 712) (patch-2603: mpt@canonical.com) [11:27] Malone bug #712: Rosetta doesn't mention gettext Fix req. for: upstream rosetta, Severity: Normal, Assigned to: Matthew Paul Thomas, Status: New http://launchpad.net/malone/bugs/712 === asmodai [n=asmodai@sakko.demon.nl] has joined #Launchpad [11:30] dilys, meet Ubugtu. Ubugtu, dilys. I'm sure you'll be very happy together. [11:34] bradb, back to Mac OSX? [11:34] running tiger on this machine, but ssh'ing into my other powerbook to do lp work [11:36] I noticed when got this html email [11:36] wha? [11:36] shit [11:37] changed [11:37] that's an embarassing default. i'm suitably humiliated. [11:39] bradb, I had the feeling the only way to test that would be with something like ClientForm, but asked just to make sure [11:39] ok [11:39] anyway, the tests looks fine [11:40] should i doit? [11:40] you mean, the merge? sure! [11:40] thanks [11:47] cprov: you want the technical answer, or the real answer? === mgalvin [n=mgalvin@cpe-69-205-47-165.nycap.res.rr.com] has joined #launchpad