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

=== hub [n=hub@toronto-hs-216-138-231-194.s-ip.magma.ca] has joined #launchpad
hubhi12:47
hubhow long does it take to have a new package in universe to be valid on launchpad12:48
hubI'm trying to import an upstream source and launchpad complain about the invalid source package :-(12:48
=== stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad
=== interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad
zygisjust out of curiosity, hub, what are you trying to import?01:30
hubzygis: enblend. but it works now01:31
hub:-)01:31
=== zygis pokes into enblend website
zygiscool01:34
hubthe package has been upload today from REVU01:38
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
=== spiv_ [n=andrew@adsl-66-203.swiftdsl.com.au] has joined #launchpad
=== volatile [n=RWGraphi@69.37.125.250] has joined #launchpad
=== freeflying [n=rockie@61.190.65.16] has joined #launchpad
=== robitaille [n=robitail@d154-5-117-228.bchsia.telus.net] has joined #launchpad
=== hub [n=hub@toronto-hs-216-138-231-194.s-ip.magma.ca] has left #launchpad ["Leaving"]
=== mdz [n=mdz@ca-studio-bsr1o-251.vnnyca.adelphia.net] has joined #launchpad
=== mdz_ [n=mdz@ca-studio-bsr1o-251.vnnyca.adelphia.net] has joined #launchpad
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
=== _Rappy_ [n=hunt-pre@dsl-253-122.monet.no] has joined #launchpad
=== einheit is now known as SteveA_
SteveA_jamesh: hello.08:35
jameshhi SteveA08:36
=== ALEXXfender [n=alex@164.100.149.51] has joined #launchpad
=== freeflying [n=rockie@61.190.65.16] has joined #launchpad
=== SteveA_ realises he was /msging jamesh without being identified with nickserv
SteveA_i do with nickserv would msg you in this circumstance08:48
SteveA_and tell you08:48
SteveA_i've asked the freenode admins about this, but they seemed to be strangely uninterested in actually listening to the idea08:48
=== SteveA_ thinks freenode should have a launchpad project, and receive bugs and specs ;-)
jameshyou should be able to message me now08:50
SteveA_i just registered ;-)08:51
jameshI just turned the "unfiltered" option on08:51
SteveA_i did that, and got 3-4 msg spams a day08:51
SteveA_i considered turning it back off, but haven't yet08:51
jameshI don't think I've received spam messages on freenode before08:53
=== carlos_ [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad
SteveA_good morning carlos09:02
carlos_morning09:02
=== ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad
SteveA_hi david09:05
sabdflmorning all09:12
ajmitchhi sabdfl 09:13
SteveA_morning09:15
=== SteveA_ --> lithuanian lesson
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
jameshsabdfl: the "edit hackergotchi" form you added has its permissions set to launchpad.Admin.  Should that be launchpad.Edit instead?09:21
sivangMorning all09:23
stubyo09:25
stubjamesh: yes. People need to be able to create and edit their own hackergotchi (there was an email on this which I can't locate)09:29
stubjamesh: Did the GPG web-o-trust stuff land, and if so what should I run on staging?09:29
jameshstub: there are two scripts -- the first of which needs access to the gpg strongly connected set and list of trusted keys09:32
jameshthe second is responsible for updating the database, and uses the output of the first script09:33
jameshstub: lifeless would know what data to use for the first one09:33
stubok. so the first script needs to only be run once anywhere and we can use the output on staging, and if we are happy with the result, production09:34
jameshyeah09:34
stublifeless: Can you please mirror rocketfuel@canonical.com/launchpad--production--1.36 ?09:36
\shguys, thx for making malone usable :) reply to a bug report, and the comment is added to the bugreport...wonderful :)  09:55
=== ddaa smells sarcasm
\shno...09:57
ddaathat's okay, that was a nice sort of sarcasm :)09:58
\shit's RT like...and is my favorite type of working with bug reports or ticket stuff09:58
\shno sarcasm...I'll really like malone now :) ok...some search stuff needs to be sorted out :) but right now..great tool for replacing bugzilla09:59
ddaawhen bradb will say "thanks for replacing baz by something that does take 20 minutes, 2GB of disk space and a few hundred megs of RAM to do a merge", I'll be happy09:59
ddaa* that does not tak09:59
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #launchpad
sabdfljamesh: yes, launchpad.Edit. it's that way in my tree!10:04
lifelessstub: done.10:17
=== freeflying [n=rockie@61.190.65.16] has joined #launchpad
ddaalifeless: if would be sweet if you could make up a quick page about how to get the latest rocketfuel/bzr demo, how to keep it up to date, and how to import one's own branches for use with it.10:36
lifelessddaa: I emailed the list, there is nothing to keep up to date, and making your own branches is done via 'baz branch'10:38
lifelessddaa: but if you have specific questions I'd be happy to document them10:38
ddaamaking your own branch != import one's own branches10:38
ddaawell... if it cannot be kept up to date, it's of no value for real work10:39
lifelessimporting your own branch until its no longer a demo would not be of much use.10:39
lifelessthe format is still changing10:39
lifelessand its not gpg signed yet.10:39
ddaaI can see a use. I'm going to dust-off and split the sprint work into manageable bits, that's probably going to involve a lot of switching and merging, and I'd be happy to avoid doing that with baz.10:40
lifelessjamesh: haha. AssertionError: <pendingreviews.Branch object at 0xb7847c8c> != <pendingreviews.Branch object at 0xb7847c8c>10:41
lifelessjamesh: you have not been running make check on the pendingreviews code !10:41
=== sivang re's
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Allowed Rosetta experts to reach the IPOTemplate's +admin page + test (patch-2609: carlos.perello@canonical.com)11:04
carlosstub, could we cherrypick that merge with next production update ?11:05
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
SteveAcarlos: hello11:40
=== SnakeBite [n=SnakeBit@84.242.143.64] has joined #launchpad
carlosSteveA, hi11:41
SteveAhow's stuff going?11:41
carlosphone...11:42
=== ddaa [n=ddaa@ordo.xlii.org] has joined #launchpad
carlosSteveA, sorry, I'm back11:44
SteveAno worries.11:45
carlosSteveA, I'm debugging the hoary's language pack problem that pitti raised on Friday11:45
SteveAwhat's new with language packs?11:45
SteveAcan you describe the problem, briefly?11:45
carlosSteveA, there are translations missing, that means that's either someone set the translation as 'needs review' or we didn't import latest .po file for Hoary into Rosetta11:46
SteveAit is just for a few packages? 11:47
carlosI need to get the tarball that pitti used to get the diff to see concrete errors and do some SQL queries to know the exact problem11:47
carlosSteveA, not sure, seems like it happens with some of them, but pitti didn't count them, just saw many removals and detected the problem, now is my turn to debug it more deeply11:47
SteveAdo you have all the database access you need for this?11:48
=== GoRoDeK [n=gorodek@p5083D72C.dip.t-dialin.net] has joined #launchpad
SteveAanything i can do to help?  maybe write a script to give you some analysis?11:48
carlosSteveA, yes, I have the database access needed using staging11:48
carlosabout the script.. I think I can reuse the one you gave us already some days ago11:49
carlosSteveA, thanks11:49
SteveAok11:49
SteveAlet me know if you need anything to work on this11:49
carlosSteveA, will do, thank you11:50
sabdflKinnison: looks like there's no alternative but classes for all the permutations11:55
sabdflDistributionSourcePackage11:55
sabdflDistributionSourcePackageRelease11:55
sabdflDistroReleaseSourcePackageRelease11:56
sabdfl => SourcePackage is basically DistroReleaseSourcePackage11:56
SteveAdo these things have significantly different behaviour?11:56
sabdflyes11:56
SteveAor is it just you want to use different URLs and views for them?11:56
SteveAso, talking about 'internal' vs 'external' behaviour11:57
sabdfli tried doing it all in a fancy sourcepackage11:57
sabdflbut it just kept breaking itself11:57
SteveAbig heap of mess?11:57
sabdflyes11:57
sabdflso i'm just grinding it out the long way now11:57
SteveAright11:57
Kinnisonsabdfl: Right. We can always have something that helps you select the right type for your query, be it a text file explaining, or a magic class that does the right thing11:57
SteveAwe can take a look at how it ends up at ubz...  see if there's anything that can be done.11:57
Kinnisonsabdfl: Can they all implement a shared interface, or is it a bit too different?11:58
SteveAare we going to be having this issue again with other things, do you think?11:58
SteveAor it is a one-off for packages?11:58
sabdflKinnison: the interfaces are different11:58
Kinnisonthe problem is the loose and social coupling people attribute to packages11:58
Kinnisonsabdfl: right11:58
sabdfli'll implement them separately, then look for commonality11:58
Kinnisonstevea: I.E. When you talk about "firefox" what do you mean11:58
sabdfltrying to design up front was just baking my noodle11:58
Kinnisonsabdfl: righty11:59
sabdflKinnison: exactly. and wehavent even really started figuring out binary packages11:59
SteveAKinnison: sure, i understand.  i'm wondering if we'll get a similar cartesian product of types down the line with malone, for example11:59
sabdfli don't think so12:00
sabdflmost systems link to one or other of these permutations12:00
sabdflmalone links to two12:00
sabdfldsp and drsp12:00
=== Kinnison thinks we're gonna see an explosion of types to begin with, and then in a while we'll find the way to bring it all back together again
Kinnisonbut as sabdfl says, these are helpers for other systems, not just for soyuz12:01
sabdflthe two use cases are:12:01
sabdfl - web pages that show the users wtf is published in which distro12:01
sabdfl - classes that the other apps can use behind the scenes12:01
sabdfli think hct had to create a distro-sourcepackagerelease object, for example, because one did not exist12:01
SteveAso... just accurately modeling distros12:04
sabdflyes12:04
=== RWG [n=RWGraphi@69.37.111.167] has joined #launchpad
jameshfabbione: as far as the data protection goes, if the next version of Bugzilla required data migration due to big schema changes, would you need all users' permission to perform the migration?12:25
jameshfabbione: in this case, we are just migrating data from one bug tracker to another12:26
jameshbah. wrong window12:26
fabbioneyou migrate the data, not the accounts :)12:26
jameshthe accounts are data12:26
RWGbrb Playing with Terragen12:27
fabbionefor you developers are data, yes12:27
jameshfabbione: in the bugzilla -> bugzilla case, you'd be migrating accounts too12:27
fabbionejamesh: as i said, be aware that users might not like it and consider it privacy violation.12:30
fabbioneif they don't complain, the better12:30
fabbionei think i had to warn about that risk, then you are free to expose to them your POV as developer12:30
fabbioneand might understand it as i do12:30
fabbione(given i know what you are doing and why)12:30
=== freeflying [n=rockie@61.190.65.16] has joined #launchpad
=== RWG [n=RWGraphi@69.37.111.167] has left #launchpad ["Connection]
sabdflcould we really have 40 new translators every day?12:46
=== jordi tries to find some context for what sabdfl says in his buffer
=== Kinnison werkraves
sabdfljordi: yesterday rosetta reported 6182 translators, today, 621512:53
sabdflso, 33 new translators12:53
jordisabdfl: do we have general webserver hit stats?12:54
jordisabdfl: could be people lurking, trying out, doing some random translation in some random open package and going away.12:54
jordibut 33 is a bit too much, yes12:54
sabdfljordi: yes, could be, but it's still interesting12:54
sabdflof course the numbers jump hugely each time we import new release12:55
sabdflbut that is not the case now12:55
jordiwe might want to watch that number for a few days, to see what the trend is, if there is one12:56
SteveAcarlos: i'm having a problem setting language prefs.  keep being asked to log in.  is it a known problem or shall i file a bug?12:56
=== henrym [n=henrym@219-89-147-70.jetstart.xtra.co.nz] has joined #launchpad
sabdfljordi: i'll ask stub to add that to his cricket stats12:57
carlosSteveA, I think it's a know bug, could you paste the URL you are using, please?01:00
SteveAnot logged in, go to https://launchpad.net/rosetta, click 'select languages' from 2nd box down on right01:00
SteveAah... worked01:00
SteveAlet me try to reproduce this01:01
carlosSteveA, hmm, thinking it twice... it's not a know bug, the one I saw was that the from rosetta/prefs you were redirected to rosettta/prefs/prefs01:01
=== volatile [i=RWGraphi@69.37.111.167] has joined #launchpad
SteveAi cannot reproduce this now :-(01:02
=== volatile [i=RWGraphi@69.37.111.167] has left #launchpad ["Connection]
dilysMerge to rocketfuel@canonical.com/dists--devel--0: [trivial]  Production 1.36 config (patch-119: stuart.bishop@canonical.com)01:27
=== stub [n=stub@203-214-4-72.dyn.iinet.net.au] has joined #launchpad
carlosSteveA, I just sent you an update about the language packs for Hoary01:30
SteveAthank you carlos 01:31
=== carlos -> lunch
carlossee you later01:31
SteveAcarlos: okay, doesn't look too bad01:33
carlosyeah, I was more scared, but now that I know what happens is easy to fix :-P01:34
carloslater01:34
stubSo should we, like, make the launchpad-users mailing list non-hidden?01:36
SteveAi'm still want to see what kiko says about just using the existing list01:38
stubcarlos: If I change rawimportstatus from 4 to 2, I also need to nuke the rawfile column to satisfy a constraint. That ok?01:39
=== gneuman [n=gneuman@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
Kinnisonmpt: any sign of celso?02:01
mptKinnison: no02:02
SteveAhi mpt 02:02
SteveAso, today i will implement breadcrumbs02:02
SteveAall the infrastructure to do them properly is in place, or will be in place today02:02
mptSo I need to update my examples in the spec?02:02
SteveAthat would be good02:02
=== niemeyer [n=niemeyer@200.103.136.241] has joined #launchpad
SteveAi know that not everything will have a breadcrumb02:02
SteveAand that a breadcrumb has some text and maybe a summary for the anchor title02:03
SteveAand of course, it goes to somewhere02:03
Kinnisonddaa: can I commit everything in a given subdir to baz easily?02:03
Kinnisonddaa: I've done the mods/adds etc02:03
ddaamh02:03
SteveAthe place it goes to is just where the crappy breadcrumb we have now would go02:03
SteveAalthough, perhaps not always.  not sure about that one.02:03
ddaaKinnison: I'm not sure...02:03
=== matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
Kinnisonhey niemeyer, matsubara 02:04
Kinnisonany sign of a celso yet?02:04
stubSteveA: Is that before or after you review my branch?02:04
SteveAstub: after02:04
SteveAor if i get bored during :-p02:05
ddaaKinnison: I'd just play it safe and do "baz commit -- dir/file1 dir/file2 dir/file3"02:05
ddaaI would expect "baz commit -- dir/" to only commit the changes to "dir", not the contents.02:05
Kinnisonarse, okay02:06
=== Kinnison hopes bzr makes this easier
niemeyerMorning!02:06
niemeyerKinnison!02:06
Kinnisonperforce's "p4 submit dir/..." is really handy02:06
niemeyerSteveA!02:06
niemeyerddaa!02:07
niemeyer:)02:07
SteveAgood morning mister niemeyer 02:07
niemeyerOh, stub!02:07
niemeyer:)02:07
niemeyerniemeyer!02:07
Kinnisonwhere p4's "..." is equivalent to zsh's "**"02:07
matsubaraGood Morning all!02:07
niemeyerEnough02:07
niemeyer:)02:07
matsubaraKinnison, haven't seen him02:07
SteveAthe cartesian product irc greeting problem02:07
Kinnisonmatsubara: okay, no problem02:07
ddaaKinnison: I'd expect bzr would do what you want (it already got "add" right)02:07
stubyo02:08
=== Kinnison converts SteveA to polar coordinates to make IRC greeting more amusing
=== jinty [n=jinty@205.134.224.215] has joined #launchpad
=== kiko [n=kiko@200.101.110.231] has joined #launchpad
SteveAhey kiko02:13
SteveAhello brian02:13
kikomorning SteveA how are you?02:15
SteveAdoes anyone know about writing thunderbird plugins?  i'd love to see one that highlights 'bug 1234' style text for messages from bugs@launchpad.net02:15
UbugtuError: I cannot access this bug02:15
SteveAUbugtu: that's an interesting error.  what page is that from?02:15
kikoSteveA, he's a bot. :)02:15
kikobug 1234 is private02:15
UbugtuError: I cannot access this bug02:15
SteveAkiko: looking good.  how are you?02:16
kikoquite well02:16
kikoSeveas owns Ubugtu for the record02:16
SteveAokay.  let's try bug 66666602:16
UbugtuError: Error getting Malone bug #666666: Bug does not exist02:16
ddaabug 100002:16
UbugtuMalone 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/100002:16
ddaa:) funny02:17
SeveasSteveA, things like 'ubuntu 16631' work too02:17
SteveAcool.  i just filed bug 301502:17
UbugtuUbuntu Bugzilla bug #16631: please update to 1.1.5 Product: Ubuntu, Component: openoffice.org-amd64, Severity: normal, Assigned to: doko@ubuntu.com, Status: RESOLVED, Resolution: FIXED http://bugzilla.ubuntu.com/show_bug.cgi?id=1663102:17
UbugtuMalone bug #3015: shipit needs a robots.txt Fix req. for: upstream launchpad, Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/301502:17
ddaabug -102:17
Seveasit knows 'ubuntu' 'gnome', 'malone' and 'bug' (which is a synonym for malone in #launchpad)02:17
SteveAnice02:18
SteveAwhat did you write it in?02:18
Seveasbut expect it to be unstable soon, I'm rewriting it ;)02:18
ddaawhat is it written in?02:18
Seveasit's a supybot (so python) bugzilla plugin extended to understand malone02:18
ddaabug 429496729602:19
UbugtuError: Error getting Malone bug #4294967296: Bug does not exist02:19
Seveasbut currently it's full of hacks :)02:19
SteveAUbugtu: i'll fix bug 301502:19
UbugtuMalone bug #3015: shipit needs a robots.txt Fix req. for: upstream launchpad, Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/301502:19
SteveAdarn... doesn't work ;-)02:19
Seveasit'll have flood protection too soon :p02:20
SteveAwow, software with levees02:20
ddaaSteveA: does it have a launchpad product?02:20
SteveAddaa: pardon?02:20
ddaahu02:20
ddaaSeveas: does it have a launchpad production?02:21
ddaa* product02:21
SeveasYou mean registered on launchpad? no02:21
ddaaWould be nice, so it could talk about its own bugs :)02:21
Seveasrofl02:21
SteveAkiko: did we come up with a datetime for the launchpad community meeting?02:22
kikoSteveA, I suggested wednesday, you didn't disagree (or agree) :)02:24
sabdfllifeless: are we close to being able to test performance of LP-on-bzr vs LP-on-baz?02:30
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.36: Cherry pick patch-2609 into production 1.36 (patch-1: rocketfuel@canonical.com, carlos.perello@canonical.com)02:34
kikocarlos, what bug does that fix, btw?02:35
sabdflSteveA: what's the new way to handle default traversal over an object?02:37
SteveAsabdfl: you mean, where you go if you say .../foo/ ?02:38
sabdflyes02:38
SteveAthat is still handled with zcml <browser:defaultView > directives02:38
SteveAthat will be changing, but not today02:39
SteveAchanging to include it in the 'navigation' concept02:39
SteveAdo you have a case where the defaultView is not enough?02:39
=== cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
lifelesssabdfl: you can test local performance now, just rsync down the bzr import I made02:45
SteveAkiko: i had an idea over the weekend02:45
SteveAthis is about doing QA on a representative bunch of pages02:45
lifelesssabdfl: network performance, yes we are close, sftp is coming v soon02:45
SteveAthe idea is to use the Navigation components to get a list of all the "fixed" pages in launchpad, and also extend it to have be able to get a representative sample of "content" pages02:45
SteveAso, starting with a particular object, we can go to each 'stepto' URL given in its navigation component.02:46
=== netjoined: irc.freenode.net -> brown.freenode.net
=== interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad
kikoSteveA, that sounds pretty cool02:46
SteveAthen, for each traverse() and traverse_foo() stepthrough, we have a parallel method to get a set of ids for that thing02:47
SteveAso it says 'you can traverse the ids 1, 5, 65, 655 and 123 from here, but 9099 is not found'02:47
kikothe set of tested IDs, then?02:47
SteveAthen, taking all the registered navigations together, we get all the 'fixed' pages, and also a representative example of the 'variable' pages02:48
SteveAwe can get the registered views from the component architecture02:48
SteveAand expose these via a method on the navigation or something02:48
kikobut we'd list the tested instances in browser code?02:48
SteveAyes, or maybe along with the sample data02:49
SteveAhaven't thought that totally through02:49
mpthttps://launchpad.net/people/unp -- oh dear02:50
SteveAwhy 'unp02:51
kikompt, what?02:51
SteveA?02:51
SteveAmpt: where can i read about what to do with breadcrumbs?02:52
mptthe layout02:52
mptthe first column is taking up half the page width02:52
mptbecause the description's in a portlet instead of being in the page02:54
mptand it has no page-widening protection02:55
SteveAthe google 'i want to translate google02:57
kikoSteveA, I have a difficult question for you02:57
SteveA' app is worse02:57
SteveAi had to scroll up and down and left and right to see the 'edit this translation' buttons02:57
kikoyou know form attribute validator functions?02:57
kikohow do you write a validator that checks if a certain name is unique under a certain person?02:58
kikoshort answer: use ILaunchBag? 02:58
SteveAif a certain name is unique under a certain person?  i don't know what you mean02:58
kikofor instance02:58
kikoyou have /name/stevea/+polls/nukeportlets02:58
kikoI need a validator to avoid allowing the guy to create a second nukeportlets poll02:59
kikoit's only unique under the stevea person02:59
kikomatsubara needs it, actually02:59
SteveA /name/stevea/+addpoll is the add form, or something like that?03:01
kikoyep03:01
SteveAso, the context of that form is the person03:01
kikocorrect03:01
SteveAso, no need to use the launchbag to get the person03:01
kikohow do I get the current context in the validator function?03:01
SteveAi don't know that you can.03:02
SteveAcan you get hold of other details from the form?03:02
kikoI receive the "name" trying to be registered in the validator03:03
kikonothing else comes in as arguments03:03
kikobradb used the launchpad in valid_bug_name03:03
SteveAi think what we have here is a browser-specific validator03:04
SteveAit doesn't make sense in a context other than the browser, i think03:04
kikothat is true03:05
SteveAat the database level, is there a uniqueness constraint on person and poll-name? 03:05
kikoit will return a browsers-specific error message03:05
kikoyes03:05
SteveAokay03:05
kikoit currently system errors because of that03:05
SteveAi see03:05
kikothere are about a dozen forms with this sort of issue03:05
kikoI would like to clean that up and pave the way for proper form validation03:06
SteveAyes03:06
kikoI'm happy you agree :)03:06
mptSteveA: ok, https://wiki.launchpad.canonical.com/LaunchpadHierarchyNavigation#head-3d71d77fc3a0ea9cc4eb846d7ead114f3e5cee78 is ready I think03:07
SteveAcan you/matsubara fix it with a launchbag hack, and let me review it ?  i'll look at it then, and see if i can find a good way to make it fit03:07
SteveAmpt: thanks, i'll take a look03:08
kikoSteveA, sure, that's what we were about to do.03:08
kikothanks03:08
SteveAokay, cool03:08
mptkiko: Which of my branches are you in the middle of reviewing? I'll move the other back into the General Queue if you like03:13
sabdflSteveA: it's not defaultView i'm looking for03:13
sabdflit's the case of traversal without a '+foo/bar'03:13
SteveAwrite a traverse(self, name) method03:13
kikompt, the second one, but I can do both03:13
SteveAif you just want to traverse using self.context[name] 03:13
SteveAyou use GetitemNavigation as your base class03:14
SteveArather than Navigation03:14
SteveAbecause this is a very common case03:14
sabdflSteveA: method on what?03:14
sabdflFooNavigation?03:14
SteveAyour navigation class03:14
SteveAyes03:14
sabdflok03:14
SteveAin that method, self.context is the object you're traversing03:14
SteveAand name is the next path step03:14
mptkiko: ok, do you need me to resolve the conflicts again?03:15
lifelesssabdfl: ping03:16
sabdfllifeless: are we still on track for a pie-free UBZ (at least, for you, that is)03:17
kikompt, that would be nie03:17
lifelesssabdfl: it could go either way03:17
SteveAmpt: why are the breadcrumbs for /legal different from /malone ?03:17
lifelesssabdfl: its a fine line03:17
kikosoftware's not really fine line fodder :)03:18
kikoeither you win by ample margin or you're late03:18
SteveAmpt: is it because '/legal' uses the launchpad root facets, but '/malone' uses the malone app facets? (or does it...)03:19
SteveAactually, i think /malone uses the launchpad root facets03:19
mptSteveA: they're not different03:19
SteveAi see03:19
mptI fixed a couple of errors just after I told you I'd finished, so try reloading03:19
SteveAalso, please check /people/+newteam03:20
SteveAcan you write an explanation of why some URLs get a trailing > and some don't ?03:20
SteveAit will stop me having to guess03:20
SteveA /distros/ubuntu/hoary/+sources/gnome-panel/+translations looks maybe wrong too03:21
mptThe trailing > indicates that the hierarchy is continued elsewhere03:21
mptthrough the facet menus and/or the application menus03:21
carlosstub, you need to remove the rawfile column? are you sure???03:21
kikocarlos, ping03:21
carloskiko, pong03:22
carloskiko, looking for the bug number...03:22
SteveAmpt: then, i don't understand why /legal differs from / 03:22
kikocarlos, thanks03:22
carloskiko, 280203:23
SteveAnor do i understand how /people/+newteam differs from /people/03:23
mptSteveA: / doesn't have a ">" because it's not going further than the root. /legal does, because it is.03:23
SteveAin both cases, the content object is the IPeopleSet03:23
mpt /people doesn't have a trailing ">" because it's not going further than "People". /people/+newteam does, because it is.03:24
SteveAso, nothing to do with continuing hierarchy in facet or app menus, in this case?03:24
SteveAor do i fail to understand what "continuing the hierarchy" means03:24
SteveA?03:25
mptwell, "Legal information" isn't in an application menu, sure03:25
kikocarlos, thanks -- why not include it (and the subject) in the commit message?03:25
carloskiko, because I forgot it, sorry03:26
carlosI fixed it on Friday and did the commit this morning after adding the test this weekend offline03:27
SteveAmpt: okay, i think we're getting there.  i need to work out how this will work in the software.  you can help by explaining how the > works for each case in the spec where there are two or more sets of breadcrumbs that differ only with the trailing >03:27
kikookay, carlos 03:27
mptok03:27
SteveAmpt: i'm hoping to be able to encode these rules in the breadcrumb stuff, and not need lots of special cases03:28
SteveAmpt: as a first implementation, i thing i'll ignore the trailing > altogether.  is that okay?03:28
SteveAthen we'll make it work afterwards.03:28
mptok03:28
SteveAas, other than that, i think it is straightforward to do03:29
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.36: Cherry pick patch-2606 into production 1.36 (patch-2: christian.reis@canonical.com, rocketfuel@canonical.com, matsubara@async.com.br)03:29
kikostub, two small points03:30
kikostub, can you still star-merge successfully?03:30
kikostub, second thing is that there's a missing constraint that's causing data corruption in product series (and perhaps releases) -- the names are not unique under a product03:31
mptSteveA: explanation added03:33
SteveAthanks03:33
SteveAthat's a very clear explanation.  thank you.03:34
mptI see that "up to the level where the LaunchpadMenus facets apply" isn't entirely true for /legal, though03:34
mptlegal information doesn't have bounties/specs/support requests03:35
stubkiko: Yes, in the case I encountered I could star-merge happily.03:35
stubkiko: On production, ProductSeries(product, name) is UNIQUE. What is the problem you are seeing?03:36
kikohmmm03:36
kikostub, let me find the bug #.03:36
kikostub, could it be release names?03:36
kikohttps://launchpad.net/malone/bugs/289503:36
UbugtuMalone bug #2895: Releases with the same directory name causes an error Fix req. for: upstream launchpad, Severity: Normal, Assigned to: Diogo Matsubara, Status: New http://launchpad.net/malone/bugs/289503:36
lifelessniemeyer: SteveA: got a minute ?03:37
SteveAlifeless: okay.  was about to start stu's code review, but i can procrastinate for a minute more03:37
lifelessthanks03:37
lifelessniemeyer: ping03:37
lifelessSteveA: I'd like your input on goals for niemeyer in this week, before ddaa arrives in brazil03:38
kikoddaa is off to brazil again? :)03:38
sivangmpt: this by any chance has something to do with MaloneSupportIntegration ? (excuse me for the noise)03:38
ddaain two weeks03:38
lifelesskiko: yes, he wants his old passport back03:38
lifelessddaa: two weeks is it ?03:38
SteveAso, niemeyer has completed his bzr / hct work, and is now looking into launchpad03:38
kikodid somebody find it?!03:38
niemeyerlifeless: Pong03:38
lifelessmaybe we're off by a week. let me check logs03:38
niemeyerlifeless: I'm talking to ddaa right now03:39
niemeyerSteveA: Yep03:39
stubkiko: ProductRelease.version is not unique. I'm not sure if we have a use case for allowing multiple product releases with the same version, as the datereleased column could have been indended to be used to disambiguate them03:39
lifelessnope, its good03:39
ddaaI started at the creation of the universe, I'm getting at the point where the first urchin fucked the first starfish03:40
lifelessits been 3 weels03:40
kikostub, is version the number or the name? 03:40
kikostub, I doubt it -- how would traversal work?03:40
lifelessSteveA: yes, niemeyer is. specifically he needs to get across what ddaa looks after, and also the ui through to content stuff03:40
kikoI am pretty sure it should be unique, stub 03:41
ddaalifeless: please review importd-archivelocation soon03:41
stubkiko: ProductRelease has no name - just version03:41
lifelessSteveA: he will have 2 weeks I think with ddaa in brazil, so complex-best-done-face-to-face can possibly wait a bit03:41
=== lamont [n=lamont@mix.mmjgroup.com] has joined #launchpad
SteveAlifeless: https://wiki.launchpad.canonical.com/Branch03:41
stubkiko: traversal probably wouldn't be possible. I'll add a UNIQUE constraint after fixing the dud entries - we can always relax it again later if it becomes a problem.03:41
ddaalifeless: one week03:41
lifelessddaa: ah right, there is my confusion03:41
ddaaI'm going in two03:41
SteveAthe existing pages with similar names includes a bunch of things, and then brad too03:42
lifelessSteveA: 2 from now, for one.03:42
kikothanks stub, rocking as always03:42
lifelessddaa: yes, tomorrow morning03:42
lifelessddaa: as doing it tonight would be counter productive03:42
SteveAso, we have launchpad and malone, and we have the supermirror and bzr03:43
=== salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
SteveAi think a lot of the stuff is filling the gap between the supermirror and launchpad03:43
SteveAfor example, if i want to fix a bug in python03:43
niemeyerlifeless: It's three weeks, indeed03:43
lifelessright. and gustavo should see enough in this intro period to be familiar with how it all hangs together, plus gain domain experience in the importd side, so he knows the handover area from him to ddaa well03:44
SteveAi can bzr pull python from the supermirror, tell malone my branch where i'm working on something, and start work03:44
mptsivang: Does what have anything to do with MaloneSupportIntegration?03:44
SteveAso, that touches launchpad UI, branch-related data model03:44
SteveAobjects that can have branches related to them, such as bugs, specs, translations...03:44
SteveAproducts, packages...03:44
SteveApeople03:44
lifelessSteveA: yup03:44
SteveAso, actually, pretty much the whole thing03:44
ddaalifeless: I could use some suggestions about when you think it would good have niemeyer work on.03:44
SteveAeven bounties03:44
lifelessddaa did a lot of work on this, there is a big branch with a lot of branch stuff added03:45
lifelessso I think ddaa and niemeyer should be collaborating on getting that landed.03:45
SteveAbranches tend to go stale if not merged03:45
SteveAso, preserving that work would be a worth goal03:45
sabdflmy observation exactly, in london :-)03:45
lifelessan essential goal in fact.03:45
ddaayup, I'm currently scrathing my head with what to do with the sprint work, that's going to be a bitch.03:45
sabdflbut i think there were good reasons for it not to land immediately03:45
lifelessunfortunately, yes.03:46
lifelessimportd would have been dead till now, or samba and python imports unloved, if we had landed it03:46
sabdfli don't think anyone else has touched that code, so conflicts should be minimal03:46
lifelessscott has prepped the hct stuff03:46
sabdflhave the samba and python guys been playing with the imports?03:46
lifelessso one thing I need to do is add bzr to the rocketfuel tree03:46
SteveAput the branch up on the pending reviews page03:47
lifelesswell, samba has that 32k problem03:47
SteveAthat way, we can see how stale it is getting03:47
lifelessddaa: I agree with SteveA, its a good idea03:47
SteveAwe have a solution in hand for the 32k problem03:47
SteveAi need to talk with ddaa and elmo to see where that's up to03:47
SteveAddaa: did you verify there were no issues with apache?03:47
lifelessddaa: so I think the first thing you two could work on is to get all tests passing on that branch, and get it merged up to latest rf.03:48
lifelessSteveA: thank you.03:48
ddaalifeless: python has the 32k problem03:48
ddaasamba is alive and kicking03:48
SteveAoh yeah, it was python03:48
lifelessddaa: oh, damn I am tired, mimemories left and right03:48
lifelesss/mi/miss-/03:49
ddaaI would like to split the branch in at least two03:49
ddaa1. database schema changes (still unfinished), and then very soon infrastructure fixes03:50
ddaa2. launchpad web ui changes (which has incomplete test coverage)03:50
lifelesswhat will this separation buy you ? 03:50
sabdfldoes bzr have hashing to avoid the 32k problem?03:50
lifelesssabdfl: yes03:50
=== markuman [n=markuman@p5092695C.dip.t-dialin.net] has joined #launchpad
ddaalifeless: all the infrastructure work that depends on the db schema changes needs not be blocked by polishing the web ui.03:51
lifelessddaa: but conversely you will break all the existing ui that you have fixed in the branch03:52
niemeyerlifeless: Has the patch landed?03:52
lifelessniemeyer: yes03:52
niemeyerNice!03:52
ddaalifeless: fixes will go in the first branch, but there is a lot of added code for new features03:52
lifelessddaa: I will leave this up to you and niemeyer. But be wary of spending more time shuffling code than doing code03:53
ddaayeah... Already got trapped there this morning03:53
SteveAddaa: my question about your testing apache?03:54
lifelessso I recommend against splitting the branch, strongly, until or unless a reviewer says 'dude, you have XXX to do to land the branch', and all the XXX is in the ui code.03:54
ddaaSteveA: my testing here showed that apache is happy with stupid number of subdirs03:54
SteveAddaa: okay.  any other tools that need testing like that, or are we ready for the next stage?03:54
lifelessddaa: so in that branch, we have what - importd tests to fix, importd to use the new structure, the friday-improvements to the schema 03:55
ddaaSteveA: it depends on whether we want to publish the python branch on bazaar.ubuntu.com03:55
ddaahct to fix03:55
ddaanew pages to have proper test coverage03:56
lifelesshct is ready, we just need to plonk bzr in to the lp config03:56
ddaazope traversal to update03:56
lifelessok.03:57
ddaaanother thing the sabdfl wanted to refactor back in london03:57
SteveAlifeless: for the python import, is it just a stage in getting a python bzr 'archive', or is the idea to also publish it as a baz1 archive?03:57
lifelesshow close are you and niemeyer timezones ?03:57
niemeyer~5h03:57
niemeyerIIRC03:57
lifelessSteveA: bzr is the primary goal. publishing as baz is important for our daily updates to work03:57
lifelessniemeyer: you forget that ddaa operates at +4 :)03:58
niemeyerAh, damd :)03:58
=== silbs [n=jane@217.205.109.249] has joined #launchpad
ddaaNah, I have woved to waking up early.03:58
lifelessniemeyer: so what things from that short list of the branches needs, would you like to work on ?03:58
lifelessniemeyer: with ddaa, but you will be responsible for the things that you nominate (if ddaa agrees )03:58
Kinnisonhey silbs03:59
silbsis it intentional that bounties are not tied to projects?  Shouldn't they be?03:59
niemeyerlifeless: No idea, really.. 03:59
silbskiko, SteveA ^^03:59
lifelessniemeyer: well, spend today getting up to speed a bit, and we can decide tomorrow03:59
niemeyerlifeless: I have not read that code, so everything sounds like nice funny names right now.03:59
lifelessniemeyer: might be good to read the patch from that branch against launchpad itself, to see what sort of things change.04:00
lifelessddaa: you will work niemeyer to help him come up to speed with what you are working on ?04:00
ddaaokay, so I guess my first thing is actually finishing the db patch...04:00
SteveAsilbs:  you're supposed to be able to.  "You can associate a bounty with an upstream product or project, or with a distribution. "04:00
SteveAsays the "what's this all about?"box04:00
kikohmmm04:01
silbsSteveA: yes, but look at the "register a new bounty" page.04:01
mptProjects are rather unloved in Launchpad04:01
mptthere's many things you can't do with them that you should be able to04:01
SteveAsilbs: yes, there appears to be no way to do so using the web pages.04:01
silbsI'm talking to someone about using LP to manage bounties for ihs project04:01
lifelessniemeyer: so, I'll go to bed now, and see you in my morning..04:01
silbsbut it looks like there would be no way to see his bounties for his projec t- it looks like one big bounty pool04:01
niemeyerlifeless: Cool, thanks for the intro04:01
silbsand that will get useless quickly once there is data in there04:01
ddaalifeless: I'll need to come to speed with it myself, but I guess I can direct him to work on the importd bits while I work on the webapp bits.04:02
lifelessddaa: that may work well04:02
sabdflsilbs: you can associate a bounty with a product, project, or distro04:03
sabdfland get a list of them on that basis too04:03
SteveAit's in the data model04:03
SteveAbut i don't see any UI for it04:03
SteveAperhaps there are menus missing, and the pages are there04:03
silbssabdfl: it doesn't appear on the "register a new bounty" page.  How does one do that?04:03
SteveAor perhpas pages need writing04:03
sabdflif you are viewing the product, and THEN register a new bounty, it is automatically associated04:04
sabdflalso, viewing the product, you can link an existing bounty to that product too04:04
silbsah, okay04:04
SteveAaha -- i was trying to view a bounty and link it to a product04:04
sabdflSteveA: we can add that too04:05
silbsit would be nice to be able to do it the other way round too (create bounty, link it to existing project)04:05
silbsyes, okay. thanks guys04:05
Kinnisonlaunchpad works on contexts04:05
lifelessnight all04:05
Kinnisonso you go to the context you want04:05
lifelessmidnight, witching hour04:05
Kinnisonand then create the object you want04:05
Kinnisonnight lifeless04:05
Kinnisonsilbs: it's not always obvious, but it is at least consistent04:06
mptwe support the other way spottily04:06
silbsKinnison: yes, but people have different contexts. 04:06
=== Kinnison nods
SteveAas an instant fix, the "what's all this about?" box on the bounties page can say "you can associate a bounty with an upstream product, project ... from the product, project or distro page."04:06
mpte.g. /malone/bugs/+package04:06
silbsIf I wanted to add a bounty for a project, you could consider my context "bounties" or "project x"04:06
silbsboth are valid04:06
dilysMerge to rocketfuel@canonical.com/launchpad--production--1.36: Cherry pick patch-2608 into production 1.36 (patch-3: matsubara@async.com.br, rocketfuel@canonical.com, christian.reis@canonical.com)04:06
silbsmaybe not to LP, but I think they are04:06
Kinnisonsilbs: aye, perhaps the non-contextual bounty-add page should contain a note saying "If you want to make a bounty associated with a distro, product, project or whatever, please visit the relevant page and create the bounty from there"04:07
dilysMerge to rocketfuel@canonical.com/pyme--devel--0.6.1: [trivial]  include string versions of error codes for GPGMEError (patch-3: james.henstridge@canonical.com)04:07
mptKinnison: or just offer form fields for it, like Malone does04:07
silbsmpt +104:08
Kinnisonmpt: I guess that'd be cool too04:08
Kinnisonsilbs: mpu ?04:08
=== mpt goes on a bug-reporting spree
kikojamesh, rock on :)04:11
sabdflSteveA: path_expression="string:+source/${name}/${version}"04:18
sivangis there any way to work in non context mode in lp ? I mean, there are times in which the context oriented approach can be annoying to a new user. For instance, when logging to your account and reporting a bug, you can do it only the context way. that is cliking your way to the Bugs tab doesn't leave any apparent way to file new one, judging by the rightward menu04:18
sabdflshould that work? as a browser:url tag?04:18
sabdflsivang: we need to have quicker ways to get to the context (distro/product/project)04:18
SteveAsabdfl: yes, provided the context has a name and version04:20
sabdflSteveA: coolio, thanks04:21
sivangright, it really looks non trivial now. also, if you go and click "Packages" which might be associated for the user with reporting bugs, shows the Package Maintenance Report04:21
sivangwould probably be a nice thing if for at least malone at that stage, we would have in the right menu, apart for the others, a quick pkg search field which would enable a report-a-bug-on-a-package context after a successful match.04:23
mptsivang: Coincidentally, I just reported https://launchpad.net/products/malone/+bug/301904:28
UbugtuMalone bug #3019: Context-free bug reporting page should also allow product bugs Fix req. for: upstream malone, Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/301904:28
kikoyeah, good idea04:31
=== LapTop006 [n=laptop00@sparc006.chriskaine.com.au] has joined #launchpad
kikomatsubara, why not check all the other url-like attributes for correct syntax?04:33
sivangmpt: lol :)04:33
mptwoohoo, another unfixable plone.css bug04:33
kikomatsubara, also, I see a return False in the context in validation.py that needs to be fixed04:34
matsubaraI was wondering where are those screenshots/wiki URLs after the registration process?04:35
kikomatsubara, I think they are not used -- you can check the templates, but sabdfl might know better04:35
Kinnisonmpt: How long would it take you to eliminate plone.css from launchpad?04:36
kikosabdfl, do you know what happened to ProductSeries.needsSyncReview?04:36
kikoKinnison, you're the second person to ask that exact question in the past 7 days04:36
Kinnisonheh04:36
kikoa couple of hours from end to end04:37
=== Kinnison recommends he DO_IT
kikooh we all do04:37
kikoexcept for one of us :)04:37
Kinnison*THE* one?04:37
kikoo/~ aisha: he got out o/~04:38
kikoyep, that one04:38
SteveAmpt: are the plone.css bugs things we can ask upstream to fix?04:38
mpthmm, yep, this one is04:39
=== heyko [n=heyko@p54847E10.dip.t-dialin.net] has joined #launchpad
SteveAmpt: kindly pop onto #plone and i'll introduce you to some people04:44
sabdflyou guys were so up the wrong frigging tree without plone.css04:44
sabdfli spend a lot of time fixing fixes04:44
sabdflgo on holiday, make a branch and get rid of it, then we'll talk04:45
mptSteveA: it appears to be http://plone.org/collector/188, status rejected04:46
mptactually we tried commenting out the plone.css link in main_template.pt a couple of weeks ago, and the only thing that changed was the portlet borders04:49
kikothey made me do it04:49
mptthe rest of it might as well be called minefield.css04:49
SteveAmpt: that was rejected 3 years ago04:50
mptindeed04:51
=== Keybuk [n=scott@syndicate.netsplit.com] has joined #launchpad
mptGecko uses CSS borders for its radio buttons04:52
mptOpera doesn't04:52
mptSo when plone.css says "add a border to all inputs", Opera puts a square border around the outside of the circular radiobuttons04:52
mptAnd if we overrode that in launchpad.css by saying input[type=radio]  {border: none}, Gecko would go, "oh, okay, you want radiobuttons to be invisible"04:53
SteveAso what's the answer?  upstream, split plone.css into plone.css and fancyborders.css04:54
SteveAthen we use plone.css and other plone-based sites use plone.css04:54
LapTop006mpt: are you disscussing the bug I commented on?04:54
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  tweak inventory for bzr stuff (patch-2610: david.allouche@canonical.com)04:54
SteveAand include fancyborders.css only if they want them04:55
mptLapTop006: yes, thanks for the debugging04:55
LapTop006free software at work!04:55
LapTop006(just spent 1/2 an hour waiting for my box to generate the entropy required to add an elgamel key to my gpg cause its not working in launchpad)04:55
KinnisonWhat's the status of emblems?04:55
mptSteveA: the answer is for plone.css to either stop styling radiobuttons, or to use some bug that occurs in Opera to make CSS that Opera can't see04:55
=== mpt wonders if the same problem occurs in MSIE
kikoLapTop006, now --send-key and wait a while before resending the key04:56
SteveAmpt: so, alan suggests to post to plone-users to ask about fixing stuff04:56
LapTop006mpt: was looking at css things last week, couldn't see any bugs that opera has that moz doesn't04:56
LapTop006kiko: have sent the key to wwwkeys.is and keyserver.u.com04:57
LapTop006will try again in half an hour04:57
kikocool04:58
kikoKinnison, the status? can you explain further04:58
kiko     if not url:04:58
kiko-        return False04:58
kiko+        raise LaunchpadValidationError(_(dedent("""04:58
kiko+            That field can't be empty.""")))04:58
kikomatsubara, SteveA: can you help me determine whether that is correct for a field that is non-mandatory?04:59
sabdflwho fixed interfaces/validation.py to give nice errors on the emblem/hackergotchi validation?04:59
Kinnisonkiko: Well, I added an emblem to a team I manage. Now the emblem is shown in the details portlet the number of times there are members of the team, but the emblem doens't show up on my people page04:59
mpt19 conflicted items, woohoo04:59
kikosabdfl, matsubara did05:00
sabdflKinnison: ah, oops. that's my bug05:00
kikosabdfl, Kinnison, I fixed that a few days ago05:00
SteveAkiko: where does that code come from?05:00
kikoit will be in the next production rollout05:00
Kinnisonkiko: rocktastic05:00
sabdfli suspect i was iterating over members-in-the-person(team) not teams-the-person-is-a-member-of05:00
kikoSteveA, interfaces/validation.py05:00
kikosabdfl, exactly. the method names are confusing, I added an XXX there too05:00
SteveAkiko: can't you just make it a required field?05:01
mptSteveA: all "traverse" functions should be gone now?05:01
SteveAmpt: yes.  they are all Navigation classes.05:01
kikoSteveA, you can -- that is only a part of the validator.05:02
kikoSteveA, the validator should check that, when non-empty, the field start with http://05:02
KinnisonI have a question about wikinames and teams05:02
kikoSteveA, how does the validator behave when the field submitted is empty?05:02
kikoKinnison, yes?05:02
Kinnisonkiko: My team has been given an ubuntu wiki wikiname05:02
Kinnisonkiko: I don't want it to have one05:02
Kinnisonkiko: and I can't work out how to give it a wiki name for the wiki my project is on05:03
kikoyou can't work around that one, AIUI05:03
SteveAkiko: i would need to look into this properly to help out.  and i need to to stu's review now.05:03
Kinnisonhas a complaint been filed yet, or shall I file a bug?05:03
mptugh, this is a bad merge05:03
mptSteveA: and "Navigation" supersedes "GetitemNavigation"?05:03
Kinnisonmpt: did you --star-merge?05:03
mptno05:03
Kinnisondo so05:04
kikoKinnison, mpt: I got the same sort of errors05:04
mptok05:04
=== Kinnison recommends starting with star-merge and falling back on non-star-merge if the star-merge is horrible
=== Kinnison workraves
=== mpt throws away 1 hr 38 minutes of merging
=== thisfred [n=thisfred@a80-127-80-154.adsl.xs4all.nl] has joined #launchpad
KinnisonDo we have a LockFile type class which serialises rather than simply failing to acquire?05:17
=== lamont [n=lamont@mix.mmjgroup.com] has joined #launchpad
kikoKinnison, not that I'm aware of -- you could poll on the lock though05:18
kikohmmm it won't serialize though05:18
Kinnisonpolling on it would do05:19
KinnisonI just want a lockfile.acquire_goddamn_it() type function05:19
kikoI submitted a file that implemented safe locking (single-box locking) and IIRC carlos is using it05:20
kikoso it's there somewhere05:20
ddaabaz add utilities/fech-rex05:20
Kinnisoncarlos: where is it?05:21
carloslib05:21
carloslib/contrib/glock.py05:21
Kinnisonand how does one use it?05:22
carlosKinnison, look at any rosetta cronscript05:24
Kinnisonokies :-)05:24
Kinnisongreat, the one I pick doesn't use it05:24
LapTop006kiko: waited 1/2 hour still get system error trying to upload gpg key05:24
kikoLapTop006, ok, what's your key id?05:26
LapTop006kiko: 6E63 F4AA05:27
LapTop006kiko: https://launchpad.net/products/launchpad/+bug/298105:27
UbugtuMalone bug #2981: Launchpad just gives "Oops" page when trying to add a gpg key Fix req. for: upstream launchpad, Severity: Normal, Assigned to: Nobody, Status: New http://launchpad.net/malone/bugs/298105:27
LapTop006that's kinda neat05:27
kikoLapTop006, can you retry so I get a fresh error?05:28
kikowhat's your name, btw?05:28
LapTop006kiko: Julien (is in my account05:29
kikookay, cool05:29
carlosKinnison, poimport one uses it05:29
LapTop006kiko: just retried then05:29
Kinnisoncarlos: po-attach seems more sane05:29
Kinnisoncarlos: oh no, that uses lockfile not glock05:29
=== Kinnison cries
kikoLapTop006, interesting, I don't get your error. one moment.05:30
carlosboth should use glock, anyway poimport uses it for sure as we added glock for that script05:30
Kinnisoncarlos: Why do you use glock in blocking=False mode?05:30
kikoLapTop006, http://keyserver.ubuntu.com:11371/pks/lookup?op=vindex&search=0x6E63F4AA <- is this current?05:30
Kinnisoncarlos: since surely the point is to block?05:30
carlosKinnison, because we run the script every 10 minutes05:30
=== Kinnison hopes this dtrt
=== Kinnison tries a simple test
carlosif we set it to True, we could get many poimport scripts blocked if the queue is big05:31
LapTop006kiko: yep, has the new elgamel encryption key I aded earlier05:31
Kinnisoncarlos: gotcha05:32
kikoLapTop006, I am not seeing your error, are you sure you're retrying?05:32
=== jinty [n=jinty@123.Red-81-34-246.dynamicIP.rima-tde.net] has joined #launchpad
LapTop006I'm beind like three squid's and a junkbuster clone, but it should just have retried then05:33
LapTop006(and it's ssl anyway so nothing should be caching)05:34
kikonope05:34
kikoLapTop006, what page are you on?05:34
LapTop006https://launchpad.net/people/laptop006/+editgpgkeys05:35
kikoLapTop006, and you're getting a system error on submit?05:37
=== kiko frowns
=== jinty [n=jinty@123.Red-81-34-246.dynamicIP.rima-tde.net] has joined #launchpad
LapTop006yep05:37
LapTop006"Sorry, something just went wrong in Launchpad."05:37
=== matsubara is now known as matsubara-lunch
kikoLapTop006, I tried for you and it worked, so I think you're just caching the result.05:39
kikoyou should get an email shortly05:39
kikoI pasted "8915 6B1B 60F2 9A96 B5AA  4E29 F433 CB5F 6E63 F4AA into the box", ftr.05:39
kikooh, hmmm05:39
kikoLapTop006, can you try again, making sure you're not caching05:40
LapTop006tried in firefox just to make sure, and system error again (normally run opera)05:41
kikoLapTop006, what's your IP address?05:42
kikothe one generating your request?05:42
LapTop006My IP is ppp2a8d.dsl.pacific.net.au05:43
LapTop006may be coming from an ISP's squid, but shouldnt05:43
LapTop006sorry that's dns, but resolves to my ip05:43
kikoLapTop006, I see your accesses, but I see no errors from your05:46
kikoah05:46
kikonow I do.05:46
LapTop006OK, just tried in IE, it worked, officially weird05:46
LapTop006ah, now I see why I had to have an encryption key...05:48
kikoright05:48
LapTop006well, it's validated now05:49
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Make ProductRelease(productseries, version) UNIQUE (patch-2611: stuart.bishop@canonical.com)05:50
LapTop006and now I successfully signed the code-o-conduct05:54
LapTop006thanks kiko05:54
SteveAmpt: 05:55
SteveA<mpt> SteveA: and "Navigation" supersedes "GetitemNavigation"?05:55
SteveAwhat do you mean?05:55
SteveAThe Navigation class says nothing about how the catch-all traversal works05:56
SteveAGetitemNavigation says that it uses self.context[name]  to traverse, when nothing else matches.05:56
kikoSteveA, perhaps he was trying to resolve a conflict by studying a diff05:58
SteveAcould be05:58
SteveAhard to tell what supercedes what, without knowing where05:58
mptSteveA: That was when I was trying to resolve the conflicts by hand05:58
mptinstead of using --star-merge05:58
mptbecause one side of the conflict had Navigation, the other had GetitemNavigation in its place05:58
SteveAi think bzr should have a better name for that command, like --resolve-conflicts or something05:59
=== thisfred [n=thisfred@a80-127-80-154.adsl.xs4all.nl] has joined #launchpad
=== interalia [n=interali@adsl-60-232.swiftdsl.com.au] has joined #launchpad
kikoSteveA, for which command06:00
kiko?06:00
thisfredto be able to upload new versions of existing .po's06:00
thisfredIt would be great if I didn't have to bother the launchpad admins for each new language for my project...06:01
SteveAkiko: instead of --star-merge in baz.  seeing as that's what it does for people ;-)06:01
kikolol06:01
KinnisonCan someone who knows, talk to me about emails from zopeless scripts?06:01
mptSteveA: no, you have to do it yourself, then you tell Bazaar that you have resolveD it06:01
kikothisfred, known issue, we need to make a workflow to do this nicely06:01
thisfredkiko, ok, no problem then, I'll just be patient ;)06:02
kikopatience is always a good thing :)06:02
ddaaSteveA: what happened to action portlets?06:04
LapTop006kiko: will you be at LCA06?06:04
SteveAddaa: they have gone away06:04
kikoLapTop006, in NZ, right?06:04
LapTop006if so will have to buy you a beer06:04
SteveAddaa: make menus instead06:04
LapTop006yep06:04
LapTop006registrations finally opened an hour or two ago06:04
kikowe'll see -- need to find out if somebody's inviting me over :)06:05
SteveAddaa: you probably want to make a ContextMenu subclass like a class BranchContextMenu(ContextMenu):  usedfor = IBranch06:05
LapTop006(still waiting to hear about my papers yet)06:05
ddaaSteveA: documentation?06:05
SteveAhttps://wiki.launchpad.canonical.com/LaunchpadMenus   but needs updating06:05
LapTop006c;ear06:09
LapTop006guess I shoudln't IRC at 2am06:10
=== matsubara-lunch is now known as matsubara
=== GoRoDeK [n=gorodek@p5083D72C.dip.t-dialin.net] has joined #launchpad
SteveAddaa: let me know if you have questions about menus.06:19
ddaasure, I have no idea how to use them :) But later...06:20
ddaaI'm still in the process of resolving conflicts as mechanically as possible06:20
SteveAokay06:20
ddaaonce I have a halfway sensible merge I'll call you06:20
SteveAwith actions menus, remove them from page templates, but note down what links were in them06:21
SteveAyou'll make menus to represent the same links06:21
ddaaokay06:21
ddaai've not yet reached the action portlet conflicts (missing files), I well06:21
ddaa* I will06:21
ddaathere's also traverser stuff in the mix06:23
ddaaactually, I'm adding a new facet06:24
ddaayou did not expect it was going going to be easy, did you? :)06:25
=== Lathiat [i=lathiat@gasp.bur.st] has left #launchpad []
=== camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has joined #launchpad
SteveAyou're adding the 'code' (or whatever it is to be called) facet?06:31
ddaayup06:32
ddaawith some naaaasty traversal logic06:32
SteveAreally?06:32
ddaacanonical url for a branch is06:32
ddaaeither06:32
ddaa$person/+branch/$product/$branch06:32
ddaaor06:32
ddaa$person/+branch/+junk/$branch06:33
ddaaright now I'm scratching my head about how to fit that in...06:33
SteveAi can help with that06:33
SteveAnot the head scratching06:33
SteveAthe solution06:33
ddaaI want something as goddamn simple as possible even if ugly06:33
SteveAyes06:33
ddaaI can work at making it nice later this week06:33
SteveAso, in the nearish future, the browser:url stuff is going away06:33
SteveAto be replaced by something simple in the Navigation classes06:34
SteveAbut, you can do something equivalent right now06:34
SteveAand implement the logic you need in python code06:34
ddaauh... right, I dunno what browser:url is :)06:34
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Change the headers in the exported csv file to PC, 64-bit PC and Mac. (patch-2612: guilherme.salgado@canonical.com)06:35
SteveAddaa: okay06:35
ddaaI sort of guess I should be doing something in PersonNavigation06:35
SteveAddaa: the one issue i can see with what you have above is that you have TWO magic url steps06:35
ddaathat's the issue, yes06:35
SteveAyou have +branch/+junk06:35
SteveAnavigation works looking in two directions06:36
SteveAyou have traversal, which says where to go from here06:36
ddaaneither stepto nor stepthrough (whose meaning I have intuited by reading the TeamNavigation code)06:36
SteveAso, if the url is /foo/bar/baz/spoo06:36
SteveAand you're at /foo/bar/06:36
SteveAthen traversal stuff says what you want to do with .../baz/spoo06:36
ddaayou're going to tell me to do a PersonBranchSet...06:37
ddaaaren't you?06:37
SteveAthis can be simple or complex, and can basically get other Navigation classes to do the job06:37
SteveAno06:37
ddaaokay, opening my ears06:37
SteveAwhat is the object at $person/+branch/$product ?06:37
ddaanone06:38
SteveAit is just used to select the branch?06:38
ddaaphone06:38
ddaa2 mins06:38
SteveAok06:38
ddaaback06:41
SteveAokay06:41
SteveAso, you can do it06:41
ddaaa branch is identified by a person, a product (or +junk for no product), and a branch name06:41
SteveAbut i'm not going to tell you how right now06:42
SteveAwhen do you need to do it?06:42
ddaaproduct name or branch name in isolation are not meaningful06:42
ddaaright now, resolving merge conflicts...06:42
ddaaI need to get something that captures all the intent ASAP because the conflicts are blocking my working with niemeyer06:42
ddaathat's why I'm willing to go as simple and ugly as possible06:43
ddaaI guess I could get away with comments... "here should be some code to do branch canonical url traversal"...06:43
SteveAone more question:06:44
SteveA$person/+branch/$product   is that 404 or is any page supposed to be there?06:44
ddaa40406:44
ddaaWell, I guess we can have page there later06:44
SteveAwould such a page be at all useful?06:45
ddaasure, "show me all bzr branches from robert collinse"06:45
ddaabut It's not there yet06:45
SteveAokay06:47
ddaa(and not really planned either)06:47
ddaaso, it's "nice to have".06:47
SteveAeasiest is if you can fill it with comments describing what it should support06:47
ddaayeah, that's what I'm doing right now06:48
SteveAwhen you're done, i might have made a change to make it easy to do this.  my change needs something from stub to land first, though.06:48
SteveAand, if you need it sooner, i can give you some very hacky code to go there instead.06:48
ddaanote that this traversal stuff is totally needed to get the branch facet stuff going06:48
SteveAokay06:49
ddaaI'm just making a comment so it does not block the conflict resolution06:49
SteveAfine06:49
SteveAso long as you just explain what we talked about in the comments, it will be fine06:49
ddaaokay06:50
KinnisonUmm, can I not do06:59
Kinnisontry:06:59
Kinnison   stuff06:59
Kinnisonexcept Something:07:00
Kinnison   stuff07:00
Kinnisonfinally:07:00
Kinnison   stuff07:00
Kinnison?07:00
kikonope07:01
kikoeither try:/finally: or try:/except:07:01
kikouse nested try: clauses if you need to.07:01
Kinnisonffs07:01
Kinnisonhow crap is that?07:01
=== Kinnison adds that to the list of reasons why he dislikes python
niemeyerKinnison: This will change in the near future..07:02
SteveAcoming from lots of time doing java, i found it refreshingly clear, actually07:03
=== Kinnison finds try/except/finally a very clear construct
Kinnisontry/try/except//finally just seems ugly07:04
SteveAyou're probably right07:05
=== Kinnison indents a block of code
Kinnisonyay python07:07
=== carlos [n=carlos@243.Red-83-47-24.staticIP.rima-tde.net] has joined #launchpad
=== lamont [n=lamont@mix.mmjgroup.com] has joined #launchpad
=== lamont__ [n=lamont@mix.mmjgroup.com] has joined #launchpad
sivangKinnison: I thought you preferred some not to mention language ?:)07:38
kikoniemeyer, 2.5-material?07:38
kikoSteveA, replied to your report-email, tell me asap if you'd like any extra tweaks or else I'll look into debugging07:41
=== SnakeBite [n=SnakeBit@84.242.143.98] has joined #launchpad
Kinnisonsivang: Hmm?07:45
niemeyerkiko: I don't know, but Guido already approved the idea in the ML, so should be Pretty Soon Now07:45
kikoPSN :)07:45
sivangKinnison: sorry, taking back :)07:46
=== SnakeBite [n=SnakeBit@84.242.143.98] has joined #launchpad
sabdflKinnison: i'm going to try using your big db dump now08:02
sabdfldo you know how i bring a db dump "up to date"?08:02
sabdflwith th extra sql patches since it was produced?08:02
sabdflalso, the magic command to import that thing?08:02
KinnisonHaving imported the dump, run python upgrade.py -U postgres -d launchpad_dev08:03
Kinnisonas for importing it, erm, not sure08:04
=== lamont [n=lamont@mix.mmjgroup.com] has joined #launchpad
=== Kinnison waves
Kinnisonciao all08:08
sabdflKinnison: sec08:12
sabdflstill there?08:12
SteveAddaa: i have just hacked something that will allow you to do the traversal you need08:12
elmosabdfl: he's leaving, but will be back online  at the hotel08:13
sabdflok08:13
sabdflask him to ping me when he's there?08:13
elmoalternatively, you could run out of the house and sabotage him on the way back to the tube station ;)08:13
SteveAelmo: can i hassle you about getting a copy of the bugzilla database for jamesh?08:15
elmoSteveA: done08:22
SteveAta08:22
=== carlos -> out
carloslater08:25
sabdflelmo: how do i restore a .dump db into postgres?08:29
elmosabdfl: pg_restore if it's binary08:30
elmoor just pipe the file into psql, if it's the old-skool text based dump08:30
sabdflit's binary08:30
elmopg_restore is what you want then08:31
sabdflflash% pg_restore -d launchpad_dev -c dogfood_for_sabdfl.dump                 ~08:32
sabdflpg_restore: [archiver (db)]  could not execute query: ERROR:  relation "public.cveref" does not exist08:32
sabdflhelp08:32
sabdflelmo: ^08:35
elmosabdfl: sorry, I'm not sure - if it's a self-contained database restoring into an empty DB, it should work08:36
elmois that file available anywhere I can see it?08:36
sabdflnup08:37
sabdflit's a dump form dogfood, Kinnison made it for me08:37
sabdfli use -d launchpad_dev but it still seems to want to restore into launchpad_dogfood08:37
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
Kinnisonsabdfl: make a launchpad_dogfood db, restore into that, rename it over08:41
Kinnisonsabdfl: it'll be quicker08:41
=== Kinnison takes his shoes off and sighs in relief
sabdflKinnison: what's the restore fu?08:42
Kinnisonhonestly I don't know08:43
=== Kinnison tries to work it out for you
elmohow about using stub's pgrestore.py?08:43
Kinnisonthat needs a textual dump IIRC08:44
Kinnisonsabdfl: what happens if you simply do pg_restore the_dump_file08:45
Kinnison?08:45
elmoKinnison: I don't think so?  it invokes pg_restore08:45
sabdflit starts printing shedloads of sql08:46
elmoand is used for, e.g. staging, AFAIK08:46
Kinnisonsabdfl: pg_restore the_dump_file | psql launchpad_foobar08:46
Kinnisonelmo: hmm, so it does08:46
sabdfllots of errors...08:46
Kinnisonsabdfl: okay, try:08:46
Kinnisonsabdfl: utilities/pgrestore.py -U postgres -d launchpad_dev the_dump_file08:47
Kinnisonsabdfl: You may want to empty out the launchpad_dev db first08:47
Kinnisonsabdfl: Or else create a new shiny blank db to restore into08:47
sabdflah08:48
sabdflnow it's thinking08:48
sabdfland its making postgres think08:48
sabdflcool, thanks!08:48
Kinnisonno problems08:49
sabdflwe hope :-)08:49
Kinnison:-)08:49
=== terrex [n=terrex@84-122-90-162.onocable.ono.com] has joined #launchpad
=== tav_ [n=tav@host-84-9-3-82.bulldogdsl.com] has joined #launchpad
=== tav_ is now known as tav
ddaaSteveA: thank you, I do not have the time to look at it right now, but I will do tomorrow.09:13
SteveAokay09:13
SteveAi'm going to throw something at pqm, then what you need to do will be easy09:14
=== markuman [n=markuman@p5092695C.dip.t-dialin.net] has left #launchpad []
SteveAddaa: can i get the branch you're working on from somewhere?09:38
SteveAddaa: i can write the traversal code based on your comments, and get a patch for you09:42
=== Seveas [n=seveas@seveas.demon.nl] has joined #launchpad
niemeyerbaz update is destroying my harddrive..09:52
SteveAwe are so looking forward to bzr for launchpad09:53
=== SteveA --> home
sabdflniemeyer: now you understand the urgency of rf-in-bzr :-)09:58
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Fix https://launchpad.net/products/launchpad/+bug/2717 (The Vote class misses a default ordering column) (patch-2613: guilherme.salgado@canonical.com)10:03
sabdflKinnison: hmm... no sourcepackagepublishing records in that dogfood snapshot?10:07
Kinnisonsabdfl: what? no securesourcepackagepublishinghistory records?10:07
sabdfllooks like it10:07
KinnisonFFS, they were there when I dumped the db10:08
sabdflhm10:08
sabdflthey are there10:08
sabdflsomethings buggered up on my side. sorry.10:08
Kinnisonphew10:08
Kinnisonat least if it's that, you stand a chance of fixing it10:08
kikothanks gn10:18
ddaaSteveA: david.allouche@canonical.com--2004/launchpad--sprint--010:29
ddaathe comment is under PersonNavigation in lib/canonical/launchpad/browser/person.py10:32
=== ddaa -> night
=== lamont__ [n=lamont@mix.mmjgroup.com] has joined #launchpad
=== ddaa [n=ddaa@ordo.xlii.org] has left #launchpad []
=== niemeyer [n=niemeyer@200.103.136.241] has joined #launchpad
niemeyerIt killed my machine, *really*10:38
=== camilotelles [n=Camilo@20132203203.user.veloxzone.com.br] has joined #launchpad
kikoniemeyer, 512mb? with or without revlib? do you have a cachedrev?10:42
lifelessniemeyer: I've pushed the latest cacherev to the public side of chinstrap10:44
lifelessthat should save you quite a few Mb10:44
ajmitchmorning :)10:45
niemeyerkiko: Yep, 512MB, with revlib10:47
lifelesshey ajmitch 10:47
lifelessno messages on bazaar-ng, its looking good10:47
ajmitchgreat10:49
ajmitchthough I've got so many unread messages on that list now :)10:49
lifelessheh10:49
=== niemeyer crosses his fingers and tries to baz get David's launchpad branch
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Fix https://launchpad.net/products/launchpad/+bug/2436 (When a new account is created, must delete all duplicated LoginTokens) (patch-2614: guilherme.salgado@canonical.com)10:53
=== mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad []
=== zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad
=== jinty [n=jinty@205.134.224.215] has joined #launchpad
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  Fix https://launchpad.net/products/launchpad/+bug/2450 (When asking to join a restricted team, no feedback is given on result or status) (patch-2615: guilherme.salgado@canonical.com)11:30
=== RWG [n=RWGraphi@69.37.111.167] has joined #launchpad
=== kiko [n=kiko@200.101.110.231] has joined #launchpad
=== RWG [n=RWGraphi@69.37.111.167] has joined #launchpad
=== RWG [n=RWGraphi@69.37.111.167] has left #launchpad ["Connection]
=== RWG [n=RWGraphi@69.37.111.167] has joined #launchpad
=== RWG [n=RWGraphi@69.37.111.167] has left #launchpad ["Connection]

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