/srv/irclogs.ubuntu.com/2010/05/14/#launchpad-dev.txt

thumperrockstar: still there?01:43
rockstarthumper, yes.01:49
rockstar(for various definitions of the word "there")01:50
thumperdid you work out the upgrade branches issue?01:50
rockstarthumper, no.  I started looking through logs but then got distracted by an actual ec2 email (!)01:52
thumperok01:52
rockstar...and now I seem to have lost my connection to devpad and cannot reconnect.01:52
rockstarssh: Could not resolve hostname chinstrap.canonical.com: Temporary failure in name resolution01:52
rockstarwtf?01:53
thumperwe need a losa query to work out which upgrade branch is in progress01:54
thumperbecause it isn't being logged01:54
thumpersinzui: I don't suppose you can take a 5 minutes call?01:59
sinzuithumper, I do02:00
lifelessmoinish05:19
thumperlifeless: hi06:02
thumperanyone remember how to get a vocabulary from a name?06:03
StevenKmaxb: They are caused by the same issue.06:09
* thumper is hanging out for the day to end06:13
thumperalmost got this bug fixed06:14
thumperStevenK: how are you enjoying soyuz?06:14
StevenKthumper: It's challenging, but I'm enjoying it06:15
stubthumper: They are named utilities IIRC, so getUtility(IVocabulary, 'foo') (not sure if that is the real interface to use)06:18
thumperstub: thanks, but I've got it now06:18
thumperstub: I've avoided the need :)06:18
stubIVocabularyFactory looks like... anyway.06:19
thumperstub: I don't suppose there is a way to replace the vocabulary being used in form_fields easily is there?06:19
* thumper fires up pdb again06:20
stubthumper: I think you create a new interface and override that attribute. Not sure.06:21
thumperhmm06:21
thumperI have to do it somewhat dynamically06:22
thumperit seems I have to do the form_fields.omit, then add the new one06:22
thumperI was just wondering if there was a short circuit06:22
thumperalthough I feel that the underlying fields that are being referenced are exactly that, references06:22
thumperand changing the vocabulary could be hazardous06:22
jtvstub: thanks, your help got me a lot further.  Added comments to bug 388997.06:50
mupBug #388997: +imports page should handle URL "hacks" more gracefully, instead of OOPS with LookupError <oops> <Launchpad Translations:Triaged> <https://launchpad.net/bugs/388997>06:50
* thumper EODs06:51
jtvg'night thumper06:52
jtvdanilos: that branch for setting BuildQueue.processor looks good to me... what work does it still need?06:53
danilosjtv, QA :)06:53
jtvpah06:53
danilosjtv, well, I'd like to QA it before I get it landed :)06:54
jtvsissy06:54
jtvdanilos: two separate issues there afaics...  is the branch good, and does it solve the problem.  As part of the former, I can give you a review now.06:56
danilosjtv, heh, certainly then :)06:56
wgrantbigjools: Can I get a full publisher log at some point? The last one was truncated early on.10:16
bigjoolswgrant: ppa or ubuntu?10:24
wgrantbigjools: The latter.10:24
wgrant(the former I can't really see, since it is full of private stuff)10:24
wgrant(and the latter is the one that is really really really slow)10:24
=== vila is now known as mgz
wgrantbigjools: I know how that build go corrupted yesterday.10:37
wgrantThe one where the build was 'Needs building', but the job was FAILED.10:37
wgrantThere's a bug in the abort handler.10:37
=== matsubara-afk is now known as matsubara
ghostoyohi13:18
ghostoyoi would like have some help about installing launchpad13:19
marsHi ghostoyo.  I might be able to help.  What is the problem?13:20
ghostoyoi have install bzr13:21
ghostoyothen i launch the script rocketfuel-setup13:21
ghostoyoi have an error : ERROR: The user root has not registered any SSH keys with Launchpad.13:22
ghostoyothen i have a question i must to give some keys but i donnu which13:23
marsghostoyo, what do you see when you type "bzr whoami"?13:23
ghostoyoroot <root@lxc-vz2>13:23
marsghostoyo, and have you set up a launchpad account?13:23
ghostoyoyes i have a launchpad account13:24
marsghostoyo, and "bzr launchpad-login" shows the correct user?13:25
ghostoyono it's not the same13:25
marswell, it should be your launchpad username13:25
marsone is the account that will be signing the commits13:26
marsthe other is the account that communicates with launchpad13:26
ghostoyoNo Launchpad user ID configured.13:26
ghostoyohow i can configure a account ?13:27
marsghostoyo, if you have a launchpad account set up, just type "bzr launchpad-login whatevermylpaccountnameis"13:28
ghostoyoit say me that i am not registered13:30
marsghostoyo, could you tell me your Launchpad account name, so I can look it up?13:31
ghostoyoGhostoyo :)13:31
ghostoyodid you found me?13:35
marsghostoyo, I'm reading the source for rocketfuel-setup, and it says that the error can be ignored.  When you ran it, did the script continue despite the error?13:35
ghostoyoyes but then i have a ask about som keys13:36
wgrantYou probably shouldn't be running rocketfuel-setup as root.13:36
wgrantIt's not designed for that, and probably hasn't been tested.13:36
ghostoyohave u succed in install it?13:36
wgrantYes, as my own user.13:36
marsghostoyo, I just checked on launchpad for "https://edge.launchpad.net/~Ghostoyo", and there is not account there.13:37
ghostoyoi launch the script and give you exactly the message13:37
wgrantDoes it cause an error?13:37
wgrantIt should work even without keys.13:37
marscorrect13:37
ghostoyook i will try13:37
ghostoyohttps://launchpad.net/~milot-jean13:38
maxbghostoyo: Please confirm you're not running any of this as root any more13:38
ghostoyoyes i'm root13:38
maxbWell, that is incorrect13:39
ghostoyosorry ?13:40
maxbYou should NOT be setting up Launchpad as root13:40
ghostoyook13:41
maxbAlso, when you say you want to "install" launchpad, you do realize that what you are doing is setting up a Launchpad *development* environment, *not* installing Launchpad for production usage?13:42
ghostoyoyes13:43
marsghostoyo, when you run the rocketfuel-setup script (as a user account, your own or a new one like /home/launchpad), the script will ask you for your Launchpad username.  Type 'milot-jean' when it does.13:45
ghostoyoyes i do13:46
=== Ursinha-afk is now known as Ursinha
marsghostoyo, it should work then.  You can try adding "set -x" to the top of the script, and it will print out each command as it is executed.  You can then tell us the line with errors if it happens again.14:05
marsgary_poster, should zc.buildout projects still have the "import ez_setup" line at the top of their setup.py file?14:15
marsgary_poster, I'm noticing that lazr-js uses "import distribute_setup" instead.  That dies horribly when you then try to run "bin/py setup.py"14:16
gary_postermars, that and other changes I now regard as mistakes.  I tried to make changes so a non-buildout workflow would still be possible  It made things messier than necessary for little to no benefit.  So IOW, "no" is fine.14:16
marsgood!14:16
marsthat is a nice answer :)14:17
marsgary_poster, fwiw, I noticed that 1.5.0b1 also fails in isolating lazr-js from the base system when you set install-from-cache with the default setting.14:19
marsgary_poster, it picks zope.interface 3.5.1 from dist-packages, then dies.  What it /should/ do is look on PyPI for 3.5.3 and download it into the global .buildout/ cache.14:20
marsgary_poster, I suspect that there is a new "buildout way" for 1.5.0, one that uses nice things like the global cache, and that lazr-js does not follow it.  Pain ensues.14:22
gary_postermars, ah, yes!14:24
gary_postermars, is there a branch I can see?14:24
gary_posterthe easy answer is this:14:24
marsgary_poster, lp:lazr-js/1.014:24
gary_posterfor scripts, instead of using the zc.recipe.egg recipe in buildout.cfg, use z3c.recipe.scripts14:24
gary_posterthat should be it14:24
marssubtle14:25
gary_posterSome recipes still need to use the new approach, so they still may be problematic14:25
gary_postermars, I guess yes.  I felt it was important to provide full backwards compatibility14:25
marsI agree14:25
marsit is subtle because it is not obvious that I need to change the buildout.cfg recipe in order to use the new buildout cache, and to fix the isolation problem.14:26
marsgary_poster, given that there is a new "buildout way", and upgrade guide or cheatsheet may be in order.14:26
gary_postermars, agreed about the lack of obviousness. :-/  in the same vein as the discussion we had aboutan "opinionated" buildout, I thought it might be nice to have a bootstrap (or some other script) that would give you a buildout directory set up the opinionatedly-correct way.  Something much lighter weight than the lazy.yourpackage thing, but a similar way to get started.14:29
gary_posters/discussion we had aboutan "opinionated" buildout/discussion we had about an "opinionated" bootstrap/14:29
marsright14:30
ghostoyothe message : Fetching revisions:Inserting missing keys:14:32
ghostoyowhat i must to enter ?14:33
cody-somervillesinzui, https://launchpad.net/live-installer15:31
cody-somervillesinzui, Why doesn't launchpad suggest the 'live-installer' package under 'Packages in Ubuntu' section?15:32
sinzuiUsually because live-installer is not published in Maverick15:33
sinzuicody-somerville, it may have matched, but we limit the matches to 815:33
cody-somervilleIt is published.15:34
sinzuicody-somerville, I think the latter is the case here15:34
cody-somervilleme too15:34
cody-somervilleShould I file a bug?15:34
sinzuiLp is search DistributionSourcePackageCache. It looks like the method does not give precedence to exact matches15:35
* cody-somerville nods.15:35
cody-somervillesinzui, Also, can I have maintainership of the live-installer project on launchpad? I maintain the package in Ubuntu and participate upstream as well.15:36
sinzuicody-somerville, you need to ask Mantas Kriaučiūnas, if he never replied a Launchpad admin can give it you15:37
* sinzui has a plan to let registry administrators do this too15:37
=== Ursinha is now known as Ursinha-lunch
=== matsubara is now known as matsubara-lunch
=== gary_poster is now known as gary-lunch
=== beuno is now known as beuno-lunch
marsEdwinGrubbs, ping, were we supposed to nuke the apidoc dirctory in r10865 ?17:12
marsEdwinGrubbs, the $(API_INDEX) target in the Makefile still depends on that directory existing in source control.  If you want, I can make it into a generated target instead of a checked-in one if the deletion was intentional.17:18
EdwinGrubbsmars, I'm looking at that revision now.17:28
=== matsubara-lunch is now known as matsubara
=== Ursinha-lunch is now known as Ursinha
=== Pilky_ is now known as Pilky
=== gary-lunch is now known as gary_poster
=== beuno-lunch is now known as beuno
pabelangerI'm testing out launchpad from ~/launchpad/lp-branches/devel, but can't locate etc/zope.conf to disable Developer mode18:56
maxbWhy would you want to disable developer mode?19:24
pabelangerto see how much faster it is19:31
marsflacoste, ping19:52
marsflacoste, unping20:00
marsgary_poster, do you know where in the test suite an expensive functional test for test_on_merge.py might go?20:20
gary_postermars on call20:21
marsk20:21
sinzuigary_poster, ping20:45
gary_postersinzui on call20:46
sinzuinotes20:46
sinzuinoted20:46
gary_postermars, um....canonical.launchpad.scripts.tests ?21:47
gary_postersinzui, pong21:48
marsgary_poster, I was looking for something under lib/lp/ actually.  I think lib/lp/scripts/tests/ or lib/lp/testing/tests/ may work.21:49
marsgary_poster, it is slightly complicated by the fact we do not distinguish between unit tests and functional/integration tests, but oh well.21:49
gary_postermars, sounds fine.  "expensive" should give the build engineer pause, I would think, but I expect it's a tricky balance?21:50
marsI prefer not to touch lib/canonical/... for new code.  There are 6? scattered directories under there with some sort of 'test' in the name.21:50
marsgary_poster, expensive because it involves IPC and a one second timeout.  IPC means it is not a unit test.21:51
gary_postermars, ah ok21:51
=== matsubara is now known as matsubara-afk
creatixhttp://tinychat.com/pugquit22:24
thumpercreatix: irc spam?  please don't22:26
=== Ursinha is now known as Ursinha-afk
=== flacoste is now known as flacoste_afk

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