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

jelmermwhudson, I can reproduce the determining revisions to fetch slowness00:12
thumperjelmer: awesome00:23
thumperjelmer: what was it00:23
jelmerthumper: building against svn 1.4 slows down bzr-svn significantly00:24
jelmerbecause we attempt to fetch all revision properties manually for each revision in the repository and don't cache the results00:24
jelmersomething that can apparently take 7 hours for some repositories where it takes less than a minute when built against svn 1.5...00:25
thumperUrsinha: ping00:26
thumperjelmer: hmm.. interesting00:26
thumperjelmer: on a side note, has bzr-hg been fixed for the infinite recursion bug?00:26
jelmerthumper: I haven't had a chance to look into it yet.00:32
pooliehi jelmer00:32
jelmer'morning poolie00:33
wgrantsinzui: Is there a good reason that admins cannot promote others to admins?00:42
thumperwgrant: admins of what?00:46
wgrantthumper: Teams.00:46
thumperwgrant: they can can't they?00:46
thumperwgrant: I thought they could00:46
wgrantNo. Only owners can.00:46
thumperreally?00:46
wgrantAdmins can demote, but not promote.00:46
thumperhmm...00:47
thumperseems a bit screwy to me00:47
thumperif you trust them to be admins, let them be admins, not half-admins00:47
wgrantRight.00:47
sinzuiwgrant: I am certain there is not *good* reason admins cannot promote00:50
wgrantIt has been like that for as long as I remember, and I have always wondered about it.00:51
thumperwgrant: patches accepted :)00:53
maxbSubmitting a patch loosening security policy can feel weird01:06
wgrantYes.01:08
wgrantParticularly a security policy that has been around for perhaps 5 years and nobody knows the purpose of.01:08
maxbI don't suppose there's any light at the end of the tunnel w.r.t. removing xx-resetpassword-of-sso-account.txt ?01:09
maxbI miss being able to do a clean test run01:09
wgrantThe OpenID RP stuff should cause that to vanish.01:10
wgrantBut I'm not sure how far off that is...01:10
Ursinhathumper: pong01:23
thumperUrsinha: I was wondering if you had used (QAed for me) the API to get branches by date01:24
Ursinhathumper: not yet01:24
thumperok01:24
Ursinhathumper: but will soon01:24
thumper:)01:24
maxbwgrant: I don't suppose you've already debugged ""GpgmeError: (32, 176, 'Unknown error code')"" on lucid, have you?01:34
wgrantmaxb: Try http://paste.ubuntu.com/379455/01:36
wgrant(in sourcecode/pygpgme)01:36
wgrantOther than that, most stuff seems to work with stock Lucid + ppa:launchpad.01:36
wgrantI haven't run the whole test suite lately, though.01:37
wgrantThe need to downgrade python-setuptools has mysteriously vanished in the past week or so.01:37
maxbnifty01:37
maxbI'm actually not working on 2.6 or lucid right now, having got distracted by "No really, don't load my system bzrlib.plugins.*"01:38
wgrantIs there a codeimport queue visible somewhere?01:38
wgrantI'm wondering if I would be better to branch from Git locally rather than waiting for my new import to complete.01:38
mwhudsonlolz02:05
mwhudsonmwh@grond:unicod-branch-names-bug-449528$ ls lib/canonical/launchpad/images/*gray*02:05
mwhudsonlib/canonical/launchpad/images/persongray.png  lib/canonical/launchpad/images/teamgray.png02:05
mwhudsonmwh@grond:unicod-branch-names-bug-449528$ ls lib/canonical/launchpad/images/*grey*02:05
mwhudsonlib/canonical/launchpad/images/edit-grey.png  lib/canonical/launchpad/images/link-grey-arrow.png02:05
mwhudsonwgrant: no, it's not visible02:06
mwhudson(there's already a bug report about that)02:06
thumpermwhudson: looking for a grey tick?02:06
mwhudsonshould be getting more machines soon though...02:06
mwhudsonthumper: well02:06
mwhudsonthumper: playing around with the icon for "partial success", yeah02:06
mwhudsontried a few things, i think a grey tick works best of the things i've tried02:07
* thumper nods02:08
* thumper is working through today02:08
mwhudsoni've made one in gimp02:08
mwhudsoni was actually trying to decide what to save it as :-)02:08
thumperI thought we use american spelling in the code, so gray02:09
mwhudsonwfm02:09
wgrantPartial success? Does that mean incremental imports are sufficiently close that UI is a concern?02:10
mwhudsonwgrant: yes02:10
mwhudsonthe gimp still has a pretty weird ui02:14
wgrantmwhudson: The single window mode is coming in the next release.02:15
thumperjust in time to be removed by default?02:16
mwhudsonwgrant: hooray02:16
mwhudsonthumper, wgrant: http://people.canonical.com/~mwh/partial-success.png02:17
thumpermwhudson: looks good02:17
wgrantthumper: It's still probably a year away.02:17
thumpermwhudson: did you just desaturate the image?02:18
mwhudsonthumper: yeah02:18
wgrantmwhudson: Nice.02:18
wgrantIt has a tooltip, I hope?02:18
mwhudsonwgrant: yeah02:18
mwhudson"Partial Success"02:18
thumpermwhudson: where is our list of contributor agreement signers?02:21
wgrantWe're mostly not in the team :(02:21
mwhudsonthumper: private url given to you in private channel02:22
thumper:)02:22
lifelessalso the public team - you should get added wgrant :)02:23
wgrantDoes anybody actually use Empathy?02:28
jelmerwgrant: Yep02:31
jelmermwhudson, thumper: Does the "determining revisions to fetch" step always take very long or just on the initial import?02:31
mwhudsonjelmer: just on the initial import02:31
jelmermwhudson: I don't think there's a lot we can do to work around that other than upgrade the svn on lp to 1.502:31
mwhudsonjelmer: ok, want to fire off an rt asking how much work that would be?02:32
mwhudsonor i can02:32
wgrantjelmer: With MSNP?02:32
jelmerwgrant: yep02:32
jelmermwhudson: how urgent is it? Lucid will have a recent enough version of svn02:33
wgrantjelmer: Odd. I keep trying to use it, but give up every time because it silently drops incoming messages once the conversation times out after a minute or so.02:33
wgrantIt doesn't drop messages for you?02:33
jelmerwgrant: not that I have seen02:34
mwhudsonjelmer: maybe not all that urgent, it's only a performance thing after all02:36
wgrantSubject: None02:50
wgrantThankyou Launchpda.02:50
maxbFYI, I already have svn 1.6 *and* pysvn for hardy in a PPA03:23
_thumper_mwhudson: https://code.edge.launchpad.net/~ian-clatworthy/bzr/whats-new/03:26
=== _thumper_ is now known as thumper
thumpermwhudson: a bad error... know what caused it?03:26
thumpermwhudson: my guess is the scanner, I just don't know why03:26
thumpermwhudson: also, we should get bzr 2.1 final into LP03:26
mwhudsonthumper: no, that's the puller03:26
mwhudsonthumper: 2.1 is probably trivial, drop the tarball in, update versions.cfg and ec2 land03:27
thumpermwhudson: does the puller set the stacked branch in the DB?03:27
mwhudsonthumper: yes03:27
thumperah03:27
mwhudsonthat's a pretty nasty error indeed03:27
mwhudsonmaybe duelling pullers?03:27
mwhudsona remirror will probably clear it up03:28
thumperhmm..03:32
thumpermwhudson: it is past beer o'clock04:13
thumpermwhudson: are you tweaking the code import dispatcher?04:13
mwhudsonthumper: yeah04:13
mwhudsonthumper: i'm thinking about it04:13
thumpermwhudson: thinking about doing it Monday?04:14
mwhudsonor maybe i'll stop instead and go and sit outside until emma calls and tells me she's finished work04:14
mwhudsonthumper: yeah04:14
thumperyou know if you try again, you'll miss something04:14
thumperdo it Monday04:14
thumperhave a beer04:14
mwhudsonok :-)04:14
thumperI hope it is sunnier in Wellington than here04:14
thumperwe used to have sun04:14
thumperbut it has gone again04:14
mwhudsonit's a very very nice day today actually04:15
thumperdo you think the description should go above or below?04:15
mwhudsonsunny, not too windy04:15
thumperI'm thinking above04:15
mwhudsonbit cool perhaps04:15
mwhudsonthumper: did you make that screeny?04:15
thumperyeah04:15
thumper604:15
thumperhttp://people.canonical.com/~tim/description6.png04:16
mwhudsonoh right04:16
mwhudsoni'm not really sure04:17
mwhudsoni guess it makes sense for it to go high up the page04:17
* mwhudson EOWs04:25
pooliecheerio04:25
pooliethumper: really a description and a commit msg and a comment?04:26
thumperpoolie: the editable description is instead of the initial comment04:26
poolieoh ok04:27
pooliemore like a bug then?04:27
thumperpoolie: trying to be04:27
* thumper EOWs too04:33
Ursinhathumper: are you still there?04:52
Ursinhathumper: if so, do you have an example of usage of the branches search by date?04:53
kfogelthumper: looking rocketfuel-setup, I see that it does 'bzr branch lp:~launchpad-pqm/launchpad/devel $LP_TRUNK_NAME' after attempting 'bzr launchpad-login $lpusername'.  This means that if the user has a Launchpad login (and successfully logs in) that the 'bzr branch' will happen over bzr+ssh://, right?05:46
kfogelthumper: oh, I see your answer in https://answers.edge.launchpad.net/launchpad/+question/10113905:46
kfogelthumper: which I think says that05:46
pooliehello kfogel05:52
kfogelpoolie: hello05:53
=== Ursinha is now known as Ursinha-afk
wgrantBjornT: Can you please review https://code.edge.launchpad.net/~wgrant/launchpad/sprbu-columns-to-sprb/+merge/18995 reasonably soon?06:22
=== thekorn_ is now known as thekorn
henningeMorning!08:18
henningeHow do I find out the current database user in a unit test?08:18
adeuringgood morning08:27
BjornTwgrant: sure. sorry, i had missed that one, thanks for reminding me.08:57
wgrantBjornT: Thanks.08:59
mrevellHi09:12
deryckGood morning, all.11:01
=== matsubara-afk is now known as matsubara
wgrantbigjools: The circular import may not be a good reason to not do it, but is there a good reason *to* do it?12:02
bigjoolsbecause Attribute sucks and it takes 60 seconds to do the right thing12:10
bigjoolsand on that note, I am heading out for a liquid lunch while my power is off12:11
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
wgrantWhy is db-devel so ancient?14:09
deryckBjornT, ping14:44
BjornTderyck: pong14:47
=== salgado is now known as salgado-lunch
kfogelderyck, adeuring: just fyi (re my mail about failing test): the EC2 run that I submitted right after that has now passed, so I'm going to pqm-submit my changes for bug #255868.  sinzui already reviewed.15:15
mupBug #255868: Project summary page should show links to patches <story-patch-report> <ubuntu-upstream-relations> <Launchpad Bugs:In Progress by kfogel> <https://launchpad.net/bugs/255868>15:15
deryckkfogel, sounds good.  Was going to look later, but glad it's passing now.15:16
deryckkfogel, it looked to me like your ec2 run was against devel instead of db-devel, based on the log messages you sent.15:16
adeuringkfogel: I haven't received your mail (yet)...15:19
kfogeladeuring: was to bugs team members (all)15:19
kfogelderyck: based on the two outputs (failure and then success), you're right, and yet the command line was the same and specified db-devel.  hmmm.15:20
adeuringkfogel: our mail server seems to be a bit slow sometimes...15:20
kfogelderyck: I'll keep the records; would like to figure out what happened here -- a lost EC2 run costs a lot.15:21
deryckkfogel, you use `utilities/ec2 land` to make sure the syntax is good, too.15:22
deryckkfogel, I think most of us use that now, rather than ec2 test.15:22
kfogelderyck: yeah, should just do that15:22
kfogelok, submitted.  out for a while15:23
BjornTbigjools: ping?15:24
bigjoolsBjornT: yo15:25
BjornTbigjools: we currently have both DistributionSourcePackage and DistributionSourcePackageCache in the db. it feels like we should combine those two, but i'm not sure what the latter is used for. can you enlighten me?15:26
bigjoolsBjornT: it's for searching; the distro search page uses it15:28
bigjoolsgets updated every day15:29
bigjoolsthere's an fti on the various columns15:29
=== matsubara is now known as matsubara-lunch
BjornTbigjools: would  make sense add settable columns to it? i.e., have it represent a distribution source package in the db, which can have bug reporting guide lines for example.15:30
bigjoolsBjornT: I don't follow what you mean15:31
BjornTbigjools: basically, i think that the DistributionSourcePackage python class should be connected to a table in the db. this table should both have some properties for the package, for example bug reporting guidelines, which is settable by users, as well as acting as a cache for certain properties, like the latest publication record.15:35
BjornTbigjools: would it make sense to use DistributionSourcePackageCache for this? is would it be better to keep it for searching only?15:36
bigjoolsBjornT: there is already a DistributionSourcePackageInDatabase !15:37
bigjoolsI would keep it for searching only15:37
bigjoolsDistributionSourcePackage and DistributionSourcePackageInDatabase should be merged; that was always the intention15:37
bigjoolsand you'll notice the latter has the bug_reporting_guidelines on it15:38
BjornTbigjools: yes, i know. my question was whether it would make sense to merge DistributionSourcePackageInDatabase and DistributionSourcePackageCache15:38
bigjoolsBjornT: I don't think it does15:39
bigjoolspartly because the latter is also archive-specific15:39
bigjoolsi.e. it gets generated with knowledge about publications15:39
BjornTbigjools: ok, makes sense. DistributionSourcePackageCache should probably get renamed as to not cause that much confusion.15:44
bigjoolsyeah, that's cool15:44
bigjoolsnaming is the hardest part of programming, after all :)15:44
BjornTbigjools: do you have time to have a quick call to talk me through https://code.edge.launchpad.net/~wgrant/launchpad/sprbu-columns-to-sprb/+merge/18995? i'm interested in the model's PoV15:57
bigjoolsBjornT: yeah can do15:57
bigjoolscall me on skype when you're ready15:58
BjornTcool15:59
jtvBjornT, can I bounce something off you?16:02
=== salgado-lunch is now known as salgado
jtvBjornT: we have a bunch of fake transaction managers in tests.16:02
jtvWould it be a good idea to make that a test helper?16:03
BjornTjtv: could be, if they are similar enough.16:10
jtvBjornT: looks like.  In fact this is one reason why I still like to pass transaction managers around: it's a reasonably clear injection point for tests.16:10
=== matsubara-lunch is now known as matsubara
=== beuno is now known as beuno-lunch
adiroibangmb: hi. Any news regarding the landing of this MP https://code.edge.launchpad.net/~adiroiban/launchpad/bug-522188/+merge/19395 ?17:08
gmbadiroiban: !??! It appears to have disappeared again. This is vexing. I'll go and see if I can find it.17:08
adiroiban:))17:09
gmbadiroiban: It looks like the ec2 run just sort of died and didn't email anyone to say that it had. Starting a new run now; I'll keep an eye on it.17:11
adiroibangmb: np. I will remind you on monday if it will fail again17:12
gmbadiroiban: If that happens I'm going to take a very large axe to our ec2 utility.17:13
adiroiban:)17:20
jtvabentley: preparing to land your branch-url branch17:24
abentleyjtv, rock.17:25
jtvabentley: that's a whopping 4-branch landing.  :)  Can I just land the last branch (after pumping) and the whole pipeline will be included?17:26
abentleyjtv, yes.  As long as all your stuff is fully merged into mine.  You can check that with bzr missing.17:29
jtvabentley: it says "you have 15 extra revision(s):"17:31
jtvfollowed by... yes, 15 revisions.17:31
jtvabentley: does that mean I'm good to go?17:34
abentleyjtv, well, it depends whether the extra revisions are in my branch or yours.17:35
jtvabentley: I merged yours into mine.17:35
abentleyjtv, okay, never mind then.17:37
jtvabentley: and all those 15 revisions are mine.17:37
abentleyjtv, the general answer to your question is yes.17:37
jtv\o/17:37
abentleyIf you want to land multiple branches, and all the branches have been merged directly or indirectly into one of them, you can just land that one.17:38
abentleypumping is just a convenient way of ensuring all the branches are merged into the last pipe.17:39
jtvconvenient indeed... it's been fun!17:42
=== beuno-lunch is now known as beuno
=== deryck is now known as deryck[lunch]
=== danilos is now known as daniloff
sinzuiEdwinGrubbs: I like your proposal. I'll reply with some questions about how communities complete for the involvement portlet.  Let's assume we are going to extend the Involvement portlet instead of creating a new portlet18:37
=== deryck[lunch] is now known as deryck
=== salgado is now known as salgado-afk
=== EdwinGrubbs is now known as Edwin-lunch
deryckHave a good weekend, everyone.20:05
=== henninge is now known as henninge-afk
=== matsubara is now known as matsubara-afk
=== Ursinha-afk is now known as Ursinha-brb
maxbI have a MP that is "review approve"d but not "merge approve"d. Would someone possibly be around who could flip that setting and ec2 land it?   https://code.edge.launchpad.net/~maxb/launchpad/bug-497731/+merge/1973220:42
rockstargary_poster, hi21:20
gary_posterhi rockstar21:20
gary_poster(I'm about to turn into a pumpkin btw, but can reply using cell phone in a bit)21:21
rockstargary_poster, so, if I need to create a new script in bin/ then I need to create a .in file in buildout-templates/bin, but where do I tell buildout about it?21:22
gary_posterrockstar, if it is one of those kinds of templates--free form--then just putting it in the directory is sufficient.  rerunning bin/buildout will notice and build.  Note that there are other kinds of scripts that let you keep your code in the tree (see lp-windmill, for instance, and how it is hooked up in buildout.cfg [scripts] entry-points, but I imagine you've seen those and rejected them with reason.21:25
=== Edwin-lunch is now known as EdwinGrubbs
wgrantCan somebody please ec2 land https://code.edge.launchpad.net/~wgrant/launchpad/sprbu-columns-to-sprb/+merge/18995 for me?21:41
lifelesslp-project-upload looks nearly-useful21:43
lifelessbut I really don't want to depend on ubuntu-dev-tools for an upstrea project21:43
lifelessany suggestions on where I should ask pitti to move the code to ?21:43
wgrantlifeless: Maybe launchpad-tools, the collection of useful Launchpad-related scripts?21:49
lifelesswgrant: I'm thinking lptools21:49
lifelesshttps://bugs.edge.launchpad.net/lptools21:49
lifelessis that what you were meaning?21:49
lifelessdobey: btw21:50
wgrantlifeless: I meant a hypothetical thing, the lack of existence of which was a bug.21:50
lifelessdobey: _puhlease_ beat statik into giving you some work time to do QA [we do allow for this when we open source something, so that we're not doing abandon-ware]21:50
lifelesswgrant: hah. Well it exists but is named differently.21:50
wgrantWhy has db-devel not been merged into for a couple of days?22:06
dobeylifeless: was off today, so was out doing other things in the nice warm sun :)22:28
lifelessfair 'nuff22:28
lifelessdobey: I'd love to see you do an upstream release :)22:29
dobeylifeless: During this cycle, I don't even really have enough work time to finish the stuff for Lucid. But I think after Lucid, I want to switch to our ops+ team for 6-12 months, and do a lot of work on infrastructure/tools, and lptools would certainly fall into that realm22:30
dobeylifeless: yeah, I know. I would if I had any time to fix the bugs and do it :)22:30
lifelessdobey: just doing a release would be helpful22:31
lifelessit would mean that the packaging would be a little more sane.22:31
dobeylifeless: I'll see if I can't do that. I need to do a release for changeup also22:31
lifelesschangeup ?22:33
dobeyA fairly simple thing to make it possible to automatically restart ubuntuone-syncdaemon, gwibber-daemon, and similar 'behind the scenes' user-level services, on upgrades22:34
lifelessdobey: also if you can merge the non-packaging parts of bzr+ssh://bazaar.launchpad.net/~lifeless/debian/sid/lptools/sid/ that would be really nice.22:34
dobeywhat's non-packaging in there?22:34
lifelessdobey: e.g.: bzr merge lp:~lifeless/debian/sid/lptools/sid/; bzr revert debian; bzr revert --forget-merges; bzr commit -m "whatever"22:35
lifelessdobey: have a look :>22:35
dobeyhrmm22:36
lifelessa bunch of work from ted22:36
lifelessdesktop files22:36
lifelessa preferences dialog22:36
dobeysounds frightening22:37
lifelesshttps://code.edge.launchpad.net/lptools/+activereviews22:40
lifelesswould be good to merge22:40
dobeyI wish I could get the same list of reviews from the API, as is shown on http://code.launchpad.net/~dobey/+activereviews22:40
lifelessit has most of the changes I'm talking about22:40
lifelessdobey: you can now I believe22:40
lifelessor not quite; you can get reviews-requested-for-an-object22:41
dobeyyeah, I just haven't had time to look at his branch because it's so big22:41
lifelesswhich is not the same22:41
lifelessdobey: JFDI, honestly, everyone is running his branch.22:41
james_wdobey: you can now get those two reviews on your +activereviews page with lp.me.getRequestedReviews() or similar22:49
lifelessjames_w: I thought that didn't handle group membership yet?22:50
* lifeless really wants a direct match to +activereviews too22:50
james_wbut those reviews are requested of dobey n'est pas?22:51
lifelessin this case22:51
james_whence "those two reviews"22:52
lifelessit may be that +me/activereviews isn't showing what it should either ;>22:52
james_wit's a start22:52
james_wso, one API request to get them all would be good22:53
james_wand just returning a list of merge proposals is fine, as you can sort client side22:53
james_wso we need a parameter to getRequestedReviews() to do a recursive lookup, then a modification to the internal method it calls22:54
dobeyThere's a 3rd review on a private branch that isn't directly requested of me, but is via group membership22:54
james_wdo you know if there is a way to get the transitive closure of team memberships for a person?22:54
james_wdobey: ah, I can't see that one, indeed you can't get that easily with this API yet22:55
james_wI'd like to fix that, but it's more than just exposing something over the API like the current version22:55
dobeyI don't really care about sorting. That's a trivial problem. :)22:55
dobeyI just want all the reviews pertaining to me22:55

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