/srv/irclogs.ubuntu.com/2011/06/21/#launchpad-yellow.txt

* gmb takes an early lunch11:31
* danilos -> lunch as well12:06
=== benji_ is now known as benji
gary_posterdanilos. my email replies about the bug notification stuff were OK by you?13:05
gmbgary_poster: Howdy. So, I'm still working on the devpad cronjob. Running into issues with buildbot since buildbot can't connect out. This might need a) Someone who knows more about buildbot than I to look at it or b) Same person as in (a) to answer questions when I have them.13:05
gary_postergmb, buildbot?13:05
gmbbuildout.13:06
gary_posterheh, ok13:06
gmbTwo letters, dammit.13:06
gary_poster:-)13:06
gary_postergmb, cheap hack might work.  Thinking.  Lemme get the branch to see what the buildout looks like these days13:07
gmbgary_poster: It's now at lp:~launchpad/lp2kanban/trunk13:13
gmbRather than under ~yellow/+junk13:13
gary_postergmb, yeah, yay :-) already got it there.  almost ready with idea.13:13
gary_posterI actually have two13:13
gmbCool\13:13
gary_postertrying for the less annoying one :-P13:13
danilosgary_poster, oh, I haven't looked at the email at all :/ sorry, will do so now13:15
gary_postergmb, ok I'll list both ideas.  First one is to do what LP does.  I consider this the more annoying approach, but I remember better how to do it since that's what we do now13:15
gary_posterFor that one, in buildout.cfg, add this13:16
gary_poster(in [buildout]13:16
gary_poster)13:16
gary_postereggs-directory = eggs13:16
gary_posterdownload-cache = download-cache13:16
gary_posterinstall-from-cache = true13:16
gary_posterThen make the download-cache and eggs directories13:16
gary_posterand copy those up wholesale from local bits13:17
gary_posterThat's kinda gross13:17
gmbAhaha.13:17
gary_posterbut we know it works13:17
gmbI like a good kludge.13:17
gary_poster:-)13:17
gary_posterThe less annoying approach is this one13:17
gary_posterYou upload the necessary eggs (as found in your download-cache, or whatever) to a directory on lp13:18
gary_posterideally this would be (1) owned by a group13:18
gary_posterand (2) already a published directory13:18
gary_poster(like ~/public)13:19
gary_posteror ~/html or whatever we call it13:19
gary_posterthen in buildout.cfg13:19
gary_posteryou say index=http://...the address to that directory...13:19
gary_posterassuming that devpad can access itself over the net via the same path we can externally, that means we all use the same eggs for this13:20
gary_posterand it is nice and easy13:20
gmbOkay.13:20
gary_posterhowever, that might be wrong13:20
gmbI'll do the first to make sure that the script actually works (I'm wondering about devpad connecting out to LeanKitKanban)13:20
gmbAnd then try the second.13:20
gary_posterok sounds good13:21
gary_postermakes sense13:21
gary_posterthe docs for the second are as usual hard to make practical use of13:21
gary_posterbut they are here13:21
gary_posterhttp://pypi.python.org/pypi/zc.buildout/1.5.2#finding-distributions13:21
gary_posterit may be that we have to do other random hacks to make the second work13:21
gary_posterwhich I won't bother with till later13:21
gmbOkiedoke.13:22
gary_poster(sadly, I used to like buildout! :-P You can decide for yourself if the sadness is that I no longer do, or that I did initially, because I'm not sure :-) )13:23
gary_posterdanilos, understood, np.13:23
gmbHeh.13:24
gary_posterbac benji danilos gmb, call in 3 (I must "prepare")13:30
gary_posterbac and benji sent their apologies13:32
* gary_poster tries to build the new lp2kanban quickly...13:33
danilosgary_poster, emailed jtv, looked through your emails, they are all good, I'll just take a look at the race-cond bug description13:53
gary_postercool danilos, thanks13:54
danilosgary_poster, btw, nobody complained or noticed the missing "subscribed by" titles13:56
gary_posterdanilos, heh13:56
gary_posterI wouldn't have13:56
gmbgary_poster: Is there a good way to populate my local download-cache so that I can rsync it up to devpad? download-cache/dist is empty for my lp2kanban and the versions specificed in buildout.cfg are later than the ones in the LP download-cache, so using that doesn't work.15:22
gary_postergmb, you tried rerunning buildout locally already, after making the same changes?15:23
gmbgary_poster: I have. Actually, let me try this in a fresh branch...15:23
gary_posterfresh shouldn't make a diff15:23
gmbgary_poster: No, but at least I have a better idea what's a result of buildbot and what's a result of me mucking about.15:24
gary_poster:-) if you get me a copy of the chanes, I can try running it locally15:25
gmbgary_poster: Oh, d'oh. PEBKAC.15:31
gary_postergmb, cool :-)15:31
gmbIf you set install-from-cache = true and there's no cache, it's not gonna work.15:31
gary_poster:-)15:34
gmbgary_poster: So, computer says "no" as far as connecting out to LKK. Going to talk to the LOSAs now. The error is spectacularly non-obvious, so I'm going to file a bug for that and fix it later. http://pastebin.ubuntu.com/630416/15:39
bachi gary_poster, i've made some good progress but i'm a bit stuck atm on what i suspect is some missing zcml fu.  got a sec?15:43
gary_postergmb, ok, progress at least15:44
gary_posterbac, ok, sure15:44
gmbYes indeed.15:44
bacgmb: firewall issue?15:44
gmbbac: Yus.15:44
gary_posteryeah15:44
bacgary_poster: so two odd things.   one, i've specified a plural name for IProcessorFamily as 'processor_families' but it shows up in lplib as 'processor_familys'.15:45
gary_posterheh15:45
bacgary_poster: and the more important, i get error trying to get a canonical_url for IProcessor.  that's the one where i'm missing zcml i'm quite sure15:45
bacgary_poster: the diff is at http://pastebin.ubuntu.com/630418/15:46
* gary_poster wonders if benji would have a better chance of helping quickly with the plural thing.15:46
gary_posterlooking15:46
bacgary_poster: these classes have never been exposed to the UI or API before.  only way to tweak them is through SQL15:46
gary_posterbac, did you expect the canonical_url for IProcessor to work, or you didn't expect it because you didn't know what to add?  I don't obviously see any current zcml that would expose it15:49
gary_posterI mean, in the diff15:49
bacgary_poster: no, i'm not surprised it doesn't work.15:50
gary_posterok cool15:50
bacgary_poster: i'm looking for direction on the proper way to hook it up15:50
gary_postergotcha.  Looking.15:50
benjiI can look at the plural thing if needed.15:50
gary_posterbac, I have no idea, but am doing greppy things.  My current lead is "canonical.launchpad.webapp.interfaces.ICanonicalUrlData"15:52
gary_posterbenji, do you have any idea?15:52
gary_posterI mean about the plural thing15:52
benjinot off the top of my head, but I'd be glad to look into it15:52
gary_posterbenji, k.  ...yeah, why don't you look into the plural thing bac mentioned while I look into the canonical url thing15:53
benjik15:53
benjibac: I assume this is the same branch as yesterday15:54
bacbenji: yes15:54
bacbenji: let me re-push15:55
bacdone15:55
benjik15:56
gary_posterbac, are you already familiar with browser:url?  I wasn't but it appears to be common, and appears to be the way LP expects these things to be done15:59
bacgary_poster: do i need to expose a top level stepto for +process too16:00
bacgary_poster: yeah, i was just looking at that16:00
bacgary_poster: something like:16:00
bac        <browser:url16:00
bac    for="lp.soyuz.interfaces.processor.IProcessor"16:00
bac            path_expression="string:+processor/${id}"16:00
bac            parent_utility="canonical.launchpad.webapp.interfaces.ILaunchpadRoot"/>16:00
gary_posterbac, yeah, sounds like a good start to me16:00
bacso, in addition to +processor-family i need to add +processor16:00
gary_posterbac, it sounds like you are on the right track to me, so I'm gonna do CHR, but feel free to ping again16:01
bacgary_poster: but i wonder if that is too inflationary wrt to top-level entry points?  i suspect francis may have strong opinions16:02
gary_posterbac, does hwdb have a parent url?16:03
benjibac: it appears that you have to provide both a plural and singular in order for either of them to be used16:03
gary_posterlike /hwdb/...16:03
bac+hwdb, yes16:03
gary_posterbac, I have no idea, but would that be reasonable to use then?16:03
bacbut it is an IApplication16:03
benji(if you experimentally verify that as the case, I will file a bug about generating an error if you only provide one)16:03
gary_posterwhy is that bad bac?16:03
bacgary_poster: oh, you mean hang the processor off +hwdb or use it as an example?16:04
gary_posterbac, hang it off +hwdb, possibly as +hwdb/processor/ or something.  That may be horrible--I know nothing about hwdb so I don't know what their URL patterns looks like, and where conflicts might arise.  +hwdb/+processor?16:06
bacgary_poster: actually a processor belongs to only one ProcessorFamily16:06
bacso i can do +processor_family/processor/${id}16:06
gary_posterbac, +116:06
gary_posterassuming that means that this will not conflict with a processor_family named "processor," or that we consciously don't care and have handled the potential OOPS if it does16:07
gary_posterbac ^^16:07
bacgary_poster: will keep in mind16:08
gary_postercool16:08
bacbenji: we have plenty of examples of export_as_webservice_entry with only a plural_name.  i assume they work...16:10
benjibac: maybe I'm reading the code wrong.  How do I reproduce the problem?16:11
bacbenji: with my branch, run the server and then connect to it using lplib is one way to see16:11
bacdir(lp) shows the top level collections and you'll see process_familys16:12
bacor, i'm sure it is visible in wadl file too16:12
bacbenji: do you use lp-shell?  man, it rocks16:12
gary_postergmb, could you take a look at https://answers.launchpad.net/launchpad/+question/161972 and see if you have any wisdom to impart?16:13
benjinope, I don't think I've heard of it16:13
gmbgary_poster: Sure16:13
gary_posterthank you16:13
* gmb sees HWDB, gets scared.16:13
bacbenji: http://pastebin.ubuntu.com/630428/plain/16:13
gmbgary_poster: I think this is one that abel would be best for.16:13
gmbI'll ping him.16:13
gary_posterthanks gmb16:14
bacbenji: http://bradcrittenden.net/post/1173745688/interacting-with-launchpadlib-using-lp-shell16:14
gary_posteryay danilos :-)16:20
danilosyaay :)16:20
danilosgary_poster, and jtv was quick to react, 29mins ago marked as qa-ok on https://bugs.launchpad.net/launchpad/+bug/394645 :)16:21
_mup_Bug #394645: IDistroSeries.getQueueItems deprecated by IPackageUploadSet.getPackageUploads <derivation> <lp-soyuz> <qa-ok> <tech-debt> <Launchpad itself:Fix Committed by jtv> < https://launchpad.net/bugs/394645 >16:21
gary_postercool :-)16:21
danilosgary_poster, while waiting for henning to become available for a preimp, I've closed one critical bug (OOPS) which doesn't seem to happen anymore (it was happening every day until March 1st then suddenly stopped), and looked into another timeout bug and identified the core problem and potential solution (a solution that seems to work for that case, but since it's "remove an index that's in the way", I need to ensure it's not harmful16:26
danilos elsewhere)16:26
danilosgary_poster, do you perhaps want these bugs on the kanban board?16:27
danilosgary_poster, (one was basically half an hour with matsubara querying the OOPS DB, other some playtime on lpmain_staging DB)16:27
gary_posterdanilos, sounds great.  I haven't been putting the "close by declaring dead" bugs on the board myself (I had one yesterday too), but I'm happy to see them.  If you intend to continue on the timeout bug, yeah, def put it on the board.16:28
danilosgary_poster, yeah, I do for the timeout bug, so I'll put it up, thanks16:28
gary_postercool16:29
danilosI am off now, tomorrow I am OCR and a help contact :)16:30
benjibac: I'm having trouble reproducing the problem: http://pastebin.ubuntu.com/630436/16:31
bacbenji: so you have nothing wrt processor family16:32
benjibac: not that I can see16:32
benjiI've verified that I'm running a branch with your most recent branch merged in and there are no other servers running, and I see the requests in the access log of the expected server16:32
bacbenji: i see the same thing if i connect using 'devel' version.  if i use '1.0' version i see processor_familys16:32
bacoddities abound16:33
benjihmm, let me look at that16:33
benjibac: yeah, I don't see anything about families with lp = Launchpad.login_with('test', 'dev', version='1.0') or lp = Launchpad.login_with('test', 'dev', version='devel')16:36
bacbenji: that's very odd.  you did a 'make clean build'?16:36
benjibac: ooh, I think you diagnosed it16:37
gary_posterbac, fwiw, mrevell has not replied to https://support.one.ubuntu.com/Ticket/Display.html?id=2081 in a long time so maybe worth some commercial love when you get a chance.16:37
bacgary_poster: ok16:37
bacbenji: or is the wadl being cached?16:37
baci think it may be!16:37
bacthat has bitten me in the past16:38
benjibac: yep, the WADL was being cached by launchpadlib, once I removed that I began seeing the correctly named attribute: "processor_families"16:41
bacbenji: me too.  sorry for the goose chase16:42
benjiI needed some excersize.16:42
bacgary_poster: when do you fly out to dublin?  what's your routing?  i'm on DL via ATL16:49
gary_posterbac, same here.  I leave 6:30 PM Sat16:50
gary_posterreturn flight was weirder16:50
gary_posterDelta leaving 10:30 AM Sat, through Kennedy16:50
gary_posterDon't remember why16:51
bacyeah, i'm not returning until the following saturday.16:53
bacgary_poster: it's odd on that commercial ticket matthew seems to have led the guy on about private hosting.  now i've got to be the bad guy.16:55
gary_posterbac, uh-oh :-(16:55
gary_postermaybe that's why he didn't reply :-P16:55
bac:)16:57
gary_posterlunch/getting last-minute birthday presents for younger son17:49
gary_posterbac, gmb, did you already countersign your allhands stuff?  I meant to ask this morning on the call19:43
bacgary_poster: nope.  will do now.19:43
gary_postercool19:43
bacgary_poster: i have countersigned, validated, and confirmed19:45
gary_postercool thanks bac.  I'll take you off the card19:45
bacis that it for a while, i hope?19:45
bachere's my favorite part:  The objective sheet can't be anymore updated, unless it is reopened by your manager.19:46
gary_posterbac, y, afaik19:46
bacumm, bad english19:46
gary_posteryeah :-/19:46
baci filed a bug on that, oh, i guess a year ago19:46
gary_posterheh19:46
gary_posteryeah19:46
gary_posterimprovements on that app never happen afaik19:47
benjiIt looks like it's written in Domino (Lotus Notes).20:00
* benji prepares to do CHR.20:00
* gary_poster was only so-so on CHR today, and fears benji's wrath20:10
benjigary_poster: heh; no worries, there were lots of projects to review, but now that I have the disable_projects.py script, it's quite a bit easier20:27
gary_posterbenji, where is it?20:27
benjiI did have one almost coherent question that I had to answer.20:27
gary_posterheh20:27
benjilp:lp-dev-utils20:27
gary_posterI thought it might be something like that.  Thanks20:28
bacbenji: were there still lots of projects to review?  i did a bunch yesterday20:49
benjibac: yeah, but they were all registered in the last 24 hours; aparently it's a popular site ;)20:50
bacgary_poster, benji: is there a trick in the API to setting a property to a list of things?  i want to do:  archive.enabled_restricted_families = [arm] but i get a NoBoundRepresentationError20:50
benjiI don't know of one.  As a matter of fact, I don't know much about how collections work.20:51
benjiyou might try archive.enabled_restricted_families[:] = [arm]20:51
gary_posterbac, I'm afraid I don't know either :-/20:54
bacTypeError: 'Collection' object does not support item assignment20:54
bacbenji:  ^^20:54
benji[rhetorically] well, how are you supposed to mutate it then?20:55
gary_posteryeah, there must be a way20:55
benjifrom looking at the code, it looks like Collections are read-only; still looking20:57
baclet's see what francis says...20:57
gary_posterGood idea20:57
gary_posterI was looking at https://help.launchpad.net/API/launchpadlib and getting nowhere20:57
bacwell, it seems it is undoable20:59
bacnot doable20:59
bacimpossible20:59
gary_posterwho would want to change a list, really?21:03
gary_posterThe list we should check frequently: https://bugs.launchpad.net/launchpad-project/+bugs?field.tag=escalated21:43
gary_posterbugs danilos should mentor us on: bug 734765 and bug 77569121:44
_mup_Bug #734765: Show linked upstream projects to the translatable templates in the +templates page <escalated> <not-pie-critical> <upstream-translations-sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/734765 >21:44
_mup_Bug #775691: Empty translations on one side do not get translated by the other side <escalated> <not-pie-critical> <upstream-translations-sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/775691 >21:44

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