/srv/irclogs.ubuntu.com/2012/08/16/#launchpad-dev.txt

* NCommander feels like this entire system is pretty much an undocumented blackbox00:02
wgrantIt's undocumented, but not really a blackbox :)00:04
NCommanderI'm trying to figure out where the files returned from gatherResults() go00:04
wgrantNCommander: That's on the slave, right?00:06
NCommanderYeah00:08
NCommandersourcepackagerecipe is easy, it generates a _sources.changes and uploads it normally. I'm at a loss on how translation-templates does its magic00:09
* NCommander has kinda figured out where in LP the translations build magic is, but is still trying to grok is00:11
NCommander*it00:11
NCommandercurrently my code managed to install livecd-rootfs, build the image, bombs on gatherResults() and goes to chrootFail() :-)00:14
rick_h_huwshimi: yea, give me a sec, just got to the coffeeshop00:14
huwshimirick_h_: It's ok if this is a bad time. I can even annotate your mockups if that's easier.00:15
rick_h_huwshimi: https://plus.google.com/hangouts/_/5b5b820d6987551f9545ee30c79ed37cd5c3e30a?authuser=0&hl=en-US#00:16
StevenKwgrant: Do I need to rip out part of IBug.transitionToInformationType()?00:36
wgrantStevenK: For the bug supervisor stuff? Not yet.00:36
StevenKwgrant: So it's just what is listed in the bug? That's +1/-45, and from what I can see, only 1 failed test.00:37
wgrantStevenK: Did you also remove the helper methods on the notificationrecipientset>?00:37
StevenKwgrant: Yah, and dropped it from the ZCML00:38
wgrantGreat.00:38
StevenKJust waiting on test -vvm bugs00:38
StevenKOh, now to find the code that gives the bug supervisor a structural subscription00:39
NCommanderOk, good, my code now executes all the way through without crashing anything00:39
NCommanderNow to figure out how t get files to go somewhere00:39
StevenKwgrant: Right, I guess the self.addBugSubscription(bug_supervisor, user) can die too00:41
wgrantStevenK: That's a second branch, but yeah00:42
wgrantStevenK: Once that dies, the limitation on setting the value can die00:42
StevenKIn the second branch?00:42
wgrantSince it will just convey privilege, not INFINITE SPAMMAGE00:42
wgrantRight.00:42
StevenKRight, I'll not worry about that bit yet.00:42
StevenKwgrant: .... No failed tests00:48
wgrantStevenK: Heh00:49
* NCommander finally found a translations buildjob (https://launchpad.net/~vcs-imports/nautilus/master-git/+translation-templates-build/24952), but still can't tell what it uploaded00:57
wgrantNCommander: The job's gatherResults implementation calls slave.addWaitingFile, which causes it to be returned when buildd-manager asks what files are waiting.00:59
NCommanderRight, that part I got00:59
* NCommander is trying to work out the interface for BuildFarmJob, and where in LP said jobs are scheduled; its not in buildmaster according to grep00:59
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/no-more-add-bug-supervisor/+merge/11981801:00
wgrantNCommander: The buildfarm infrastructure requires three classes from you on the master side: an IBuildFarmJob (eg. BinaryPackageBuild), an IBuildFarmJob (eg. BuildPackageJob -- as the name suggests, it's deprecated but still required), and an IBuildFarmJobBehaviour (eg. BinaryPackageBuildBehaviour)01:03
NCommanderright01:03
NCommanderI can see that01:05
* NCommander is *slowly* beginning to wrap his head around the monster01:05
NCommanderIts actually not that bad once you know where all the pieces are I suppose01:05
StevenKwallyworld_: Since wgrant is such a bad person, can you review https://code.launchpad.net/~stevenk/launchpad/no-more-add-bug-supervisor/+merge/119818 ? Should be incredibly difficult.01:07
NCommanderso I need to implement the correct classes (I'm guessing in soyuz/model unless you can think of a better place), and then pin out to launchpadlib so I can trigger said builds01:07
NCommanderwgrant: am I roughly on the right gametrack?01:08
wgrantNCommander: Yup01:08
wallyworld_StevenK: ok01:08
NCommanderwgrant: seems relatively straightforward. What's the catch? :-)01:08
wgrantNCommander: You have to touch our code :)01:08
StevenKHahah01:08
NCommanderas long as I don't need to deal with the UI bits, I'll live01:08
NCommanderSoyuz isn't as bad as other code bases I dealt with01:09
NCommander(i.e. dak (before I destructively rewrote it a large chunk of it)01:09
* NCommander is wondering how hard adding a new launchpadlib API will be ...01:10
wgrantNot very01:11
wallyworld_StevenK: done01:11
StevenKDepends where you want to staple it in01:11
wgrantNot just less code -- less email :)01:11
NCommanderemail?01:12
wgrantTalking about StevenK's branch01:12
StevenKNCommander: My branch, not your stuff01:12
NCommanderoh01:12
* NCommander wonders if someone has already ripped out the old bounty code01:12
StevenKNCommander: https://code.launchpad.net/~stevenk/launchpad/no-more-add-bug-supervisor/+merge/119818 if you want to celebrate01:12
StevenKThe bounty tables are long dead, wgrant and I killed them last year01:12
NCommanderStevenK: I would, except LP just timed out on me :-/01:12
NCommanderOr my browser did, not sure which01:13
StevenKNCommander: Diff against target: 98 lines (+2/-48) 3 files modified01:14
NCommanderNet -46 LoC, woo01:14
* NCommander can't even remember if the old bounty system was ever actually used01:14
StevenKI now have 4 branches in ec2.01:15
StevenK+54, +9, +1, and now -46.01:16
StevenKI get to rip a little more out01:16
NCommanderwhat's the handy-dandy bzr command to see how many LoC lines have changed?01:18
StevenKbzr di | diffstat -s01:18
StevenKOr bzr damage, which is an addon01:18
NCommandermcasadevall@perdition:~/src/launchpad-buildd$ bzr di | diffstat -s 3 files changed, 168 insertions(+)01:18
NCommanderAnd that's just for a bare minimium implementation01:19
* NCommander groans01:19
StevenKThat doesn't really count, it's in -buildd01:19
NCommanderoh01:19
NCommanderThought it was still considered for part of the LoC cost to LP01:20
* NCommander decides its now a good time to take a break from banging my head on a wall01:34
StevenKwgrant: I can't figure out where the code that restricts setting bug supervisor is01:35
wgrantStevenK: It's possible that I was misremembering, and the problem was that there was no restriction.01:37
wgrantAhhh01:38
wgrantIt's in the view01:38
wgrantBugRoleMixin.validateBugSupervisor01:39
StevenKI thought it was in the view, but ProductEditView is sort of ... empty01:39
StevenKRight, another +3/-6101:43
NCommanderwhen was the neutral LoC policy put in place anyway?01:56
* NCommander returns02:03
wgrantwallyworld_: Heh, bug #103736402:19
wgrantI thought there'd be some stupid-long titles :)02:19
wallyworld_wgrant: examples work for me, but i have a wide monitor. sigh 2012 and people still use narrow screen resolutions02:22
wallyworld_i can make the number of lines before truncation 3 or 402:22
wallyworld_just for bug titles02:22
StevenKSigh, ec2 needs a timeout for connecting to an instance02:34
wgrantStevenK: It does02:38
StevenKwgrant: I guess most or all of TestBugSupervisorEditView can die02:53
wgrantStevenK: I haven't looked, but probably.02:54
wgrantStevenK: It becomes a thoroughly thoroughly boring edit view.02:54
StevenKwgrant: So we need to test it works, but the oddball tests of "You can't set that team" just die.02:55
wgrantRight02:55
StevenKwgrant: less-sourcedeps == 17481 tests run in 4:12:31.684115, 0 failures, 0 errors03:41
wgrantStevenK: Nice.03:43
StevenKwgrant: So, how do I run the bzr-svn tests?03:44
wgrantStevenK: Not sure.03:45
StevenKOh my god, can I delete lib/lp/bugs/tests/has-bug-supervisor.txt for being hideous.03:46
wgrantYeah03:47
wgrantThe only thing that still looks relevant is the ForbiddenAttribute03:47
wgrantWell, and I guess setBugSupervisor might not be tested elsewhere03:47
StevenKsetBugSupervisor just sets the attribute, what the heck is to test?03:48
StevenKwgrant: self.assertRaises(04:14
StevenKSigh04:14
StevenK        self.assertRaises(04:14
StevenK            ForbiddenAttribute, setattr(self.target.bugsupervisor, None))04:14
StevenKThat doesn't work, but ForbiddenAttribute is thrown04:15
wgrantStevenK: self.assertRaises(ForbiddenAttribute, setattr, self.target.bugsupervisor, None)04:15
StevenKwgrant: http://pastebin.ubuntu.com/1150046/04:16
StevenKwgrant: It run the tests for the mixin :-(04:16
wgrantStevenK: Stop the mixin from inheriting TestCase04:17
StevenKwgrant: Right, I think I have mostly everything passing, but ec2 can pick that out.04:24
wallyworld_wgrant: does this look ok for adding InfoType embargoed? https://pastebin.canonical.com/72290/ it needs a mechanism to decide which projects are allowed to be configured to use it, not sure what the rules should be for that04:24
wgrantwallyworld_: The proposed mechanism is that we just don't show Embargoed sharing_policies in the UI unless they're selected04:25
wgrantThe PES setup script will set it through the API04:25
wallyworld_wgrant: ok, so i just remove the entry from POLICY_ALLOWED_TYPES and it's ok then?04:26
wgrantwallyworld_: No, you need that.04:26
wgrantAnd you need POLICY_DEFAULT_TYPE for that too04:27
wgrantThose two dicts define what the model will allow branches to be if that setting is selected04:27
wgrantNot which branch_sharing_policies are shown in the UI04:27
wallyworld_what about POLICY_REQUIRED_GRANTS04:28
wgrantDefault should be Embargoed, required should probably be Proprietary, I think04:29
wgrantIt's possible required should be Proprietary OR Embargoed, but that's easy to change later if we need to04:29
wallyworld_that's what i was wondering04:30
wallyworld_i'll start with just proprietary04:30
wgrantYeah04:30
wallyworld_and i fixed getInformationTypesToShow so that it doesn't show up in the ui, removed embargoed from shown_types04:31
wgrantwallyworld_: I think Embargoed should be in shown_types04:31
wgrantWhenever it's available04:32
wgrantJust like Proprietary04:32
wallyworld_yes, but that is done near the botton of the method04:32
wgrantThe only difference between the two should be that one of the sharing_policies isn't shown in the UI04:32
wallyworld_the current product policy is added in04:32
wgrantThat doesn't sound like getInformationTypesToShow04:32
wgrantYou mean the thing to get the sharing policies to show?04:33
wallyworld_it's in BranchEditFormView04:33
wallyworld_yes04:33
wgrantRight04:33
wallyworld_    def getInformationTypesToShow(self):04:33
wallyworld_        """Get the information types to display on the edit form04:33
wgrantThat sounds sensible04:33
wgrantWhat's the change you've made?04:34
wallyworld_cool, i'll add some tests and do a mp, thanks04:34
wgrant14:31:19 < wallyworld_> and i fixed getInformationTypesToShow so that it doesn't show up in the ui, removed embargoed from shown_types04:34
wgrantThat's the wrong way around04:34
wgrantIt should be in shown_types, just like Proprietary is04:34
wgrantshown_types defines what the options are in the UI, assuming that the branch is able to have those types04:35
wgrantif a project has Embargoed enabled, Embargoed should be shown on Branch:+edit04:35
wallyworld_ah, getting myself confused jumping between irc and code. i know what i need to do04:36
StevenKSwitch to vim?04:36
wallyworld_how would that help anything?04:37
StevenKIt surely would. Both wgrant and I can agree on that.04:38
wgrantDefinitely.04:38
wgrantVim solves world hunger04:38
wgrantVim even stops the boats.04:38
wallyworld_a sensible refugee policy would stop the boats04:39
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/no-structsub-for-bug-supervisor/+merge/11983104:39
wgrantwallyworld_: Now you're getting it. Therefore vim is a sensible refugee policy.04:40
wgrantStevenK: +55? What is this?04:40
StevenKwallyworld_: Well, they don't travel to the US, because they know that all the US is going to do is ship them right back. We just detain them for a while.04:40
wallyworld_maybe if we forced refugees to use it they might not want to come over04:40
wgrantStevenK: What sort of notifications do other similar edit forms show?04:41
wallyworld_we detain them and give them big ass tvs and mobile phones and health benefits04:41
wgrantStevenK: I wonder if we can drop these ones.04:41
StevenKJust drop the notifications entirely?04:41
StevenKTrying to think what we have like it.04:41
wgrantStevenK: Also, since it's probably not exposed, you might be able to remove setBugSupervisor entirely04:43
StevenKIt is04:43
wgrantSince the new implementation is pretty boring04:43
wgrantIs it exposed as setBugSupervisor?04:44
wgrantit's probably a mutator04:44
StevenK@mutator_for(bug_supervisor)04:44
wgrantYeah04:44
wgrantSo it can be removed.04:44
StevenKShould I do that in this branch?04:45
wgrantMight as well04:45
StevenKLots of places call setBugSupervisor04:45
wgrantWill mitigate the tests you added.04:45
wgrant(by rendering them redundant)04:45
wgrant(and failing)04:45
StevenKBoth of them, in fact04:45
wgrant(and removable)04:45
StevenK15 files changed, 17 insertions(+), 359 deletions(-)04:48
StevenKNow to delete every setBugSupervisor call ever04:49
wgrant:)04:51
StevenKwgrant: Hmmm, how does the ZCML change?04:51
StevenKsetBugSupervisor is listed seperately04:52
wgrantStevenK: setBugSupervisor is probably in the launchpad.Edit attributes= section. Replace it with bug_supvisor in set_attributes04:53
wgrantObviously spelt with enough letters04:53
StevenKwgrant: Like so? http://pastebin.ubuntu.com/1150072/04:56
wgrantStevenK: That's the one.04:56
StevenKEr, what04:58
StevenK    def _create_scenario(self, user):04:58
StevenK        with person_logged_in(user):04:58
StevenK            logged_in_user = getUtility(ILaunchBag).user04:58
StevenK...04:58
StevenK                user=logged_in_user)04:58
StevenKwgrant: Is it just me, or that just pointless and user=user would be fine?04:59
wgrantStevenK: LaunchBag.user may not always be the logged in user.05:00
StevenKTwitch05:00
* StevenK leaves it alone for being magical05:00
wgrantIt should be the same, but I suspect it isn't always05:00
StevenK 39 files changed, 84 insertions(+), 477 deletions(-)05:16
StevenKwallyworld_: :-(05:21
wallyworld_huh?05:21
StevenKwallyworld_: I was seeing if we could go a full day with only me landing branches and you wrecked it.05:22
wallyworld_oh, i thought i had broken the build or something05:23
wallyworld_you just made me load buildbot05:23
StevenKHahahaha05:23
wallyworld_bastard!05:23
wallyworld_StevenK: my branch in bb now is a diff of one character :-P05:24
StevenKHeh05:24
wallyworld_my other ones had a merge conflict in ec2 i didn't notice :-(05:25
StevenKCome on, diff!05:30
StevenKDamn it05:30
StevenKwgrant: If you're done watching *redacted* for the moment, that diff is updated.05:36
wgrantStevenK: Thanks, looking05:37
wgrantwallyworld_: I think you're overstating your work a bit.05:38
wgrantwallyworld_: It was a single *bit* of diff :)05:38
wallyworld_yes, so it was :-D lol05:38
StevenKReally?05:38
StevenK3-6 is not one bit05:38
wallyworld_2 became 605:38
StevenK010 goes to 11005:39
StevenKOh, so it is05:39
StevenKI thought it was 3, bleh.05:40
wgrantStevenK: Did you look at the notifications?05:46
StevenKwgrant: I did not -- what do you think?05:47
wgrantI forget what other forms do05:50
wgrantI suspect that a lot of them don't notify.05:50
StevenKwgrant: Kill it or leave it for sinzui?05:54
wgrantWe can always remove it later :)05:55
wgrantSorry, looking at your MP again now05:55
wgrantDistractions abound05:55
StevenKIt's you, so duh. :-)05:57
wgrantwallyworld_: Hm, actually, Embargoed's addition will also need a small DB patch (since we hardcode (3, 4, 5) in a couple of places), though it can be applied live whenever so it isn't blocked by the current fdt embargo06:17
wallyworld_wgrant: i can land the branch first i think06:17
wgrantYeah06:18
wgrantEmbargoed branches just won't be visible to anyone but admins in searches06:18
wgrantAnd if any exist on production we'll need to poke them with a stick after the patch to make them work.06:18
StevenKwgrant: No review?06:18
wgrantStevenK: pgkillactive ate my homework06:18
StevenKSure sure06:18
wallyworld_in that case  i might do the db patch first06:19
wgrantwallyworld_: No need. Embargoed can't be set unless the sharing_policy allows it, and only commercial admins can set sharing_policy06:20
wgrantSo unless One of Us™ does bad things, Embargoed can't exist on prod yet06:21
wallyworld_ok. it should be a very simple db patch, so hopefully can be done soon06:21
wgrantYeah06:21
wgrantJust need to find things that hardcode (3, 4, 5) and replace them with (3, 4, 5, 6)06:21
StevenKwallyworld_: Change the comments too06:22
wgrantI suspect we'll eventually keep a private flag around to eliminate that, but we don't have such a flag atm.06:22
wallyworld_in the db patch, sure?06:22
wgrantBAH06:23
wgrantFirefox06:23
wgrantstop crashing06:23
wgrantOh06:24
wgrantI reenabled Firebug06:24
wgrantThat's right06:24
StevenKHaha06:24
=== spm is now known as stevemci
StevenKwgrant: Still no review?06:31
wgrantStevenK: r=me, but you should be able to delete a bit more06:31
wgrantHeh06:31
=== stevemci is now known as spm
StevenKHeh, there's another +7/-4106:37
wgrantStevenK: What'd you do?06:38
wgrantmakeProduct?06:38
StevenKAnd dropped the two tests you suggested.06:38
StevenKwgrant: http://pastebin.ubuntu.com/1150152/06:40
wgrantStevenK: Great.06:41
StevenKwgrant: Oh, is there a bug for this bug supervisor mess?07:04
wgrantStevenK: Bug #483521, bug #595933, bug #688956, bug #855121, bug #1029724, bug #113825 are possibly relevant07:08
wgrantYou've fixed at least some of them07:08
StevenKwgrant: Indeed, let me link some of them07:11
adeuringgood morning07:26
=== almaisan-away is now known as al-maisan
cjwatsonoww, landing Launchpad branches in an environment that disallows outgoing ssh is an unpleasant experience11:15
* cjwatson tries to cobble together something with paraproxy before giving up and sorting out an all-out VPN11:15
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
czajkowskigary_poster: what is a stretch goal, longer than a week ?12:45
gary_posterczajkowski, officially, it means that we don't expect to get it done this week, but it's possible we could get to it if we do particularly well--if we stretch ourselves.  unofficially, it means that I set the goal before I realized how little staff availability we had this week, and adjusted the goals after the fact as I was writing the blog post. ;-)12:47
czajkowskigary_poster: ahh :)12:48
czajkowskisounds good to me12:48
gary_poster:-)12:48
czajkowskigary_poster: shall me telling mrevell this in future :)12:49
gary_posterczajkowski lol12:49
mrevell:)12:49
deryckMorning, all.13:05
czajkowskideryck: ello13:05
rick_h_morning13:09
cjwatsonstub,lifeless: it's wound up being unclear in +activereviews due to benji's null code approval, but https://code.launchpad.net/~cjwatson/launchpad/db-process-accepted-bugs-job/+merge/119320 is pending a db review13:41
benjicjwatson: sorry if I messed that up a little by doing that13:41
cjwatsonI don't know either way - just occurred to me that the DB reviewers might be skimming over it13:43
stubNah, I just have a crap filing system.13:45
wgrant313:45
wgrantbah13:45
stubI guess we want the id column purely because we share code with existing job stuff13:47
cjwatsonThat may actually have been inertia/cargo-culting on my part13:54
cjwatsonBut AFAICS all other job tables have id13:55
cjwatsonDo you want me to try removing it?13:56
deryckadeuring, rick_h_ -- will have to be offline for 25 minutes here shortly, to catch ride with Wendy into the shop.13:57
adeuringderyck: ack13:57
rick_h_deryck: rgr13:58
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: jcsackett | Firefighting: - | Critical bugs: 4.0*10^2
cjwatsonNCommander: FWIW I don't think it will make sense to put all of cdimage in LP even in the long term.  I think the right long-term approach is a web service to control image build scheduling (perhaps offspring) that uses LP for auth and for livefs builds.  The rest of it wouldn't gain much in the way of benefit from being in LP; we'll be more agile outside it.14:58
cjwatsonNCommander: (Also, you may not be aware that we've had quite a few discussions about this recently in UE; and furthermore that I'm in the process of rewriting cdimage in Python for related-to-this and other reasons.)14:59
=== mpt_ is now known as mpt
cjwatsonstub: OK.  Does http://bazaar.launchpad.net/~cjwatson/launchpad/db-process-accepted-bugs-job/revision/11832 look OK on top of your previous review?  My SQL is way weaker than it should be, but this passes tests.15:25
stubcjwatson: That looks fine to me. You ran all the tests?15:28
stubcjwatson: I'm happy for you to land either version.15:28
cjwatsonI ran the tests in my code branch that'll go with that DB branch15:31
cjwatsonWell, the ones that were added/changed15:31
cjwatsonBut nothing else should be referencing that new table so that should be good enough15:32
stubYeah, I don't think we have any code discovering job tables and doing stuff with them.15:32
cjwatson... I hope15:32
cjwatsonIf there is something insane, EC2'll catch it anyway15:34
mgzyou hope :)15:34
jmlis the 'merge queue' stuff on branches ever used by anyone?15:35
mgzI don't think so.15:36
jmlin launchpadlib, is there a way to get the underlying dict of the object?15:40
jmlx._wadl_resource.representation seems to do the trick15:42
=== al-maisan is now known as almaisan-away
=== salgado is now known as salgado-lunch
sinzuijml: that is exactly what I do in my python that feeds my js scripts15:58
jmlyeah15:59
cgoldbergjcsackett, got any time for a review ?   I have an MP to lp-dev-utils16:00
cgoldbergI have an update to lp-dev-utils that allows page-performance-reports.py (PRR) to parse Apache Access logs.  I'm trying to get it deployed this week for some account services apps.16:00
jmlsinzui: I was just sitting here thinking, wouldn't it be great if launchpadlib were just about dicts and functions16:03
sinzui+116:04
jcsackettcgoldberg: sure. link?16:05
jcsackettcgoldberg: nm, found the MP.16:13
cgoldbergjcsackett, thanks.  https://code.launchpad.net/~coreygoldberg/lp-dev-utils/ppr-access-parser/+merge/11940916:13
cgoldbergjcsackett, back in a few mins if you wanna discuss anything16:13
=== salgado-lunch is now known as salgado
jcsackettcgoldberg: ping.16:39
cgoldbergjcsackett, pong16:39
jcsackettcgoldberg: so, if i'm understanding this correct, you're adding this functionality to get performance reports from entirely different services? it seems like it might be cleaner to just create a new script.16:39
cgoldbergjcsackett, my thoughts at first also.. but lifeless thought it should just be integrated with a new [parser] option... 90% of the script is the aggregation and stats logic..16:41
jcsackettcgoldberg: fair enough. in that case, i'm writing up some notes i'll post to your MP.16:42
cgoldbergjcsackett, great thanks!16:42
jcsackettcgoldberg: comments on your MP. needs a bit of fixing, but nothing major.16:50
cgoldbergjcsackett, k.. will look and fix up16:50
=== cjwatson_ is now known as cjwatson
cgoldbergjcsackett, regarding MP comments.  the create_request_class function was done for exactly what you described17:24
cgoldbergthe servers this will run on will not have launchpad  or dependent code installed.. so importing from zc isn't really possible17:25
=== deryck is now known as deryck[lunch]
jcsackettcgoldberg: that seems like another really strong reason to not use lp-dev-utils.17:39
cgoldbergjcsackett, i don't disagree :)  I'll talk to lifeless17:41
jcsackettcgoldberg: i don't want to block you longer on this; if lifeless has already indicated this should be part of lp-dev-utils, i would say just fix the other import issue i highlighted and leave an XXX comment on create_request_class indicating it needs to exist for the zc import reasons but could be cleaned up if we separated these functions out, ok? (XXX comment style can be found here: https://dev.launchpad.net/PolicyandProcess/XXXPolicy)17:42
cgoldbergjcsackett, thanks much.. that sounds good.17:43
cgoldbergi'll add comment and re-push17:43
jcsackettcgoldberg: yw. ping me when you've done that and i'll mark as approved. also: you can skip the bug part, since there's not a clear bug to my mind, it's just a non-ideal setup.17:43
jcsackett(the bug=nnn bit in the comment)17:44
cgoldberggotcha17:44
=== deryck[lunch] is now known as deryck
jmlI am a horrible person: http://paste.ubuntu.com/1151164/18:18
jmlsinzui: ^^18:18
sinzuijml: I think that style is easier for most developers to adopt.18:20
jmlsinzui: if I did it right, the number of HTTP requests would be deadly obvious, or at least easily discoverable.18:21
sinzuijml: the sharing service we wrote ignore the model. It focuses on your intent and lets you perform bulk actions on collections. Our js just pulls dicts from urls18:22
jmlsinzui: "sharing service"?18:22
sinzuiThe API service we wrote to share information types with people. Visit the +sharing page of any of you projects. The page doesn't have data in it. The js pulls what it needs to get just what it needs quickly18:25
jmlsinzui: oh cool.18:25
jmlsinzui: I was secretly hoping it was actually a separate service18:25
jmlI guess lifeless would say that my API should probably also specify which scalar values I want18:27
jmlfrom previous conversations about DB querying18:27
sinzuiMaybe. We wrote our methods to return the dicts we knew were needed. The service is not arbitrary. Your does not need to be arbitrary, and maybe it should not expand everything given API my change and your script will slow down18:30
deryckjcsackett, hi there.  I have a branch for review if you have time.18:57
lifelessjml: mail me about your API, if you want an eyeball cast on it19:57
jmllifeless: ok.20:07
lifelessflacoste: http://bmfiddle.com/20:27
sinzuiThat must be an American company. "Fiddle Now!"20:29
sinzuijcsackett: do you have time to review https://code.launchpad.net/~sinzui/launchpad/change_branch-info-type/+merge/12001120:29
jcsackettsinzui: yes.20:30
jcsackettderyck: btw, missed your earlier ping, but your branch is r=me.20:31
jcsackettsinzui: looking at yours now.20:31
deryckjcsackett, thanks!20:35
jcsackettsinzui: r=me.20:36
sinzuithank you jcsackett20:36
=== jcsackett changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: 4.0*10^2
NCommandercjwatson: I was aware of the efforts to rewrite cdimage in python, and I knew that having LP doing livefs builds were discussed (as far back as a few years ago).23:12
NCommandercjwatson: generally when it comes to web-based infrastructure I like to have as few different tools as possible. Launchpad is responsible for packages (and soon livefs building), I rather not split it out into another tool that has to existed in a void. Launchpad is the proper place for it, if anything offspring should be merged into LP for an intergrated experience23:20

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