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

jelmerhey poolie00:07
jelmerhi maxb00:07
maxbhello00:07
pooliehi jelmer, maxb00:11
pooliethanks for the reviews jelmer00:49
lifelessjelmer: if you're still aroud00:52
lifelessjelmer: can we talk about geoffs patch ?00:52
jelmerlifeless: sure00:54
lifelessso, he put that patch together based on a description of what I wanted in loggerhead00:55
lifelessI'm worried that its being parleyed into a bigger, different change.00:55
lifelessI don't think loggerhead should need to know about doing iter_tree_entries etc for the export.00:55
jelmerlifeless: I'd prefer to change this to be more flexible for other callers as well if we're going to change it, and both options seem to be roughly equally trivial00:56
lifelessjelmer: the implementation you suggested doesn't meet loggerheads needs00:57
jelmerlifeless: what's the context?00:57
lifelessjelmer: we need a generator00:57
lifelessto let us return control to the wsgi framework00:58
jelmerlifeless: but you're not actually going to stream the data, just send it all in a bulk at the end?00:59
lifelesswe are streaming00:59
jelmerlifeless: the generator still takes a tarball argument, and adds the data there as well00:59
lifelessI would like it if geoffs patch were evaluated directly on its impact on bzrlib: is it sufficiently tested, will it decrease performance, or make things be structured badly.00:59
lifelessjelmer: that doesn't matter.01:00
lifelessjelmer: loggerheads tarball object is mapped to a file object that accumulates the bytes in a buffer; when each yield occurs the accumulated bytes are handed off to the wsgi stack01:00
spivGood morning.01:05
mgzspecial mailing list post of the day: <http://lists.ironpython.com/pipermail/users-ironpython.com/2011-June/014868.html>01:07
jelmerlifeless: that seems more complicated than just iterating over the items and files and writing out item.tobuf() + file.read()01:10
lifelessjelmer: that would a) not work with zip files, b) not stream.01:10
jelmerlifeless: this function doesn't work with zip files anyway01:11
lifelessbut the structure will01:11
jelmerlifeless: both ways stream per file01:11
lifelessshrug01:11
lifelessI don't really want to overdesign this01:11
lifelessI don't want geoff blocked on something that makes it harder for him or loggerhead01:11
lifelessand he is right now01:11
lifelessif the design is poor, we should ask him to fix it01:12
jelmeranyway, I haven't voted on this, and I don't feel strongly about it. I was just saying it seemed simpler to factor out the body of the loop, rather than creating a generator which makes things more complex imho01:12
lifelessbut you seem to want to solve different problems01:12
lifelessjelmer: it requires a generator01:12
lifeless_requires_01:12
jelmerthat generator can be in loggerhead01:13
jelmerand just be a three line loop01:13
lifelessjelmer: Well, that won't work for .zip files (which folk will want), because they don't have the same output model01:14
lifelessI don't think it makes sense to make the loggerhead code simpler for tarballs at the cost of needing two codepaths in loggerhead for zip/tarballs01:14
jelmerIIRC zipfiles in Python don't stream anyway01:15
lifeless                zipf.writestr(zinfo, content)01:16
lifelessis the per-file stuff01:16
lifelessso, it needs a similar tweak to permit this in loggerhead for zip files01:16
lifelessI think writing to the file is simple and clear01:16
lifelesswe can have the same contract for both generators, both live in bzrlib.export.*, and one driver for adapting them to wsgi streaming01:17
lifelessif we have /any/ tar specific code in loggerhead that won't work.01:17
lifelesswhich is what I don't like about your proposal01:17
lifelessmgz: win01:17
lifelessmgz: I presume you know about the great regex mistake ?01:18
mgzI thought you'd appreciate that lifeless :)01:20
jelmerlifeless: I don't see how that helps; ZipFile's constructor requires a filename or seekable file object01:21
lifelessjelmer: we manage to export to stdout01:22
* jelmer gets some sleep01:22
lifelessjelmer: which is nonrewindable01:22
jelmerlifeless: charis:~/src/bzr/bzr.dev% bzr export --format=zip -01:22
jelmerbzr: ERROR: [Errno 29] Illegal seek01:22
lifelessah! ok, so bugs to fix there.01:23
lifelessstill, i think making the contract be tied to tar would be a mistake01:23
lifelesssleep well01:23
mgzthe zipfile module is pretty useless unfortunately01:23
mgzit's been multiply threatened with a rewrite that's never arrived01:23
lifelesswe have/had a fixed copy01:24
lifelessbbiab, grocery shopping needs doing01:24
jelmerI think one of the problems is that the zip file format requires the compressed/uncompressed sizes to be known up front01:25
jelmeranyway, really gone now.. :)01:25
mgzhm, really? I thought the header was minimal and everything that mattered was in the tail.01:26
mgzhence the gif/zip hacks.01:27
jelmeryeah, you're right01:27
jelmerwikipedia confused me because it still calls them headers01:27
mgzbeheaded headers01:28
mgzthey're severed and placed in a basket at the end01:28
=== smoser` is now known as smoser
=== tchan1 is now known as tchan
gouri'm converting all my old repos to bzr and while doing it i just wanted to put one old project under bzr (no conversion from some other DVCS), but bzr failed with: http://pastebin.com/Jtt4HtAP06:32
gouri've found it as https://bugs.launchpad.net/bzr-diffstat/+bug/5668006:52
ubot5Ubuntu bug 56680 in Bazaar Diffstat Plugin "uncaught exception: bzr: ERROR: exceptions.UnicodeDecodeError:" [High,Confirmed]06:52
gourand it's more than 4yrs ago since it's reported...it would be cool to fix it before 2.406:53
gouranother one is https://bugs.launchpad.net/bzr-submit/+bug/6797306:55
ubot5Ubuntu bug 67973 in Bazaar Submit By Mail Plugin "exceptions.UnicodeDecodeError" [Medium,Fix committed]06:55
gourthe most recent activity in regard to this problem seems to be https://bugs.launchpad.net/bzr-explorer/+bug/73534907:02
ubot5Ubuntu bug 735349 in Bazaar Explorer "UnicodeError while converting BzrError to unicode" [High,Confirmed]07:02
AuroraBorealisdoes anyone know if launchpad will be getting a wiki?07:32
AuroraBorealiscause ive been contributing to a project on github and its a much nicer site :<07:32
gourAuroraBorealis: there is discussiion about it atm07:34
AuroraBorealishmm07:35
gourAuroraBorealis: check https://bugs.launchpad.net/launchpad/+bug/24006707:35
ubot5Ubuntu bug 240067 in Launchpad itself "Launchpad projects need wikis" [Low,In progress]07:35
AuroraBorealisi think its a bit more then low priority =/07:37
spivAuroraBorealis: note that that the 'launchpad' project only really uses Critical, High, and Low.  https://dev.launchpad.net/BugTriage#Importance07:38
gourthis is certainly one of the features i really miss in LP, but i prefer bzr much more than git07:38
gour..which i simply cannot stand07:39
gouri even use bzr-git for fetching github projects07:39
thumperAuroraBorealis: low means it isn't being worked on by lp devs07:39
AuroraBorealisi see07:40
thumperAuroraBorealis: I'd like to see LP get a wiki...07:40
thumperbut I keep spending time writing other stuff07:40
thumperperhaps I'll instigate my own 20% time07:40
AuroraBorealiscause my projects on launchpad just seem confusing compared to github07:40
spivI'm not sure adding a large complex feature to Launchpad will automatically reduce that confusion :)07:41
spivI agree a wiki for projects would be nice.07:42
AuroraBorealisi feel the entire website needs to be revamped hehe07:43
AuroraBorealisbut a wiki just seems like another tab07:43
AuroraBorealisalso i'm confused on the little history graph things launchpad branches have07:48
AuroraBorealishttps://launchpad.net/inkscape for example, does it go up then right?07:48
spivAuroraBorealis: does the larger view at https://launchpad.net/inkscape/+series make it clearer?07:50
AuroraBorealisso it seems like 'trunk' is the vertical line07:51
AuroraBorealisand they keep branching off07:51
spivOr for comparison, https://launchpad.net/bzr/+series07:51
AuroraBorealisbut am i right that it seems the main trunk branch is on the left?07:52
spivThe bzr example is a bit more interesting perhaps because you can see the dates of releases from different series overlapping.07:52
spivIt's not a graph of branches or revision history.07:52
AuroraBorealisso its just a graph of versions?07:53
AuroraBorealisor 'series'07:53
spivIt's a visualisation of release series and their milestones.07:53
AuroraBorealisah. k07:53
AuroraBorealisso i take it launchpad doesn't have a graph of revisions07:53
spivSomeone really ought to integrate one into loggerhead.  You can browse the revision history by following the “Browse the code” link on e.g. https://launchpad.net/inkscape07:55
spivIt doesn't yet do the sorts of pretty graphs you get with bzr GUIs like 'bzr qlog', but I'm sure someone will do one for it eventually.07:56
AuroraBorealiswhich take like 5 clicks to get to07:56
spivWhich do?07:56
AuroraBorealisto get to the link to 'view all revisions' hehe07:56
AuroraBorealisand yeah i was just using github to contribute to some project and i liked their revision graph07:56
spivI count 2 clicks.07:56
spivFrom https://launchpad.net/inkscape click “Browse the code”, from there click “view branch changes”07:57
AuroraBorealisah that. i clicked code at the top07:57
spivYes, it's a nice graph.  Fortunately you can get the same thing in a local GUI via 'bzr qlog' (qbzr plugin) or 'bzr viz' (bzr-gtk plugin).07:58
AuroraBorealisyeah i use bzr explorer which i think has qlog in there07:58
AuroraBorealishttps://github.com/sr/git-wiki/network is sweet :>07:58
spivWhich isn't quite as convenient as having it in a web page, but it's good enough for me at least.07:58
AuroraBorealisyeah08:01
AuroraBorealisgeez branching the bzr source is taking forever xD08:07
spivHave you done "bzr lp-login"?08:12
AuroraBorealisi have not08:12
AuroraBorealisis that why its taking forever?08:12
thumperAuroraBorealis: yes08:14
thumperAuroraBorealis: it'll be going over http08:14
thumperAuroraBorealis: instead of the bzr+ssh protocol08:14
AuroraBorealisdoh08:14
AuroraBorealiswell i'll do that after it finishes08:14
AuroraBorealisdoes it not need my password?08:16
thumperAuroraBorealis: it needs an ssh key on LP08:16
AuroraBorealisyeah i have that08:16
thumperthen you're good08:16
AuroraBorealisbut i just typed launchpad-login <username> and it didnt output anything08:16
=== AuroraBorealis is now known as aurora|game
aurora|gameit seems to be working. thanks =)08:19
gouraurora|game: have you tried github's bug tracker?08:22
* gour grins :-)08:22
AuroraBorealis_sorry gour , no i have not, is it crappy?08:47
gourAuroraBorealis_: i'd say, yes08:49
gourit cannot compare with LP's features08:49
AuroraBorealis_haha08:50
AuroraBorealis_cool.08:50
AuroraBorealis_im just experimenting with a lot of stuff. I like bzr cuase i can host my private code (stuff for school) on my own server and stuff08:51
gourAuroraBorealis_: i used darcs for many years, tried hg, touched git, played with monotone and recently used fossil, but now i'm moving to bzr which is simply the most intuitive & complete dvcs ("..for human being.")09:00
AuroraBorealis_hehe09:04
AuroraBorealis_yeah, i like it09:04
AuroraBorealis_plus its python, git seems to be very linux centric.09:05
gourdarcs was(is) great tool, but it does not have LP or any similar, even less featured, public hosting solution09:05
AuroraBorealis_never heard of darcs09:05
gourgit looks to me as a big hack, without real design behind it...monotone is nicely designed, but it's niche09:06
AuroraBorealis_i installed git09:06
AuroraBorealis_and it installed a shitty ssh.exe to my path which screwed up bazaar09:06
gourAuroraBorealis_: http://darcs.net/ it has patch theory and it's quite different and very intuitive09:06
gourbzr is 'sweet spot'09:06
AuroraBorealis_yeah =)09:07
=== AuroraBorealis_ is now known as AuroraBorealis
jelmergour: still there?09:45
jelmergour: those two bugs you mentioned are unrelated to the issue you're seeing09:45
gourjelmer: yeah, i'm here09:46
gourhmm09:47
gourlast one is relevant?09:47
jelmergour: they're indeed UnicodeDecodeError tracebacks too, but raised from a different location09:47
jelmergour: the bzr-explorer one?09:47
gouryes09:48
gourso, it looks all are from different locations, but same symptoms09:50
* gour was pointed at the right one - https://bugs.launchpad.net/bzr-explorer/+bug/73534909:54
ubot5Ubuntu bug 735349 in Bazaar Explorer "UnicodeError while converting BzrError to unicode" [High,Confirmed]09:54
gourahh...wrong one09:55
gourthis one is correct: https://bugs.launchpad.net/bzr/+bug/71554709:55
ubot5Ubuntu bug 715547 in Bazaar ""bzr add" crashed ERROR: exceptions.UnicodeDecodeError" [Medium,Confirmed]09:55
=== zyga-afk is now known as zyga
spivmaxb: around?10:31
jelmer'morning spiv10:31
spivGood evening jelmer :)10:34
gourseeing that SF has support for web pages and wiki, i wonder what do you think about LP vs SF for hosting projects under bzr?10:53
spivDepends on what your project needs.  You can always use both of course!10:54
spivI find the SF bug tracker to be much, much worse than LP's.10:54
gourproblem is that LP does not have neither space for web page nor wiki10:56
fullermdNot only that, it doesn't even provide CVS.10:56
spivSure.10:57
gouri do not worry for lack of CVS :-)10:58
spivIt is an issue for many projects.  Some are small enough that a link in the project description to the contents of the README file in bzr is plenty, and some are large enough that they have their own website anyway.  But there's a big set of stuff in between those that want that sort of feature, and LP doesn't yet cater well to that.10:58
gourbut LP is the only one from {github,bitbucket, google,sf,lp} missing wikis10:58
spivSure.  We know.10:59
spivPretty much everyone thinks LP should have them too, including the LP dev team I think :)11:00
gourand the 'bug' is quite old already11:00
spivRight.  The paid LP devs are already pretty busy with other work: <https://dev.launchpad.net/RoadMap>11:01
spivBut if someone were to help write the necessary bits I'm sure it'd be welcomed!11:01
gourlack of wiki is turning many people to 'competition' which is sad11:02
spivIt would be nice to have, but getting free or cheap webhosting elsewhere for those bits isn't too hard, so I understand why it isn't an urgent priority for the LP team.11:02
spivIs it?11:03
gouri believe it is...having code on one site, tracker on another, wiki on the 3rd...not pretty11:04
gourconsidering that other hostings have all-in-one11:04
gour{github,bitbucket, google,sf} probably support wiki with a good reason ;)11:04
lifelesswiki != webhosting fwiw11:08
gourlifeless: i'd be satisfied with just having wiki on LP11:08
lifelesswell, its getting specced at the moment11:09
lifelessits still ill defined what that actually means11:09
goureven just to render sphinx-generated pages11:09
gourlifeless: why don't you inspect what's offered at {github,bitbucket, google,sf} instead of reinventing the wheel11:10
lifelessgour: uhm, we have and are?11:10
spivgour: what makes you think that's not happening?11:10
lifelessgour: they all have quite different offerings11:10
lifelessgour: and none of those commercial, proprietary services have been kind enough to share their user and market needs analysis with us.11:11
gourthe point is the many people/projects would like to have wiki, that's why {github,bitbucket, google,sf}  have it...it's only question to adjust to the LP11:12
gourhere i'd say that "even blind uncle" applies11:12
spivgour: if it's that easy, then please go ahead and do it!11:12
spivgour: it's open source, and patches are certainly welcome.11:12
gourit's not that the rest of LP is perfect in the 1.0 release11:13
gourspiv: i do not have neither required skills nor time to work on it...wikkid is a project launched for that purpose, afaik11:13
spivgour: Ok.  Apparently no-one else has had the skills and time yet either, though.11:14
* gour is thankful to have free LP, but lack of wiki might move me to SF11:14
spivWhich, as one of those people who also lacks the time, I completely understand!11:15
gourspiv: pls. don't think i am criticizing LP...just want to improve it...because, let's face it - less LP customers also means less bzr ones11:15
lifelessgour: we want it, but we want it done well. Getting a free wiki with links to it from LP is -dead- easy - heck we even model links to the wiki in LP today.11:15
fullermdI note that when I put a project on SF, I don't think it had any wiki support.  And I think it's had 3 different wiki generations since then.11:16
gouri strongly believe github is not popular just because of git11:16
spivgour: I agree, github does many things quite well11:17
gourfullermd: how are you satisfied with SF & bzr?11:17
fullermdWell, I've never yet used bzr on SF.  My project there is in CVS   :p11:17
lifelesswe're not short on desire, we're short on elbow grease; doing a system that will run 20K wikis with no page renders over 5 seconds and 99% under 1 second, no single points of failure and embeddable in the same domain [so entirely xss free] is -nontrivial-11:18
maxbspiv: Now I am11:18
fullermdTheir docs on bzr aren't seemingly maintained at all.  Last I looked, they still said they support bzr 1.10, when it was easy to tell they were running 2.1 or 2.2.11:18
spivmaxb: oh hey, I was just having a temporary thinko with the kde-l10n-* command11:18
spivmaxb: it's requeued now, although I see kde-l10n-th has developed a new and interesting failure11:19
spivPerhaps an empty bzrdir on LP or something as a remnant of the previous failures?11:19
* maxb looks at kde-l10n-th and thinks "WTF!?"11:20
gouraccording to wikipedia, github was launched in feb 2008, and wiki 'bug' at LP is from june same year11:21
spivmaxb: previous line in log is about opening the working tree for kde-l10n-th/karmic-backports11:21
lifelessgour: yes, the desire has been around a while11:22
spivgour: I'm really not sure what your point is?  LP does many things github doesn't, like PPAs11:22
spivgour: because while they may have overlapping goals, they also have differing ones too, and accordingly differing priorities.11:23
gourspiv: aren't PPAs rlevant only for Ubuntu?11:23
spivgour: they're pretty relevant to where the LP dev spend their time as well :)11:23
gourspiv: maybe only to change priority from Low :-)11:23
spivgour: see https://dev.launchpad.net/BugTriage#Importance11:24
lifelessgour: low is accurate: we're not going to try and make this happen using paid developers in the next 6 months. And as priorities change, we don't try and assess priorities more than 6 months out.11:25
gourspiv: Low - We mark as Low any bug that we recognise as legitimate but that we have no plans to fix.11:25
spivgour: right — and the paid LP team doesn't plan more than 6 months in advance.11:25
spiv(Not in this sense, at least)11:26
lifelesshmm, I think thats confusing11:26
lifelessso I will edit11:26
gourand it's already 3years...the whole point, and here i can stop from my side, is that lack of wiki at LP causes harm to the LP & bzr since people/projects needing one go to {bb,github.sf, google}...11:27
* gour is researching about SF now...11:28
spivgour: sure, but so do all the other bugs and missing features of LP11:28
spivgour: and so far it's been the opinion that those are even more important to address using the finite resources available11:28
spivYour opinion is obviously different, but stating it here isn't going to change matters.11:29
gourone of the first hits - http://amanica.blogspot.com/2011/05/bazaar-on-sourceforgenet.html11:29
gourspiv: i'm aware of it and won't discuss it any longer11:30
spivYou could try to advocate for it on the launchpad-dev list perhaps.  If you present evidence that it really is a huge factor in driving potential users away that would be useful I think.11:30
spivmaxb: those kde-l10n-* are failing due to branches on LP that are just empty directories, not even a .bzr dir.  I guess we try deleting them from LP and requeuing.11:42
EM03why bzr over git?11:42
EM03git is faster? I mean whats a killer feature?11:43
spivMany people find it nicer to use.11:43
EM03an example?11:43
Riddellpoolie: I still can't access jubany, what's the rt URL to complain on?11:49
gourEM03: git help log vs. bzr help log ;)11:49
EM03hehehe11:49
EM03i know git very well and its quick just curious why one would choose bzr11:50
gour"it's for human being"11:50
EM03can i have an example were thats true?11:50
EM03(not saying it isn't)11:50
gouri'm spoild by darcs ui, and bzr is quite pleasant to use...with git one has to think too much about the tool11:51
gourgit's ui, model...11:51
gourEM03: have you tried monotone?11:51
goure.g. i tried to become power user of orgmode, but it required too much time...otoh, taskwarrior was so intuitive...same with git vs. bzr11:53
gourEM03: otoh, if you like git, be free to continue with it ;)11:53
maxbspiv: Right - if only all the failures were that easy :-)11:53
EM03gour: not that I'm in love with it just want to see se bzr is better :P11:54
gourEM03: just try to use it for some time and don't think that some extra ms are worth the effort to think how to avoid shooting one's own feet ;)11:56
EM03oh gour , you make it sound so easy11:56
gourEM03: on which platform you are?11:56
gourEM03: http://doc.bazaar.canonical.com/bzr.dev/en/mini-tutorial/index.html11:57
gourand http://doc.bazaar.canonical.com/bzr.dev/en/tutorials/tutorial.html11:58
* gour was playing with bzr when changing the format was the rule :_)11:58
spivmaxb: still failing; but updated11:58
spivs/but/bug/11:58
maxb"There is already a branch merge proposal registered for branch lp:~ubuntu-branches/ubuntu/hardy/kde-l10n-th/hardy-201106020937 to land on lp:ubuntu/hardy/kde-l10n-th that is still active."11:59
jelmergour: we still seem to have that image, while in fact the last change of the default format was quite some time ago (2 years?)12:00
gourjelmer: yeah, labelling is hard..just ask lightttpd guy about memory leaks12:02
gour*guys12:02
fullermdFunnily enough, every time I use monotone, I get another round of "sorry, I can't do anything until you 'mtn db migrate' to update the database structure".12:03
gouri'm also tired about git's tspeed-talk as it's the only relevant feature of dvcs12:03
maxbtspeed-talk?12:03
gourspeed-talk12:03
gourfullermd: heh, foosil borrowed some stuff from mtn12:04
gour*fossil12:04
maxbWell, in fairness to git, there are some applications where I'd rather use bzr, but am compelled to use git for the performance12:04
* gour cannot type properly... :-/12:04
lifelessmaxb: you know jam will fix those :)12:04
* gour does not work on kernel-sized projects ==> no need for git12:04
* maxb is keeping the revprops tree of a Subversion repository with >1 million revisions in Git12:05
maxbbzr doesn't really like a tree with >1 million files and 1.9GB in size12:05
lifelessmaxb: hmmm, it should handle it12:06
lifelessmaxb: the dirstate would be sizable12:06
maxbIt probably can handle it, but not quickly enough to be palatable for a human user12:06
maxbEven git is far from instantaneous on a tree that size12:07
lifelesssure12:07
lifelessfile a bug ?12:07
lifelessgnight all12:07
maxbA bug on "Performance on big trees does not compare favourably to Git" feels a bit like bug12:09
maxbA bug on "Performance on big trees does not compare favourably to Git" feels a bit like bug 112:09
ubot5Launchpad bug 1 in Ubuntu "Microsoft has a majority market share" [Critical,In progress] https://launchpad.net/bugs/112:09
maxbjelmer: You seem to have push --overwritten me in pkg-bazaar/bzr/2.4 :-/12:12
lifelessmaxb: 'bzr takes 60 seconds to st a 1M file tree with hot cache'12:12
lifelessmaxb: you don't need to say git in there at all12:12
maxbfair enough12:12
jelmermaxb: Yeah, sorry about that - I'd already done the merge locally too, with some additional changes and there weren't any other changes than the merge12:19
jelmerI tried merging your branch, but I got conflicts on the generated files so I opted to --overwrite instead12:20
maxbUnfortunately those revisions are already merged into the beta-ppa branches12:33
maxbI guess I'll sort out a merge12:34
jelmermaxb: sorry, I hadn't realized it was there as well12:38
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
denihi guys15:47
denican anyone tell me how to start the freaking olive gui? i installed bzr-gtk which should be the package for olive15:47
maxbNot any more. Olive has been split from bzr-gtk and is now a wholly separate project15:53
denimaxb: can i find it debain repos?15:54
maxbI am uncertain whether it has been packaged15:56
maxbI'd search on the BTS, but bugs.debian.org seems to be down right now15:56
jelmerI'm pretty sure it's not packaged15:56
maxbhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=59870315:57
ubot5Debian bug 598703 in wnpp "RFP: olive-gtk -- Graphical frontend for Bazaar" [Wishlist,Open]15:57
denion the main page it says i can install it via leeny-backports15:57
denii tried to install bzr via squeeze backport and i don't think it installed any gui frontends15:58
jelmerdeni: it should install a olive-gtk executable in /usr/bin15:59
denijelmer: nope16:00
denialso it can't find it in the repos16:00
jelmerdeni: it's there, see http://packages.debian.org/lenny/all/bzr-gtk/filelist16:01
denii hva the bzr-gtk package16:02
deni]don't know how to start that though16:02
deniautocomplete says there is no olive or bzr-gtk app16:02
jelmerdeni: it's not in squeeze, you need the lenny package16:03
denijelmer: still not luck16:06
denimeh16:06
deniwill try tomorrow16:06
denithank for your help16:06
jelmerdeni: see that page, it's definitely there in the lenny package16:06
denijelmer: ok, tnx16:07
jelmerdeni: that said, I'm not sure if it will work with newer versions of bzr, for example16:08
jelmeryou might have more luck just pulling down the source from lp:olive16:08
Riddelljam: able to take another (hopefully final) look at https://code.launchpad.net/~jr/bzr/598572-zlib-error/+merge/62966 and https://code.launchpad.net/~jr/bzr/707274-commit-message-hook/+merge/62334 ?16:11
jelmerhi Riddell16:34
jelmerRiddell: It's ascension day here in .nl, IIRC John is away for the next couple of days16:34
Riddellah, religion leaving us without a patch pilot16:35
ovnicrafthello i am testing a bzr oodifff plugin i get this error: http://pastie.org/200913016:40
ovnicrafti cant fixed so i see is based in bzr api16:40
ovnicraftany hits to fixed ?16:40
ovnicraftfix it ?16:40
ovnicraftits in your doc http://doc.bazaar.canonical.com/plugins/en/oodiff.html16:43
jelmerRiddell: reviewed the zlib error MP16:45
jelmerovnicraft: hi16:45
ovnicraftjelmer, hi16:45
ovnicrafti see in that plugin is trying to use get_default_plugin_path()16:46
ovnicraftjelmer, can you help me  ?16:47
Riddelljelmer_: what does it mean if you approve it in your review but the status is still Needs review?16:59
maxbUsually means the reviewer forgot that LP's review model has that distinction :-)17:06
jelmer_Riddell: what Max says, it means I'm stupid :)17:10
Riddellgroovy, I'll self approve17:10
=== jelmer_ is now known as jelmer
ovnicrafthello i have this error with my oodiff plugin http://pastie.org/200930317:16
ovnicraftbzr needs any explicit configuration with ASCII ?17:17
jelmerovnicraft: that looks like a bug in the plugin17:17
jelmerovnicraft: please file a bug against the bzr-oodiff project17:17
jelmerhmm, it doesn't appear to have been touched since 2009 :-/17:18
ovnicraftjelmer, yes17:18
jelmerRiddell: ooh, that builddeb hook is neat17:18
ovnicraftand i want to support it17:18
ovnicraftjelmer, method implemented is working now17:19
ovnicraftjelmer, you can see the method http://paste.pocoo.org/show/399537/17:20
jelmerovnicraft: I think you need to pass in plain strings to the diff function17:21
jelmerthe XML document probably contains unicode strings, which you'd have to encode (to utf-8, perhaps?)17:22
ovnicraftso i need encode to utf-8 my files ?17:22
jelmerno, in bzr-oodiff before you call text_differ(), you need to encode the strings you pass to it17:23
jelmerfrom_text = [l.encode("utf-8") for l in from_text]17:25
ovnicraftso with utf-8 files encoded is working ok17:26
jelmercool :)17:26
ovnicraftnow will apply your changes and see waht happen17:27
ovnicraftwhat*17:27
=== deryck is now known as deryck[lunch]
dcolesHm. Here's a bit of a worrying one. Should bzr-svn ever eat a svn revision.19:16
dcolesAs in running svn log on trunk shows the revision yet bzr log doesn't.19:16
jelmerdcoles: there's an open bug report about that - it's fixed in zbr-svn trunk19:17
jelmerat least, if I think it's the issue I think you mean19:18
dcolesBasically the svn revision appears invisible to bzr-svn (I can't -rsvn:# it)19:18
dcolesIt resulted in a rather interesting "Why did you revert my change. I didn't revert anything. You never made that change" *grin*19:19
dcolesI'll try trunk.19:20
jelmerdcoles: it's a race condition19:21
jelmerdcoles: upgrading to trunk won't fix the earlier revision, but it will prevent the race in the future19:21
dcolesWas that lp:51585019:33
dcolesBug #51585019:33
ubot5Launchpad bug 515850 in Bazaar Subversion Plugin "Revisions added while a commit is happening are ignored" [High,Fix committed] https://launchpad.net/bugs/51585019:33
jelmeryep19:33
=== gour1 is now known as gour
=== deryck[lunch] is now known as deryck
=== yofel_ is now known as yofel
jjohansenI have been trying to setup a git clone of a bzr tree and have run into a problem.  Basically the tree has some tags with ~ in the name which git doesn't like21:06
jjohansenis there any way to work around this?21:07
rattasakHi, I just started using bazaar and believe i am misunderstanding something about shared repositories.  i have a project with code files in ~/projectA.  i create a repo on a mapped network drive by using 'bzr init-repository --trees /drive/repo' and then create an branch for the project i want to track in the repo using 'bzr init /drive/repo/projectA'23:12
maxbjelmer: https://code.launchpad.net/~dulwich/dulwich/unstable mirroring has stopped due to the failure of alioth. Could you update the URL to include a /bzr/ path segment and restart it?23:13
rattasaki then do 'bzr checkout /drive/projectA projectA'23:13
rattasakadd and commit the files in that working directory using bzr add and bzr commit23:13
rattasakbut when i check the repo at /drive/repo, i don't see a working tree there23:13
maxbOk, so a couple of things23:14
maxbFirst, why would you even want a working tree on a shared drive?23:14
maxbSecond, the act of sending revisions to a remote branch does not cause its working tree to be updated.23:14
rattasakah, reliability of the network drive is a slight issue atm so i would like to have a working copy there in case the history files get corrupted during the push (which is something i'll fix with the network drive soon and is not ideal)23:15
rattasakah23:15
rattasakdoing a commit locally on something that was checkouted does a puch to the corresponding remote branch right?23:16
rattasakpush*23:16
maxbYes23:16
rattasaki see23:16
rattasakis there a set of conditions or a command to explicitly update the remote working tree?23:18
maxb"bzr update"23:19
maxbhttps://launchpad.net/bzr-push-and-update may be of interest to you23:19
lifeless(run on the remote machine)23:19
maxbAlthough I'm not sure it will work with a checkout, from its description23:20
rattasakaaah gotcha, bzr update within the repo's working tree then (e.g. /drive/repo/projectA)?23:20
maxbYes23:21
rattasakaah great!  just tried it out.23:22
rattasakthanks for both of your guys help23:22
maxbAlthough, as a backup methodology, I think you would be better off setting up an automatically updated copy of the *branch* elsewhere23:22
rattasakah i see23:22
rattasakmaybe do a sync instead of the local working directory?23:23
rattasaksync with an external program i mean23:23
maxbIt is usually a lot better to use "bzr push" or "bzr pull" than an external program23:23
maxbYou cannot guarantee that an external program will do the right thing if the source is being written to23:24
rattasakpush to a standalone branch stored elsewhere?  (if standalone branch means something not stored within a repo...i am migrating from hg so my terminology is a little mixed up)23:26
maxbYes (and yes, that's what a standalone branch is)23:28
rattasakah ok.  thanks for your help clearing that up for me.23:29
pooliehi all23:31

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