/srv/irclogs.ubuntu.com/2008/06/20/#bzr.txt

igcthanks lifeless. So the big 1.5 finally lands.00:00
Verterokawilkins: all tetsts passed :) (pushing to lp now)00:00
Verterokawilkins: I'll be back online in ~ 1h (heading home)00:04
Verterokseeya00:05
* Verterok runs to catch the train00:05
igcreviewing abentley's StackingPolicy patch today01:16
abentleyigc: thanks.01:16
kumi2lifeless: wow, mysql using bzr01:29
lifelesskumi2: nice huh :)01:29
kumi2yeah that's so awesome.01:29
jelmerjames_w: Now that bzr-loom is packaged, do you think it makes sense to have bzr-builddeb suggest it?01:32
* jelmer also wonders if it makes sense to make the bzr package suggest every possible plugin01:32
jelmeryou'd assume that reverse "Enhances:" would be suggested by aptitude, but that doesn't appear to be the case yet01:33
lifelessbug filin' time01:34
=== thumper_laptop is now known as thumper
=== mw is now known as mw|out
=== mwhudson_ is now known as mwhudson
pooliehi01:53
beunohowdy poolie01:54
jelmer'morning lifeless, poolie, beuno02:27
beunoevening jelmer02:27
lifelesshi jelmer02:28
beunolifeless, http://intranet.pentacorp.net:8080/bazaar/bzr_garbage/changes02:55
lifelessbeuno: getting there!02:56
beuno:)02:56
mwhudsonbeuno: can you suppress ff's history suggestions02:56
mwhudson?02:56
beunofood, then polish02:56
lifelessbeuno: suggestions - put it to the right, or else suppress ff02:56
lifelessalso, could you show it as words and phrases not tuples:)02:57
beunomwhudson, that's one of the things I have to find out. I probably can with some voodoo magic02:57
beunolifeless, I'm going to do better then that02:57
lifelessand perhaps they can be clickable, to make that the search ?02:57
beunoyes :)02:57
beunothat's what I meant by better02:57
beunoand it should go away when you delete all text02:57
beunoand a big list of etc02:58
beunobut, I'm off to get food02:59
beunomwhudson, I uploaded the fix to the clean url branch02:59
beunoyour changed didn't seem to quite get there02:59
mwhudsonbeuno: i noticed :)03:00
beunonot it behaves the same as it does on LP03:00
beunos/not/now03:00
mwhudsonbeuno: so when i said i was firefighting03:00
mwhudsonthat was triggered by me not accessing launchpad's loggerhead to compare my branch to launchpad :)03:00
beunohahaha03:00
mwhudsonthanks for doing it :)03:01
beunoI'm so glad I don't have access to some places...   :)03:01
beunook, off for a bit03:01
mwhudsoni'm hoping to get that taken away soon :)03:01
mwhudsonbeuno: see ya later03:01
beunomwhudson, let me know what else I can do to help with the wsgi merge03:01
beunoif that's going in sooner then later, then I'll start merging that in with me branches and see what breaks  :)03:02
beunoI'd like to fix setup.py and everything that surounds installing LH03:02
beunoaside from making lifeless happier with more search bling, of course  :p03:02
mwhudsonbeuno: well, i think i'll be merging zpt.cleaner_urls soon03:02
mwhudsonbeuno: and then probably the wsgi-ify stuff03:03
* mwhudson merges zpt.cleaner_urls to trunk03:17
mwhudsonuff, wsgi-ify is 2400 lines of diff03:21
mwhudsonout of only 8k lines total :)03:22
mwhudsonhmm03:31
mwhudsonshould bzr branch $url a/b create a shared repo at 'a' if it doesn't exist?03:32
mwhudsonit would be a bit magic, but it would be handy03:32
lifelessmwhudson: eep, sscary03:40
lifelessmwhudson: maybe with a flag03:40
lifelessmwhudson: but what if a/.. is a repo03:40
mwhudsonlifeless: yeah, maybe it's too magic03:41
mwhudsonin general i do worry a bit that getting a good environment for a new project with bzr  (shared repo, appropriate appendpath-y paths in locations.conf) takes a bit too much typing03:42
Pengjelmer: I ask this daily, but is bzr-svn's 0.4 branch considered stable at the moment?03:46
TodoInTXHello; I just created a project on launchpad and am trying to check-in my files to it.  I created a branch but when I try to push I get...03:48
TodoInTXbzr: ERROR: Not a branch: "/home/matt/mysql/scripts/".03:48
TodoInTXdid I miss a step somewhere?03:48
spivHow did you create the branch?03:49
TodoInTXOn lauchpad.net  Code -> Register a Branch -> Fill out form...03:50
TodoInTXadded my public key...03:50
TodoInTXthen I got this page... Update this branch: bzr push lp:<url>03:51
spivTodoInTX: registering a branch on Launchpad doesn't create a branch.  See "bzr init --help"03:52
=== kiko is now known as kiko-zzz
spivTodoInTX: you probably want to do something like "bzr init /home/matt/mysql/scripts", then "bzr add" in that directory to add files to that new branch, then "bzr commit" to commit the files, then "bzr push lp:<foo>" to push the result to Launchpad.03:53
TodoInTXok... missed lots of steps :-)03:53
spivthumper: ^ looks like the "Register a Branch" and choosing "Hosted" still leads newbies astray03:54
thumper:-|03:55
TodoInTXspiv:  grr... I did "bzr init help" and it made a directory 'help', I assume it's not safe to just delete that... I need to kill it from the repository some how?03:55
spivTodoInTX: it is safe to delete that03:55
* TodoInTX removes the .bzr directory anyway for good measure. 03:56
TodoInTXnothing usefull in there yet anyhow03:56
spivTodoInTX: http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html  is probably a good thing to read if you haven't already03:57
TodoInTXwill do.03:58
TodoInTXspiv, thumper: either of you Canonical employees?04:00
spivTodoInTX: both :)04:01
TodoInTXah, know egrubbs in San Antonio ?04:01
spivYeah :)04:01
spivI saw him at PyCon in Chicago a while ago.04:02
* spiv -> lunch04:02
TodoInTX:-D he's in my MySQL users' group I created.04:02
TodoInTXthough pushing his PgSQL agenda ;-P04:02
TodoInTXwe used to work together a Rackspace for several years.04:03
jmllifeless: would it make sense for loom to have an analogue of 'bzr log' for 'record'?04:06
lifelessjml: yes04:06
jmllifeless: good. I will file a bug to this effect.04:07
lifelessthumper: you could just delete the web ui to create hosted branches :)04:07
lifelessjml: most of TODO is valid bugs04:07
jmllifeless: I didn't even think to check TODO04:08
jmllifeless: in that case, I am going to take TODO and turn it into bug reports.04:08
lifelesssure; just think about each one ;)04:09
jmlnaturally04:09
thumperlifeless: no04:12
TodoInTXspiv: sorry to be a pest... trying to push using lp: url location from site gives "http does not support mkdir()".  Trying using bzr+ssh: format from the tutorial gives "Parent directory...does not exist."  Tried with --create-prefix and it pushes but I don't see the files associated to me on the site.04:23
beunomwhudson, yay! Did you have to fix anything else?04:27
TodoInTXthumper:  ^ ideas?04:28
thumperTodoInTX: you need to do `bzr launchpad-login <your lp id>`04:28
* beuno curses LH in LP04:28
mwhudsonbeuno: on the phone, brb04:29
thumperTodoInTX: which version of bzr?04:29
TodoInTXthumper:  1.3.104:29
TodoInTXIt says "Created new branch" but I don't see it.04:30
thumperTodoInTX: it takes a few minutes to flow through the LP ether04:30
TodoInTXhrm... so I could have a couple up there now :-/04:30
TodoInTXthumper: ah... login was the trick.   now original lp: location works :-)04:33
beunostatik, ping04:34
PengIf a patch for a random bug is in bzr.dev, can I mark it as fix released?04:38
beunoPeng, I believe it's fix committed until it's in a release04:41
PengOkay. Does anyone mind if I change the status, though?04:42
Peng(Bug 215059, fwiw; it was fixed in r3506.)04:42
ubottuLaunchpad bug 215059 in bzr "Cannot push if login is an e-mail address" [Unknown,Confirmed] https://launchpad.net/bugs/21505904:42
beunoPeng, on the contrary  :)04:43
lifelessPeng: please, bug gardening is a good thing04:43
Penglifeless: fix committed?04:43
lifelessPeng: if its not in 1.5, fix committed is appropriate04:44
Pengdone04:45
lifelessplease also tag it for 1.6, so people can tell what release it is going into04:45
PengOh.04:45
lifelessor is it a milestone; yes a milestone04:46
lifelesshttp://bazaar-vcs.org/BugGuidelines?highlight=(bug)04:47
lifeless    *04:48
lifeless      Fix released - the fix is merged into the bzr.dev branch. (It may not be strictly "released" as a tarball yet but this definition seems best.) Please put the milestone for the upcoming release into the bug change message and the bug target milestone.04:48
lifelessthats our official usage; I was confused04:48
PengWait, how do you change the milestone? "Nominate for release"?04:49
beunoI'm not sure *why* we do it that way, since common usage for it is committed == trunk, released == in a release04:50
PengIt's nice not to have to go mass-changing bugs when making a release.04:50
mwhudsonbeuno: just merged wsgi-ify :)04:52
lifelessbeuno: because lp shows 'fix committed' bugs by default04:53
Peng"Nominate for release"?04:53
lifelessbeuno: but when determining what to work on you want 'not fixed bugs'04:53
lifelessPeng: uhm I don't know :(04:53
lifelessPeng: it seems to have changed somewhat04:53
beunomwhudson, oh, VERY cool04:54
beunocongrats  :)04:54
PengI nominated it for 1.6, but I don't know if that's correct.04:54
PengCan someone give me an example of a fixed bug tied to a milestone?04:55
PengHmm04:55
* Peng shrugs.04:55
lifelessthanks Peng04:56
mwhudsonhow can i revert a symlink?04:57
mwhudsoni'm getting 'not in the same branch as' errors04:57
pooliethe obvious thing doesn't work, mwh?04:57
lifelessthere is a bug open04:57
lifelesswe resolve it04:57
pooliemwhudson: suggest you rm then revert it04:58
poolieplain rm04:58
lifelessrm link && bzr revert link will work around04:58
mwhudsonpoolie: ah right, thanks04:58
poolielifeless: if you want to talk now would be good for me04:58
lifelesspoolie: I'd rather talk Monday if thats cool with you; I have substantive news to report04:59
pooliethat's totally ok04:59
pooliethanks04:59
lifelesss/have /have no /05:00
poolieoh heh05:00
pooliei thought you wanted to just build anticipation :)05:00
pooliespiv: could you please send that brief update mail on hpss status, before 4:30?05:01
Pengpoolie: What's the right way to say a bug was fixed in a particular release? "Nominate for release"?05:05
beunomwhudson, #158584 is fixed with the wsgi branch, right?05:06
mwhudsonubottu: ...05:06
mwhudsonbug 15858405:06
ubottuLaunchpad bug 158584 in loggerhead "can't browse to revisions whose revid contains %2F in loggerhead/codebrowse" [Undecided,In progress] https://launchpad.net/bugs/15858405:06
mwhudsonbeuno: yes05:07
mwhudsonbeuno: in two ways :)05:07
mwhudson(1, we generate revnos, 2, revid links work now)05:07
beunoah, that's right  :)05:07
beunono "super fixed05:07
beunoon LP05:08
beunoso fix committed  :p05:08
igcpoolie: I need to head off in an hour or so. I'm reviewing abentley's stacking policy patch today and expect to get an email out about that before I go05:08
PengWhat are loggerhead's trunk's current dependencies, then? Paste, ...?05:10
beunosimpletal05:10
PengPaste and simpletal; that's it?05:10
beunoPeng, I'll find out in a sec, after marking bugs as fixed, I'm going to get setup.py into shape05:11
beunooh, python-sqlite05:11
PengAlso, is it in a usable condition? I might run it just for fun.05:11
beunountil we fix bug #156609 at least05:12
ubottuLaunchpad bug 156609 in loggerhead "sqlite bindings should not be required unless you use caches" [Undecided,Confirmed] https://launchpad.net/bugs/15660905:12
beunoPeng, yes, very usable  :)05:12
PengExcept for setup.py? Can it just be run from source?05:12
beunoPeng, yeah, ./start-loggerhead.py and you're off  (after editing loggerhead.conf)05:13
mwhudsonPeng: the setup.py is probably broken05:13
mwhudsonbeuno: serve-branches.py is much easier now05:13
beunoI've seen you mention it, I'll look into it now. Does it have any drawbacks?05:14
beunooh, and also, do you mind if I remove the homepage/ dir from trunk?05:14
mwhudsonit stores the sql in a tmpdir, rather than a deterministic location05:14
mwhudsonbeuno: no, that's a good idea05:14
mwhudsonbeuno: are you in loggerhead-team now?05:14
beunomwhudson, nope05:15
beunothe thing that bugs me the most is not being able to set priorities to bugs  :/05:15
jmllifeless: https://code.edge.launchpad.net/~jml/subunit/split-right/+merge/41305:17
lifelessjml: EWORKDAY05:18
jmlno need to shout05:19
lifelessjml: symbolic constant, not a shout05:20
PengY'know, port 9876 is registered.05:21
PengI don't know what the heck for, but still. :P05:21
lifelessisn't that bzr:// ?05:22
mwhudsonoops05:22
mwhudsonit's what serve-branches.py uses05:23
mwhudsonmind you, 8080 is registered too :)05:23
lifelessno, 4155 is bzr05:23
Peng4155 was officially registered for bzr too. :)05:26
Pengmwhudson: Shouldn't serve-branches.py be executable?05:27
mwhudsonPeng: probably05:27
PengThat was a hint to someone with push rights. ;)05:28
pooliehello igc05:28
igchi poolie05:28
* mwhudson is fairly hint-proof05:28
PengHey look, it works.05:31
PengHow do you get serve-branches.py to use a different IP or port?05:32
mwhudsonyou edit it05:32
mwhudsonwhich, yeah, isn't so wonderful05:32
PengHow do you kill it?05:34
PengWoah, 45 MB of RAM. Nice..05:34
mwhudsonPeng: C-c05:34
mwhudsonit doesn't background05:34
beunomwhudson, trunk seems much faster to em05:34
PengSo special signals to make it do magical things?05:34
beunos/em/me05:34
mwhudsonPeng: C-c to exit isn't special is it?05:35
mwhudsonit's how bzr serve works too05:35
PengErr, No*05:35
PengI meant "No".05:35
mwhudsonPeng: i'm sorry it's been a long week and i'm tired05:36
mwhudsonPeng: what was that "no" attached to?  and is there something you'd rather serve-branches did differently?05:37
PengI meant "No special signals ...".05:37
PengSome things do stuff like reload config or restart or shut down gracefully when they get SIGINT or SIGHUP or whatever.05:38
mwhudsonah05:38
mwhudsonnop05:38
mwhudsone05:38
beunomwhudson, really, wsgi thing is really nice. Really  :)05:38
mwhudsonit has no config to reload :)05:38
PengSo far Loggerhead looks pretty nice, and it was trivial to set up. :)05:38
mwhudsonprogress hooray05:38
PengWhat about proxying to it from a web server, so it can be available from http://example.com/loggerhead/ or something instead of http://example.com:9876/?05:39
mwhudsonthat's possible, but requires coding atm05:40
PengHow much coding?05:41
mwhudsonyou want to wrap the app object in a paste.deploy.config.PrefixMiddleware object05:41
mwhudsonPeng: very little05:41
PengOh.05:42
mwhudsonfrom paste.deploy.config import PrefixMiddleware05:42
mwhudsonapp = PrefixMiddleware(app, prefix='loggerhead')05:42
mwhudsoni think05:42
PengI think it'd need a leading slash.05:44
mwhudsonuh, yes, probably05:45
igctime for me to go today - see you all next week05:54
lifelessbye igc take care05:54
igcthanks lifeless05:54
beunomwhudson, sent you a small patch to remove some remaining tg stuff05:57
lifelessbeuno: http://www.google.com/webhp?complete=1&hl=en disables the ff bar05:59
beunolifeless, cool, thanks. Once I finish adapting the branch to trunk, I'll finishis polishing that further06:01
beunomwhudson, scratch that, found a few more, re sending in a bit06:01
beunomwhudson, re-sent06:05
mwhudson_beuno: ah, the correct thing to do with branchview.py is to delete the file :)06:10
beunomwhudson_, ah, it's superseded with apps/*, right?06:11
mwhudson_beuno: yes06:11
mwhudson_i am completely done for this week though06:11
PengI think my VPS died. :\06:12
PengIt's slightly on-topic: I was working on setting up Loggerhead at the time! :D06:12
beunomwhudson_, oh, absolutely.  This looks really good. The more I use it, the more I love it  :)06:12
PengOh, good, just routing issues.06:14
=== mwhudson_ is now known as mwhudson
beunook, search now works with wsgi magic and doesn't autocomplete. On to making them links06:19
lifelesswicked06:21
beunogoogle keeps scanning my local LH branch]06:21
beunoseems it grabbed it from the logs06:22
lifeless:P06:22
beunoI know because it hits the 36k diff file often06:22
chandlercgoogle never did anything of the sort!!!!!06:22
beunoand my CPU goes through the roof06:22
chandlerc;]06:22
chandlercbeuno: you can stop it from scanning directories....06:22
beunochandlerc, well, yes, but I don't want to add a robot.txt to *every* LH branch I have06:23
chandlerchmm06:23
chandlercyou sure you would have to?06:23
beunopretty sure, yes06:23
chandlercwhat's your layout, if you don't mind? honestly, thats a bit nuts...06:24
chandlercand i can file a bug with the responsible team. ;]06:24
beunochandlerc, well, LH uses it's own http server, and if you file a bug for it, I'll be the one fixing it, so maybe we can avoid that  :p06:24
mwhudsonbranchesfromfilesystemroot should have a robots.txt06:24
chandlercbwahahahahaha06:24
chandlercexcellent06:24
lifelesschandlerc: you work at google?06:25
chandlercindeed06:25
chandlerc(recently)06:25
chandlerchold on...06:25
mwhudson(the one i just wrote for launchpad does)06:25
chandlercpff, i'll join from work i guess.06:25
lifelessso in theory, google may well want to index LH sites06:25
chandlerchmm06:25
lifelessbut it would be more efficient for it to learn bzr and read the history itself (like bzr-search does)06:26
chandlercsomehow... that doesn't seem the most likely outcome06:26
chandlercgood to know there are other bzr-lovin googlers06:26
lifeless(because loggerhead pages themselves are just rendered denser info)06:26
lifelesschandlerc: you found some bzr-love site within google ? :)06:27
chandlercno, just noting that other bzr folks work at google06:27
chandlercrefreshing06:27
lifelesscool06:27
lifelessI know jaq like bzr, and hes at google for a bit now06:28
chandlerchehe06:28
chandlerci'm a big fan of bzr, with one exception -- i want perforce's integrate. ;]06:28
PengThanks for the help, guys. Setting up loggerhead was a snap. :)06:37
PengExcept for when I broke my web server configuration for a few seconds.06:37
lifelessPeng: must have come a _long_ way then :)06:41
Penglifeless: I'm using the trunk. It was literally just "sudo apt-get install python-paste python-simpletal" and "./serve-branches.py".06:41
Peng(Well, then I installed paste deploy and hacked serve-branches.py a bit so I could use a reverse proxy, but still simple.)06:42
beunolifeless, http://intranet.pentacorp.net:8080/bazaar/bzr.garbage/changes06:48
beunomwhudson, ^    (no more work, I promise)06:49
lifelessbeuno: freaking cool06:49
PengHmm, using serve-branches.py, loggerhead is leaving behind its temporary directories, some of them with the sqlite files.06:49
beunolifeless, it's even reproducible on other people's computers too  :)06:51
beuno(as in, no more hardcoded paths)06:51
PengIf a loggerhead instance gets crawled by a web crawler, how bad will its ram usage get?06:51
beunoPeng, google has been quite nice up to now. Doesn't crawl aggresively06:52
lifelessbeuno: cool. two-words are behaving badly though :)06:52
lifelessbeuno: if I type:06:52
lifelesstest Robert06:52
lifelessinto the search box, what do you pass to bzr-search.suggest() ?06:53
Pengbeuno: But what if it gets hit by something less friendly and benign?06:53
lifelessand http://intranet.pentacorp.net:8080/bazaar/bzr.garbage/changes?q=test+Collins makes it crash I think06:53
beunolifeless, not anymore  :)06:55
beunodoesn't return results06:55
lifelessso06:55
lifelesstest Robert06:55
lifelessshould result in [('test',), ('Robert',)]06:55
beunoI think it has to do with a workaround I had to add, because it was splitting up strings into letters06:55
lifelessas the search termlist06:55
lifeless"test Robert"06:55
lifelessshould result in [('test', 'Robert')]06:56
beunolifeless, http://bazaar.launchpad.net/~beuno/loggerhead/bzr-search_integration/annotate/argentina%40gmail.com-20080620055014-8wnr5qpzt6h2x7mz?file_id=search.py-20080614235103-lpt63f7b2drplju8-106:56
beunoI have to do: query_list = [query_list]06:56
beunoor it will split up "test" into [('t', 'e', 's', 't')]06:57
beunoso the side-effect of me doing that is probably forcing all searched into one term06:58
lifelessso, what is repr(query_list) before you alter it ?06:58
beunoPeng, with the current LH trunk, I think it's fine with crawlers06:58
PengYeah, I just loaded a couple reasonable large diffs, and ram usage barely changed.06:59
Peng32 bytes each time.06:59
beunolifeless, hrm, seems to work now07:00
beuno'robert'07:00
beuno[('robert',)]07:00
beuno(before and after)07:00
beunodidn't before though07:00
lifelessok07:00
lifelessnow send07:00
lifelessrobert collins07:00
lifelessas the search07:00
beunoNoMatch: No matches were found for the search ['robert collins'].07:01
beunolet me remove that first line now07:01
lifelessI guess thats robert+collins in the url07:01
beunolifeless, with out that first line:07:01
beuno'robert collins'07:01
beuno[('r',), ('o',), ('b',), ('e',), ('r',), ('t',), (' ',), ('c',), ('o',), ('l',), ('l',), ('i',), ('n',), ('s',)]07:01
beunobefore and after aplying: query = [(query_item,) for query_item in query_list]07:02
lifelessbeuno: ok, and now http://intranet.pentacorp.net:8080/bazaar/bzr.garbage/changes?q="robert+collins"07:02
lifelesswhats the repr for that before you alter it07:02
beunolifeless:07:03
beuno'"robert collins"'07:03
beuno[('"',), ('r',), ('o',), ('b',), ('e',), ('r',), ('t',), (' ',), ('c',), ('o',), ('l',), ('l',), ('i',), ('n',), ('s',), ('"',)07:03
lifelessbeuno: ok07:03
beunothat's with my hack commented out07:03
lifelessbeuno: so, we don't have phrase indices yet07:03
beunois it suppose to work that way?07:03
lifelessso we can ignore the " scenario, I just wanted to see how it would come across07:03
lifelesswhat you're being given is a string07:04
lifelesswe need to break that into terms07:04
beunoso, split by spaces?07:04
lifelessassuming users only give us valid characters (not a bad start)07:04
lifelessterms = query_list.split(' ')07:04
lifelessterms = [(term,) for term in terms]07:05
beunoalright!07:07
beuno[('"',), ('r',), ('o',), ('b',), ('e',), ('r',), ('t',), (' ',), ('c',), ('o',), ('l',), ('l',), ('i',), ('n',), ('s',), ('"',)'robert collins'07:07
beunoer07:07
beunono07:07
lifelesssorry, query = in that07:07
beuno'robert collins'07:07
beuno[('robert',), ('collins',)]07:07
lifelessyah07:07
beunoyes, I guesses the variables part :)07:07
beunonow, I should probably do something better than raise an uncought exception when no results are found  :)07:08
lifelessnow, for friendliness07:08
lifelesswe should show in the completion the terms before the one being completed07:08
beunoyay!  http://localhost:8080/bazaar/bzr.garbage/changes?q=partial+index07:09
lifelessthat is, return [query[:-1] + term] for term in terms07:09
jameshso, if you check the world wide web into a bzr branch, you should have a google killer07:09
lifelessjamesh: LOL07:09
lifelessjamesh: might be a tad slower07:09
beuno(s/localhost/intranet.pentacorp.net)07:09
lifeless:)07:10
beunolifeless, I don't understand what you mean by "the terms before the one being completed"07:11
lifelessso 'robert collins' -> ('robert',), ('collins',)07:11
lifelesssuggestion completes options for collins07:11
lifelessbut the drop down box would read nicer I think if it showed07:12
lifelessrobert collins107:12
lifelessrobert collins207:12
lifelessetc07:12
lifelessrather than07:12
lifelesscollins107:12
lifelesscollins207:12
lifelessas it will today07:12
PengHow useful are LH's caches on a bzr.dev-sized branch with the trunk now?07:12
beunoPeng, the caches are only used for files-changed07:12
PengIt takes 3 or 4 seconds to generate the cache, so I hope that penalty wouldn't be incurred in every request if I didn't use them...07:13
lifelessbeuno: if I made diff(inv1, inv2) 5 times faster, would that be enough to remove them ?07:13
beunoit's a pretty big win, although it doesn't have much to do with branch size as much as with how many merges each parent has07:13
beunolifeless, yes. I believe the difference today is about that much, maybe less07:13
beunoPeng, you mean the cache on startup?07:14
Pengbeuno: First time the branch or repo is hit after it starts.07:15
beunothat's a one time thing for the revision graph. It gets cached in memory07:15
beunoonly on startup07:15
beunoit's assumed that you won't be restarting LP too many times (unless you have to work on it)07:16
beunos/LP/LH07:16
beuno66.249.72.129 - - [20/Jun/2008:03:16:00 -0200] "GET /bazaar/bzr_garbage/revision/31 HTTP/1.1" 404 - "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"07:16
beunoI keep changing branches and googlebot tries to resume where it left off  :p07:16
jmlbeuno: does it ever leave the cache?07:17
lifelessbeuno: another nice thing would be if I could arrow-down into the pop up box rather than using the mouse07:17
beunojml, just for files changed, in an ugly sqlite DB07:17
beunolifeless, yes, simulate autocompletion. I'd have to do substantial changes to the javascript for that07:18
beunomaking the search results more interesting is higher on the list  :)07:18
beunoand, well, making LH index stuff automagically07:18
beuno /SearchUI: 0.029181003570556641 secs07:19
beunolifeless, very nice performance  :)07:19
jmllifeless: loom TODO refers to "warp" a lot. Is that an old name for 'thread'?07:27
lifelessjml: I was intending to do a bulk rename to warp and weft07:29
lifelessbut I suspect that folk will have trouble07:29
* jml certainly will07:29
spivpoolie: I've sent an update07:30
jmllifeless: my knowledge of textiles comes entirely from B-grade fantasy novels and a presentation on the history of Toyota :)07:30
lifelesshttp://en.wikipedia.org/wiki/Warp_(weaving)07:30
jmllifeless: why not call them patches?07:32
lifelessjml: several things07:35
lifelessjml: the bottom thread represent upstream; its 'a patch against null' if you like, but huge07:36
lifelessjml: terminology overload, a 'commit' is also a patch07:36
chandlerci go away, and everyone starts talking07:39
pooliethanks spiv07:40
beunopoolie, have you seen the combination of lifeless's magic and some ajax?  http://intranet.pentacorp.net:8080/bazaar/bzr.garbage/changes07:43
beuno(try searching)07:45
pooliei saw a version a few days ago07:50
lifelesspoolie: try it now then :P07:51
pooliewow!07:52
spivbeuno: that's becoming slick very fast!07:53
chandlercwow...07:53
beunospiv, heh, thanks  :)07:53
chandlercbeuno, lifeless: rock07:53
chandlerc=D07:53
beunoit will look even better on the new theme07:53
chandlercneed this on googlecode07:55
lifelessswitch to bzr07:56
chandlerci use bzr07:56
lifeless(I mean googlecode should switch :))07:56
chandlercgooglecode's svn is just my remote "branch"07:56
lifelesschandlerc: you can easily run this yourself on your own bzr branch07:56
chandlerci actually will probably do so07:56
lifeless:)07:57
chandlercgooglecode's source browsing is actually impressively similar07:57
* beuno goes off for 20 minutes07:57
chandlercbefore they made the latest improvement, it wasn't nearly as good07:57
beuno(that means the LH branch will go away with me)07:57
lifelessbeuno: push!07:58
beunolifeless, already did  :)07:59
lifelessbeuno: is it wsgified ?08:00
beunolifeless, yeap08:30
beunoit's super-fast with wsgi08:30
lifelessbeuno: is super-search running the trunk deployment stuff?08:37
beunolifeless, yeap, merged with the latest bits from trunk08:37
* lifeless might look at updating squid-cache.org's instance08:38
beunolifeless, well, trunk is a *big* improvement over what there is now08:38
beunoI will probably iron out the remaining search bits in the next few days to add auto-indexing and such08:39
beunohaving it be in production somewhere would be neat :)08:39
gourwhat's is 'super-search' ?08:42
beunogour, http://200.127.6.219:8080/bazaar/bzr.garbage/changes08:43
beunotry searching  :)08:43
lifelessI'm going to call it a day work wise08:44
gourbeuno: ta08:44
gourhmm this http://200.127.6.219:8080/bazaar/bzr.garbage/revision/20?q=performance looks interesting08:46
lifelessgour: its an improved search for loggerhead utilising bzr-search08:46
gourlifeless: will loggerhear become more install-friendly in the future?08:47
lifelessgour: it has already AIUI08:47
gourhmm08:48
gourmaybe i should say: dep-friendly08:48
Penggour: python-paste, python-simpletal, python-sqlite08:48
beunoyeap, and I hope to drop python-sqlite in the near future08:49
PengI also installed python-pastedeploy for one stupid little middleware. :\08:50
PengLH is still somewhat RAM-heavy.08:50
PengBut it's a breeze to get running.08:50
james_wbeuno, lifeless: great work, I like it.08:50
beunojames_w, thanks  :)08:51
PengWhat was it that breathed new life into Loggerhead?08:51
lifelessmwhudson and more recently beuno have been working on it for a while08:55
lifelesssometimes it takes a while to ramp up08:55
lifelessI'd like to take a little credit, I think the web2y stuff has been enabled by bzr-search08:58
poolieok that's it for me09:00
beunoyes, the code for the indexing/searching and the actual guidance to get it working, hence the aknowledgment in the copyright  :)09:02
PengWhy do query_list.split(' ') instead of just query_list.split()?09:02
beunoI think split() tries to do more things, but it should work just the same09:06
beunooff to bed09:08
beunog'night/morning/good weekend (as applies) to everyone  :)09:08
gourg'night09:09
Pengbeuno: Exactly, just split() does try to do more things, e.g. ignoring extra whitespace and also splitting on newlines and tabs and stuff. That seems like more useful behaviour for a search box to me.09:15
PengThis place is quickly getting boring.09:16
PengAre you about to go to sleep too, gour?09:16
PengI might.09:16
Pengbeuno: Good night. :)09:16
* Lo-lan-do stays there to keep the channel alive (with whining, but still)09:17
gourPeng: no, 10am here09:17
Lo-lan-doWah-wah-wah, I want loggerhead packaged in Debian!09:17
Lo-lan-doWah-wah-wah, I want faster startup times for bzr!09:17
* Lo-lan-do dodges incoming bricks09:18
PengHaha.09:18
james_wjelmer: nice work: http://laserjock.wordpress.com/2008/06/19/how-do-i/09:21
james_whttp://arjen-lentz.livejournal.com/120586.html09:24
jelmerPeng: yep09:33
jelmerPeng: you can check for yourself by running "make check"09:33
Pengjelmer: BTW, I think I had to install 20 dependencies before it would compile. :D09:33
jelmerjust "libsvn-dev" should do it09:34
Pengjelmer: Yeah, but it added up to 20. And I needed python-docutils.09:35
matkorWhat is yours action plan in scenario: I want do small fix on remote branch, so I bzr checkout, later I realise changes are biger so I bzr unbind, serveral times bzr commit .. now I want to merge to remote branch10:21
matkorcheckout remote branch again and merge to it locally ?10:21
Lo-lan-doThat, or merge remote branch into local.10:22
matkoror bzr bind, bzr update and commit as one big commit ?10:22
matkorLo-lan-do: and later push to remote ?10:23
Lo-lan-doYep.  It amounts to the same thing, mostly, except the LHS an RHS may be reversed.10:23
matkorLo-lan-do: LHS, RHS ?10:23
Lo-lan-doLeft-hand side, right-hand side.10:23
Lo-lan-doBasically, you merge A into B or B into A.  Result is similar, but the graph isn't displayed exactly the same.10:24
matkorLo-lan-do: I would perfer to keep main line (leftmost in olive/log) of changes as made on remote branch ...10:25
Lo-lan-doThen bind, update and commit.10:25
Lo-lan-doYour local changes will be one commit, but their history will still be recorded remotely.10:26
matkorLo-lan-do: Oh, they will be still visible as many commits in remote branch history ?10:26
Lo-lan-doYes.  The local subgraph will be integrated into the remote branch.10:27
matkorExcellent, thanks a lot for help, Lo-lan-do !10:28
=== abentle1 is now known as abentley
=== kiko-zzz is now known as kiko
Pengjelmer: http://people.samba.org/bzr/jelmer/bzr-svn/.bzr/ 's repository has been renamed to repository.backup. Are you doing something or did it break?13:42
jelmerPeng: whoops, should be fixed now13:47
jelmerI was trying to upgrade it from pack-0.92-subtree to rich-root-pack13:47
PengWhy does it have subtrees anyway?13:47
jelmerhistorical reasons13:48
jelmerit predates the existance of the rich-root-pack format13:48
PengWhy'd you want rich roots?13:49
jelmerit's a nonexperimental format13:49
jamguilhembi:14:36
jamfound ancestors: set(['sp1r-jani@a88-113-38-195.elisa-laajakaista.fi-20080328101427-50685', 'sp1r-to14:36
jammas@poseidon.ndb.mysql.com-20080327140832-38613'])14:36
guilhembithe final .frm14:38
jambzr cat -r revid:sp1r-jani@a88-113-38-195.elisa-laajakaista.fi-20080328101427-50685 sql/sql_table.cc14:39
jambzr cat -r revid:sp1r-tomas@poseidon.ndb.mysql.com-20080327140832-38613   sql/sql_table.cc14:40
=== mw|out is now known as mw
Verterokmornin' beuno15:08
beunogoooood morning Verterok15:09
beunoyou're up earlier than expected!  At work yet?15:09
Verterokreally?, not yet....and I'm not going there until monday ;)15:09
VerterokI can say the same for you, at work?15:10
beunohahaha15:10
beunono, just woke up, not even fully dressed yet  :)15:11
Verterokhehe15:11
Verterokbeuno: thanks for the mail, I'll take a look at the mysql/whatever migration during this afternoon15:15
guilhembiPath conflict: mysql-test/t/rpl_sync_binlog_basic_32.test / mysql-test/t/sync_binlog_basic_32.test15:16
guilhembijam: ^15:16
beunoVerterok, ah, no problem. Handing off stuff is always fun15:17
beunoabentley, Verterok is taking over the sqlite > mysql for BB  :)15:18
* beuno runs15:18
guilhembijam:15:18
guilhembihttps://code.launchpad.net/~mordred/mysql-server/5.1-telco-6.2-merge15:18
guilhembi6.0: ndb is bzr branch sftp://bazaar.launchpad.net/~cmiller/+junk/ndbtest15:18
abentleybeuno: Cool15:18
guilhembijam: https://bugs.launchpad.net/bzr/+bug/23889515:42
ubottuLaunchpad bug 238895 in bzr "'bzr merge --weave/--lca' does not conflict on permutated lines" [Medium,Triaged]15:42
=== thekorn_ is now known as thekorn
guilhembijam: sql/ha_ndbcluster.cc16:02
vilabeuno: ping16:07
vilabeuno: isn't bzr-upload --dry-run the same thing as bzr status -rupload: (given we define a revision-spec for upload) ?16:07
beunovila, pong16:09
beunohtm16:09
vilahtm ?16:09
beuno"hrm" with a type  :)16:10
beunoargh "typo"16:10
vila:)16:10
beunowell, yes, now that I think about it16:11
vilabeuno: reusing status will  have the added benefit of displaying unknown files, helping people (like me) who tend to forget to bzr add...16:11
beunook, I'm sold16:12
beunoI can delete most of the code I did, and just re-use status -r to automagically display that16:12
vilabeuno: sorry about that, I just thought about it today :-/16:12
vilaon the bright side, deleting code is good :)16:13
beunovila, nothing to be sorry about, you just saved me from writing tests for it!  :p16:13
vilalol16:13
beunocool, now that leaves some time for me to look into adding some progress bars16:14
beunovila, how hard would it be to show the transfer rate?16:15
beunoI know you mentioned it before16:15
beunoand the more it feels like an ftp client, the easier for website devs to feel comfortable with it16:15
vilabeuno: I have no idea :) I never hack the progress bars :)16:15
beunovila, I can do the progress bars. I was wondering about transfer rates with transports16:16
vilaI think we need to wait for bzrlib to implement that at the transport level, poolie talked about doing it (not himself, but it's something that will come one day or the other)16:17
vilain the mean time, we may try to implement some two passes trick to count how many bytes we need to transfer, how many roundtrips we will have, etc, but that will be hackish IMHO16:18
beunook, so not very straightforward16:18
beunowe can start with hackish and move on to something better when it's available  :)16:18
vilabeuno: no. But the 'upload' revision spec still need to be implemented if you really don't know what to do :)16:19
* vila goes back to x bit implementation drawing board :)16:19
beunoah, cool  :)16:19
* beuno packs up to move it to the office16:20
vilabeuno: just for the record, are you using ftp and sftp or only one of them on average ?16:20
beunovila, sftp 95% of the time16:21
vilaok, so I may have a working sftp version first (the bzrlib ftp transport doesn't support mode at all, I'll have to create a custom ftp transport for that)16:21
beunogreat!  I'll finish my draft for to announce it to the world and run it by you if you're still around  :)16:22
beunonow, AFK for ~20 minutes, office chair is more comfortable16:24
LaserJockjames_w: ping?16:40
james_whi LaserJock16:41
LaserJockjames_w: thanks for the comment on my post. I figured you'd show up ;-)16:41
james_wheh, I'm never far away :-)16:41
guilhembijam: I updated the support incident 2413.16:42
guilhembibye16:42
jamthx16:42
jamhave a good weekend16:42
LaserJockjames_w: question though, in Debichem we just have debian/ directories in SVN. Does bzr-builddeb look in some place for the .orig.tar.gz files?16:42
james_wLaserJock: first, the archive, then it will use a watch file if you have one.16:43
james_wI could extend it to look under a certain path (remote) as well.16:43
LaserJockjames_w: hmm, I have them locally (right now I'm doing a new upstream release so they aren't in the archive)16:44
LaserJockthough I have a watch file so that'd work too16:44
james_wunfortunately there are a couple of bugs with the apt and watch file methods as apt and uscan are a little bit crazy16:44
LaserJockk16:44
james_wah, if you have them locally then put them in "../tarballs"16:44
james_wassuming you have the debian/ checked out on disk16:44
james_wyou can override this temporarily with "--orig-dir=.../wherever"16:45
LaserJockhmm16:45
pooliehello james_w, thanks for all your bug work and mail recently!16:45
poolieit's so cool16:45
james_whi poolie16:45
LaserJockso one thing I'm not crazy about is that it leaves directories (../tarballs ../buildarea) around16:46
james_wpoolie: you're up early/late aren't you?16:46
poolielate, yes16:46
poolieon phone16:46
james_wLaserJock: yeah, I kind of regret that now, it follows svn-buildpackage here.16:46
LaserJockah16:47
gour'--rich-root-pack' it the recommended format in bzr-1.6?16:47
james_wI'd perhaps like to transition away at some point, but I haven't thought through the plan.16:47
LaserJockI haven't used svn-buildpackage yet16:47
james_wgour: --pack-0.92 I think16:47
LaserJockjames_w: ok, well can you give me a couple good reasons to use bzr-builddeb over just exporting the debian/ into an unpacked .orig.tar.gz ?16:53
james_wLaserJock: not having to do that manually?16:53
james_wbeing able to test before commit?16:54
LaserJockbut svn export is only a single command16:54
james_wtar xzf is another though.16:54
LaserJockor bzr export16:54
LaserJockbut you only do that once16:54
james_wyeah, it will work fine until you delete or rename a file.16:55
LaserJockright, then you just rm your debian/ and rexport16:55
james_wyup16:55
LaserJockre-export16:55
LaserJockso I'm not really seeing savings16:55
james_wthat's fine. If it don't appeal to you then you don't have to use it16:56
gourjames_w: ta16:56
LaserJockjames_w: well, I'm not trying to be a pain, I'm just trying to figure out what exactly it's for16:57
james_wLaserJock: you're not being a pain.16:57
james_wyou're right though, there's no great advantage to it if you are happy to do the steps manually.16:57
jaypipesstatik: FYI: http://www.jpipes.com/index.php?/archives/240-Removing-Barriers-to-the-Community-MySQL-Moves-to-Bazaar.html17:31
=== yacc_ is now known as yacc
statikjaypipes: thanks!17:46
jaypipesof course. :)17:46
jamjaypipes: I'm a bit surprised on your Hundred Flowers link, considering there is some controversy that it was intentioned to "identify critics and silence them".  But I guess the original thought is very nice17:49
jaypipesjam: heh, indeed.17:49
jamjaypipes: and certainly thanks for the post, I certainly look forward to what mysql can do with a distributed open dev community17:49
jaypipesjam: what about featuring the mysql project once things have been stabilized for a bit? might be a good chance to promote bzr and LP...17:50
jamjaypipes: I'm not sure what you mean by "featuring". As it making it a feature project on LP?17:50
nevanscongrats to the bzr team on the publicity that mysql will bring.  :)17:53
jaypipesjam: yes, that's what I meant.  I'm not pressuring or anything, I just think it would be cool! :)17:58
jaypipesjam: certainly, there has been a ton of blog buzz on PlanetMySQL about bzr and Launchpad and 100% of the feedback has been positive, which is awesome.17:59
jamjaypipes: I agree, I don't have much say in LP featured projects, but I'll put my vote in somewhere :)17:59
vilajam: ping, a few questions about chmod bits in bzrlib ?18:04
jamvila: pong, chmod away18:04
vilasumaary of my current understanding: transport handle mostly files and dir under .bzr and use 0777/0666 by default, plus we handle +x as a versioned property18:06
jamabentley: I have a question about Tree.iter_references, there seems to be a discrepancy between what WT4.iter_references() returns and what the code in Tree.iter_references would return18:06
jamvila: I would be surprised if anything under .bzr/ wasn't handled by Transport18:07
jammaybe stuff in .bzr/checkout18:07
abentleyjam: It's been quite a while, but I'll try answering.18:07
jamso I take that back a bi18:07
jamabentley: Basically, WT4.iter_references() returns abspath, and Tree.iter_references returns relpath18:07
jamthe tests don't notice18:07
jambecause only WT4 actually implements "supports_references"18:07
jamI would *rather* return relpath18:07
jamas it works better for non disk-based paths18:08
jams/paths/trees18:08
vilajam: >-/ I agree with that of course, I think I don't understand your answer18:08
jamvila: you didn't ask a question yet :)18:08
jamvila: Things under .bzr/ should generally only be accessed through a Transport, and we version +/- x as a property.18:08
vilamy question is more about the working tree, except for the u+x bit, we ignore the rest18:08
abentleyjam: RevisionTree should also implement references.18:09
jamabentley: It doesn't implement the function "def supports_references()" which means it doesn't get tested yet18:09
abentleyI think relpath is the only sane choice.18:09
jamabentley: ok, I'll change the test and get Tree working18:09
vilai.e. we won't even detect 0667 as an executable ?18:09
jamvila: I'll have to figure out on 667, but IIRC, if we see that a file should be executable18:10
jamwe do a stat(), and then mask based on if the file is writable18:10
jamso if you have 600, then  we set it to 70018:10
jamif you have 660 => 770, 666 => 777 etc18:10
jamI'll check on 0667 in a sec18:10
vilajam: don't check18:10
vilaI'm just trying to understand the bug picture18:11
vilathe other point now: so far, we have only encounter problems regarding the sticky bits with openssh sftp, right ? All other mode bits are correctly handled by sftp ?18:11
jamvila: Our check is:         return bool(S_IEXEC & mode)18:11
jamAnd S_IEXEC == 010018:11
vilayup18:11
jamso no, we only check if 0700 is executable18:11
vilaso I was right, we do the minimun, fair enough18:12
jamvila: right the mask is something like 0777 so the 02777 the "2" gets stripped18:12
vilaok, fine, thanks a lot, that answer my questions18:12
jamvila: *if* we didn't chmod, then they would retain the sticky bit because the fs sets it automatically18:12
jamso there has been some push to ask users to use a wrapper script to get their umask right18:13
jamand then not try to chmod the files ourselves18:13
jamthough with packs, most of that is moot, as long as the files are readable18:13
vilahmmm18:13
jambecause we only create them 1 time18:13
jamso you need write permission to the directory18:13
jambut we don't create it automatically18:13
jamexcept at init time18:13
jamAt least on Linux servers, you can delete a file that you don't have +w to, as long as you have +w on the directory18:14
vilaok. The point is, I try to use the transport for the bzr-upload plugin where I somehow manage a remote working tree (as in write-only mode :)18:14
jamso for a pack repo, you should only need to do "find .bzr -type d -print0 | xargs -0 chmod 770" (you can sneak in a 2 if you want)18:14
jamvila: sure18:14
jamAnd you are trying to get the bits right on the remote files?18:15
vilaso the idea is to get the chmod bits from the local working tree and blindly apply them remotely18:15
vilawell, as right as possible :->18:15
jamvila: I would tend to only set them if you think they would be interesting18:15
jamthough maybe avoiding the ssh issue would be a problem18:15
jambecause then *some* files would get sticky18:15
jamand others wouldn't18:15
vilathe targeted audience being web devs, I don't think there is a lot of sticky bits around...18:16
jamvila: *I* would make sticky bits on my webspace if multiple people are updating it18:17
jambut I'm not an average web dev :)18:17
vilathe web server is the one that update them no ?18:17
vilaso even group bits may be irrelevant ?18:17
Pieterghaa, bzr diff is so slow18:18
jamPieter: under what circumstances?18:18
vilaPieter: wrong channel :)18:18
jamAnd what --version ?18:18
Pieterbzr diff -c 0.5.5 on bzr.dev, 1.518:18
jamPieter: How long for you? I'm doing an lsprof here, but I have some ideas as to what is happening, and it will probably get better in the next release or 218:20
Pieterabout 4 seconds18:20
jamPieter: so the #1 issue is that the branch we are holding onto isn't in a transaction lock18:22
jamthe #2 issue is that dotted revnos are slower than they should be18:22
jamthough I do have some work on that18:22
jambut it won't land for a little while because I'm dealing with other stuff right now :)18:22
jam#3 is that our indexes are a bit slower to lookup than they have to, which lifeless has at least proposed a patch for18:22
jamI haven't had a chance to look at it yet18:23
jamabentley: Ahh, it seems that RevisionTree tests are being tested using WT3 as the base tree, which *doesn't* support references, so the RevisionTree implementation doesn't get tested18:27
abentleyThey would have been written when WT3 did support references.18:28
jamsure18:28
jamthats one of the problems with tests that skip silently :)18:28
jamabentley: reactivated now18:29
jamand now passing the test again18:29
abentleyjam: great.18:30
jamabentley: Though DirStateRevisionTree is failing the get_reference_revision test18:32
jamabentley: And I believe it is because of the _dirstate_tree_from_workingtree automatically committing18:32
jamnot positive, but likely18:33
Pieterif I have a Tree, how can I tell if a given directory in that tree has files in it?18:35
jamPieter: are you saying you have a WorkingTree, or you don't know?18:36
jam(like it could be a RevisionTree, etc)18:36
PieterI have a RevisionTree18:36
jamtree.iter_entries_by_dir(specific_file_ids=[tree.path2id('directory/path')])18:37
jamlist(tree.iter_entries_by_dir(specific_file_ids=[tree.path2id('directory/path')]))18:37
jamif you want the list18:37
jamrather than an iterator18:37
Pieterno, just a boolean if it has files :)18:37
jamtry:18:38
jam  tree.iter_entries_by_dir(specific_file_ids=[tree.path2id('directory/path')]).next()18:38
jamexcept StopIteration:18:38
jam  have_files = False18:38
jamelse:18:38
jam  have_files = True18:38
jamPieter: though I think that might always return 1 entry for the directory itself18:38
jamyou probably also need to check that "tree.path2id('path')" doesn't return None indicating there is nothing at that path18:38
jambut that should get you going in the right direction at least18:38
Pieterah yes, that will work18:38
Pieterthanks :)18:38
Pieterbzr-fast-export tries to export directory renames when there are no files in that directory18:39
Pieterand that causes git-fast-import to crash, as it doesn't track empty dirs :)18:39
=== gour is now known as gour|away
jaminteresting, though in Bazaar you certainly can rename a directory with no contents18:40
jamMy understanding is that there was a weird race if you move the 1 file in a directory18:40
jamAh wait, it was something about moving a directory *and* renaming a file inside of that directory18:41
jambecause if you renamed the whole directory, you didn't have the right path to rename the file18:41
jamsomething like that18:41
Pieteryeah, I fixed that already18:41
=== ja1 is now known as jam
jamweird, intermittent connection loss18:44
Pietercan't I split a hunk with bzr shelve?18:50
LeoNerdNot easily18:50
LeoNerdI usually revert then vimdiff between file and file.~1~18:50
jamPieter: you can split between hunks, I didn't think you could split a specific hunk18:50
LeoNerdYou can pull lines about arbitrarily then18:50
Pieterbah18:50
Pieterhmm, the iter_entries_by_dir thing just returns an empty listiterator if you supply a pathid instead of a list of pathids19:26
* beuno hugs mwhudson_ and continues working19:37
james_wabentley: sorry, I might have jumped the gun on that bzrtools bug report. I'm not sure why he is getting the traceback, but it looks as though this is intended behaviour.19:41
Pieterjam: I think the iter_entries_by_dir will always return just one result19:44
Pieterjam: it won't walk the contents of the dir19:44
abentleyjames_w: I thought PatchFailed was now behaving like a user error.19:46
abentleyPieter: By specifiying the file ids you want, you are restricting its output to just those file ids.19:49
abentleyPieter: You might want something more like walkdirs.19:52
Pieterabentley: yeah, that's what I figured19:53
jamPieter: if you supply a pathid it iterates the string19:55
jamwhich doesn't match anything19:55
* Verterok cross his fingers and fires the BB migration script19:55
jamabentley: I forgot that iter_entries was not recursive19:55
jamPieter: there is Tree.walkdirs(path=XX)19:55
jamWhich takes a single path string19:56
Pieterjam: yeah, doing that now19:56
jamabentley: so I found the problem with get_reference_revision... specifically we are doing a commit in the outer WT to get the appropriate DirStateRevisionTree, but that is "recurse=True", so it does a commit in the subtree as well...19:57
beunoJc2k, are you running (or going to be) running trunk for LH?  So I can poke at the theme bits on the weekend.  Also, if there's anything else you need before Guadec, let me know and/or file a bug en LP for it  :)19:57
jamabentley: for RevisionTree you explicitly pass "recursive=None", so I think I just need to do that for DirStateRevisionTree19:58
abentleyOh, that sounds plausible.19:58
jamI just wasn't sure if that would break anything else, but it doesn't seem to19:58
james_wabentley: yes, code examination showed that it does. Is this an old bug?20:39
abentleyYes.20:39
james_wok, thanks, I'll look for when it was fixed and update the bug20:40
Pieterah, got my shelve problem solved20:54
=== mw is now known as mw|food
Pieterhttp://ss.frim.nl/==80821:33
Pieterwhoo21:33
tolstoyFolks: is there any info anywhere on BZR return codes?21:52
tolstoyWhen I do a "bzr diff" on a remote repo, it works, but I get a return code of 1, which isn't so nice for scripts.21:53
tolstoybzr diff on a repo with no changes, and I get an rc of 0.21:53
eMxyzptlk[away]Hey guys, I'm always getting No handlers could be found for logger "bzr", looking on google I found some bugs filled on LP which is related to ssh or whatever, but I'm always getting this even if am not inside a repo like running bzr in /tmp or /dev or ~ will give this msg21:54
eMxyzptlk[away]any ideas ?21:54
Pietertolstoy: that's pretty standard.. isn't that just diff's return codes?21:54
tolstoyPieter: I have no idea. I'll check that out.21:54
Verteroktolstoy: in the case of diff, try: bzr help diff21:55
Verterokat the end of the help you can find the meaning of the exit codes21:55
tolstoyVerterok: Damn! I looked at that help text many times, and never paid attention to the big fat Exit Values. Sheesh. Thanks!21:55
Pietertolstoy: I think 0 is no differences, 1 is differences, 2 is error21:55
Verteroky'r welcome :)21:55
tolstoyPieter: Ah, now I get it. Odd, but cool. Now: to hack that in to an ant script.21:56
Pieterhah, bzr.dev is only 20MB in git21:56
tolstoyThe only problem I'm having now is "tagging" a remote branch.21:56
tolstoyCan't seem to even tag a local branch, then "commit" it. Says there's nothing to commit.21:57
fullermdYou don't commit tags.21:57
tolstoyBut they can be "pushed" to remote branches?21:58
tolstoyEr, I'll back up.21:58
fullermdYes, they get sent on push.  They're just not commit'd; when you make a tag, it's saved.21:58
tolstoyIf I do a build (say), and I want to tag it, but have made no other changes, how do I push that tag remotely to our "source-of-truth".21:58
Verteroktolstoy: making a branch maybe?21:59
tolstoyHeh heh. Babysteps. If I can get people to use bzr in place of cvs, the next task is to rethink all this in the first place. ;)22:00
fullermdWell, you tag revisions.  So you tag whatever revision you built.22:03
fullermd(the latest, I presume)22:04
Verterokabentley: around?22:05
abentleyVerterok: Hi.22:06
VerterokHi22:06
VerterokI moved all BB tables into mysql except for mergerequest :)22:07
VerterokI'm having problems with the patch_text column22:08
VerterokI defined it as a Blob in MySql but for some reason SqlAlchemy is trying to decode the contents so I get UnicodeEncodeError with it :(22:09
Verterokabentley: I was thinking in change the type of the column to text. could be any problem with this change that affects the bundles?22:10
beunoas in, "can binaries be treated as text"22:10
abentleyThe contents are not in any particular encoding.22:10
Verterokthx beuno  :)22:11
abentleyI think I have some that are utf-16..22:11
Verterokhmm...I see, that could be a problem with column encoding22:13
beunoVerterok, I think you can dump any encoding into a blob column22:13
beunonot sure how to handle the migration22:13
Verterokbeuno: indeed22:14
Verterokbeuno: that's the problem :), SqlAlchemy try to decode the blob contents22:14
VerterokI'll fallback to plain-old sql :P22:15
Verterokabentley: thanks22:15
eMxyzptlk[away]No one get 'No handlers could be found for logger "bzr"' ??22:16
eMxyzptlk[away]I get it on Gentoo and on Ubuntu :O22:17
tolstoyfullermd: Yes, I tag on he branch I just pulled from a remote repo, but I need to make sure the tag is ALSO on the remote repo.22:23
tolstoyThere doesn't seem to be a way to push a tag over there.22:24
tolstoyThe branch I have at hand is only "pulled" to do the compile.22:24
tolstoyHm.22:24
tolstoyMaybe ssh user@host (cd /path/to/repo ; bzr tag name)22:25
tolstoyis the way to go.22:25
=== dpm_ is now known as dpm
fullermdpush pushes tags (even though it doesn't say so)22:29
tolstoyYeah?22:29
tolstoyI'll test....22:29
fullermd(at least, I'm pretty sure it did last time I tested it, which was a while ago)22:29
tolstoyBTW, anyone know of a nice diff2html (or is that patch2html)?22:29
tolstoyYes, bzr push does indeed push tags, even though it says, "No revisions to push."22:31
james_weMxyzptlk[away]: check the permission on your ~/.bzr.log22:50
eMxyzptlk[away]james_w, Thank you that worked, apparently it was root:root22:51
eMxyzptlk[away]james_w, thx again, u saved me from going blind when I use ZSH auto-completion lol22:51
lifelesshi guys22:52
beunogooooooooooooood morning lifeless22:52
lifelesslooks like I'll be doing a talk in 7 days at slug about bzr-search22:57
beunojelmer, I need to test something, and I know you play around with symlinks a lot. Is there any branch in LP you know has symlinks?22:57
beunolifeless, neat. And that is only... what, 2 weeks after you started?22:57
lifelessyah22:57
lifelessmind you, its thanks to you there is substantial bling to demo22:58
lifelessit would be cool to show an IDE as well :)22:58
beunowell, it's recursive in that sense. You did most of the heavy lifting22:59
lifeless:)22:59
beunoah, that seems like a hint towards Verterok22:59
beunowhich just happens to have the day off work today...  :p22:59
* beuno ducks22:59
* Verterok blinks22:59
Verterokhi lifeless22:59
lifelessPieter: in case you aren't aware, our storage layer is pluggable, and we have plans to dramatically increase the compression of it22:59
lifelessPieter: other things have just been more important23:00
lifelesshi Verterok :)23:00
Verterok7 days, to have a working (eclispe way) demo of bzr-eclipse+bzr-search?23:00
lifelessVerterok: 6 - I'm a day ahead :)23:01
beunocommon, you can do it in 2!23:01
Verterokoh, right... ok, in 6 then :D23:01
beunolifeless, any idea of git or hg have anything similar to this?23:03
lifelessbeuno: not yet :) - there are external source indexing tools (like bonsai) already; but AFAIK this is unique in integration and slickness (well except for google code search, but thats kinda different :P)23:05
Verteroklifeless: I could try to get a working version of it for monday23:05
Verterok(your monday)23:06
lifelessVerterok: if you feel like it it would be awesome. I can do a 45 minute talk on just your screen shot the other day + loggerhead and bzr-search23:07
Verteroklifeless: I was thinking in a version that actually do something with the results :)23:08
lifelessVerterok: see that would be so cool23:09
Verteroklike mapping the files to eclipse "resources" and show them in a tree-like view or something23:09
lifelessjelmer: have you played with beuno's demo of loggerhead?23:13
* beuno fires it up again23:14
beunoand, of course, googlebot was just waiting for me to do that...23:17
lifeless:P23:17
igchi guys23:23
beunomorning igc23:23
igchi beuno!23:24
beunoigc, I've seen the MySQL people talking about a video on a talk you gave. Any idea if that's available yet>23:26
beuno?23:26
igcbeuno: I don't know sorry. I know the talk was videoed but no-one has sent me a link to it if it's been made public23:27
beunoigc, I'll keep an eye put for it then23:30
beunohave you seen the latest bling with lifeless's bzr-search?23:30
igcbeuno: I've seen a version from a day or two ago.23:31
igcIt didn't have the nice new colour bling Joey was asking for feedback on though23:31
beunoigc, look now: http://intranet.pentacorp.net:8080/bazaar/bzr.garbage/changes23:31
=== eMxyzptlk[away] is now known as eMxyzptlk
beuno(try searching)23:31
beunoah, yes, new theme.  That's pretty advanced, I'm hoping to wrap that up next week23:32
igcbeuno: sweet. The last version I saw was showing tuples in the search box so this is now much nicer :-)23:33
beunoyes, less geeky, but nicer  :)23:34
igc*but* searching for lifeless doesn't match anything. That surprised me the other day (and still does)23:34
=== mw|food is now known as mw
igcmaybe I should search for Collins instead23:34
beunowell, he doesn't seem to use his nickname in commits23:34
igcyes, Collins is far more satisfying (in terms of a result)23:35

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