/srv/irclogs.ubuntu.com/2011/07/20/#bzr.txt

spivGood morning.00:01
pooliehi there spiv00:02
=== medberry is now known as med_out
pooliehm jubany might be a bit jammed, i'm going to investigate01:16
pooliespiv so is the bug you're working on the likely cause of the BzrCheckErrors in http://package-import.ubuntu.com/status/ ?01:37
spivI think so.01:38
pooliewhat number?01:39
spivhttps://bugs.launchpad.net/udd/+bug/80634801:54
ubot5Ubuntu 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:54
spivAlthough there other BzrCheckError bugs that I suspect have the same root cause.01:55
pooliethought so, thanks01:55
pooliei'll add it to the categorization01:55
spivThanks!01:55
AuroraBorealisso....is there a reason why bzr explorer on mac doesn't have a dock icon?05:06
AuroraBorealisisn't it just like a ...one line call?05:06
=== beaumonta is now known as abeaumont
sameerynhohi, i'm completely new to bzr , does bzr is a distributed vcs like git or hg?07:16
spivYes07:19
spivVery much like those.07:19
sameerynhospiv: so my local repo can be a stand alone repository and others can push to or pull from it, am i right?07:21
spivYes.07:22
spiv(Although others can only push directly to your repo if you grant them write access to your local repo somehow.)07:23
sameerynhospiv: is there any script or anything like that for running a bzr server easily? like gitolite or gitosis for git?07:23
spivI'm not familiar with those, but you can serve bzr repositories quite easily over HTTP, SFTP, TCP, or SSH.07:24
spivFor providing write access, SSH (the bzr+ssh protocol) is most common method.07:25
spivThere are docs about those methods at http://doc.bazaar.canonical.com/bzr.2.3/en/admin-guide/07:25
sameerynhospiv: thanks alot man07:26
spivOr if it's an open source project, you could use a free hosting service like Launchpad :)07:28
sameerynhospiv: i see thanks07:30
jammorning all07:53
jamhey spiv07:53
jam(just good to see you around)07:53
spivHey :)07:54
pooliehi there spiv08:15
poolies//jam08:15
pooliemaybe i'll land my patches before it's too late...08:44
jelmervila: Is there any way I can use babune to run the testsuite from the 2.3.4 SRU ?09:05
poolieo/ jelmer09:05
jelmerhey poolie, how's your day ?09:06
pooliei don't know if you can do that without vila's help, but it would definitely be good to get it set up09:06
pooliemaking a new schroot should be pretty cheap and easy09:06
pooliewe had a talk about how to do it a few weeks ago09:06
pooliegreat thanks09:06
jelmerah, cool09:06
jelmerI realized all my machines are on oneiric now, perhaps I should've held one back..09:07
pooliei installed the natty proposed version09:07
poolieit hasn't broken yet09:07
poolie:)09:07
pooliein fairly light use though09:07
pooliehow's oneiric today09:07
vilajelmer: 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
jelmerpoolie: apart from mumble+bluetooth still being flaky together, it's doing well09:08
pooliecouldn't we have a job that's not related to a branch and that just fires on demand?09:08
vilatesting SRUs *can* be done but with a dedicated schroot and a dedicated job09:08
vilapoolie: yup09:09
pooliethat would be nice to set up09:09
poolieor, fires ever 24h or something09:09
vilayup09:09
vilahttp://babune.ladeuil.net:24842/view/%20High/job/selftest-hardy/ is another kind of job that is not well supported so far09:11
=== zyga-afk is now known as zyga
vila(see description there)09:11
jelmervila: thanks for the review of help-location-special-chars09:14
vilajelmer: 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
vilagrr09:16
vilas/could/couldn't/09:16
jelmervila: 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:17
vilajelmer: make the explanation more detailed to nail it good09:18
vilaspecifically: bzr url-encode paths, use encoded URLs if you know better09:18
vilawhich was the key thing (for me) in our Dublin discussion09:19
jelmerah, ok09:19
jelmerthat makes sense, I think09:19
vilathat gives us a good set of rules for devs09:19
jelmerbut perhaps it would be good if you can have another look after I fix it?09:19
vilaa bit less good for unaware users09:19
vilajelmer: sure, just ping me09:20
poolievila, right, i guess we probably want a set of jobs, that can run on the existing schroot builders, for previous series09:23
vilapoolie: almost, I think we really want different schroot to start09:24
poolieoh i was talking about testing 2.3 on hardy09:24
pooliefor ppa tests, i agree we need more schroots09:24
pooliecould i give you a task for setting them up? maybe after your break09:24
pooliewe can possibly do them more cleanly using snapshot-based schroots09:25
pooliei'd be happy to pair on that with you09:27
vilayeah, I'm thinking about union-based chroots, pairing welcome, I was planning to give babune some love today09:37
vilabut it's late for you09:38
pooliei have a little more time09:41
poolieso i think you remember how we bootstrapped the existing ones09:41
pooliethe main thing i think you should try is using aufs or something else to make a snapshot-based image09:41
vilayup, and I have a python script to create the new ones09:41
pooliewhich is explained a bit in the schroot manpage09:41
vilayup09:41
pooliethen it will discard the changes after each run09:41
vilathe 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 there09:42
pooliemm09:43
pooliethat would be good09:43
vilayeah, getting rid of the changes will probably works well for -proposed09:43
pooliewhy does it need it?09:43
vilabecause for jenkins the job runs on the master and the tested branch is checked out there09:43
pooliebut that shouldn't be an issue in this case as we're installing it from a package09:46
vilaindeed, hence the need for  a different chroot (at least for the config part which specifies the mounts)09:47
jmlmgz: around?15:59
mgzaha, I was considering pinging you15:59
mgzI've got an idea that might help some of the assertThat issues16:00
mgzhow about just putting the Mismatch object in the AssertionError rather than stringifying it? avoids a bunch of __str__ vs __unicode__ issues16:01
mgzalso puts the formatting entirely in the hands of the Mismatch rather than printing the Matcher at all16:02
mgzI don't think there are any bad side effects from having a non-string type argument to an exception16:03
mgzjml: anything in particular?16:19
jmlmgz: oh huh16:20
jmlmgz: just wanted your feedback on a bug16:20
jmlmgz: https://bugs.launchpad.net/testtools/+bug/67532316:20
ubot5Ubuntu bug 675323 in testtools "assertThat style gives overly verbose output" [Wishlist,Triaged]16:20
mgzhow would you feel about just printing the "Difference" portion and none of the rest?16:23
mgzin cases like assertThat(something_long, DoctestMatches(pattern, doctest.REPORT_UDIFF)) that'll be much better anyway16:26
mgzand trivial things like assertEqual(1, 2) are clear anyway without being explicit about what the Matcher and matchee are16:27
=== med_out is now known as med
=== med is now known as medberry
jmlmgz: basically, that's my plan.16:46
jmlmgz: maybe adding a verbose option to assertThat to print its current output16:46
=== beuno is now known as beuno-lunch
jmlmgz: patch up.17:11
jmlmgz: regarding your earlier comment, you mean doing something like 'raise AssertionError(mismatch)' and relying on AssertionError to call __str__ (and thus, describe)17:12
mgzI do.17:13
mgzThen we can get the logic right on the Mismatch classes, and avoid the python version variations on exception instances17:13
jmlHmm.17:13
jmlmgz: That would change the API for mismatches, not sure that would be a problem.17:14
mgzIn which respect?17:15
jmlwe don't currently insist on inheriting from Mismatch17:15
jmland we don't currently use mismatch.__str__17:15
jmlso third-party mismatches that don't inherit will break17:15
mgzhm.17:16
jmlwhere 'break' means, "<testtools.matchers.Mismatch object at %x attributes=%r>" % (id(self), self.__dict__)17:16
mgzthe other option is raising an AssertionError subclass on some python versions.17:17
mgzwhich is also a tricky api change.17:17
jmlwell, we could _always_ raise an AssertionError subclass17:17
jmlthat would only break people who were expecting an exact class17:17
jmlbut would still go alright w/ 'except AssertionError' or isinstance() checks17:18
jmlmgz: 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 available17:19
mgzthat sounds reasonable.17:19
jmlhmm.17:21
jmlI guess the break there is that if someone sets failureException, assertThat failures become errors.17:21
jmlI think that's as unlikely to be a problem in practice as third-party mismatches that don't inherit from Mismatch.17:22
mgznice unreadable failure with py3k on trunk testtools: http://paste.ubuntu.com/648412/17:23
Buttons840i 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:23
Buttons840i 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 be17:24
mgzjust the forward slashes in test from gassy-failure-660852 branch I think, amusing commit message, "Oh man I hope this works."17:27
mgzButtons840: I'm not clear what the setup you were working from is17:27
mgzif 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 those17:28
mgzif you just committed your stuff and his stuff without demarkating them, that would be a bit more annoying to resolve17:29
mgzButtons840: 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 responses17:31
jmlmgz: just saw #66085217:37
jmlmgz: which Python?17:38
mgz...wrong bug?17:38
jmlmgz: your comment is on the MP: https://code.launchpad.net/~jml/testtools/gassy-failure-660852/+merge/6647017:39
=== beuno-lunch is now known as beuno
mgzit's some weird merge issue.17:43
jmlmgz: yeah. I did a weird criss-cross merge in that branch. I had thought that it was merged into trunk alright though.17:43
jmlmgz: and since the tests pass in trunk for me, I am justified in thinking so.17:44
mgzos.sep is "/" for you17:44
jmlmgz: oh, I see.17:45
mgztest_traceback_formatting is bogus basically, I'm just trying to work out where it came from, it's not in the review diff17:45
mgzor... I'm blind and it was.17:46
jmlmgz: it *is* in the review diff17:46
jmlmgz: that's the branch that added that test.17:46
mgzokay, so it's not a merge thing, it's just a test copying a (previously removed) test style and confusing me17:46
jmlmgz: so it's "just" that we're broken on Windows?17:46
mgzyup, that and DoctestMatches makes it impossible to tell what the issue is *grr* *grr*17:47
jmlmgz: I get better error messages from DoctestMatches than you do.17:47
jmlmgz: I think.17:47
mgzthe REPORT_UDIFF thing isn't as bad, and will be better again with your new proposal17:48
jmlhmm. do I don't.17:48
mgzcurrently you *four* copies of a traceback are printed, and working out which is which is a nightmare17:48
jmlheh heh17:48
jmlI'd like to make REPORT_UDIFF the default. Thought I did, tbh.17:48
MkaysiHi, 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:49
jmlmgz: can you please test this patch on windows? http://paste.ubuntu.com/648434/17:50
jmlmgz: 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:51
mgzlooks like the right thing17:52
jmlmgz: looks can be deceiving :)17:52
jmlMkaysi: weird.17:53
jmlMkaysi: what OS are you using?17:53
Mkaysijml: Ubuntu 11.0417:53
mgzjml: does pass, go ahead and push17:54
jmlmgz: thanks.17:54
jmlmgz: fixed in trunk. Thanks for catching that.17:55
jmlMkaysi: that's just weird.17:56
jmlMkaysi: which version of Bazaar do you have installed?17:56
Mkaysijml: How do I see it? I was using latest from Ubuntu repos, but when that problem came I moved to Daily PPA17:57
Mkaysi(just because I noticed that there is daily PPA)17:57
jmlMkaysi: $ dpkg -s bzr | grep ^Version17:57
Mkaysijml: Version: 2.4.0~bzr6033~ppa3957.3940~natty117:58
jmlMkaysi: ok. try this17:58
jmlMkaysi: run python on the command line17:58
jmlThen do...17:58
jml>>> import bzrlib17:58
jml>>> bzrlib.__file__17:58
jml'/usr/lib/python2.7/dist-packages/bzrlib/__init__.pyc'17:58
jml>>> bzrlib.version_info17:58
jmltell me what __file__ and version_info print.17:59
Mkaysi'/usr/lib/pymodules/python2.7/bzrlib/__init__.pyc'17:59
MkaysiTraceback (most recent call last):18:00
Mkaysi  File "<stdin>", line 1, in <module>18:00
MkaysiAttributeError: 'module' object has no attribute 'version_info'18:00
jmlMkaysi: ok, thanks.18:00
jmlMkaysi: I'm guessing it's a bug in the daily build18:00
Mkaysijml: But this happened while I was using latest version from Ubuntu repos too.18:01
jmlI'm not sure how that's even possible.18:01
jmlMkaysi: I can't think of how to progress further. Sorry.18:03
* jml is off home18:04
MkaysiIs there any way to download .zips or .tar.gzs from LP?18:04
mgzyup, from the downloads page. you might have luck just purging the package then not using the daily.18:05
MkaysiOk18:06
MkaysiThanks18:06
=== marienz_ is now known as marienz
lamalexhi, i can never remember the syntax to just revert the changes from a single commit18:43
LeoNerdmerge -rafter..before18:43
lamalexwhen i do that, it shows MANY more changed files than were changed in the commit i'm trying to undo18:45
lamalexso i want to revert commit 66618:45
lamalexi would do bzr merge -r 667..665?18:45
luksno, it should be 666..66518:46
fullermdNo, 666..66518:46
luksor, bzr merge -r666...before:66618:46
lukswhich correctly handles non-mainline revisions18:46
lukser, only two dots18:47
fullermdUnless it's life or death, then you want -r666...___...665   8-}18:47
lamalex:{18:50
lamalex:P18:50
lamalexthanks18:50
awilkinsthe log widget in qbzr has a convenient reverse-cherry-pick this revision option19:16
Buttons840i can i see commit diffs 1 through 10 excluding 5 (for example)?19:37
=== yofel_ is now known as yofel
pooliehi all22:04
jelmerg'day poolie22:05
jelmerhi amanica22:08
amanicahi jelmer! :)22:08
jelmerpoolie: I think you mean s/Jelmer/vila/ in your email?22:14
maxbjelmer: 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:47
pooliehi, i did, just a typo22:49
pooliehi maxb22:49
dOxxxI'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:01
pooliehi dOxxx23:15
pooliemaybe rebuild with a further dot revno?23:15
poolieor, save it for a later 2.3.x?23:16

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