/srv/irclogs.ubuntu.com/2010/02/04/#launchpad-dev.txt

* mwhudson stares at a pqm regex failure mail01:15
wgrantmwhudson: Um, not choking on self-signed certs is a feature?01:16
mwhudsonwgrant: for svn imports, yes01:16
* mwhudson sighs01:18
mwhudsonrelease-criticial=flacoste01:18
james_whas edge still not rolled out with my task_age fix?01:33
maxbIt would be really quite nice if someone could get around to making xx-resetpassword-of-sso-account.txt not be an unavoidable test failure for non-Canonicalites :-/01:34
lifelesshey, who would be a good person to chat to about tweaking the CoC signing workflow01:54
mwhudsonrockstar: you there?02:55
rockstarmwhudson, yes.02:55
mwhudsonrockstar: can you triage https://bugs.edge.launchpad.net/launchpad-code/+bug/497603 ?02:55
mupBug #497603: Y.codereview.connect_links creates a new picker every time the link is clicked <Launchpad Bazaar Integration:New> <https://launchpad.net/bugs/497603>02:55
mwhudsonhm02:57
mwhudsoni haven't had any email from launchpad for a few minutes02:57
mwhudsonwhere's my patch -> branch feature03:41
kfogelmwhudson: whoo hoo!  That branch we were ec2-ing earlier has passed all tests and, it seems, landed.  *relief*03:52
kfogelmatsubara: thanks for marking all that stuff Fix Committed.03:53
devmodhello04:13
devmodSo, im trying to install launchpad and im running the script and it gets stuck in "[#########\          ]  61430KB   163KB/s | Fetching revisions:Inserting stream" been sitting there for like 15 mins and no progress has been made... wondering if that is normal04:14
kfogeldevmod: what version of bzr?04:14
devmodBazaar (bzr) 2.0.204:16
kfogeldevmod: hunh.  That doesn't sound normal to me.  All I can suggest is upgrading bzr, to bleeding edge if necessary.04:18
devmodits the same version I have on my other ubuntu karmic machine04:19
kfogeldevmod: temporary network error?04:21
devmodhappened twice04:22
kfogeldevmod: (I'd stick around to debug more, but it's 11:30pm where I am; I'm just here to get a couple of things done and then zzzzz.  Sorry not to get more engaged :-(  ).04:22
devmodthat is ok thanks04:22
kfogelspm: is there anything we can do to ensure that db-devel (in particular, the recently-landed http://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/revision/8961) gets deployed to staging "soon"?  I'm not sure if that's an automatic process that just happens to take ~1day, or if there is prodding I'm supposed to do.04:23
spmkfogel: it's automatic; and if there's DB changes, hastening it is a Really Bad Idea™04:24
kfogeldevmod: Don't know what TZ you're in, but there should be more people in a few hours.04:24
kfogeldevmod: UK time morning, you see04:24
devmodoh yeah EST here04:24
kfogelspm: there are DB changes, and I don't particularly need to hasten it, I just want to know that it will be available for Jorge Castro to use by EOD Thursday (he's giving a talk Friday morning, demo'ing against staging if he can).  I can't remember what TZ he is in right now -- I think US West Coast?04:27
elmoyes, US west coast04:28
kfogelelmo: thx04:29
spmkfogel: hmmm. that may be cutting it fine. fwiw: https://staging.launchpad.net/successful-updates.txt04:30
kfogelspm: hunh..  So every half hour it does... something?  What's it waiting for?04:30
spmupdates it can apply; but if you have db updates; it (still does?) a full DB rewhatsit. which is ... slow.04:31
spmkfogel: as in a full staging restore takes something like 20 hours.04:32
kfogelspm: and how can we tell when that's started?04:32
spmkfogel: ps fuxww | grep restore. :-)04:33
* kfogel growls04:33
spmone kicked off yesterday... trying to find the exact time04:33
spmkfogel: what revno are you waiting on?04:35
spmif 8955, that's currently doing an update to the DB as well; if > than that...04:35
kfogelspm: the one above04:35
kfogelspm: let me grab it04:35
kfogelhttp://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/revision/896104:36
kfogelso, 896104:36
spmhmmm. I may be able to break this and kick off a new restore.04:37
devmodI manually did "bzr branch lp:~launchpad-pqm/launchpad/devel lp-branches/devel/" and it got stuck on the same exact place "[#########|          ]  61430KB     0KB/s | Fetching revisions:Inserting stream" wth?04:37
spmdevmod: any network activity still happening?04:37
spmkfogel: to verify. this one: Implement a "+patches" view on packages, products, project groups, series, persons, and teams.04:38
kfogelspm: right04:41
devmodwhat port would bzr branch lp: use?04:44
spmkfogel: oki, first problem - that hasn't landed on db-devel yet; is still in Buildbot.04:44
spmhas ~ another 3.5 hours ETA04:44
spmdevmod: 22, ssh. or also look for host 91.189.90.1104:49
kfogelspm: oh, that rev has to go through buildbot?04:50
kfogelfirst, I mean?04:50
spmkfogel: yup04:50
kfogelspm: wait, I'm confused.  I've updated db-devel here, and that rev is definitely present.04:51
kfogelI mean, it's in my branch here, which is just a branch of db-devel.04:51
spmstaging is db-stable04:51
spmkfogel: https://dev.launchpad.net/Trunk (pretty diagrams :-) )04:52
kfogelspm: so it moves from db-devel to db-stable after it's been through buildbot?04:52
spmright04:52
kfogelspm: diagram is very helpful, thanks04:53
spmthe idea was to get *a* landing is fast; get an approved and tested landing; happens; and gets a bunch of other merges in one hit; but only after testing is it applied to staging; and hence makes for a 4 step process diagram.04:53
spm4 branch - process/diagra04:53
devmod04:59:04.674042 IP crowberry.canonical.com.www > 192.168.75.132.52521: Flags [R], seq 3835263603:3835263606, win 0, length 304:59
devmodgets stuck there04:59
devmodwin 0 ?04:59
kfogelspm: so basically, we shouldn't count on this being live on staging by Friday morning US west coast time, though it *might* happen, right?04:59
spmkfogel: the only way it's even got a chance is if I stop the existing restore; and hold pending that landing getting thru buildbot; and even then... yeah, cutting it fine.05:01
kfogelspm: urgk.  Well, I don't know how often these things come up.  Jorge wants to use it in a plenary talk on Friday.05:02
spmkfogel: is the DB side critical? as in the other changes as part of the set should be on edge; or soon will be?05:03
kfogelspm: the db changes are a critical part of the overall change, yes05:03
kfogelspm: this stuff hasn't landed on devel, afaik, since it needs its db changes.  It's only in db-devel.  So I'm not expecting to see it on edge right away.05:04
spmkfogel: oki; I'll see what I can do, but zero promises unf. these restores are not fast.05:05
kfogelspm: thank you.  I'm composing a mail to lp-dev; I'll make it clear that no promises are being made.05:06
kfogelspm: g'night05:45
kfogelwell, g'afternoon05:45
kfogelzzz05:45
spmkfogel: likewise!05:45
spmheh05:45
thekornhi, bug 515761 is about not being able to get collections correctly when using this anonymous API feature,08:41
mupBug #515761: Not able to access collections anonymously <launchpadlib :Confirmed> <https://launchpad.net/bugs/515761>08:42
thekornwhat is the correct bug target for this, launchpadlib looks wrong to me08:42
wgrantthekorn: launchpad-registry.08:52
wgrantOr is it all collections?08:52
bigjoolshello hackers08:52
thekornwgrant, looks like all collection, maybe it's lazr.restful?08:53
wgrantIt could be.08:53
* wgrant looks.08:53
bigjoolsal-maisan: morning.  Did you get far with bug 516922?08:56
mupBug #516922: process-pending-packagediffs breaking <Soyuz:Triaged> <https://launchpad.net/bugs/516922>08:56
wgrantthekorn: It's not all collections. I am digging further.08:56
al-maisanbigjools: I did not start on it yet, looking at yesterday's bug.08:56
al-maisanbigjools: should I get going on Bug #516922?08:57
mupBug #516922: process-pending-packagediffs breaking <Soyuz:Triaged> <https://launchpad.net/bugs/516922>08:57
bigjoolsal-maisan: yes this one is more important08:57
al-maisanbigjools: ack08:57
bigjoolsal-maisan: thank you08:57
thekornwgrant, oh, so it seems like I had bad luck only picking collections where something goes wrong08:57
al-maisanbigjools: de nada08:57
wgrantthekorn: eg. bug.bug_tasks works.08:58
thekornwgrant, hmm, right09:06
mrevellMorning09:10
wgrantthekorn: Ahem.09:11
wgrantthekorn: I found the cause for product.series.09:11
wgrant    permision = 'launchpad.View'09:12
wgrantsomebody cannot spell.09:12
wgrantthekorn: What other cases are there?09:12
thekornwgrant, bug.messages and bug.subscriptions09:12
wgrantthekorn: Yeah, I see why this is all happening.09:14
thekornwgrant, super, great, thanks a lot09:15
wgrantBasically, lazr.restful returns an object if you hold launchpad.View on it.09:15
wgrantObjects like messages and bugsubscriptions have no security adapters, so it falls to the root one.09:15
asabilhi all09:15
wgrantWhich, in this case, is ('launchpad.View', Interface) -> ViewByLoggedInUser, which only allows authenticated users.09:15
asabilis it normal that the xmlrpc service is handled by codebrowse ?09:15
wgrant(I had actually wondered from the start how it knew to hide objects, given that I saw no way for it to happen reliably. I was right.)09:18
thekornwgrant, so will the solution for this be to write security adapters for all affected collection, or might there be a more general solution?09:31
wgrantthekorn: I think ViewByLoggedInUser is probably a bug.09:32
wgrantthekorn: It should probably just be View.09:32
wgrantThere may be a couple of places that it makes sense, but not many.09:33
wgrantIt shouldn't be the default security adapter.09:33
thekornwgrant, I think even if the typo is fixed IProductRelease will need a security adapter for launchpad.View in order to get a working product.releases, but this is just a minor side note ;)09:47
wgrantthekorn: Yes, the underlying issue needs to be fixed oto.09:49
jmlthumper, time.mktime(date_time.timetuple())11:24
jmlthumper, but! it fucks up timezones11:25
jmlthumper, it doesn't actually, utctimetuple would11:27
asabilcan someone help me with this: http://pastebin.com/d68e0056c ?12:05
asabilI am setting up launchpad manually to learn about things12:06
asabilanyone ?12:09
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
=== salgado changed the topic of #launchpad-dev to: Launchpad is feeling unwell right now, but we're working on it || Launchpad Development Channel | Week 0 of 10.02 | PQM is open | gary_poster is release manager | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | Channel logs: http://irclogs.ubuntu.com/
=== salgado changed the topic of #launchpad-dev to: Launchpad is feeling unwell but should be fully recovered real soon now || Launchpad Development Channel | Week 0 of 10.02 | PQM is open | gary_poster is release manager | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | Channel logs: http://irclogs.ubuntu
marshmm, our "The Server is Down" page probably shouldn't try to load it's CSS from a file on self-said server...14:41
=== matsubara is now known as matsubara-lunch
mthaddonmars: it's hosted statically so it doesn't matter14:50
marsmthaddon, ok, thanks.  Then the styling is just plain messed up.14:53
mthaddoncould be, yeah14:53
=== salgado is now known as salgado-lunch
henningesalgado-lunch: Hi, ping me when you get back, please.15:12
=== mrevell changed the topic of #launchpad-dev to: Launchpad is back online. Please report any problems. || Launchpad Development Channel | Week 0 of 10.02 | PQM is open | gary_poster is release manager | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pastes | Channel logs: http://irclogs.ubuntu
thekornallenap, thanks for your review, looking at it now15:54
=== matsubara-lunch is now known as matsubara
matsubaraChex, rockstar, bigjools, Ursinha, sinzui, allenap: LP production meeting in 3 min @ #launchpad-meeting15:57
al-maisanmatsubara: bigjools is sprinting .. I'll stand in for him.15:58
matsubarahenninge, ^15:58
matsubarathanks al-maisan15:58
=== salgado-lunch is now known as salgado
salgadohi henninge15:59
henningesalgado: Hi! ;)15:59
henningesalgado: I have some ideas about the LP security system and wanted to ask you if you know of any plans to work on it?16:00
sinzuiEdwinGrubbs: can you attend the production #launchpad-meeting16:00
salgadohenninge, if I have plans to work on it or if there's any work planned on that area at all?16:01
henningesalgado: in general. I am talking to you because I thought that this falls into your team's expertise.16:02
henningesalgado: I could just put my ideas out on the mailing list or a wiki page or a blueprint but thought I'd checked if any work in that direction is already planned.16:03
salgadohenninge, it does, yes, but I'm not aware of any planned work on that area16:03
henningesalgado: do you use blueprints, bugs or wiki pages to collect plans/ideas?16:04
henningeOr should I start with an RFD on the ML?16:04
salgadohenninge, bugs, mostly, but I guess a RFD on the ML would be good in this case16:05
henningesalgado: cool, will do that. Thanks.16:05
=== henninge_ is now known as henninge
jmlintellectronica, great link!16:38
jmlsinzui, http://www.runleiarun.com/lebowski/16:38
intellectronicaoh, it's amzing16:41
intellectronicait's this kind of stuff that restores my faith in the internet16:41
jmlintellectronica, well put :)16:47
jtvgood night, folks!17:20
jmlyou guys17:53
jmlyour coding standard is basically stupid17:53
jmlhow come functions and methods are differently formatted?17:53
jmlis there a thing that makes them different?17:53
intellectronicajml: one you can have in java and the other you can't17:57
intellectronicawe're industry standard like that17:57
didrockshey, I can't remove some token from my authorized applicatoin list today (from production or edge server): https://edge.launchpad.net/~didrocks/+oauth-tokens18:07
didrocksI got a "Sorry, you don't have permission to access this page. You are logged in as Didier Roche."18:08
didrockswhen trying to revoke an authorization18:08
maxbdidrocks: It got broken in the last rollout. Let me find the bug number....18:17
maxbbug 51156718:18
mupBug #511567: Can't remove authorised oauth tokens <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/511567>18:18
didrocksmaxb: thanks, I'll follow it18:18
didrocksbtw, do someone have any clue about the crash I got trying to install LP locally to extend Launchpad API? (http://pastebin.com/f5426fbab)18:24
jamaltawould you guys care if i make the community-contributions script merge the 3 version of me? ... i kinda ruined the count there, heh18:37
EdwinGrubbssalgado: ping18:40
intellectronicadidrocks: did you use rocketfuel-setup to install?18:42
salgadohi EdwinGrubbs18:42
EdwinGrubbssalgado: are you the person to ask questions about adding a launchpad-dependency and a package to the PPA? I saw the wiki page, but it didn't really have any guidelines.18:44
salgadoEdwinGrubbs, I used to be responsible for that, but since we moved to a PPA I'm not.  I might be able to answer any questions you have, though18:45
jamaltaalso, could i get some input for bug #515761?18:46
mupBug #515761: Anonymous API access to some collections returns nothing <Launchpad Foundations:Confirmed> <https://launchpad.net/bugs/515761>18:46
EdwinGrubbssalgado: I was just going to have PIL 1.1.7, which is already in Lucid, rebuilt for Karmic in the PPA and add that to the launchpad-developer-dependencies. Do I need to get any review of that work?18:47
maxbWe lack defined process for this18:48
maxbI don't think there's been a case of needing a backported version of a python library in the PPA before18:49
salgadowe had a backported python-apt, IIRC18:50
maxbYou'd have to also backport to hardy and jaunty (or first get jaunty de-supported and deleted from the PPA)18:50
maxbThe closest recent occurrence would be a backported dpkg18:51
maxbIf there was a backported python-apt, I think it must have been pre-opensourcing18:52
salgadoit was18:57
salgadoEdwinGrubbs, so, as maxb pointed out, there are a few extra steps you might have to take.  although we don't require a formal review, it's probably a good idea to email the list about it18:58
EdwinGrubbssalgado: ok, thanks19:01
mwhudsongood morning19:17
didrocksintellectronica: right (sorry for the delay). But it failed because of wrong bzr base version on one of your LP branch. james_w fixed it locally for me and opened a bug. Then, I tried to continue the process and run the command I pastebin19:32
james_wdidrocks: try a ./utilities/rocketfuel-get19:34
lifelessabentley: what does 'xvfb-run xdypinfo' do for you?19:48
abentleylifeless, /usr/bin/xvfb-run: 180: xdypinfo: not found19:49
lifelessbah19:51
lifelessdpy :)19:51
lifelessI don't care about the particular output, just whether it errors or not19:52
abentleylifeless, http://pastebin.ubuntu.com/369066/19:53
abentleylifeless, no error if I run xdpyinfo19:53
lifelessok so the base server seems to be happy19:53
=== matsubara is now known as matsubara-afk
didrockswgrant: do you know about something special to do for installing LP on lucid? it seems it can't import bzrlib as python2.5 is in my path in the devel/lib/devscripts/sourcecode.py and not 2.6?20:10
jamaltai have to close firefox to run bin/test, haha20:14
maxbdidrocks: ah, yes. update-sourcecode is a special case20:18
didrocksmaxb: any hint about changing that? adding python2.6 in the path in the script?20:18
didrocksbe back in a minute20:19
=== salgado is now known as salgado-afk
maxbdidrocks: I think it should work if you just change the shebang in update-sourcecode to be /usr/bin/python20:19
didrocksmaxb: oh right, let's try this20:22
didrocksmaxb: apparently, it didn't crash (yet :)) and I'm getting more branch back. Thanks a lot!20:27
EdwinGrubbsmars: ping21:21
marshi EdwinGrubbs21:22
EdwinGrubbsmars: I'm sorry to pester you again. Did you want to take a look at my sprite implementation? I have something that will work, so I could just get it ready for review, but you seemed interested in the design.21:25
marsEdwinGrubbs, I did read it.  Reviewing it again now...21:26
marsEdwinGrubbs, why do the makefile targets not depend on the files they output?21:27
marsI could ask the same for combine-css21:28
EdwinGrubbsmars: because I'm not finished with the branch yet.21:28
marslol21:28
EdwinGrubbsmars: I think someone else is working on combine_css so I should check that I don't conflict with their changes.21:29
marsI don't think anyone has touched that yet.21:30
marsfunny, I thought it would be a big deal to fix the combine_css step21:30
marsturns out you just have to rewrite the Makefile target to Do The Right Thing (that being, depend on the generated file)21:31
EdwinGrubbsmars: now that I think about it some more, I believe rockstar was going to work on that when he becomes chr, so he probably hasn't started on it.21:31
rockstarmars, I'm already working on that.21:31
rockstarmars, I said in our meeting on Monday that I'd be working on that.21:32
rockstarSo shame on you for not listening...  :)21:32
marsrockstar, yep!  I remember.  So does EdwinGrubbs21:32
marsrockstar, but if you haven't fixed it, maybe Edwin can, as he will probably be rewrite and testing his Makefile targets in the exact same way.21:33
EdwinGrubbsrockstar: out of curiosity, is your fix going to be smart enough to regenerate combo.css if any of the twenty odd individual css files are updated?21:33
rockstarEdwinGrubbs, it doesn't in its current form in my branch, but I need to look into why, because make is supposed to figure out that when those files change, it has to re-create the target.21:34
rockstarEdwinGrubbs, basically, we're doing something with the Makefile that is against nature.21:34
marshehe21:34
marsEdwinGrubbs, I liked the "PIL as a developer dependency" bit21:35
marsthat part makes sense21:35
maxbI have two changes to update-sourcecode to submit: (1) Make it not break if you have bzr-git installed. (2) Make it not pull sourcecode branches if there is no update, to avoid triggering bzr-dbus/bzr-gtk notifications for every sourcecode branch.    Should I submit them as one branch or two?21:36
EdwinGrubbsmars: is there anything that doesn't make sense?21:36
mwhudsonmaxb: one sounds ok to me21:36
marsrockstar, sorry, I didn't realize you were rolling up a bunch of stuff into one branch like that.21:37
rockstarmars, well, it's all relatively related.21:38
marsEdwinGrubbs, the contents of icon-sprites.positioning is confusing.  Is it JSON or something?21:39
marsno, python?21:39
EdwinGrubbsmars: yes, it's json, but it could just as easily be a pickled object.21:40
marsoh no thank you!  JSON is better.21:40
marsEdwinGrubbs, so that file is a build system output?21:40
rockstarmars, basically, we need separate targets for css and js combinations.21:41
marsrockstar, yes, that would make things sane again.  Are you going to try and move those targets out of the main Makefile?21:42
rockstarmars, I don't see any benefit to doing that.21:42
EdwinGrubbsmars: actually, that file is a build system input. You have to commit it when you commit icon-sprites, so that "sprite-util create-css" knows what background-position to set for each sprite.21:42
rockstarIt just means it's harder to find when someone wants to make changes to it.21:43
marsrockstar, ah.  I was worried that trying to clean up the static build system would lead to an explosion of targets (css, js, images)21:43
marsEdwinGrubbs, ok, is the file edited by hand?21:43
marswhether it is or not is not clear from the diff context21:43
mwhudsonabentley: my main thought in response to your recent email is21:47
mwhudson"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"21:47
abentleymwhudson, +121:48
EdwinGrubbsmars: no, icon-sprites.positioning is generated by "sprite-util create-image" using the savePositioning() method.21:48
marsabentley, is mozrunner playing shenanigans on module import?21:48
abentleymars, yes.21:48
marsEdwinGrubbs, ok, that is not clear from the context.  Does that file have a warning and developer instructions at the top?21:49
abentleymars, there is a function definition where the default is os.environ['PATH']21:49
marsabentley, argh21:49
marsabentley, do you have the source line?  I can ask about a fix in #windmill if you like21:50
abentleymars, windmill/dep/_mozrunner/global_settings.py: 4221:50
marsif it is fixed in trunk/ then we might be able to do a quick backport patch21:51
marsabentley, cool, thanks21:51
EdwinGrubbsmars: that's a good idea. I'll put a warning at the top. It seems a little strange to use json for this, but it is nice that it is human readable. Of course, a pickle would discourage people from editing it by hand.21:52
marsEdwinGrubbs, I think a message will suite better.  That way you can tell the developer "Here is how you fix this file".  A pickle is just mysterious and confusing.21:54
marsabentley, ah, a violation of the "use None for default keyword arguments" convention21:55
marsthat should be a trivial patch21:55
marsbut I must go and take care of the twins for a minute.  bbiab21:56
marsabentley, but unfortunately I have no idea how to update the windmill package we use :(21:57
marsbeyond my ken21:57
marsrockstar, you are build engineer, perhaps that falls under your domain? :)21:57
* rockstar reads backchat21:57
rockstarmars, I say "file a bug and assign it to me"21:59
maxbIs there a standard for order of import statements? dev.lp.net/PythonStyleGuide is not very forthcoming on that aspect22:00
rockstarmars, I'd like to do as much work on windmill as I can, but my specific target as build engineer is getting it so that our javascript file can be bigger than 500K.22:00
wgrantdidrocks: The only changes that I need are to use Karmic's python-pkg-resources and python-setuptools.22:04
mwhudsonmaxb: generally it goes system imports, blank line, "local" (i.e. sourcecode & egg imports), blank line, launchpad imports22:04
mwhudsonmaxb: alpha sort within each section22:04
wgrantie. PEP822:05
marsrockstar, ok22:46
marsabentley, looks like windmill is kept as python library dependency, and that we are already keeping a patch of some sort22:46
marsupgrading it should be trivial22:46
mars'simple'22:47
=== jamalta is now known as jamalta-afk

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