[00:01] Good morning. [00:02] hi there spiv === medberry is now known as med_out [01:16] hm jubany might be a bit jammed, i'm going to investigate [01:37] spiv so is the bug you're working on the likely cause of the BzrCheckErrors in http://package-import.ubuntu.com/status/ ? [01:38] I think so. [01:39] what number? [01:54] https://bugs.launchpad.net/udd/+bug/806348 [01:54] Ubuntu bug 806348 in Ubuntu Distributed Development "BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps" [High,In progress] [01:55] Although there other BzrCheckError bugs that I suspect have the same root cause. [01:55] thought so, thanks [01:55] i'll add it to the categorization [01:55] Thanks! [05:06] so....is there a reason why bzr explorer on mac doesn't have a dock icon? [05:06] isn't it just like a ...one line call? === beaumonta is now known as abeaumont [07:16] hi, i'm completely new to bzr , does bzr is a distributed vcs like git or hg? [07:19] Yes [07:19] Very much like those. [07:21] spiv: so my local repo can be a stand alone repository and others can push to or pull from it, am i right? [07:22] Yes. [07:23] (Although others can only push directly to your repo if you grant them write access to your local repo somehow.) [07:23] spiv: is there any script or anything like that for running a bzr server easily? like gitolite or gitosis for git? [07:24] I'm not familiar with those, but you can serve bzr repositories quite easily over HTTP, SFTP, TCP, or SSH. [07:25] For providing write access, SSH (the bzr+ssh protocol) is most common method. [07:25] There are docs about those methods at http://doc.bazaar.canonical.com/bzr.2.3/en/admin-guide/ [07:26] spiv: thanks alot man [07:28] Or if it's an open source project, you could use a free hosting service like Launchpad :) [07:30] spiv: i see thanks [07:53] morning all [07:53] hey spiv [07:53] (just good to see you around) [07:54] Hey :) [08:15] hi there spiv [08:15] s//jam [08:44] maybe i'll land my patches before it's too late... [09:05] vila: Is there any way I can use babune to run the testsuite from the 2.3.4 SRU ? [09:05] o/ jelmer [09:06] hey poolie, how's your day ? [09:06] i don't know if you can do that without vila's help, but it would definitely be good to get it set up [09:06] making a new schroot should be pretty cheap and easy [09:06] we had a talk about how to do it a few weeks ago [09:06] great thanks [09:06] ah, cool [09:07] I realized all my machines are on oneiric now, perhaps I should've held one back.. [09:07] i installed the natty proposed version [09:07] it hasn't broken yet [09:07] :) [09:07] in fairly light use though [09:07] how's oneiric today [09:08] jelmer: there is a way but it doesn't fit the babune model very well so far (a job want a bzr branch to test and here we want to test the installed version) [09:08] poolie: apart from mumble+bluetooth still being flaky together, it's doing well [09:08] couldn't we have a job that's not related to a branch and that just fires on demand? [09:08] testing SRUs *can* be done but with a dedicated schroot and a dedicated job [09:09] poolie: yup [09:09] that would be nice to set up [09:09] or, fires ever 24h or something [09:09] yup [09:11] http://babune.ladeuil.net:24842/view/%20High/job/selftest-hardy/ is another kind of job that is not well supported so far === zyga-afk is now known as zyga [09:11] (see description there) [09:14] vila: thanks for the review of help-location-special-chars [09:16] jelmer: I could find a better way to express that that your proposal documents the actual behavior and still mentions the related issue that url encoding is not user-friendly (which we don't want to address for now) [09:16] grr [09:16] s/could/couldn't/ [09:17] vila: Yeah - I agree with your comments, but was wondering if there's anything specific you'd like me to change to make it clearer? [09:18] jelmer: make the explanation more detailed to nail it good [09:18] specifically: bzr url-encode paths, use encoded URLs if you know better [09:19] which was the key thing (for me) in our Dublin discussion [09:19] ah, ok [09:19] that makes sense, I think [09:19] that gives us a good set of rules for devs [09:19] but perhaps it would be good if you can have another look after I fix it? [09:19] a bit less good for unaware users [09:20] jelmer: sure, just ping me [09:23] vila, right, i guess we probably want a set of jobs, that can run on the existing schroot builders, for previous series [09:24] poolie: almost, I think we really want different schroot to start [09:24] oh i was talking about testing 2.3 on hardy [09:24] for ppa tests, i agree we need more schroots [09:24] could i give you a task for setting them up? maybe after your break [09:25] we can possibly do them more cleanly using snapshot-based schroots [09:27] i'd be happy to pair on that with you [09:37] yeah, I'm thinking about union-based chroots, pairing welcome, I was planning to give babune some love today [09:38] but it's late for you [09:41] i have a little more time [09:41] so i think you remember how we bootstrapped the existing ones [09:41] the main thing i think you should try is using aufs or something else to make a snapshot-based image [09:41] yup, and I have a python script to create the new ones [09:41] which is explained a bit in the schroot manpage [09:41] yup [09:41] then it will discard the changes after each run [09:42] the main issue I'd like to address is getting rid of the babune HOME mounting if only to get rid of the possibility that a job remove anything vital there [09:43] mm [09:43] that would be good [09:43] yeah, getting rid of the changes will probably works well for -proposed [09:43] why does it need it? [09:43] because for jenkins the job runs on the master and the tested branch is checked out there [09:46] but that shouldn't be an issue in this case as we're installing it from a package [09:47] indeed, hence the need for a different chroot (at least for the config part which specifies the mounts) [15:59] mgz: around? [15:59] aha, I was considering pinging you [16:00] I've got an idea that might help some of the assertThat issues [16:01] how about just putting the Mismatch object in the AssertionError rather than stringifying it? avoids a bunch of __str__ vs __unicode__ issues [16:02] also puts the formatting entirely in the hands of the Mismatch rather than printing the Matcher at all [16:03] I don't think there are any bad side effects from having a non-string type argument to an exception [16:19] jml: anything in particular? [16:20] mgz: oh huh [16:20] mgz: just wanted your feedback on a bug [16:20] mgz: https://bugs.launchpad.net/testtools/+bug/675323 [16:20] Ubuntu bug 675323 in testtools "assertThat style gives overly verbose output" [Wishlist,Triaged] [16:23] how would you feel about just printing the "Difference" portion and none of the rest? [16:26] in cases like assertThat(something_long, DoctestMatches(pattern, doctest.REPORT_UDIFF)) that'll be much better anyway [16:27] and trivial things like assertEqual(1, 2) are clear anyway without being explicit about what the Matcher and matchee are === med_out is now known as med === med is now known as medberry [16:46] mgz: basically, that's my plan. [16:46] mgz: maybe adding a verbose option to assertThat to print its current output === beuno is now known as beuno-lunch [17:11] mgz: patch up. [17:12] mgz: regarding your earlier comment, you mean doing something like 'raise AssertionError(mismatch)' and relying on AssertionError to call __str__ (and thus, describe) [17:13] I do. [17:13] Then we can get the logic right on the Mismatch classes, and avoid the python version variations on exception instances [17:13] Hmm. [17:14] mgz: That would change the API for mismatches, not sure that would be a problem. [17:15] In which respect? [17:15] we don't currently insist on inheriting from Mismatch [17:15] and we don't currently use mismatch.__str__ [17:15] so third-party mismatches that don't inherit will break [17:16] hm. [17:16] where 'break' means, "" % (id(self), self.__dict__) [17:17] the other option is raising an AssertionError subclass on some python versions. [17:17] which is also a tricky api change. [17:17] well, we could _always_ raise an AssertionError subclass [17:17] that would only break people who were expecting an exact class [17:18] but would still go alright w/ 'except AssertionError' or isinstance() checks [17:19] mgz: in some ways, I wouldn't mind raising a specialized exception for assertThat anyway. I think it would be nice to attach the matchee & matcher objects explictly and make them programatically available [17:19] that sounds reasonable. [17:21] hmm. [17:21] I guess the break there is that if someone sets failureException, assertThat failures become errors. [17:22] I think that's as unlikely to be a problem in practice as third-party mismatches that don't inherit from Mismatch. [17:23] nice unreadable failure with py3k on trunk testtools: http://paste.ubuntu.com/648412/ [17:23] i am leaving my current company, we have two programmers, and the other programmer will not use any version management, but i have tracked my changes with bzr; since they dont actually know how to use bzr, is there a way i can generate a pretty report to show the changes i've made that is independent of bzr? [17:24] i think it would be nice to say, "here are the changes i've made, and why" -- they company has been good to me, so I want to be helpful as I can be [17:27] just the forward slashes in test from gassy-failure-660852 branch I think, amusing commit message, "Oh man I hope this works." [17:27] Buttons840: I'm not clear what the setup you were working from is [17:28] if you imported the existing code somehow, then segregated your commits from imports of the trunk, you could get diffs of all of your commits and present those [17:29] if you just committed your stuff and his stuff without demarkating them, that would be a bit more annoying to resolve [17:31] Buttons840: put a post on the mailing list with some detail of how exactly you were working and what output you want, and you're likely to get useful responses [17:37] mgz: just saw #660852 [17:38] mgz: which Python? [17:38] ...wrong bug? [17:39] mgz: your comment is on the MP: https://code.launchpad.net/~jml/testtools/gassy-failure-660852/+merge/66470 === beuno-lunch is now known as beuno [17:43] it's some weird merge issue. [17:43] mgz: yeah. I did a weird criss-cross merge in that branch. I had thought that it was merged into trunk alright though. [17:44] mgz: and since the tests pass in trunk for me, I am justified in thinking so. [17:44] os.sep is "/" for you [17:45] mgz: oh, I see. [17:45] test_traceback_formatting is bogus basically, I'm just trying to work out where it came from, it's not in the review diff [17:46] or... I'm blind and it was. [17:46] mgz: it *is* in the review diff [17:46] mgz: that's the branch that added that test. [17:46] okay, so it's not a merge thing, it's just a test copying a (previously removed) test style and confusing me [17:46] mgz: so it's "just" that we're broken on Windows? [17:47] yup, that and DoctestMatches makes it impossible to tell what the issue is *grr* *grr* [17:47] mgz: I get better error messages from DoctestMatches than you do. [17:47] mgz: I think. [17:48] the REPORT_UDIFF thing isn't as bad, and will be better again with your new proposal [17:48] hmm. do I don't. [17:48] currently you *four* copies of a traceback are printed, and working out which is which is a nightmare [17:48] heh heh [17:48] I'd like to make REPORT_UDIFF the default. Thought I did, tbh. [17:49] Hi, I have problem with bzr. Every time when I am trying to bzr branch something I get this error (traceback) http://pastebin.com/hUNbZxg0 . What should I do? I have tried removing and installing all bzr packages. [17:50] mgz: can you please test this patch on windows? http://paste.ubuntu.com/648434/ [17:51] mgz: also, I've put down a todo item to get jenkins up and running. I'd like to get proper testing across supported Pythons and OSes. [17:52] looks like the right thing [17:52] mgz: looks can be deceiving :) [17:53] Mkaysi: weird. [17:53] Mkaysi: what OS are you using? [17:53] jml: Ubuntu 11.04 [17:54] jml: does pass, go ahead and push [17:54] mgz: thanks. [17:55] mgz: fixed in trunk. Thanks for catching that. [17:56] Mkaysi: that's just weird. [17:56] Mkaysi: which version of Bazaar do you have installed? [17:57] jml: How do I see it? I was using latest from Ubuntu repos, but when that problem came I moved to Daily PPA [17:57] (just because I noticed that there is daily PPA) [17:57] Mkaysi: $ dpkg -s bzr | grep ^Version [17:58] jml: Version: 2.4.0~bzr6033~ppa3957.3940~natty1 [17:58] Mkaysi: ok. try this [17:58] Mkaysi: run python on the command line [17:58] Then do... [17:58] >>> import bzrlib [17:58] >>> bzrlib.__file__ [17:58] '/usr/lib/python2.7/dist-packages/bzrlib/__init__.pyc' [17:58] >>> bzrlib.version_info [17:59] tell me what __file__ and version_info print. [17:59] '/usr/lib/pymodules/python2.7/bzrlib/__init__.pyc' [18:00] Traceback (most recent call last): [18:00] File "", line 1, in [18:00] AttributeError: 'module' object has no attribute 'version_info' [18:00] Mkaysi: ok, thanks. [18:00] Mkaysi: I'm guessing it's a bug in the daily build [18:01] jml: But this happened while I was using latest version from Ubuntu repos too. [18:01] I'm not sure how that's even possible. [18:03] Mkaysi: I can't think of how to progress further. Sorry. [18:04] * jml is off home [18:04] Is there any way to download .zips or .tar.gzs from LP? [18:05] yup, from the downloads page. you might have luck just purging the package then not using the daily. [18:06] Ok [18:06] Thanks === marienz_ is now known as marienz [18:43] hi, i can never remember the syntax to just revert the changes from a single commit [18:43] merge -rafter..before [18:45] when i do that, it shows MANY more changed files than were changed in the commit i'm trying to undo [18:45] so i want to revert commit 666 [18:45] i would do bzr merge -r 667..665? [18:46] no, it should be 666..665 [18:46] No, 666..665 [18:46] or, bzr merge -r666...before:666 [18:46] which correctly handles non-mainline revisions [18:47] er, only two dots [18:47] Unless it's life or death, then you want -r666...___...665 8-} [18:50] :{ [18:50] :P [18:50] thanks [19:16] the log widget in qbzr has a convenient reverse-cherry-pick this revision option [19:37] i can i see commit diffs 1 through 10 excluding 5 (for example)? === yofel_ is now known as yofel [22:04] hi all [22:05] g'day poolie [22:08] hi amanica [22:08] hi jelmer! :) [22:14] poolie: I think you mean s/Jelmer/vila/ in your email? [22:47] jelmer: Hi. The bzr-beta PPA is now completely installable except for bzr-svn. Do you think you might be making a 2.4-compatible snapshot soonish? [22:49] hi, i did, just a typo [22:49] hi maxb [23:01] I'm wondering what to do about the QBzr release that bialix just made for bzr 2.3 series, since I've already built the installer with an older version. [23:15] hi dOxxx [23:15] maybe rebuild with a further dot revno? [23:16] or, save it for a later 2.3.x?