/srv/irclogs.ubuntu.com/2009/09/12/#launchpad-dev.txt

* mwhudson_ lunches01:37
=== mwhudson_ is now known as mwhudson
jmlhello all02:35
jmlmaxb, hi02:40
jmlmaxb, I made changes to your timing branch & tried to land it.02:40
jmlmaxb, but something must have swallowed it (my system has been behaving badly recently)02:40
jmlmwhudson, btw, could you please take a look at https://code.edge.launchpad.net/~stub/launchpad/kill-harder/+merge/11517 -- istr we do very similar stuff in codehosting and wondered if we should share the love02:43
jmlallenap, are you around?02:48
mwhudsonjml: hello02:48
jmlmwhudson, hi :)02:48
mwhudsonjml: you know we said that the --stacked stuff in rocketfuel-get was pointless wrt shipit & the other thing?02:49
mwhudsonjml: i'm not sure that's true in a lightweight checkout02:49
jmlhmm.02:49
mwhudson(it's been getting a standalone branch of shipit for me since before i went to lunch :/)02:49
jmlmwhudson, that's unfortunate.02:49
mwhudsonjml: yes02:50
mwhudson(it also shows how long it's been since i updated sourcecode -- shipit wasn't there!)02:50
jmlmwhudson, what should we do about it?02:50
mwhudsonjml: restore the stacking stuff, maybe?02:50
jmlmwhudson, hmm.02:51
jmlmwhudson, so for a light weight checkout, it'd stack on the remote branch?02:51
mwhudsonjml: hmm02:51
mwhudsonjml: using launchpad with a remote lightweight checkout sounds pretty masochistic02:51
mwhudsonjml: i don't think it's a use case we need to cater too *all* that much02:52
jmlmwhudson, ok, so maybe I don't understand what just happened to you02:54
mwhudsonjml: maybe i didn't understand what you mean02:54
mwhudson<jml> mwhudson, so for a light weight checkout, it'd stack on the remote branch?02:55
mwhudson^ in that02:55
jmlmwhudson, no, before that.02:55
jmlmwhudson, are you sourcecode branches not kept in a repository that's shared with Launchpad?02:55
mwhudsonjml: no02:55
mwhudsonoh actually, that is the problem duh02:55
mwhudsoni have ~/canonical/lp-sourcecode/sourcecode/<foo>02:56
* jml wants to stab exetel in the face.02:59
jmlwell, not really.02:59
jmlwhat I really want is my karmic updates.02:59
mwhudsonjml: just think in a few weeks you'll get to experience old world internet03:00
jmlmwhudson, heh03:00
jmlmwhudson, a few days, even.03:00
mwhudsonsubsecond ssh connections !03:00
barryjml, mwhudson you guys around?03:03
mwhudsonbarry: yeah, i'm working today as a swap day03:03
mwhudsonbarry: jml is just an addict03:03
barry:)03:03
jml:(03:03
barryi am so close to (trying to) land my bug 417089 branch, i can taste it03:04
mupBug #417089: Conform heading and breadcrumb rules to UI 3.0 <story-ui-3> <Launchpad Foundations:In Progress by barry> <https://launchpad.net/bugs/417089>03:04
ubot3Malone bug 417089 in launchpad-foundations "Conform heading and breadcrumb rules to UI 3.0" [High,In progress] https://launchpad.net/bugs/41708903:04
mupBug #417089: Conform heading and breadcrumb rules to UI 3.0 <story-ui-3> <Launchpad Foundations:In Progress by barry> <https://launchpad.net/bugs/417089>03:04
mupBug #417089: Conform heading and breadcrumb rules to UI 3.0 <story-ui-3> <Launchpad Foundations:In Progress by barry> <https://launchpad.net/bugs/417089>03:04
barrythis is going to break everyone's page titles <wink>03:04
mwhudsoni'd better make sure i break ec2test good and proper to help with that then03:04
barryyeah, thanks.  i've only been working on this damn branch for 2 weeks03:05
barrybut i think i'm reaching steady state with devel ;)03:05
mwhudsoni can see how working on the weekend helps there :)03:06
jmlbrb. networking issues.03:06
barryi'm having fun installing karmic on my new machine while i wait for the tests to run03:07
barryso it's all good.  i'll be up at 2am to see how ec2 did03:08
mwhudsonbarry: do you want me to review something?03:08
barrymwhudson: actually, the branch has been pretty well reviewed, well except for the 100 tests i've been fixing03:08
jml... and yet again,03:08
barrymostly crap stuff like fixing the browser.titles03:09
jmlec2test --headless taking so long makes my life less pleasant03:09
barrybut you can imagine it's a LOT of pages03:09
barryjml: i hear you there03:09
mwhudsonjml: working towards fixing that!03:10
mwhudsonbarry: i guess i'm saying, i'm sure there was a reason you asked if we were around03:10
mwhudsonbarry: do you want help, or just emotional support? :)03:10
barryjust emotional support :)03:10
barryjust sayin' hi to my crazy saturday workin' antipodean friends :)03:11
barrygo ec2, go03:15
jmlback03:19
jmlso....03:19
mwhudsonthe inherent bone-headedness of some of ec2test is wearing me down04:42
mwhudsonEC2TestRunner should take an instance as a parameter, not construct one, fer 'eavens sake04:42
mwhudsonalso, vals05:00
jmuxHi. How can I use an object name containing a / in an URL traversal? I thought of mapping the slash to tilde, but this results in a traversal NotFound error from the ParentSet, as the traversal now uses the mapped name for lookup, but the ParentSet doesn't contain an object with this name.13:53
wgrantjmux: What object are you attempting to traverse to that has a / in its name?13:55
jmuxI want to add Debians security components - updates/main, updates/contrib, updates/non-free13:55
wgrantWhy? That's probably not the right way to go about things.13:57
jmuxBecause I want to import the debian security archive into Launchpad as it is.13:59
wgrantI see.14:00
wgrantWhere are you seeing the traversal problem? It should only manifest itself in the API, AFAIK.14:00
jmuxI added an uri_name property to the component interface, which does the mapping14:01
jmuxThis works as expected, so I get the updates~main link to manage the component in the ComponentSet View, but the traversal doesn't work and I don't know. how to tell Zope / Launchpad to map updates~main back to updates main for the ComponentSet lookup14:02
jmuxupdates/main14:03
wgrantYou'll have to adjust ComponentSet to do it itself. There's nothing really magical.14:03
jmuxI added the reverse mapping to __getitem__, and this works, but it seems some other function is used for traversal and I couldn't figure out which one14:05
wgrantOdd.14:05
wgrantAlthough I wonder why you want to do this -- that's not how Soyuz models updates/security.14:06
jmuxCurrent Soyus DB model doesn't allow this construct of sub-components14:07
wgrantNo. It uses pockets for that purpose.14:07
wgrantWhat exactly are you trying to achieve?14:08
jmuxJust to keep the Debian structure for import. I know I can set the pocket and override the component for gina imports, but I would like to use the Debian component names.14:10
jmuxBut more importantly I have series names, which also contain a slash, which will have the same problem14:12
wgrantthat will cause utter chaos.14:12
wgrantWhy do you have such things?14:12
jmuxIt has been like this the last 4 years - names like halut/2.0.0 where halut is our codename for Debian Etch and theh rest is the Version string14:14
wgrantOooh dear.14:14
wgrantThat's not going to go well.14:14
jmuxI would just need a mapping that tells Launchpad to map series and component names from "x/y" to "x~y" for travsersal...14:17
wgrantMore stuff than traversals will break if you mangle series names like that.14:17
wgrantIn fact, PostgreSQL will probably tell you that you are being silly.14:18
jmuxWhy? I don't think anything in PostgreSQL depends on not using '/'14:19
wgrantNo, but distroseries.name should have a valid_name constraint on it.14:19
wgrantAnd that should forbid '/'.14:19
jmuxOk, but that's not really hard to change.14:22
wgrantNo. But more stuff than traversals depends on that constraint.14:23
wgrantIt's probably a very bad idea to attempt to change it.14:23
jmuxSo is there a known way to do this mapping for traversal?14:32
jmuxMy solution: one can use the traverse function of the Navigation class of the parent set to traverse the uri part directly. I missed that when I read the Navigation class.15:09
* maxb is scared by the preceding conversation and wonders if mapping to pockets wouldn't be entirely saner in the long run15:52
maxbThere is a discussion in the reprepro manpage about how the debian slash-in-component stuff is so broken15:52
maxbsearch for FakeComponent15:52
=== mwhudson_ is now known as mwhudson
wgrantmaxb: It does seem like a much saner approach to import them as pockets and perhaps alter archivepublisher to do them as evil nested components.23:25
maxbDo we need to publish them that way?23:25
maxbLet that insanity stay with security.debian.org :-)23:26
wgrantmaxb: If they have users, yes.23:26
wgrantThis sort of thing will come into the picture if Debian PPAs end up happening.23:27
maxbI don't understand.... given LP hosts no debian archives currently, can't it decide what components to allow23:27
maxbWell sure, but the main debian archive doesn't have nested components, that insanity is limited to s.d.o23:28
wgrantmaxb: Does it not seem like jmux is planning to do exactly that?23:28
wgrant(not Debian, but a derivative?)23:28
maxbHow's that going to work then? Isn't that going to require a second public instance of Launchpad, or the derivatives buildds in canonical's datacentre?23:29
maxbOr something similarly tricky to arrange23:30
wgrantProbably.23:30
maxbAnyway, the solution is for the derivative not to copy debian's weird naming for security updates23:30
maxb:-)23:30
wgrantRight.23:30
wgrantBut if they need to for compatibility, it's to map pockets differently on the output.23:31
* maxb mutters something about symlinks :-)23:32
wgrantAh, you're right, that will work. I was thinking that Release would have the full name, but it just lives within updates/.23:33
wgrantThat makes everything muuuch easier.23:34
wgrantOh, it *does* actually use the full names, but only at the top.23:37
wgrantHow confusing.23:37
maxbIt's more than a bit weird, but it mainly seems to be that you generate the "Components:" line in the Release file including extra path components which shouldn't really be there23:44
wgrantYes.23:45
wgrantWhich is substantially easier than doing what I suspected might be necessary.23:45

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