|
=== netjoined: irc.freenode.net -> kornbluth.freenode.net |
|
=== daf [[email protected]] has joined #launchpad |
|
=== netjoined: irc.freenode.net -> kornbluth.freenode.net |
|
=== daf [[email protected]] has joined #launchpad |
|
=== netjoined: irc.freenode.net -> kornbluth.freenode.net |
|
=== daf [[email protected]] has joined #launchpad |
|
=== daf [[email protected]] has joined #launchpad |
|
[12:34] -dmwaters([email protected])- (global notice) Hi all! it appears that we're having problems with one of our main rotation servers. I apologize for the inconvenience, and thank you for your patience. |
|
=== carlos [[email protected]] has joined #launchpad |
|
=== limi [[email protected]] has joined #launchpad |
|
=== lalo [[email protected]] has joined #launchpad |
|
[10:21] <carlos> morning |
|
=== SteveA [[email protected]] has joined #launchpad |
|
=== justdave [[email protected]] has joined #launchpad |
|
=== stub [[email protected]] has joined #launchpad |
|
=== stub [[email protected]] has joined #launchpad |
|
[11:54] <limi> carlos: I only see translated/untranslated in the graph, where is the "translated but not committed/upstream yet"? |
|
[11:55] <carlos> in which graph? |
|
[11:55] <limi> project-index.pt |
|
[11:55] <carlos> btw, I will work on it between today and tomorrow so you will be able to "touch" it on Monday |
|
=== andrewv [[email protected]] has joined #launchpad |
|
[11:56] <limi> ? |
|
[11:56] <limi> I thought it was done? Lu asked me to complete the changes |
|
[11:57] <carlos> I told Lu that is not ready yet, that I will finish it this week |
|
[11:57] <limi> aha |
|
[11:57] <limi> ok |
|
=== limi goes back to malone |
|
[11:57] <carlos> limi: I have code but I need to do the Effors and Product/project modifications |
|
[11:58] <limi> ok |
|
[11:58] <carlos> and then, the templates changes |
|
[01:21] <daf> I've just merged a change which removes canonical.arch.sqlbase and makes everything use canonical.database.sqlbase |
|
[01:31] <lalo> good call |
|
[01:40] <andrewv> does anyone know if lu is about today? |
|
[01:45] <limi> she's getting lunch right now |
|
[01:48] <limi> daf: where are you? :) |
|
[01:50] <daf> in hiding :) |
|
[01:50] <daf> oo, food |
|
[02:32] <daf> somebody forgot to update Malone's pages.zcml when they removed a template |
|
[02:37] <daf> which broke launchpad |
|
[02:38] <stub> daf: What file was removed? |
|
[02:38] <daf> mumblemumble-overview.pt |
|
[02:39] <daf> it was in a draft pages thing |
|
=== stub twiddles his thumbs, waiting for arch |
|
[03:03] <limi> daf: where are you hiding? :) |
|
[04:10] <carlos> stub: launchpad is still broken |
|
[04:11] <carlos> ConfigurationError: ('No such file', '/home/carlos/Work/dists/launchpad/lib/canonical/malone/templates/packages-overview.pt') |
|
[04:11] <carlos> make: *** [run] Error 1 |
|
[04:11] <stub> Yer - waiting on pqm |
|
[04:11] <stub> limi did it ;) |
|
[04:11] <limi> eek |
|
[04:11] <carlos> limi!!!! |
|
[04:11] <carlos> X-) |
|
[04:11] <limi> ;) |
|
[04:12] <limi> it was fixed a while back, but PQM has to merge it |
|
[04:16] <limi> it's merged |
|
[04:16] <carlos> ok |
|
[04:16] <carlos> thanks |
|
[04:34] <limi> carlos: does launchpad work for you now? |
|
=== andrewv [[email protected]] has joined #launchpad |
|
[04:35] <carlos> no |
|
[04:35] <carlos> ConfigurationError: ('No such file', '/home/carlos/Work/dists/launchpad/lib/canonical/malone/templates/packages-overview.pt') |
|
[04:36] <carlos> but I don't need it now, https://rosetta.warthogs.hbd.com is working |
|
[04:36] <carlos> and I only need to see a running system while I'm chaning the Rosetta's URLs |
|
[04:37] <carlos> /s/chaning/changing/ |
|
[04:43] <limi> carlos: I submitted a merge now, since stub's change didn't make it |
|
=== netjoined: irc.freenode.net -> kornbluth.freenode.net |
|
=== daf [[email protected]] has joined #launchpad |
|
[05:14] !dmwaters:*! Hi all! One of our main rotation servers seems to be having some local routing problems. This box was taken out of rotation this morning, and we're keeping an eye on it |
|
[06:35] <daf> stub: where did ILanguages go? |
|
=== stub shrugs |
|
[06:37] <stub> Where was it? |
|
[06:37] <daf> canonical.rosett.interfaces |
|
[06:37] <daf> canonical.rosetta.interfaces |
|
[06:37] <daf> okay, somebody else must have changed it then |
|
[06:37] <stub> I have it in my checkout |
|
[06:38] <daf> humph |
|
=== daf wonders how to find out what happened |
|
[07:03] <daf> bah |
|
[07:03] <daf> my fault |
|
=== andrewv [[email protected]] has left #launchpad [] |
|
=== Signon time : Wed Aug 25 12:43:39 2004 |
|
=== Signoff time : Thu Aug 26 23:11:27 2004 |
|
=== Total uptime : 1d 10h 27m 48s |
|
=== warthylog [[email protected]] has joined #launchpad |
|
=== carlos [[email protected]] has joined #launchpad |
|
=== stub [[email protected]] has joined #launchpad |
|
=== SteveA [[email protected]] has joined #launchpad |
|
=== limi [[email protected]] has joined #launchpad |
|
[12:08] <carlos> stub: Could I add sampledata-rosetta.sql to the schema/Makefile? |
|
[12:08] <carlos> stub: it's the same data we had in sampledata.sql but moved to its own file |
|
[12:08] <stub> carlos: Go for it |
|
[12:08] <carlos> thanks |
|
[01:25] <carlos> SteveA: I need some help with updating the traversal code |
|
=== andrewv [[email protected]] has joined #launchpad |
|
=== andrewv [[email protected]] has joined #launchpad |
|
[02:18] <SteveA> carlos: what do you need? |
|
=== limi [[email protected]] has joined #launchpad |
|
[03:09] <carlos> SteveA: I'm adding the $Project.name/$Product.name/ URL and I get this error: NotFound: Object: <RosettaProduct at 0x31c9d430>, name: youindex.html' |
|
[03:09] <carlos> grrrr I hate xchat... |
|
[03:09] <carlos> name: youindex.html' |
|
[03:10] <carlos> ok, just replace you with an u ' |
|
[03:11] <carlos> that's when I try to visit: http://localhost:8085/++skin++Debug/rosetta/projects/gnome/evolution/ |
|
[03:12] <carlos> gnome is $Project.name and evolution is $Product.name |
|
[03:16] <SteveA> uindex.html ? |
|
[03:17] <carlos> not, unicode string |
|
[03:17] <SteveA> that would suggest the defaultView for a product is index.html |
|
[03:17] <SteveA> yet there is no page "index.html" |
|
[03:17] <SteveA> to fix, look in configure.zcml |
|
[03:17] <carlos> ok |
|
[03:18] <SteveA> look for the defaultView directives |
|
[03:18] <SteveA> add one for IRosettaProduct |
|
[03:18] <carlos> yes, seems like that was the problem I didn't touched that file |
|
[03:18] <carlos> SteveA: should I change anything from publication.py? |
|
[03:19] <carlos> I was playing with it but there is a comment about moving that code to the .zcml files |
|
[03:21] <SteveA> you shouldn't need to change anything except adding a defaultView directive |
|
[03:22] <carlos> and update the pages.zcml file |
|
[03:22] <carlos> It works now |
|
[03:23] <carlos> thanks |
|
[03:24] <carlos> SteveA: what's the utility for the publication.py file? |
|
[03:26] <SteveA> I don't understand what you're asking |
|
[03:27] <carlos> there is a file inside rosetta |
|
=== lalo [[email protected]] has joined #launchpad |
|
[03:27] <carlos> called publication.py |
|
[03:27] <lalo> hey |
|
[03:28] <SteveA> I know |
|
[03:28] <SteveA> what about the file publication.py ? |
|
[03:28] <carlos> I just want to know if has any utility, because when I was looking for a way to modify the traversal code I though that was the file I should update |
|
[03:28] <carlos> lalo: hi |
|
[03:28] <SteveA> you mean, if it is used for anything? |
|
[03:28] <carlos> right |
|
[03:28] <SteveA> I'm getting confused by your use of the word "utility" |
|
[03:29] <carlos> if it's useful |
|
[03:29] <carlos> because I removed it and launchpad/rosetta still works |
|
[03:29] <SteveA> oic |
|
[03:29] <SteveA> you think it is a decoy |
|
[03:30] <carlos> decoy? |
|
[03:30] <SteveA> code that is checked in, but is unused, or obselete |
|
[03:30] <carlos> yes, that's what I think :-) |
|
[03:30] <carlos> well, In fact that's what I'm asking |
|
[03:31] <SteveA> looks to me like a decoy |
|
[03:31] <SteveA> if so, please remove it! ;-) |
|
[03:31] <carlos> ok |
|
[03:31] <SteveA> thanks for spotting a decoy |
|
=== andrewv [[email protected]] has joined #launchpad |
|
[03:46] <carlos> SteveA: sorry O:-) |
|
[03:46] <daf> SteveA: "pop stand"?? |
|
[03:46] <SteveA> it was an expression that mako and lu were using |
|
[03:47] <daf> carlos: it appears that none of the sample message sets has a non-NULL commenttext |
|
[03:48] <carlos> daf: Did you talked with Steve about the rosetta login/sessions? |
|
[03:48] <carlos> daf: we have non-NULL commenttext |
|
[03:48] <daf> launchpad_test=# SELECT * FROM POMsgSet WHERE commenttext IS NOT NULL; |
|
[03:48] <daf> id | primemsgid | sequence | potemplate | pofile | iscomplete | obsolete | fuzzy | commenttext | filereferences | sourcecomment | flagscomment |
|
[03:48] <daf> ----+------------+----------+------------+--------+------------+----------+-------+-------------+----------------+---------------+-------------- |
|
[03:48] <daf> (0 rows) |
|
[03:48] <carlos> hmm |
|
[03:48] <daf> :) |
|
[03:49] <carlos> sorry, I was confused with sourcecomment :-P |
|
[03:49] <daf> oh |
|
[03:49] <daf> I think I was too :) |
|
[03:50] <daf> launchpad_test=# SELECT * FROM POMsgSet WHERE commenttext IS NOT NULL; |
|
[03:50] <daf> id | primemsgid | sequence | potemplate | pofile | iscomplete | obsolete | fuzzy | commenttext | filereferences | sourcecomment | flagscomment |
|
[03:50] <carlos> X-) |
|
[03:50] <daf> ----+------------+----------+------------+--------+------------+----------+-------+-------------+----------------+---------------+-------------- |
|
[03:50] <daf> (0 rows) |
|
[03:50] <daf> sorry |
|
[03:50] <daf> bah |
|
[03:51] <carlos> is it enough with one? |
|
[03:51] <daf> should be, yes |
|
[03:52] <stub> So does anyone know where the malone sample data has gone? |
|
[03:52] <daf> limi: about? |
|
[03:52] <limi> out and about :) |
|
=== limi didn't steal the sample data O:) |
|
[03:53] <carlos> stub: I think it comes from the arch problems that celso had yesterday |
|
[03:53] <SteveA> daf: about: limi |
|
[03:53] <daf> stub: "Have you seen this sample data? Last seen in launchpad--devel--0--patch-78. Blue eyes, blond hair." |
|
=== SteveA wonders if that works in any major browsers... |
|
[03:53] <stub> :-P |
|
[03:53] <stub> tla blame sampledata.sql |
|
[03:54] <SteveA> rocketfuel only dates blondes |
|
[03:54] <SteveA> I read it in the channel topicc |
|
[03:54] <limi> but its girlfriend is out of town |
|
[03:54] <daf> limi: "<div class="visualClear"></div>" <-- is this still needed in the translation template? |
|
[03:54] <SteveA> how can you call launchpad "it" ? |
|
[03:54] <SteveA> it is clearly phallic |
|
[03:54] <SteveA> picture it... |
|
[03:54] <daf> no, the launchpad itself is flat :) |
|
[03:55] <daf> you just have an overactive imagination |
|
[03:55] <limi> daf: yes, that's a buggy browser workaround |
|
[03:55] <daf> ok |
|
[03:55] <SteveA> it is a platform whose only purpose is to support the soyuz-phallus-diety |
|
[03:55] <limi> might be unnecessary now that there are no floats, though |
|
[03:55] <daf> that's what I was thinking |
|
[03:55] <limi> remove it, and I will put it back if it creates problems ;) |
|
=== debonzi [[email protected]] has joined #launchpad |
|
[03:56] <daf> SteveA: all hail the package-management-father-thing! |
|
[03:56] <daf> limi: roger :) |
|
[03:56] <SteveA> package management and soyuz is about derivative distributions. |
|
[03:56] <SteveA> this is an embodiment of the earth-mother-goddess |
|
[03:56] <limi> daf: Bob's your uncle |
|
[03:56] <carlos> interesting, the script that sends the arch changelogs with every commit expands the $foo variables |
|
[03:57] <carlos> Summary: |
|
[03:57] <carlos> Implemented the .name/.name/ URL |
|
[03:57] <carlos> instead of $Project.name/$Product.name |
|
=== cprov [[email protected]] has joined #launchpad |
|
[03:57] <SteveA> carlos: please file a bug in bugzilla on that |
|
[03:58] <carlos> which one? |
|
[03:58] <daf> carlos: nope |
|
[03:58] <daf> I think it's a bash problem |
|
[03:58] <SteveA> oh, if it is a bash problem then don't :) |
|
[03:58] <daf> arch-submit-merge "blah blah $foo blah blah" pqm@foo |
|
[03:58] <carlos> hmmm |
|
[03:58] <SteveA> cprov: hi |
|
[03:58] <daf> expands to: |
|
[03:58] <cprov> SteveA: hi |
|
[03:58] <carlos> daf: make sense X-) |
|
[03:58] <daf> arch-submit-merge "blah blah blah blah" pqm@foo |
|
[03:58] <daf> carlos: :) |
|
[03:58] <daf> solution: use '' |
|
[03:59] <SteveA> is kiko available too? I'd like to have a brief chat about soyuz development |
|
=== cprov solving another MONSTER arch conflict |
|
[03:59] <SteveA> sometime over the next hour or two, perhaps? |
|
[03:59] <cprov> SteveA: yep, just some minutes |
|
[03:59] <carlos> cprov: It's not a problem for me anymore, we moved our data to our own file |
|
[04:00] <SteveA> cprov: ok, fine. Can we meet on #warthogs-meeting ? |
|
[04:00] <carlos> cprov: but that's not normal |
|
[04:00] <cprov> carlos: again, as it was before |
|
[04:00] <SteveA> cprov: let me know when it is convenient |
|
[04:00] <cprov> SteveA: of course ! when? now ? |
|
[04:00] <carlos> cprov: you can remove any rosetta data from sampledata.sql, we have it now at sampledata-rosetta.sql |
|
[04:01] <SteveA> cprov: shall we say 15 minutes? |
|
[04:01] <SteveA> if kiko is available then |
|
[04:01] <cprov> carlos: nice but it doesn't solve all the problems .. |
|
[04:01] <cprov> SteveA: perfect :) |
|
[04:01] <SteveA> great, thanks. |
|
[04:01] <carlos> cprov: did you tried to get a fresh checkout and continue your work there? |
|
[04:01] <carlos> I mean, after solve the conflict |
|
[04:01] <carlos> and save all your data |
|
[04:02] <carlos> perhaps you have anything wrong with your current tree |
|
[04:02] <cprov> carlos: no yet, we are inspecting our archive with jblack and lifeless to figure out exactly what is happen |
|
[04:03] <cprov> carlos: you are right, we just need to figure out what is wrong to avoid it in the future |
|
=== kiko [[email protected]] has joined #launchpad |
|
[04:04] <daf> yo kiko! |
|
[04:05] <kiko> it's daf! |
|
[04:05] <kiko> how's england? |
|
[04:06] <daf> wet |
|
[04:06] <daf> but soon, I will go back to Wales |
|
[04:06] <kiko> and how will wales be? |
|
[04:06] <daf> probably wet, too |
|
=== ..[topic/#launchpad:kiko] : <kiko> how's england? <daf> wet <daf> but soon, I will go back to Wales <kiko> and how will wales be? <daf> probably wet, too |
|
[04:07] <kiko> so we now have a topic |
|
[04:07] <kiko> stub! |
|
[04:07] <kiko> hadn't seen stuart |
|
[04:08] <stub> Yo |
|
[04:08] <kiko> how's the good life |
|
[04:08] <kiko> SteveA, are we on? |
|
[04:10] <SteveA> kiko: I need 5 mins. #warthogs-meeting in 5 ? |
|
=== SteveA waits for daf to finish using the smallest room... |
|
[04:10] <carlos> daf: you have your sample data in rocketfuel waiting for you :-P |
|
[04:10] <kiko> k |
|
[04:12] <daf> carlos: prompt, high-quality sample data service as susual :) |
|
[04:13] <kiko> limi's a riot :) |
|
[04:14] <limi> kiko: travelling on the mayonnaise? |
|
[04:14] <kiko> heh |
|
[04:14] <stub> I might have to put back the sampledata from a few days ago - there is way too much missing |
|
[04:15] <daf> limi: huh?! |
|
[04:15] <limi> daf: Brazilian expression |
|
[04:15] <lalo> daf: that's a Brazilian expression limi probably picked up in Oxford :-) |
|
=== limi has included it in his i18n proverb library along with "please do the needful" |
|
[04:16] <daf> lalo: use this channel |
|
[04:16] <daf> lalo: um |
|
[04:16] <lalo> we're killing #rosetta? |
|
[04:17] <daf> it's not dead, it's just resting |
|
[04:17] <limi> except for specific meetings |
|
[04:17] <daf> we'll reanimate if for meeting |
|
[04:18] <lalo> it's not resting! it's an ex-channel! |
|
[04:18] <stub> carlos: Have you seen the malone sample data? There are a heap of products that have disappeared and the bugassignments don't get inserted because the bugs have disappeared |
|
[04:18] <daf> bereft of dialogue, it rests in peace |
|
[04:18] <lalo> I'm asking because if it's dead I'll kick it out of my autojoin :-) |
|
[04:21] <kiko> or /settab it to "r" |
|
[04:23] <lalo> daf: if you don't, I'll try to get newPOTemplate to work properly, then switch the script & ftest to use it |
|
[04:23] <SteveA> let's have specific meetings on #warthogs-meeting |
|
[04:23] <daf> lalo: as opposed to? |
|
[04:23] <SteveA> if that gets too full of warthogs people, we'll have a #launchpad-meeting |
|
[04:23] <SteveA> but, let's retire #rosetta and #malone |
|
[04:24] <daf> lalo: I mean, what's the status quo? |
|
[04:24] <lalo> daf: they instantiate the classes directly, which, at least for the script, is Evil. |
|
[04:24] <daf> lalo: sounds like a good plan |
|
[04:24] <lalo> (for the ftest it's probably ok, but if we do have the method, I'd rather have it ftested) |
|
[04:25] <lalo> daf: it does, but it's nothing of paramount priority :-) so if you have something better I'm open to possibilities |
|
[04:26] <daf> well, we need to concentrate on beta-critical things |
|
[04:27] <daf> we were talking earlier about how ready we are to import Real Live Projects <tm> |
|
[04:27] <carlos> stub: let me a second and I will give you a link to download last revision before the break |
|
=== lalo re-reads over the list of beta-critical things we made yesterday |
|
[04:28] <stub> carlos: I think I have found that - just that if I put it back in, then the new rosetta stuff breaks and I don't have time to deal with trawling through it. |
|
[04:29] <carlos> stub: just kill all rosetta code |
|
[04:29] <carlos> stub: our data is now at sampledata-rosetta.sql |
|
[04:29] <stub> carlos: I was just about to commit a change that splits the rosetta and other sample data into two seperate targets in the makefile |
|
[04:29] <carlos> stub: that's already done, I did it this morning |
|
[04:30] <carlos> hmm |
|
[04:30] <carlos> sorry, the target is not done |
|
[04:30] <lalo> hmm. gaim logs chats but doesn't give me an option in the UI to view them :-P |
|
[04:30] <stub> carlos: I'm doing it now |
|
[04:30] <carlos> if you remove the old rosetta data from the sampledata.sql file is enough |
|
[04:31] <stub> But sampledata-rosetta.sql depends on sampledata.sql being run first, and this is what is broken (from the Malone perspective, anyway). |
|
[04:32] <carlos> stub: no it does not depend on any sampledata.sql record |
|
[04:32] <stub> oic |
|
[04:32] <carlos> it just depends on default.sql |
|
[04:32] <stub> ahh |
|
[04:36] <daf> limi: there are some changes which need to be made to the translation template |
|
[04:36] <daf> limi: they are changes which I think need your m4d sk1llz |
|
[04:36] <limi> monday ;) |
|
[04:37] <daf> sure, they aren't urgent |
|
[04:37] <limi> ok |
|
[04:37] <limi> just send in mail |
|
[04:37] <daf> Monday is a holiday in the UK, by the way |
|
[04:37] <limi> aha |
|
[04:39] <daf> carlos: |
|
[04:39] <daf> lalo: |
|
[04:39] <carlos> daf: |
|
[04:39] <daf> I will probably be online on Monday, but not working |
|
[04:40] <carlos> ok |
|
[04:40] <daf> actually, I will probably be inebriated, so I might not be much use even if you can get hold of me |
|
=== lalo finished reading the log from yesterday and still doesn't know what to do :-) |
|
[04:41] <carlos> daf: X-) |
|
[04:41] <carlos> daf: a party? |
|
[04:41] <daf> yes |
|
[04:41] <daf> a birthday party |
|
[04:41] <daf> Debian's 11th, to be precise |
|
[04:41] <carlos> all day?, you really know how to have fun |
|
[04:42] <daf> all weekend, in fact |
|
[04:42] <lalo> I could do what I said, or improve the import ftests - but neither of these sound like beta-priority to me |
|
[04:42] <daf> a three-day barbecue |
|
[04:43] <carlos> daf: will we have the same with Rosetta? X-) |
|
[04:43] <daf> carlos: good idea1 |
|
[04:43] <daf> ! |
|
[04:44] <carlos> lalo: well, there is the import process, a way to import easily a new project/product/template without the need of doing it by hand, if you are bored... |
|
[04:44] <carlos> or import real data by hand :-) |
|
[04:45] <carlos> daf: hmm, we should talk about the login/session part of rosetta because we need it for the betatesting process and we only have 2.5 days to implemente it |
|
[04:46] <daf> carlos: SteveA is working on that today |
|
[04:46] <carlos> and you will be missing one of those days |
|
[04:46] <carlos> perfect |
|
[04:46] <daf> what are our requirements for login? |
|
[04:46] <daf> do we have a place to store preferred languages in the database? |
|
[04:47] <daf> also, do we have an interface for changing those? |
|
[04:47] <lalo> carlos: there is no concrete difference between importing "by hand" or the command line script, the work involved is the same |
|
[04:47] <daf> SteveA: does your work include a registration interface? |
|
[04:47] <lalo> so coding that would be a time sink |
|
[04:47] <daf> lalo: there is a difference, I think |
|
[04:48] <daf> lalo: it's better to have a script because then you have the information about how to do something in a shared place |
|
[04:48] <carlos> lalo: if we have a script to create projects/products it's easier than use sql sentences directly |
|
[04:48] <daf> more time to write it, less time to run it |
|
[04:49] <lalo> no |
|
[04:49] <lalo> :-P |
|
[04:49] <lalo> it would actually be the same time to run it |
|
[04:50] <lalo> what would be more useful is - |
|
[04:50] <lalo> where are we getting this information *from*? |
|
=== stub [[email protected]] has joined #launchpad |
|
[04:51] <carlos> daf: hmm If we create a team for every language, we don't need any change in the database to store the languages interest of a Person |
|
[04:51] <daf> lalo: less time typing it :) |
|
[04:51] <lalo> if we're going to create our products from germinate, then something that interacts with that would be useful - although I have no idea how to associate those with projects :-) |
|
[04:51] <carlos> daf: but I'm not completely sure it's the right way to do it |
|
[04:51] <daf> carlos: huh? teams? |
|
[04:51] <lalo> daf: not really |
|
[04:52] <SteveA> daf: my work does not include registration of people |
|
[04:52] <SteveA> we will deal with that "by hand" at first |
|
[04:52] <carlos> daf: the 'es' team, the 'cy' team, etc... |
|
[04:52] <daf> lalo: ./scripts/foo.{py,sh} vs. psql launchpad_test\nINSERT INTO Foo VALUES ... |
|
[04:52] <daf> carlos: where do we have teams? |
|
[04:52] <carlos> daf: the Person Table |
|
[04:53] <carlos> is also for teams |
|
[04:53] <daf> ohhh |
|
[04:53] <daf> but we don't have any code for dealing with teams |
|
[04:53] <carlos> then, we use the Membership table to store the relations btw teams and people |
|
[04:53] <daf> even if the database schema will theoretically support such code |
|
[04:53] <daf> I don't want to get bogged down in teams |
|
[04:54] <daf> let's focus on allowing individuals to register themselves and set language preferences |
|
[04:54] <carlos> daf: we could use then Labels |
|
[04:54] <daf> carlos: that sounds promising |
|
=== carlos is talking about a way to store that information reusing the current schema |
|
[04:55] <daf> carlos: how hard would it be to set up some sample data that sets language preference labels on a person? |
|
[04:55] <lalo> daf: I was thinking more in terms of, either a sql script file, or a python script that creates sqlo instances |
|
[04:55] <daf> SteveA: does your work include a login interface to Launchpad? |
|
[04:55] <carlos> daf: I think that not more than 30 minutes |
|
[04:55] <lalo> *that* would be less work than invoking a command line script like 300 times |
|
[04:56] <daf> carlos: do you think it would be useful? |
|
[04:56] <daf> we will also need to change sql.py to use that data |
|
[04:56] <carlos> daf: what? |
|
[04:56] <carlos> daf: the sampledata? |
|
[04:56] <daf> yes |
|
[04:56] <carlos> sure, without sample data we cannot test our code |
|
[04:56] <daf> then it's a task :) |
|
[04:56] <daf> two tasks, in fact: |
|
[04:56] <carlos> yes |
|
[04:56] <daf> 1) add the sample language preference data |
|
[04:56] <daf> 2) make sql.py read that data |
|
[04:57] <carlos> 3) edit that data |
|
[04:57] <carlos> :-) |
|
[04:57] <daf> ah, yes |
|
[04:57] <carlos> you need to be able to create/update it from your preferences page (if we have one) |
|
[04:58] <daf> I'm a little fuzzy on how preference pages will work |
|
[04:59] <carlos> daf: As soon as Steve's work is done we will know what should we do and how (talking about 3) |
|
[04:59] <daf> carlos: right |
|
[05:00] <carlos> daf: I need to know the priority of those tasks |
|
[05:01] <carlos> I'm starting now with a new task |
|
[05:01] <carlos> so should I give more priority to this new tasks or follow today's planning? |
|
[05:03] <daf> carlos: by the way, there's a T in "effort" |
|
[05:04] <daf> since this is waiting on work from Steve, I think you can carry on with today's plan |
|
[05:04] <carlos> daf: ok I will change it :-P |
|
[05:04] <carlos> ok |
|
=== kiko [[email protected]] has left #launchpad [] |
|
=== lalo chats by jabber with someone less than 1m away from him |
|
[05:25] <limi> lalo: encrypted? ;) |
|
[05:25] <daf> lalo: more like 50cm, I think :) |
|
[05:30] <daf> SteveA: you didn't answer my question earlier |
|
[05:33] <SteveA> daf: my work includes people in the database being able to log in |
|
[05:34] <SteveA> using basic auth at first |
|
[05:34] <daf> SteveA: excellent |
|
[05:35] <daf> can create people by hand in the interim |
|
[05:35] <SteveA> yes |
|
[05:35] <daf> we should probably have a script for that, too |
|
[05:35] <daf> birth.sql |
|
[05:36] <carlos> daf: :-) |
|
[05:36] <carlos> birth.py --mother-languages es,cy,pt_BR |
|
[05:36] <carlos> X-) |
|
[05:36] <daf> :D |
|
[05:37] <carlos> daf: to recreate the rosetta DB, you should use now make rosetta inside database/schema |
|
[05:37] <carlos> could you tell it to lalo? |
|
[05:38] <daf> carlos: is it possible to have both malone and Rosetta data in the database at the same time? |
|
[05:38] <carlos> daf: yes, but stuart moved Rosetta data into its own rule |
|
[05:39] <carlos> If you need it |
|
[05:39] <carlos> I could add the other .sql file in our rule |
|
[05:40] <carlos> added |
|
[05:40] <daf> ok |
|
[05:41] <daf> on rosetta.w.h.c, we'll want to have all the sample data for Rosetta, Malone and Soyuz loaded |
|
[05:41] <stub> If someone wants to make everyones data play together happily again, I'd be happy :-) |
|
[05:41] <daf> that would be nice |
|
[05:42] <daf> even if we have the data in separate files, it would be nice to be able to load them all |
|
[05:42] <carlos> stub: I already told you that Rosetta data works on its own, we don't depend/conflict with yours |
|
[05:44] <stub> carlos: I get mostly duplicate key violations if I try to load the rosetta sample data if I have already populated my database with the current sampledata.sql (which is what I recovered from a previous release since a load of stuff was missing) |
|
[05:44] <carlos> stub: as I said, the sampledata.sql should not have any rosetta record |
|
[05:45] <carlos> I moved it to its own file because I'm tired to fix it every time soyuz's people commits anything (hope they fix their arch problems soon) |
|
[05:47] <stub> Yes, but the current sampledata.sql is polluted again because I had to recover it from before you did your work. eg. sampledata.sql defines the gnome project, as does sample-rosetta.sql. |
|
[05:48] <carlos> stub: I'm fixing it now |
|
[05:48] <stub> If you have a look at sampledata-stuffed.sql, it is missing stuff like the sample bug and the products it depends on. |
|
[05:48] <carlos> so I will remove the rosetta own rule, is that ok for you? |
|
[05:49] <stub> Yes - I'd prefer that. |
|
[05:49] <carlos> stub: I know that sampledata-stuffed.sql is fucked, I had the same problem with rosetta data |
|
[05:49] <carlos> ok |
|
[05:50] <stub> I'd like a sampledata-malone as well, but that won't exist until I get back (I'm off for three weeks dealing with other commitments) |
|
[05:52] <carlos> your desires are orders for me :-P |
|
[05:53] <carlos> stub: my commit has a sampledata-malone.sql with malone's block |
|
=== lulu [[email protected]] has joined #launchpad |
|
=== stub enjoys his new gimp |
|
[06:03] <carlos> daf: ok, forgot the new rule, we are using again the make launchpad_test |
|
[06:04] <carlos> stub: I just asked a merge with the malone block moved into its own file |
|
[06:04] <daf> stub: "new"? 2.0? |
|
=== stub gives carlos a big sloppy kiss |
|
[06:05] <daf> :D |
|
[06:05] <daf> and everyone is happy |
|
=== spiv [[email protected]] has joined #launchpad |
|
[06:06] <carlos> eerrr... |
|
=== carlos hides |
|
[06:06] <daf> spiv: yo! |
|
[06:07] <daf> spiv: I hear Boston is nice |
|
[06:13] <lulu> hi all :o) |
|
[06:14] <lulu> daf: please could u update the Rosetta task board. Thanks :o) |
|
[06:16] <cprov> spiv: |
|
[06:17] <spiv> daf: Yeah, it's good so far :) |
|
[06:17] <spiv> daf: I've been mainly sleeping though ;) |
|
[06:17] <daf> lulu: sure |
|
[06:17] <cprov> spiv: now you can merge my changes in rocketfuel ... please |
|
[06:17] <daf> spiv: heh :) |
|
[06:18] <spiv> cprov: Ok, I'll take a look. |
|
[06:18] <lulu> daf: thanks! |
|
[06:18] <cprov> spiv: thank you |
|
=== cprov [[email protected]] has left #launchpad ["Leaving"] |
|
=== debonzi lunch |
|
=== debonzi [[email protected]] has left #launchpad ["Leaving"] |
|
=== carlos [[email protected]] has joined #launchpad |
|
=== andrewv [[email protected]] has joined #launchpad |
|
[08:22] <daf> carlos: do you think we want to get the translator dashboard working for the beta? |
|
[08:22] <carlos> hmm |
|
[08:23] <carlos> I don't think we will have enough time for that |
|
[08:23] <carlos> we could do it for Phase1 |
|
[08:23] <daf> I think we might be able to do "my current projects" |
|
[08:23] <carlos> but I doubt we will have it working for this wednesday |
|
[08:23] <daf> it's a pain to have to use the search form all the time |
|
[08:24] <carlos> daf: schemas/Labels |
|
[08:24] <daf> I don't think we need to have labels for it |
|
[08:24] <carlos> Perhaps we could decide it after the implementation of the prefered languages |
|
[08:24] <daf> we just make a list of all the translations the person has done, sort them by date, and make them unique by project |
|
[08:24] <carlos> hmmm |
|
[08:25] <daf> perhaps "my current templates" would be more useful |
|
[08:25] <carlos> that's not the same idea behind the current page, but it's fine for me |
|
[08:25] <carlos> yes, that's better |
|
[08:25] <carlos> and it's doable for the beta phase |
|
[08:25] <daf> I'm thinking 1 query, 1 extra method in the interface, and some quick template work |
|
[08:25] <daf> it's more like "my recent templates" |
|
[08:25] <carlos> yes |
|
[08:26] <daf> I think we don't have to worry about recommended projects |
|
[08:26] <daf> later on, I think we will use labels for todo projects/templates |
|
[08:27] <daf> i.e. person <-- todo --> template |
|
[08:27] <daf> if that notation makes sense :) |
|
[08:27] <daf> (person <-- prefers --> language) |
|
[08:28] <carlos> todo? |
|
[08:28] <carlos> I don't get its meaning there |
|
[08:29] <daf> a person has marked a project/template as "todo" -- i.e. they want to translate it |
|
[08:30] <carlos> ok |
|
[08:30] <daf> does it make sense? |
|
[08:30] <carlos> yes |
|
[08:30] <daf> good :) |
|
[08:30] <carlos> :-) |
|
=== limi [[email protected]] has joined #launchpad |
|
=== stub [[email protected]] has joined #launchpad |
|
=== andrewv [[email protected]] has joined #launchpad |
|
[10:05] <daf> carlos: I've just finished reviewing poexport.txt |
|
[10:05] <carlos> daf: do you miss anything? |
|
[10:06] <daf> it looks good |
|
[10:06] <daf> I think we should add information about which interfaces we're using, though |
|
[10:07] <daf> I've reformatted it as ReStructuredText, simplified the layout and made some other changes |
|
[10:07] <carlos> add Objects instead of SQL sentences? |
|
[10:07] <daf> s/instead of/as well as/ |
|
[10:07] <daf> :) |
|
[10:08] <carlos> ok |
|
[10:08] <carlos> :-P |
|
[10:09] <daf> I think it would be useful |
|
[10:09] <daf> because it's a document about the implementation rather than just a specification |
|
[10:09] <carlos> true |
|
[10:09] <daf> I spent quite a bit of time today working on tests for browser.py |
|
[10:10] <daf> (I haven't merged them yet) |
|
[10:10] <daf> we should have good test coverage for browser.py |
|
[10:11] <carlos> interesting, I didn't though about unittest for it |
|
[10:11] <daf> I didn't either :) |
|
=== carlos is really new to the unittest world |
|
[10:11] <daf> but Steve asked me about it |
|
[10:11] <daf> so we sat down together and he helped me write some tests |
|
[10:12] <daf> I thought it would be difficult to write tests for it, but it's not so hard |
|
[10:12] <daf> you have to write quite a few dummy classes, though |
|
[10:12] <carlos> good to know it :-D |
|
[10:12] <daf> yeah :) |
|
[10:12] <carlos> daf: When will you and lalo come back to your home? |
|
[10:13] <daf> lalo is going back on Sunday |
|
[10:13] <daf> and he will be travelling for some of Monday |
|
[10:13] <carlos> then I will be alone on Monday? |
|
[10:13] <daf> seems so :) |
|
[10:14] <carlos> wow |
|
[10:14] <daf> that is a bit weird |
|
[10:14] <carlos> a meeting with myself |
|
[10:14] <carlos> :-D |
|
[10:14] <daf> :) |
|
[10:14] <daf> I need to fix the code for displaying translations on the translation template |
|
[10:15] <daf> so that selects by active rather than sequence |
|
[10:15] <daf> do you select the message set with the most recent active translation sighting? |
|
[10:15] <carlos> when? |
|
[10:16] <daf> sorry |
|
[10:16] <daf> if you have a template message set |
|
[10:16] <daf> and you want to find the corresponding translation message set for some language |
|
[10:17] <carlos> hmmm |
|
[10:17] <daf> (if it exists) |
|
[10:17] <carlos> the msgset is alwasy the same |
|
[10:18] <daf> as you said, it's a similar problem to exporting |
|
[10:18] <daf> it's always the same? |
|
[10:18] <carlos> you get the POTranslationSighting with lasttouched=TRUE (I think I forgot to specify it in the document) |
|
[10:18] <daf> because the primemsgid is unique or something? |
|
[10:19] <carlos> daf: you cannot have two MsgSet for the same msgid and same potemplate or pofile |
|
[10:19] <daf> oh, that's good |
|
[10:19] <daf> sorry, I'm tired |
|
[10:19] <carlos> UNIQUE ( potemplate, pofile, primemsgid ) |
|
[10:19] <daf> does that work even if pofile IS NULL |
|
[10:19] <carlos> it's the same like gettext |
|
[10:20] <carlos> daf: it should |
|
[10:20] <carlos> NULL is a value |
|
[10:20] <daf> okay, so finding the msgset is easy |
|
[10:20] <carlos> yes, the problem is get the latest translation |
|
[10:20] <daf> well, NULL is a weird value :) |
|
[10:20] <carlos> I think I forgot to describe it |
|
[10:20] <carlos> daf: but it's a value :-P |
|
[10:21] <daf> isn't is TRUE OR NULL = TRUE but TRUE AND NULL = NULL? |
|
[10:21] <daf> well, I'll merge my changes and you can update the document |
|
[10:21] <carlos> daf: excuse me? |
|
[10:21] <daf> boolean logic goes weird when you have NULLs involves |
|
[10:21] <daf> involved |
|
[10:22] <carlos> daf: but we don't use boolean logic there :-) |
|
[10:22] <carlos> so It's not a problem |
|
[10:22] <carlos> I don't know the boolean logic with tristate values |
|
[10:22] <carlos> :-D |
|
=== limi is now known as limi|phc |
|
[10:23] <daf> well, the point is that NULL is strange :) |
|
[10:23] <carlos> daf: sure :-) |
|
[10:23] <daf> okay, submitting a merge |
|
[10:28] <carlos> What means this: |
|
[10:28] <carlos> M database/sampledata-stuffed.sql |
|
[10:28] <carlos> -- lib/canonical/rosetta/Makefile |
|
[10:29] <carlos> the -- ? |
|
[10:29] <daf> permissions change, I think |
|
[10:29] <daf> somebody made it 600 |
|
[10:29] <carlos> that's good or bad? |
|
[10:29] <daf> silly |
|
[10:30] <carlos> :-P |
|
[10:30] <daf> or maybe "ugly" |
|
[10:30] <daf> I'll fix it |
|
[10:30] <carlos> at least this time the sampledata was not touched :-P |
|
[10:30] <carlos> dinner time, see you later |
|
[10:31] <daf> later! |
|
|