/srv/irclogs.ubuntu.com/2010/07/21/#bzr.txt

cjmasonso, is this a good place to ask questions specifically about bzr-svn?01:01
cjmasonspecifically, if the cache format recently changed?01:03
spivThis is a good place, yeah.01:40
=== Adys_ is now known as Adys
=== Ursinha-nom is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
parthmi am trying to write a unittest which creates a file. however the file gets created in the dir where ./bzr selftest is run ( http://pastebin.com/Krchr7LA )03:56
parthmso self.assertFalse(os.path.isfile(get_filename())) fails on the second run. how do i create the file in the temporary test dir?03:56
spivparthm: base your test case from TestCaseInTempDir (or one of its subclasses)04:04
spivThen when your test method is run the cwd should be the temp dir04:04
parthmspiv: ah. thanks. i will do that.04:05
spivSo do that and then simply make sure you write the file relative to the cwd.04:05
* spiv is off for the day04:05
lifelessmoin04:26
parthmlifeless: hi04:28
MTecknologyso... I just screwed up about an hours worth of work.. Is it possible to change the commit message for a whole lot of commits?04:29
MTecknologyThat's actually the only thing I screwed up04:29
spmuncommit, commit?04:30
MTecknologyspm: can I uncommit a few changes and then apply the commit message to each commit that I just unrolled?04:31
lifelessif you haven't done a merge, yes, by shelving at each step04:32
spmmaybe depending on how much faffing around you do; sure. at worst you create a diff up front for each commit since the busted and then reapply the lot. painful, there may be easier.04:32
MTecknologyat some point I need to learn how to shelve..04:33
MTecknologyI should have tagged these as I went too04:34
MTecknologyalrighty, thanks04:34
m3gafor bzr-git, what happens to tags in the git version?04:52
m3gacan i branch from and merge from a git tag?04:53
parthmi was curious about the deprecation policy of bzr api. if something gets marked "deprecated in 2.2" ... is it removed in 2.3, 2.4 or later?05:32
parthmi couldn't find this info in hacking.txt05:32
lifelesswhenever its really annoting05:34
parthmso for e.g. re_compile_checked is deprecated_in((2, 2, 0)) ... will it be removed in 2.3?05:36
lifelessif its really annoying by then05:37
lifelessits an individual choice05:38
lifelessfast removal == leaner code, worse for plugin authors05:38
lifelessslow removal == fatter code, nicer for plugin authors05:38
parthmlifeless: so the preference is to keep it around for a few releases if its not a very annoying. ok. makes sense. thanks for clarifying.05:39
mgzha, parthm05:59
mgzyou free to be distracted?05:59
parthmmgz: hi06:00
mgzyou've been messing with regexps, might you know the cause of these failures?06:00
mgzhttp://float.endofinternet.org/xmlbin/dev_r5355_non_per#bb.test_log.TestLogErrors.test_log_bad_message_re06:00
mgzhttp://float.endofinternet.org/xmlbin/dev_r5355_non_per#bt.test_globbing.TestGlobster.test_bad_pattern06:01
parthmmgz: re.compile is supposed to be lazy. looks like its not being lazy in this case.06:02
parthmi think i saw something similar even on linux and forced lazyness for a test case. let me dig that up.06:03
mgzyou had a test problem recently with it becoming un-lazy part way through the run didn't you?06:03
mgzdid you track that down?06:03
mgz...you might be able to tell I'm a little overwhelmed by bzr email currently, I know bits of lots of what's going on but don't remember any of it clearly :)06:06
parthm:)06:06
parthmmgz: basically in lazy_regex we now catch re.error and throw errors.InvalidPattern instead. so in this case it looks like re.compile is compiling immediately.06:07
parthmhence, re.error is not caught and gets thrown instead of InvalidPattern.06:08
mgzokay, so I guessed the cause right, and you are the right person to bug about this as well?06:09
parthmmgz: i am unable to locate where if faced this issue (it was some test case). as it was just a test case i could get away with calling lazy_regex.install_lazy_compile()06:09
parthm:)06:09
parthmmgz: what platform is this on?06:09
mgzsays at the top of the page :)06:10
parthmahh :)06:10
mgzokay, so you fixed the symptom by making a test that needed laziness (re)install the lazy, but you didn't track down which case was unlazying and not cleaning up after itself?06:11
parthmmgz: yes. you can say that :P06:11
parthmmgz: test_osutils.TestReCompile.test_re_compile_checked_error06:12
mgzI see.06:13
parthminterestingly thats the only case for which i saw this problem and re_compile_checked function is deprecated so i seemed ok to do that. looks that all tests see this on win32.06:13
* mgz bops parth on the head for cheating like that06:13
mgzyeah, the platform varience does seem a bit odd06:14
parthmmgz: i can try to look into this. though i am not sure whats causing this ... could be lazy_regex or maybe something to do with the test suite.06:15
mgzI'm on it.06:15
mgzah, okay, I understand this now.06:17
parthmmgz: its weird. i am interested in knowing whats causing this. thanks for looking into this.06:17
* parthm needs to be more careful with his tests06:17
mgztests don't generally *require* lazy regexp06:17
mgzin fact, the test_lazy_regexp makes sure to clean up after itself06:17
mgzyour nicer error messages thing *does* require laziness, which then means those tests you changed should do the same06:18
parthmmgz: are you saying that the test setup specifically disables laziness?06:19
mgzno, but previously no test actually needed it it seems06:20
mgzand as it gets turned *off* by test_lazy_regex that's a good thing06:20
parthmmgz: so test_lazy_regex turns if off but never turns it (lazyness) on again.06:21
mgzright, but that's not actually the problem06:21
mgzthe problem is with your change, if selftest is run through the bzr script, it does:06:22
mgz# instruct bzrlib/__init__.py to install lazy_regex06:22
mgzsys._bzr_lazy_regex = True06:22
mgzbut if it's *not* run through the bzr script, you've now got tests that fail because they silently assume the lazy06:22
mgzso, really both your changed tests and these old lazy ones should cope with either state cleanly06:23
parthmmgz: ah. maybe behavior of lazy_regex module should be lazy always unless the called explicitly disables laziness or calls _real_re_compile?06:25
mgzmaybe just self.overrideAttr(re, "compile", lazy_regexp.lazy_compile)06:25
mgzin tests that need the lazy now.06:25
parthmmgz: updating the tests would definitely work but the module behavior being somewhat unpredictable in terms of laziness seems a little odd.06:26
mgzwell, the problem is it's a monkey patch parth, the point is you can't really rely on it06:26
mgzcurrently, someone running the bzr script will have it, but someone importing bzrlib won't06:27
mgzso, I guess the remaining question is whether any of the bits of bzrlib code you've changed now break if re.compile is eager06:27
FryGuy-is the guy that did bzr-tfs in this channel?06:28
parthmmgz: i would think that if anyone is using g=Globster(patterns) ; g.match  sequence directly would be impacted by this (won't get InvalidPattern)06:31
mgzso, should the Globster code be changed to use lazy_regex.lazy_compile directly?06:32
parthmmgz: won't it be better to just do this at bzrlib level.06:33
mgzyou tell me! :)06:33
parthmmgz: i think it may be better have  lazy behavior by default at bzrlib level. at the moment InvalidPattern gets raised only in globbing.py and lazy_regex.py but in case there is some other function there gets updated to handle this and give a custom message there may be a problem.06:38
mgzI'm trying changing bzrlib.globbing now06:38
mgz...guess I ought to file a bug here, there are some non-obvious choices to be made06:40
parthmmgz: lazy_regex.LazyRegex._real_re_compile catches re.error and raises InvalidPattern. ... so anytime _real_re_compile is bypassed we will get this.06:41
parthmfiling a bug sounds like a good idea06:41
mgzoh boy that's some bad naming06:42
parthmmgz: which one specifically :)06:42
mgz_real_re_compile is both a module global containing the real re.compile, and a method that thunks06:42
parthmmgz: ahh. yes. i noticed that.06:42
mgzI couldn't parse your sentence till I worked out you were talking about the *method*06:43
parthmmgz: maybe we should be monkey patch the non-lazy re.compile also to raise Invalid pattern. so irrespective of the lazyness status bzr always shows the clean error message.06:44
mgzmeh, no.06:44
mgzI think we should make places in bzrlib that care use lazy_compile directly.06:44
parthmmgz: in that case i think doing it at bzrlib.globbing level may work fine.06:46
mgzthe failure in bb.test_log is worrying me currently06:46
mgzwhere's the exception raised by the invalid pattern meant to be caught?06:47
* parthm looks at the stack trace again and starts opening files06:48
mgzI don't really understand how that exception is propogating at all, run_bzr should catch everything...06:50
parthmmgz: is laziness being set in this case?06:51
mgzno. it's the plain re.compile06:51
mgzsre_constants.error is a subclass of Exception, so it should get caught...06:53
parthmmgz: so run_bzr just logs the exception? is selftest failing in this case?06:54
mgzwell, it should convert it to a failure return code, which that top line is expecting...06:55
mgzdarn blackbox tests, pain to debug06:55
mgzah, I see it. bzrlib.commands.run_bzr_catch_user_errors is pickier than run_bzr_catch_errors06:56
mgzmight mean it's not a regression from your changes, I'll run these tests against a bigger history06:57
parthmmgz: ok. so would you be patching bzrlib.globbing for installing laziness?06:58
mgzI'm going to propose that, it's maybe not the smartest alternative though06:58
mgzokay, need to get these tests running then file bug, then commit changes06:59
* mgz beavers06:59
parthmmgz: thanks for looking into this.06:59
mgzokay, looking at the diff of r5339 now I get it.07:10
vilahi all !07:10
vilamgz: hey07:10
mgzmorning vila!07:11
vilamgz: why not: test passing, commit, file bug ?07:11
vilajust curious07:11
mgz--fixes07:11
vilaOIC07:11
vilaI do: file bug, branch bug#, test, hack, test, commit :-P07:12
mgzright, I should have filed the bug a long time ago, but I thought this was a shallower issue than it was07:12
mgzlike, change a couple of setup lines in some tests, rather than actual logic07:13
vilayeah, I have that bad habit to file bugs too late :-007:13
* mwhudson is using a packs branch for a change07:22
mwhudsonsome things have definitely gotten better :-)07:22
mgzoo, vila, vila: can you try Python 2.7 again?07:22
vilamgz: same branch ?07:22
mgzI left a note last night about what went wrong the first try07:23
mgzyeah, bzr is unchanged, need to fiddle with testtools though07:23
vilamgz: I just read that, but it's unclear about which *previous* testtools version you're talking about07:23
mgzmove a closing bracket left a bit :)07:23
mgzah, er, well, either 0.9.2 or the one line patch for the linked bug07:23
vilaok, one-liner aplied, launching a run07:28
vilahu ho07:28
vilaI left 2 VMs running yesterday blocking the whole process :-/07:30
vilamgz: here is yours: http://babune.ladeuil.net:24842/job/selftest-maverick/807:32
vilamgz: http://babune.ladeuil.net:24842/job/selftest-maverick/8/consoleFull shows some weird stuff, looks like subunit leaks in the wrong stream07:32
vilaor testtools :-/07:32
vilaI wonder if my setup is a bit screwed when it comes to take source changes from the master to a slave...07:33
vilaargh, yes07:33
vilaor not07:33
vilapython use .py if it finds it more recent than .pyc right ? Especially when it can't write the .pyc ?07:34
mgzright.07:34
mgznot just more recent, any mtime difference07:35
vilawith the one embedded in the .pyc, ok07:35
vilamgz: the setup for slaves os to use testtools and subunit from an automounted read-only fs, I got weird results yesterday after an update, if the results are too weird for you run I may just re-try it before worrying07:39
vilamgz: it seems to be stucked anyway which qualifies as weird :)07:39
mgzyeah, give it another bash.07:39
mgzparthm: looking at this some more, I'm not really sure the bug I just filed is seperable from yours07:40
vilamgz: http://babune.ladeuil.net:24842/job/selftest-maverick/9/07:40
vilahmm, still leaking07:40
mgzany fix I attempt here is going to be clashing with your follow up, and really the hard decide-y bits need to be done in the design of your error wrapper07:41
mgzvila: might be 2.7 related... there are a bunch of changes in unittest and logging, one of them might have upset something07:42
vilamgz: it seems that skipped tests only have their reason leaking07:42
vilaor their log07:42
vilabut definitely skipped only so far07:42
parthmmgz: yes. there is a fair amount of overlap.07:43
mgzI'll compare the exception class definitions07:43
mgzparthm: what you need to choose I think, is 1) what to use when you want an eager, user-error rasing re.compile like log needs, and 2) whether Globster should be raising from the constructor or from the method call if given invalid pattersn07:44
vilamgz: reason. log. traceback, the whole shebang, some excerpts here: http://paste.ubuntu.com/466825/07:44
mgzgah, I can't multitask at all07:44
vilamgz: sorry for the very long lines :-/07:44
vilamgz: sheesh, have some coffee :)07:45
mgzgood advice :)07:45
vilamgz: and now it seems the whole stream is diverted somehow :-/07:47
vilamgz: starting there: http://paste.ubuntu.com/466826/07:48
mgzcan we get subunit out of the mix for the moment?07:48
mgzdoubt anyone has even tried it with 2.7 yet.07:48
parthmmgz: i would say the api user should be able to choose between lazy/eager compile. e.g. compile_p = lazy_regex.compile_lazy() vs compile_p = lazy_regex.compile()07:48
parthme.g. the is_pattern_valid API introduced in https://code.launchpad.net/~parthm/bzr/300062-2.2-bad-pattern-error-part-2/+merge/29949 requires eagerness07:49
parthmso it ends up doing p = re.compile() ; p.match( "")07:49
parthmi have seen the same pattern in re_compile_checked.07:49
parthmosutils.re_compiled_checked.07:50
parthmso, as a user one can be sure of lazy vs eager.07:50
vilaargh, ff blowing up trying to catch up with the far-too-big stream :-.07:50
vilamgz: and finally the run aborted with: 'ERROR: Failed to archive test reports' which sounds fully related07:52
vilaparthm: Are you ok with marking https://code.edge.launchpad.net/~parthm/bzr/300062-2.2-bad-pattern-error-part-2/+merge/29949 WIP ?08:00
parthmvila: sure.08:02
vilaparthm: thanks ! I've also added a comment there08:02
parthmvila: thanks for reviewing this. when you say 'regular keys' do you mean user lower case or something else?08:03
vilaI mean strings instead of the indirection via symbols to get ints08:03
parthmvila: ah. ok. sounds like a good idea. i will do that.08:04
vilaparthm: but more importantly, grouping the attributes instead of having several arrays/dicts all over the place08:04
vilaparthm: some functions may still want to have some local dicts for special purposes though08:04
parthmvila: yes. i will try to clean that up ... maybe a string->tuple dict.08:05
vilaor may be the key should become an attribute of an extended regexp object... I haven't dig the code enough to say08:05
vilaparthm: yup  string->tuple dict may be a good start and present things in a cleaner way08:05
vilaand that may be enough, you'll see08:06
parthmvila: i agree with you point about making it easy for plugins to add their own pattern types. once this patch it done it may be possible to provide an api to do that.08:07
vilaparthm: excellent, I wanted to do that for a long time but never managed to find the time :-/08:08
mgzokay, coffee obtained.08:09
vilaparthm: bzr-upload is such a plugin, so I'm not talking about an hypothetic (sp?) case here08:09
parthmvila: oh. thanks for letting me know. i wasn't aware that bzr-upload does this. i will look at it and try to understand the requirement better.08:10
vilaparthm: the use case for bzr-upload is that we want to exclude some paths to be processed (substitute process by add for bzr, roughly)08:11
parthmvila: ok.08:12
mgzvila: not sure I see that marking the selftest 2.7 branch WIP was needed08:15
pooliehey there vila, mgz08:15
vilahey poolie08:15
pooliebarry is talking in prague about 2.7 ! :)08:15
poolieone interesting change, deprecationwarning off by default08:15
mgzthere seem to be various other 2.7 issues, but the only change wanted in response to jam's review is making an evil one liner more readable08:15
vilamgz: I explained it in a later comment: this can't be landed as is and requires some dependencies so I'd like that to be sorted out08:16
vilamgz: and switching to WIP makes it more obvious when a branch needs to be re-reviewed08:16
mgzit could be landed... it's just possibly not sufficient08:16
vilamgz: no, the run doesn't even finished cleanly08:17
mgzbut... that's subunit! :)08:17
vilamgz: now if you can demonstrate it comes from testtools/subunit, I'd be happy to reconsider08:17
vilahehe, exactly my point ;)08:17
vilamgz: That's why I said: 'this is clearly going in the right direction' :)08:17
mgzpoolie: is it the kind of talking that gets recorded anywhere?08:18
vilamgz: OMG no ! You should not even knows about it, we'll need to kill you now !08:19
pooliehm i don't know08:19
vilajoke aside, no, I don't think it's recorded, but it would be nice08:19
poolieit could be08:19
pooliei can ask him to put his slides up at least08:19
vilapoolie: that would be awesome08:19
mgzvila: working out what to blame for that babune issue is why I was asking about if you could try a run without subunit08:20
mgzas in, just bzr selftest and pipe to a file or something08:20
vilamgz: marking it WIP doesn't mean I won't run as many times as you asked for08:20
vilamgz: I'm running you fix against testtools on all slaves currently, just to make sure08:21
poolievila i was thinking perhaps the texinfo docs should say on the title page08:21
poolie"this was converted using a beta rst->texinfo converter, the links are wrong"08:21
poolieor something similar08:21
poolieto avoid roundtrips of people reporting it08:22
vilapoolie: excellent08:22
mgzwas just trying to understand the reasoning - if the branch was borked on 2.6 I'd not have questioned the flip, just wasn't sure if that was the case08:22
poolieand to put the blame on the convertor not us :)08:22
mgzthe testtools change should be fine, but it's not the kind of thing that gets tickled unless there are failures08:22
vilapoolie: on the other hand, we don't produce the '.info' files right now, so people can't see them, they have to create them from the '.texinfo' themselves08:23
mgzand the testtools suite *passes* on 2.7, but it does have holes so don't think I want to go as far as vouching for it...08:23
vilamgz: http://babune.ladeuil.net:24842/job/selftest-hardy/lastFailedBuild/console08:23
vilamgz: it's a bit unclear to decide if it's related08:23
vilabut 'Ran 1892 tests in 52.523s' is worrying08:24
mgzurk, yeah, died part way through08:24
vilaand the last test before that was.... : ERROR: bzrlib.tests.per_transport.TransportTests.test_put_file_unicode(FtpTransport,UnavailableFTPTestServer)08:24
vilahello unicode...08:24
vila_StringException: lost connection during test 'bzrlib.tests.per_transport.TransportTests.test_put_file_unicode(FtpTransport,UnavailableFTPTestServer)'08:24
vilamgz: the gentoo one succeeded though...08:25
mgzI'm NODEP on (FtpTransport,UnavailableFTPTestServer) locally08:26
vilamgz: and the freebsd one just succeeds too08:27
vilamgz: now that you mention it....08:27
vilaI would have swear hardy was NODEP too on ftp server...08:28
vilamgz: right, hardy is NODEP too08:29
vilamgz: that won't be the first time NODEP and SKIP have a common failure mode08:30
mgzokay, I could understand a problem there for 2.7 but this is back to default python, right?08:30
vilaright08:30
vilabut with your patch on testtools (may be unrelated but the window is quite narrow: I updated testttols/subunit yesterday so I'm running trunk for both)08:31
mgzgrepping the last hardy success log seems to have "... ok" though for that test08:32
mgzshouldn't it print nodep if it's lacking it?08:32
vilamgz: because a fake server is provided to trigger a skip... err, wait08:32
vilahmm, from memory, there is a trick there08:33
vilasomething like TestSkipped raised during setUp, I'm pretty sure I fixed something in the past but testtools may behave differently08:34
mgzkarmic failed the same way.08:34
mgzso, something real is clearly borked.08:34
vilabad bad bad08:34
vilare-trying hardy08:35
mgzpoolie: test regression present for you too, which I also need to file a bug for08:45
mgzhttp://float.endofinternet.org/bzrcst/clasregr/519108:45
mgzhttp://float.endofinternet.org/bzrcst/clasregr/519208:45
mgzhttp://float.endofinternet.org/bzrcst/clasregr/522808:46
mgzit's confusing, but related to renaming fancy_rename and directories08:46
vilamgz: what is the problem with http://float.endofinternet.org/bzrcst/clasregr/5191 ?08:47
mgzthat's the known-good08:47
vilaha ok :)08:47
mgzflick between that and the one after to see the coloured dots change :)08:48
vilamgz: hardy succeeded on retry... \o/ or >-/ ?08:48
mgz>_<08:48
vilalol08:48
poolieam i being trolled by ben?08:49
mgzon the list? /me reads08:50
mgz...yes08:50
poolieit annoys me that his proposed patch was deleting whitespace08:50
pooliei realize people need to get a toe in the water but that is the smallest possible toenail sliver08:50
pooliethanks mgz08:51
poolievila i'll try to let you land the texinfo thing today08:53
vilapoolie: ok, I will look at adding a warning about the links in a few minutes (but I'm a bit worried about fallouts for tests)08:53
mgzI take is os.rename(existing_dir_a, existing_dir_b) on nix just fails neatly?08:53
pooliei think it renames it to a/b08:54
mgzbecause fancy rename really gets its knickers in a twist on this...08:54
poolievila how about if you put the build product on the web somewhere?08:56
pooliepreferably even as .info?08:56
poolieyou're worried about test fallout if we land the texinfo change?08:56
vilapoolie: no, fallouts if had a generated boilerplate08:57
vilapoolie: no, fallouts if I had a generated boilerplate08:57
vilameh08:57
pooliereally?ok08:57
vilapoolie: no, fallouts if I add a generated boilerplate08:57
poolieit's just an idea08:57
vilahehe, I had already implemented ignoring a boilerplate, so that should be trivial if the generated boilerplate is readable in the end result08:59
vilapoolie: done, only one test needed to have the boilerplate duplicated which is perfect since it will fail when we remove it09:03
pooliemgz i'm kinda tired today but i don't understand which rev caused which regression09:03
mgzah, sorry, I'm still trying to work out the right behaviour with directory renaming to file the bug09:04
mgz<poolie> i think it renames it to a/b <- not even that... seems that a just replaces b *if* b is empty, otherwise fails with errno 3909:04
mgzr5192 is the regression, but it's not totally obvious what the right fix is from the diff09:05
mgzhence trying to file a bug that makes sense09:05
mgzand I got you to change a lot of 5192 already which complicates things, but I missed these tests till now09:06
* mgz not doing job of being annoying well enough09:06
vilamgz: it's a tough job :)09:08
pooliereally babune should be doing it09:09
vilapoolie: that's what I said :)09:09
pooliemachines can be much more annoying than most humans ever can09:09
poolieunderline fail09:09
mgzokay, looking at the *right* diff this time, maybe it is just os.rename->osutils.rename fallout09:10
pooliewow that's a while ago09:12
poolieI was wondering what i changed in rename recently09:12
mgzsee, very lax.09:12
mgzat least I got round to looking my test output before the release though :)09:13
poolieouch09:13
pooliewell, thanks09:13
pooliethe difference in rename behaviour is annoying09:13
pooliemaybe we should explicitly specify what behaviour we want09:13
poolielike rename(target_exists='error')09:14
mgzit's annoying, in this case, os.rename(a, b) could just be os.remove(b); os.rename(a, b) and would do roughly what nix does09:16
mgzbut trying the renaming dance means it breaks down horribly09:16
poolieoh, especially for case changes09:16
pooliei suggest the kwarg because having it vary depending on whether you call transport.rename, os.rename, osutils.rename would be insane09:17
poolievila istm this sphinx code does not really belong in bzrlib09:17
vilapoolie: the main problem is that I'm not confident enough (yet) that we won't need special cases, so I'd like to have a fully working solution before proposing the texinfo builder/writer upstream09:19
vilapoolie: and then there is the problem of having the right sphinx deployed09:19
pooliemm it may be the most pragmatic thing09:19
vilapoolie: one worthy goal might be to separate the docs from the core so we better control how to produce them (possibly on babune) for every platform/distro09:20
vilapoolie: but we are not there yet, one important pre-requisite step being to switch to sphinx officially (and really :)09:20
vilapoolie: 'most pragmatic' being starting in bzr-core or submitting upstream ?09:21
vilapoolie: also, I'd like to add more sphinx related tests so knowing how to write builder/writer is a good path towards this goal09:22
vilapoolie: tests like: did we get all our references right ? (identifying internal and external references for example)09:23
vilapoolie: we currently don't use the right kind of references for that and we already have wrong references09:23
vilapoolie: it's very easy to mistype a reference...09:24
* vila is a typo expert09:25
pooliein the bzr tree seems pragmatic09:26
pooliechecking internal links would be cool09:26
poolieso, do it!09:26
pooliecan you do two followons for me?09:26
poolieput the rendered .info file on the lp download site09:26
poolieand blog about it, with a link09:27
pooliedone09:27
vilaI was about to write an email with the script I use to produce the info fileSSSS09:27
vilapoolie: 223 files are produced today09:28
vilapoolie: and that's only for the english version09:28
pooliesheesh, 223 info files?09:29
pooliei don't remember them normally being that many09:29
vilapoolie: I want to group them into bigger info files but this is blocked by 1) a full switch to sphinx 2) being able to translate the refernces correctly since this require defining a layout09:29
vilapoolie: so a reference to a source document can be translated into a reference to the target document which has a different path that the source should not be aware of09:30
vilapoolie: we currently use references to the produced .html files (and there should be ~223 of them)09:31
vilapoolie: that's why I want to land this branch first or the submission will become un-readable with all these reference fixes09:31
mgzokay, filed bug 60809609:35
ubot5Launchpad bug 608096 in Bazaar "Windows transform regression with directory renaming (affected: 1, heat: 6)" [High,Confirmed] https://launchpad.net/bugs/60809609:35
mgzshould probably be targetted at 2.2 but I'll leave that for now, as it looks like a pain to fix in the Right Way09:36
mgzanyone seen this for 2.2 trunk?10:28
mgzTypeError: create_workingtree() got an unexpected keyword argument 'accelerator_tree'10:28
mgzwait, no, that's my old bzr, probably a long-fixed bug10:29
pooliei think so10:32
poolieigc says hi to everyone10:55
mgzhey igc.11:00
mgz...trying to update my bzr.dev branch on my old nix box to test this change has set loose the OOM reaper...11:00
mgzwill it work out bzr it to blame, or will it just keep killing apache repeatedly...11:01
pooliemgz i wouldn't count on it, it's not all that smart IME11:04
poolievila, so shall i submit that?11:04
vilapoolie: what ?11:05
pooliethe texinfo branch11:06
vilaI submitted it after your approval, I'm finishing an email explaining how to generate the info files11:08
vilaAAAAARGH11:09
vilapqm doesn't support looms :-(11:09
mgzokay, this is like, my fourth attempt to use bzr to get this code on my nix box. one restart later, now using http transport and avoiding smartness like the plague11:11
mgzif this one dies, I'm using frekin' rsync11:11
vilamgz: you're not trying to update bzr using itself right ?11:12
mgznope, it's just an old box.11:12
mgz%CPU %MEM    TIME+  COMMAND11:14
mgz99.3 62.3   4:09.16 bzr11:14
mgzmade it!11:15
lifelessvila: it just needs a newer package11:17
=== FryGuy_ is now known as FryGuy-
lifelessvila: release looms! get jelmer to do a package update and file an RT. (these are not serialised)11:18
jelmerlifeless, EAMBIGUOUS: "release looms"11:20
mgzjust spent something ridiculous like two hours confirming that a change I was pretty sure was safe on nix actually is11:23
mgznext time I need to remember to not use smart protocols, or pick a faster box11:24
vilamgz: where is the smart server ?11:27
mgzI tried it both ways.11:27
vilamgz: :-/11:28
parthmvila: anytime you have a spare moment https://code.launchpad.net/~parthm/bzr/300062-2.2-bad-pattern-error-part-2/+merge/29949 no hurry.11:28
mgzhm, was exagerating, only one hour11:31
mgzanyway, merge proposal up now, so can leave in peace.11:31
lifelessjelmer: 'do a release of loom trunk'11:32
jelmerlifeless: ah, ok :-) I thought "release looms" sounded a bit dark...11:34
maxbHrm. bzr-builder's source tree contains a plugins directory containing a builder symlink to ..11:45
maxbThis makes it impossible to use bzr multi-pull :-(11:45
jelmermaxb, several plugins do, bzr-svn and bzr-git create such a directory as well11:46
maxbbuilder's is actually checked into bzr11:46
maxbMaybe I should teach multi-pull to avoid infinite recursion11:47
jelmerthat'd be awesome, it's the only reason I don't use it at the moment11:47
maxbjelmer: btw, is https://code.edge.launchpad.net/~maxb/bzr-svn/fetch-svn-rev-info-progress-bar on your list for when you get time to review?11:48
jelmermaxb: Somewhat. I'm a bit hesitant to change that code without tests, as we've gotten it wrong a couple of times in the past.11:50
maxbOn the plus side, it's only a progress bar :-)11:50
spivjml: btw, please talk to poolie if you have any opinions on goodness/badness of maintaining NEWS as file fragments11:57
parthmmgz: ping12:18
jamhi vila, just figured I'd say hello while we're still in the same TZ before you leave13:35
vilajam: hi :-D13:37
=== Ursinha-afk is now known as Ursinha
mgzparthm: pong, though I've lunch coming up in a bit13:57
=== Ursinha is now known as Ursinha-brb
mgzparthm: one thing we've not explictly stated on the re.compile front so far - what we're worrying about only really matters for patterns supplied by the user13:59
mgzso, though there are a lot of instances of re.compile most of those have constant str patterns that are known valid, so either lazy or eager works fine14:00
=== Daviey_ is now known as Daviey
LaserJockis it possible to downgrade the format of a shared repo?15:56
jelmerLaserJock: Yes, provided the target format has all the features required to hold the repository's data15:57
LaserJockjelmer: k, do you know what this format is: "repository: Packs containing knits without subtree support"15:59
LaserJockI'm trying to get rid of these annoying upgrade notices when I pull from LP15:59
LaserJockit looks like it doesn't like me using 2a for the repo format16:00
jelmerLaserJock: it's not possible to just upgrade the remote repository to 2a as well?16:00
jelmerI would recommend that as 2a is significantly faster and smaller than older formats.16:01
LaserJockjelmer: sure, but I don't own any of these16:01
LaserJockI'd rather not go hunting down random people asking for them to upgrade their repos16:01
LaserJockis there any command that would set up the repo+branch just as it is on LP?16:02
jelmerLaserJock: no, we don't have anything like that.16:02
LaserJockk16:03
maxbjelmer: btw, the current lp:bzr-svn does not work - the name atomicfile is referenced but not imported.16:03
jelmerLaserJock: I think "Packs containing knits without subtree support" means pack-0.92 though16:03
LaserJockah, OK16:04
jelmermaxb: Fixed!16:04
jelmermaxb: (I already had a fix for that locally)16:04
maxbI like this response time :-)16:04
LaserJockdarn, it won't let me go from 2a to pack-0.92, oh well, I'll just rebranch16:05
jelmerLaserJock: Yeah, 2a has rich roots which are not supported by pack-0.9216:06
jelmerLaserJock: There is an option somewhere to make the warning go away16:07
LaserJockjelmer: oh yeah? that'd be useful too :-)16:07
=== Ursinha-brb is now known as Ursinha
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
=== beuno-lunch is now known as beuno
m4n1shcan anyone tell me what all options bzr serve --protocol=ARG takes19:14
maxbIs anyone else noticing that progress bars are not cleanly being cleared from the terminal in 2.2beta?20:10
=== davidstrauss_ is now known as davidstrauss
rellisHi everyone. I'm seeing this email from the bzr-email-notifier. Anyone know how to fix? NameMapper.NotFound: cannot find 'branch_name'20:59
rellisseeing this message*21:00
maxbIs there any incantation for "copy one file from another branch, including file-id" ?21:31
jelmermaxb, there is "bzr add --file-ids-from"21:40
fullermdYou can [ab]use merge.21:43
=== BasicPRO is now known as BasicOSX
idnarhmm, I should make an alias for "bzr merge -r before:ancestor:trunk.. branch"22:45
=== Meths_ is now known as Meths
=== Ursinha is now known as Ursinha-dinner

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