/srv/irclogs.ubuntu.com/2011/02/14/#bzr.txt

pooliehi all00:44
pooliehi spiv02:43
spivHi poolie02:44
pooliehow are you today?02:44
spivThe cold is lingering more than I'd like, but basically good.02:45
spivMy kanban board is gradually having more things move to the right, which is nice, and http://webnumbr.com/bzr-in-progress-bugs and http://webnumbr.com/bzr-active-reviews are both trending in a good direction lately :)02:46
pooliegood02:47
poolieoh, how did you get webnumbr to work for that?02:47
pooliei tried but failed because the numbers weren't in spans/divs by themselves02:48
spivpoolie: evil02:48
spivpoolie: I hand-hacked the xpath expression02:48
pooliecan xpath pull substrings out of strings?02:48
spivOh, actually I don't think I did for those02:48
spivBut I did need to use https://bugs.launchpad.net/bzr/+bugtarget-portlet-bugfilters-stats as the URl02:49
spivWhich is also a bit evil...02:49
poolieah, that would do nicely02:49
spivhttp://webnumbr.com/bzr-branches-for-ubuntu uses a hand-hacked xpath to get a substring02:50
poolieah so you can02:50
poolienice02:50
poolietwo things i',m going to do today02:51
pooliein fact maybe now02:51
spivIt'd be nicer if webnumber didn't need me to write the xpath myself, but I guess it writes half of it for me, so I could be worse :)02:51
poolieare to make the kanban script a bit faster02:51
poolielet it run anonymously02:51
poolieand then run it from peopel.c.c02:51
pooliethat may be more than two02:51
spivHeh, well all of those, whatever the count is, does sound nice.02:51
spivIn a vaguely related vein, have you seen http://twistedmatrix.com/highscores/?02:52
pooliei did02:52
pooliethat was neat02:52
pooliesomewhere down my personal-hacking yak list is to fix http keepalive in twisted02:52
poolie(specifically to try to finish a patch that adds it)02:52
pooliewhich will help wrested02:52
pooliewhich will help suck stuff out faster02:52
poolieit's not a strictly necessary depedency02:53
spivAnd might get your name on the highscore list ;)02:53
pooliemaybe on page 403:04
lifelessspiv: how easy is it to do those?03:05
lifelessspiv: I'd like to graph timeout , oops and critical bug counts for lp03:05
lifeless(on the launchpad-project context)03:06
poolielifeless, it's pretty easy if you can hand-hack an xpath expr that will work03:09
spivlifeless: webnumbrs?  Login with OpenID, give it a URL, then click on a number on that web page.03:09
poolieif lp put all numbers into tagged spn03:09
poolie*spans it would be trivial03:09
spivlifeless: mostly it works well, unless the numbers are loaded via js or embedded in a paragraph without a span or something to isolate it.03:10
spivlifeless: for critical bug counts you'll probably find https://bugs.launchpad.net/launchpad/+bugtarget-portlet-bugfilters-stats is a good URL to use :/03:11
spivlifeless: I'm not sure how you'd feed it timeout and oops numbers, I don't think we publish those publically do we?03:12
lifelessspiv: I'm not sure if we do either03:13
spivlifeless: you could also get the Critical bug count off https://bugs.launchpad.net/launchpad/+bugs?field.importance=Critical&batch=1 ;)03:13
lifelessah, we can do tags that way03:14
spiv(batch=1 because otherwise when count < 75 I don't think the number is explicit on the page)03:14
poolielifeless,  so https://code.launchpad.net/~mbp/bzr-email/242262-mail-deadlock/+merge/4430 is ok with you?03:15
lifelesspoolie: last I tried to merge it it was an old format branch needing an upgrade03:16
pooliei haven't actually seen that bug for ages but it's be good to flush the inventory03:16
poolieand i think it's an improvement03:17
poolieoh, that's what you mean by 'update'; ok03:17
lifelesspoolie: 'upgraded' :P but yes. I think.03:20
lifelessanyhow the diff does look fine03:20
poolieok, it's running now03:21
pooliespiv, i like the 'like' button03:23
pooliewell03:24
pooliemore just i'm interested that it's there03:24
poolieon the webnumbr pages03:24
poolie'like' is a bit blunt03:24
spivpoolie: I'd never noticed!  I think I've trained myself mentally filter out facebook cruft.  I guess it "likes" the individual webnumbr, rather than the site in general?03:25
pooliei think so03:25
pooliebit blunt meaning: does it imply "i like that spiv set this graph up" or "i like bzr having 50 bugs in progress" or "i like there being only 50 rather than 80" etc03:25
spiv"I like how the graph resembles \m/"03:26
lifelessspiv: no, the 1 of 245 results returns 1 as the number03:29
spivlifeless: you need to hack the xpath expression :/03:31
spivlifeless: see e.g. http://webnumbr.com/bzr-branches-for-ubuntu03:31
spivsubstring-after(..., 'of')03:31
poolie\m/ ?03:32
spivpoolie: fist of rock!03:32
poolieheh :)03:33
lifelesshttp://webnumbr.com/launchpad-critical-bugs03:33
spivlifeless: that's one heck of an xpath  :)03:33
poolielifeless, ok, landed03:34
lifelesshttp://webnumbr.com/launchpad-timeout-bugs03:35
lifelesshttp://webnumbr.com/launchpad-oops-bugs03:37
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=bugs03:37
spivubot5: nice try03:37
lifelessspiv: thanks for the help03:41
mwhudsonlifeless: you probably want to dial the frequency down from 1 hour04:26
mwhudson... if i remember what this site is like04:27
* mwhudson vanishes04:27
=== oubiwann is now known as oubiwann_
spivHeh, I've *finally* trained firefox's url bar to suggest https://code.launchpad.net/bzr/+activereviews over https://code.edge.launchpad.net/bzr/+activereviews05:49
poolie:)05:56
lifeless\o/06:12
vilahi all !07:13
pooliehi vila07:14
spivHey vila07:14
vilahey hey (hehe) :)07:15
fullermdyeh yeh?07:17
spivArgh!  _pretty_need_write_lock breaks symbol_versioning.deprecated_passed07:22
spivWhich in turn breaks Repository.search_missing_revision_ids in trunk if you aren't using the fast version of the decorators07:24
vilabreaks how ?07:28
spivhttps://bugs.launchpad.net/bzr/+bug/71856907:30
spivvila: see that bug report07:30
vilaeeeek07:33
spivYup.07:33
spivI can think of some workarounds, but they aren't very pretty.  Possibly the best approach is to have a dedicated class for those sorts of sentinels that reprs to its python dotted name.07:40
spivi.e. "DEPRECATED_PARAMETER = Constant(__name__, 'DEPRECATED_PARAMETER')" or something07:42
spivOr 'IdentitySensitiveConstant' or something...07:42
spivAnyway!07:42
spivWhat led me there is that I can now reproduce https://bugs.launchpad.net/udd/+bug/653307 locally, with trunk bzr07:43
vilapoolie: regarding bug #718483 , did you requeue the packages today ?07:44
ubot5Launchpad bug 718483 in Ubuntu Distributed Development "should delay and retry on http 503 from librarian" [Medium,Triaged] https://launchpad.net/bugs/71848307:45
poolievila, yes, i did08:00
pooliespiv, well that's good08:00
vilapoolie: ha, good to know08:00
vilapoolie: bug updated08:01
=== mthaddon` is now known as mthaddon
pooliegood night vila08:14
vilapoolie: g'night08:14
fullermdI'll try and keep him in line while you're gone...08:14
vilahehe08:21
dknightI want to integrate bazaar into enlightenment file manager. Where can I get suggestions about the integration?08:32
spivvila: just proposed a fix for bug 71856912:08
ubot5Launchpad bug 718569 in Bazaar "_pretty_needs_read_lock breaks symbol_versioning.deprecated_passed" [Critical,In progress] https://launchpad.net/bugs/71856912:08
vilaspiv: targeting trunk only ? Does this mean we need trunk for p-i ?12:09
spivvila: the triggering change is only on trunk12:09
spivvila: it's a lurking issue in all the older releases potentially, but so far it hasn't bitten anyone...12:09
vilabah, forgive me, was mixing up this bug and the missing chk one12:10
spivPossibly because no-one uses DEPRECATED_PARAMETER + deprecated_passed in a needs_{read,write}_lock method until I did it recently.12:10
spivAnyway, I think I found a tasteful and robust fix.12:11
vilaspiv: approved12:11
spivvila: yay!12:12
* spiv sends it off to pqm and heads to bed12:12
vilaspiv: such fixes should be left un-reviewed before the submitter goes to bed or risk of insomnia are far too high ;)12:12
vilagrr. s//not be left/12:13
spivWell, perhaps mutating a value from the formatvalue function is a bit sneaky, but otherwise tasteful... ;)12:14
* spiv finds himself increasingly tempted to make a version of http://twistedmatrix.com/highscores/ for bzr...12:15
Takthere needs to be a penalty for submitting a bad ticket as well12:18
=== oubiwann_ is now known as oubiwann
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
=== oubiwann is now known as oubiwann_
=== jelmer_ is now known as jelmer
=== jelmer changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jelmer | 2.3.0 is officially out ! (rm vila)
fullermdSure, vila's a little odd sometimes, but that doesn't mean we need to rm him, does it?   :p14:59
vilatsk14:59
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jelmer | 2.3.0 is officially out ! (RM vila)
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jelmer | 2.3.0 is officially out ! (RM: vila)
fullermdIn other news, I just found a grumpy-making side effect of using reverse merges to undo changes   :|15:00
jelmerfullermd, what's that?15:01
fullermdThe path you hand merge serves the double purpose of "branch to merge from" and "subtree of branch to merge".15:02
fullermdSo if you're in a subdir and "bzr merge -r5..4 .", it only reverse merges that subdir, not the whole tree.15:02
vilameh, the path is just the subdir you want to merge from, the branch is inferred no ?15:03
vilaworth documenting but does it deserve a warning ?15:03
fullermdWell, we really should have a 'bzr reverse-old-rev' command anyway.15:04
jelmerfullermd, agreed15:04
fullermdBut this means that using merge of '.' isn't just "slightly confusing and unintuintive idiom", it's also "mildly quietly dangerous <previous>"15:05
fullermdIf I hadn't just made the rev I just tried to reverse, and carefully examined the diff beforehand and noticed the output of 'merge' only listed 1 of the 2 files, I'd have never noticed I didn't actually roll back everything I wanted to  :|15:06
fullermdAnd if I came that close to missing it, imagine all the other poor people out there nowhere near as brilliant (not to mention handsome) as myself, and the trouble they can wind up in.15:07
vila> bash.org15:08
vilabug 71879515:09
ubot5Launchpad bug 718795 in Bazaar "LOCATION for merge can be confusing when reversing changes" [Medium,Confirmed] https://launchpad.net/bugs/71879515:09
=== _starbuck is now known as _starbuck-lunch
mgzlaunchpad launchpad launchpad...15:16
viladesperate and enthusiast ?15:17
vilas/and/or/15:17
mgzwhy are some bug h1 tags now grey for me when they used to all be red...15:17
vila...15:17
vilaO_o15:17
mgzI'd like it if they just had a changelog posted every time they do something, as it is I always wonder if I'm going mad15:18
vilaDecide you're mad, problem solved15:20
jelmervila: can we have a bug status for that?15:21
vilafor being mad ?15:21
vilaor for the reporter being mad ?15:21
jelmerfor the reporter, I don't see the value in telling the rest of the world *I'm* mad15:22
fullermdWe're all mad here.  I'm mad.  You're mad.15:23
vila. o O (Didn't he just said he was seeing no value in telling that ?)15:23
mgzit's just some of us are madder than others.15:24
vilaTime for a tea ? Where is Alice ?15:24
fullermdWell, if there's no value in it, obviously you'd have to be mad to mention it.15:24
* jelmer thinks coffee is a great idea15:25
* fullermd perks up.15:26
vilaperks up as in perkolate upwards ?15:27
fullermdUpward, downward, sideways, inward...   pretty much any direction that gets me coffee.15:28
mgzbug 330590, meet <http://bugs.gentoo.org/show_bug.cgi?id=343355>15:41
ubot5Launchpad bug 330590 in Bazaar "dirstate crc is not both 32 bits and 64bits compatible" [Low,Confirmed] https://launchpad.net/bugs/33059015:41
=== _starbuck-lunch is now known as _starbuck
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
=== beuno-lunch is now known as beuno
=== deryck[lunch] is now known as deryck
beunojam1, FWIW, LH has a different color scheme on LP than on trunk so people can tell them apart20:33
beunothat was the directive at the time20:33
=== jam1 is now known as jam
jambeuno: I'll post that to the bug. Can you give any more background? Who gave the directive, etc?20:34
jamalso, if you have any idea how hard it would be to make it toggleable, so that LP could easily change the color scheme, that would be great20:34
beunojam, yeah, Mark and Kiko at the time. I was never super convinced it was necessary, but, at the time, LP was still closed, so it may not apply anymore20:35
beunojam, well, to do theming properly there is some work to be done, at least to split out the images into a separate "theme" dir, not too much work though, I think20:36
jelmerHi Jam20:38
jamhi jelmer20:39
pindongahey, I have a question on bzr-builder, is this the right place to ask?21:30
pooliepindonga, here's fine21:31
pindongaI see the dput/key-id option pair. However I wanted to ask about the rationale for requiring the key-id... I want to automate the building of source packages, and since I cannot find a way to automate entering the passphrase for the gpg key (which if possible would in some way defeat the purpose of the passphrase) I was suggested not to sign the package21:31
pindongaso I wanted to add support for this to bzr-builder21:32
pindongathis is for the dailydeb command21:32
poolieok21:32
pooliei'm not sure but i would think you should make a key specifically for the daily debs, with no passphrase21:32
pindongathat was my other approach21:33
pindongahowever, I'm not sure what's best tbg21:33
pindongatbh21:33
pindongahaving a key without a passphrase is as unsecure as not having a key21:34
pindongapoolie, I think bzr-builder should not be strongly opinionated on this one, unless there is a good reason21:36
jampindonga: could you set up a gpg agent for your build bot?21:36
jamand that isn't entirely true21:36
jamone is having a key locally, that validates something you give to other people21:37
jamvs, not having a way to secure anything with 3rd parties21:37
pindongajam, yes, I was a bit dramatic :)21:37
pooliei tentatively agree it should not be too opinionated21:37
pindongajam, what's the thing with the gpg agent?21:37
pooliehowever, the signature does prove it came from a machine with the key vs somewhere else in the world21:37
pindongapoolie, I'll see if I can provide a branch with the change, and we'll see21:37
jampindonga: man gpg-agent21:38
poolieseeing as there's no human present to stamp the package with "i approve this build" that seems to be as strong as you can get21:38
poolieif you want to make sure no one breaks into that machine that's really out of scope (though worth doing)21:38
jambasically, you set up a process that knows the key, for the lifetime of a run21:38
jamso that if you shutdown, restart, the information is lost21:38
jamyou can also configure it to remember only for a specific time, but default of 1 hour doesn't work well with your "run this every day" idea21:38
jelmerpindonga: supporting unsigned packages seems reasonable to me21:38
pindongajam, actually it's run this every merge, but yes21:39
jelmerpindonga: although its use is limited, what do you plan to do with the source packages built that way?21:39
pindongajelmer, let's say I push them to private ppa's21:40
pindongasince this use case is for building packages from private branches21:40
pindongawhich are not supported by lp's recipes21:40
jelmerpindonga: How would the private PPA's authenticate the packages that were uploaded?21:40
pindongaso it would make sense to push those to private ppa's21:40
pindongajelmer, well, for starter's I guess you need the user/pass of the ppa to push something to it?21:41
jelmerpindonga: The transport isn't authenticated at the moment, the GPG key is used for that at the moment.21:41
pindongaok, that's true for launchpad21:42
pindongahowever bzr-builder could be used to build packages for debian, right?21:42
jelmerpindonga: Debian itself doesn't accept unsigned packages21:42
pindongain which case (which is not my use case) it may make sense to push unsigned content to the serrs21:42
pindongahe,21:43
pindongabad utopic use case21:43
jelmeryou could use it for a private repository where you build the source packages and the resulting binary packages yourself21:43
jelmerbut even then I think apt-get/aptitude would warn because the packages weren't signed21:43
pindongaok, so the best shot here is to use the gpg-agent?21:43
pooliei don't see the _harm_ in having them signed by a low-trusted key21:43
beunojam, re: bug #71897821:44
ubot5Launchpad bug 718978 in loggerhead "have an optional search box" [Medium,Confirmed] https://launchpad.net/bugs/71897821:44
pindongain order to achieve the equivalent of lp's recipes but for private branche?21:44
pooliejust make a key with no passphrase, and don't let people break into the box21:44
pooliehello beuno21:44
beunojam, AFAIK, loggerhead does work with bzr-search if it's installed21:44
beunoheya poolie!21:44
jambeuno: sure. but...21:44
jelmerpindonga: just create a separate GPG key without a passphrase - there shouldn't be a need for gpg-agent in that case21:44
pindongapoolie, jelmer jam thanks21:44
jambeuno: launchpad's pqm version of loggerhead had the search box explicitly disabled21:44
jampresumably a scalability thing21:45
jamso this got propogated to trunk and 'experimental'21:45
jamwe'd like to bring it back21:45
beunojam, ah, right21:45
jamas a configurable thing21:45
jelmeralso, g'morning beuno, poolie21:45
beunomorning(?) jelmer21:45
jelmerbeuno: Sorry!  Afternoon?21:46
beunojelmer, well, you're still in .nl, right?  so it's evening for you and afternoon for me  :)21:46
vilabeuno: nope, it's morning in europe, you're jet-lagged again21:47
* beuno blinks21:47
beunovila, you confused me there for a second  :)21:48
vilayes !21:48
jelmerha :)21:48
beunoyou guys sprinting and confusing me, aren't you?21:48
vilanot even ;)21:49
jambeuno: vila's just lying to you21:49
jamand probably still jetlagged or something21:49
jamhe should certainly be in bed with his lovely gf by now21:49
fullermdWell, _I_ haven't gotten to bed yet.  I don't think he's allowed until I do.21:49
jelmerfullermd: You sleep?21:50
vilafullermd: but poolie is here now !21:50
fullermdWell, I close my eyse when I tpye sometimes to try and impresonate vila.  That's sorta like slepping.21:51
vilaslapping in your sleep are you ?21:51
vilame ? noticing tyops ? without making one ?21:52
pooliehi jelmer21:54
poolieand vila21:55
vilabeuno: truth is, jam moved to europe and is trying to make you think I'm the one lying21:55
vilapoolie: hey ;)21:55
jamvila: not for 2 more weeks21:55
vilajam: ;)21:56
vilajam: just read your mail, welcome !21:56
poolievila, thanks for (it seems) trying to update the doc site and web site21:58
pooliedid you get stuck or are you still doing it?21:58
vilaIt still is on my radar but couldn't get to it today21:59
jelmerhi Noldorin22:02
Noldorinjelmer, hi there.22:08
Noldorinwhat's up? :)22:13
=== zyga is now known as zyga-afk
jelmerspiv, hi23:41
jelmerspiv, I'm seeing a weird issue with search_missing_revision_ids()23:41
=== spm` is now known as spm
jelmerspiv: revision_id is now deprecated so it's set to symbol_versioning.DEPRECATED_PARAMETER, but symbol_versioning.deprecated_passed() fails, as it's a different string (with the same contents) that's being passed in23:42
spivjelmer: I just landed a fix for that (I hope) in lp:bzr23:45
spivjelmer: it's a bug in the "pretty" version of needs_read_lock/needs_write_lock23:46
spivjelmer: you can workaround it with bzrlib.decorators.use_fast_decorators()23:46
jelmerspiv: ah, cool :)23:46
spivjelmer: bug 71856923:47
ubot5Launchpad bug 718569 in Bazaar "_pretty_needs_read_lock breaks symbol_versioning.deprecated_passed" [Critical,Fix released] https://launchpad.net/bugs/71856923:47
spivjelmer: I'm a bit amazed this is the first time we've encountered that bug :)23:48
jelmerspiv: yes, me too :)23:49
jelmerspiv: Great, I can confirm your branch works :)23:52
* jelmer now has tarmac working for lp:bzr-gtk23:53

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