/srv/irclogs.ubuntu.com/2008/08/08/#bzr.txt

lifelessah yes, we're not doing the original merge sort anymore00:00
lifelesswell we're doing the same order but different numbers?00:00
jamlifeless: right, same ordering00:00
jamnew root nodes would post-increment the branch counter00:00
jamwhile new intermediate nodes would pre-increment it00:00
jamso there are 2 "0.8.1" revisions right now00:01
lifelessI read the patch :)00:01
jamlifeless: We also should have a fix for ghosts00:01
jamFor the immediate work, I'm replicating bzr.dev00:01
jamand pre-filtering ghosts00:01
igcpoolie: awake now00:02
lifelessby fix you mean: a ghost should reserve a revno for itself' ?00:02
jamlifeless: right00:02
jamAt least, that is my idea00:02
jamI could implement it either way00:02
lifelessI think thats wrong - because there is an unknown quantity of revnos to reserve00:02
lifelessone is no more or less correct than 0 or 5000000:03
lifelessand as it is a ghost we have no information to show about it in log etc00:03
lifelessactually, by wrong I mean no more correct than our current behaviour.00:03
Odd_Blokejam: Well, yes, but that's not the sort of job I can get a mortgage with. ;)00:04
jamlifeless: I sort of understand your point, but there is also: http://rafb.net/p/hfnZd187.html00:04
jamAssume 'C' is a ghost in both cases00:04
jamIn the latter, a spot is reserved for 'd'00:04
lifelessD is not a ghost right?00:04
jamlifeless: correct00:04
lifelesswhat revno does D get today00:04
jam0.1.100:05
jamtoday00:05
lifelessand you are saying it should get 0.1.200:05
lifeless?00:05
jamlifeless: yes00:05
jamC would be 0.1.1 in both cases00:05
lifelessbut what if theere is F, a parent of C in both cases00:05
jamlifeless: obviously we can't go into nodes that we haven't seen at all00:05
jamparents of ghosts00:06
pooliegood morning igc :)00:06
jamI *can* mimic current behavior00:06
jamit just turns out to be *more* work00:06
lifelessI don't see what paste as an argument for or against; one graph isn't a subset, theres no reason for numbers to be stable00:06
jamAnd I'm hesitant to write tests that require it00:06
jammorning igc00:06
poolieit's desirable they be stable across releases00:06
igchi jam, lifeless00:07
lifelesspoolie: we've violated that so hard that integer is seeking a restraining order on bzr00:07
jampoolie: well, they are already going to change as of today :)00:07
jamthough not dramatically00:07
lifelessjam: I'm all for doing less work; but I'd justify it on that basis not on correct, as correct is ... vague here00:07
jamjust removing a bug for it00:07
jamlifeless: sure, I suppose I'm a bit concerned about knock-on effects00:09
jamright now, because we prune ghosts00:09
jamthe next layers don't worry about whether 'get_revision()' could fail00:09
lifelessI'd expect log to fail00:09
lifelessetc00:09
jamthough, I have gotten the feeling we've been trying to push ghost handling further up the stack00:10
lifelessjam: we want to stop hiding bugs00:10
lifelessfor instance a ghost on the mainline should be supportable00:10
jamSo 'bzr log' could just show that there is a known revision_id, even if it doesn't know the info00:10
jampoolie: the one "savior" here, is that it is only changing the "0.X" numbers00:11
jamthe rest of the numbers are stable either way00:12
jam0.X.Y, I guess00:12
jamI guess I'll stick with the current scheme, going via the "principle of minimal change"00:13
jamI might just comment out those tests00:13
lifelesserm00:14
lifelessdelete00:14
lifelessor fix00:15
lifelessplease00:15
jamanyway, enjoy your day00:17
lifelessyou too00:19
lifelessI'm wowing tomorrow FWIW00:19
lifelessjam: do we nest branches as deeply as the original merge_sorted did ?00:24
lifelessoh wow WT.remove is crufty00:43
* igc bbl01:18
rockyjelmer: you use trac-bzr much?01:56
lifelessjam: ping; an ack on my reply-to-the-annotate-patch would be nice02:07
laszloklifeless: ping02:21
lifelesslaszlok: hi02:22
laszlokre the jokosher email, what does remixing mean?02:23
lifelesschanging things around02:23
lifelessif you're happy with the branches and tags you have today, then you don't need to change stuff - just convert systems02:24
* jdong resists temptation to turn "remixing" into a Barack Obama energy plan jab....02:24
laszlokbasically branch refactoring02:25
lifelessyup. its much more complex to do that; but I got the impression from your mail that you had something other than a direct switch in mind02:25
laszloknot particularly, i think as long as all out svn branches come out as separate bzr trees it should be okay02:27
* laszlok checks the stale branches in the svn repo02:27
lifelessyes, they should02:27
laszlokso the svn import will automatically split them up into different repos02:28
lifelessif you install bzr-svn and just run bzr svn-import SVN_REPO_ROOT /tmp/svn-conversion02:28
laszlokdifferent repos with the same parent02:28
lifelesswe'll know soon enough02:28
lifelesssvn-import can be run incrementally so you could do this somewhere more persistent than /tmp too :)02:28
laszloklaunchpad it currently mirroring the svn trunk, is there a special way to import it, or is it just a simple push?02:29
lifelessthis will supercede the launchpad mirror02:29
lifelesswe'll end up with a bunch of branches - you can push some or all of them to launchpad, owned by you, or by a jokosher team if you have one02:30
lifelessand we'd turn off the launchpad mirror of svn trunk02:30
emgentbeuno: ping02:46
laszloklifeless: i did the svn-import with the repositiory root, but all the branches and tags directories are now in the bzr branch :/02:53
lifelesslaszlok: really? It should create many branches in a shared repository02:53
laszlokhow do i get a list of branches in the shared repo02:54
emgentbzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required)02:55
emgentsome idea?02:55
emgenti'm on intrepid.02:55
emgentssh-add dont work.02:55
lifelesslaszlok: 'bzr branches'02:55
lifeless(or just ls :))02:55
laszlokyeah there are none02:55
lifelesslaszlok: how big is the output directory?02:55
lifelessand whats the jokosher svn url02:55
laszlok26MB, and when i do a branch of the shared branch the files appear02:56
laszlokdo the branches/ and tags/ dirs have to be at the top level?02:56
lifelesslaszlok: I'll defer to jelmer: on that;02:57
laszlokcause in jokosher we have modules with separate branches and tags folders02:57
lifelesswhats the svn repo url ?02:57
laszlokmaybe that confused it02:57
laszlokhttp://svn.jokosher.python-hosting.com02:57
lifelessI was fairly sure that this is a common layout bzr-svn understands02:59
lifelessoh except -art and -extra are different02:59
laszlokright because they don't release02:59
laszlokstupid historical reasons03:00
lifelessso you want four projects essentially?03:00
laszlokif we can just get JonoEdit converted, that will be enough03:00
laszlokgst-chanplit is in gstreamer-cvs now, and the other two are just files. ie no history needs to be saved03:01
lifelessok03:01
laszloklaszlo@sescento:~/Software/svn/bzr-jokosher-convert$ bzr st03:02
laszlokbzr: ERROR: No WorkingTree exists for "file:///home/laszlo/Software/svn/bzr-jokosher-convert/.bzr/checkout/".03:02
laszlokif i branch from bzr-jokosher-convert, then i have a proper working directory03:03
laszlokstrange03:03
lifelesslaszlok: the converter doesn't create working trees because you can end with with gb's of data that way03:06
lifelesslaszlok: imagine a svn repo with several thousand branches/tags03:06
lifelessmaybe all of them are shared history03:06
laszlokokay, but doesn't svn do the same thing when you checkout the entire repo?03:07
lifelesssvn will create working trees because all the svn commands to get data locally are working tree centric03:09
lifelessso svn checkout some-root will indeed give huge downloads and huge disk usage03:13
lifelessthis isn't really a feature03:13
laszlokokay its getting late. thanks for you help lifeless, i will try to see why it isn't splitting the branches tomorrow03:26
lifelesslaszlok: gnight03:27
ToyKeeperIf I merge in an unrelated branch and it adds a file with the same name as a previously ignored/unversioned file, is there a way to make bzr not treat it as a conflict?03:35
ToyKeeperOr, at least, not report a conflict if the files are identical?03:35
spivToyKeeper: Well, you can just do "bzr resolve FILE" manually after the merge.03:39
ToyKeeperYeah, I do.  It just seems odd to conflict when the files are identical.03:39
ToyKeeper... just running some experiments for keeping $HOME in bzr.03:40
spivI know what you mean.  bzr is being conservative and so assumes they have different identities in that situation, regardless of content.03:40
ToyKeeperI think I'll probably stick with my current svn-based home repo, but it's interesting to find ways to do similar things in bzr.03:42
spivIt would probably be fairly easy to write a plugin to add a "resolve-harder" command that would notice that situation and auto resolve them for you.03:42
ToyKeeperI'm using externals and partial checkouts and symlinks extensively in svn, so the approach is rather different with bzr.03:43
jelmerlaszlok, bzr-svn should be able to deal with branches/tags at non-top-level03:43
spivMaybe bzr should deal better with that case natively, although "unversioned file with same contents as added-by-merge file" does sound like a fairly rare case.03:44
ToyKeeperspiv: Yeah, pretty uncommon.  I had never encountered it until I tried to do something funky.  :)03:45
spivIt's also a bit confusing I think how bzr can have conflicts involving unversioned files; I've seen that surprise people (mainly in the context of the 'bzr up causes weird merge-conflicts-conflicts' bug)03:46
lifelesslaszlok: it worked for me:03:46
lifeless$ bzr branches repo03:46
lifelessJonoEdit/branches/0.103:46
lifelessJonoEdit/branches/0.203:46
lifelessJonoEdit/branches/0.903:46
lifelessJonoEdit/branches/Elleo-SoC03:46
lifelessJonoEdit/trunk03:46
ToyKeeperIt's not very well-suited to tracking $HOME.  I love bzr for most purposes, but it's not as good as svn at being a versioned filesystem with different views on every checkout.03:46
lifelessgst-chansplit/trunk03:46
laszloklifeless: what command did you use for conversion?03:47
lifelessbzr $ cd /tmp/03:48
lifeless$ mkdir jokosher03:48
lifeless$ cd jokosher/03:48
lifeless bzr svn-import http://svn.jokosher.python-hosting.com repo03:48
ToyKeeperHmm, this still isn't fixed.03:52
ToyKeeperw3m -dump http://www.jokosher.org/ | grep -i viagra | wc -l03:52
ToyKeeper1803:52
lifelessoh yay hackage lol03:56
laszloklifeless: before it was copying x/1500 revisions, now its doing x/1391. So its not copying the entire repo03:56
laszloki guess it working now03:56
lifelesslaszlok: you might want to edit that homepage03:57
lifelesslaszlok: to remove the advertising spam :P03:57
laszlokToyKeeper: yeah we know but jono is too lazy to do anything about it03:57
lifelessoh, only jono can edit ?03:57
laszlokyeah its on his host03:57
lifelesshah!03:57
laszloki dont think hes upgraded his wordpress in a while either03:57
lifelessmailed him a nag03:58
laszlokjust reading the chan topic, was there a bitkeeper->bazaar converter before, or was it special for mysql?04:03
lifelessthere were some tools that could poke at bitkeeer04:04
Stumblesi'm storing some php files in a bazaar branch and publishing it via my http on my website. Was surprised to see that you could use "bzr branch" to get the php files without them being executed. How does that work? If I try to get the php file, say with wget, it gives me the output of the php script.04:22
spivbzr branches are stored in special files in .bzr/ directories, rather than just as the original files.04:24
Stumblesoooooh right, confusing the working-copy/repository issue04:24
Stumblesthanks spiv04:24
spivRight.04:25
Stumblesjust got a bit of a fright that I might have been overlooking something that allowed people to download all my .php database config files ;)04:25
beunoemgent, pong05:02
laszloklifeless: i think i found the problem; there was a branching-scheme = single-JonoEdit in the ~/.bazaar/subversion.conf from a previous checkout05:10
lifelesslaszlok: that would do it05:11
emgentbeuno: i saw your bzr-upload05:14
emgentseems very good plugin :)05:14
emgentare you packaging it ?05:14
beunoemgent, thanks :)   jelmer has packaged it05:14
beunohe's looking for a sponsor to get it into Debian05:14
emgentoh nice!05:15
emgentI was thinking but now is ok :)05:16
emgents/but/to package it but/05:16
beunoemgent, cool, thanks anyway.  There may be other bzr plugins in need of packaging05:16
beunoemgent, seems I found a sponsor, and it's being built now!05:20
beuno(talk about coincidence)05:20
emgentnice :)05:21
beunoemgent, if you could request the sync into intrepid once it's uploaded, that would be great05:21
emgentuhm.. but debian NEW package need FTP master work :)05:21
emgentbeuno: sure will do when i see it in debian :)05:22
beunoemgent, yeah, and it's debconf now, so it will take a while05:22
emgents/see/will see/05:22
emgenttrue :)05:22
emgent~1 month05:22
emgenthhehehe05:22
* beuno crosses fingers05:22
emgentDebian FTP Masters are very slow :)05:22
beunoyeah, and even more so if they're full of bear on a beach in winter05:23
emgentheheh true :)05:23
mxpxpodcan bazaar do partial branches?05:45
beunomxpxpod, partial as in history or as in files?05:46
mxpxpodas in files05:46
mxpxpodlike, if I just want to grab one directory out of a branch05:46
beunoyou can't currently do that, no05:47
mxpxpodis support for it coming?05:47
lifelessmxpxpod: yes05:47
mxpxpodlifeless: is there a blueprint for it?05:47
beunoVerterok, ping05:48
Verterokbeuno: pong05:48
beunoVerterok, hi!  Just saw you released xmlouput 0.5. Cool!   Just one thing, did you maybe link it incorrectly on the wiki?05:48
Verterokbeuno: let me check05:49
Verterokbeuno: yeap, copy & paste madness :P, thanks for pointing it ;)05:49
beunoVerterok, :)    I wasn't sure which part was mixed up05:50
Verterokbeuno: fixed now05:51
beunoVerterok, thanks05:51
Verterokbeuno: actually, thank you :)05:52
mxpxpodlifeless: because I'm not seeing anything on it05:52
lifelessmxpxpod: the concept is called 'views' and Ian Clatworthy has been doing most towards it05:55
* beuno heads to bed. Have to go pick up someone at the airport in 5 hours :/05:55
mxpxpodlifeless: ok, thanks05:55
lifelessnight beuno05:56
beunog'night lifeless!05:56
beunohave a good weekend05:56
lifelessyou too05:57
beunoVerterok, we should meet up soon and get the automatic testing on it's way  ;)05:57
Verterokbeuno: indeed05:58
Verterokbeuno: there are big chances that I'll be offline during saturday, maybe I can start hacking a proof of concept :)05:59
lifelessauto testing?06:00
beunolifeless, we're planning to setup a server which auto-updates and runs the full test suite against all the plugins06:00
beunoget reports06:00
lifelessbeuno: thats a good idea06:01
beunoand maybe send them to the list, if people don't get annoyed by them06:01
lifelessbeuno: can I suggest separately running the set that my patch bundles?06:01
lifeless(Preferrably by doing the bundling action and seeing what works)06:01
beunolifeless, so, full test suite, and then just the plugin's?06:01
beunowe want to catch plugins that break bzr, and plugins that bzr breaks06:02
lifelessthe full test will include the bundled plugins06:02
lifelessbeuno: you saw the patch I'm referring to right?06:02
beunolifeless, nope, not that I recall06:02
Verteroklifeless: that  sounds like a good start point, and from there start adding extra plugins :)06:02
lifelesspls wait for BB06:03
lifelesshttp://bundlebuggy.aaronbentley.com/project/bzr/request/%3C1217210104.21600.106.camel%40lifeless-64%3E06:03
lifelessthat patch06:03
lifelessubottu: please be learning about bb, kthxshutup06:03
ubottulifeless: Error: I am only a bot, please don't think I'm intelligent :)06:03
lifelessubottu: hey, I told you to shutup alread06:03
ubottulifeless: Error: I am only a bot, please don't think I'm intelligent :)06:03
beunolifeless, ah, I understand. The more "official" plugins06:04
beunoor the ones that will be bundled, so we need to pay more attention to06:04
lifelessbeuno: well specifically - *what the tarball will have and how it will install*06:04
lifelesswhich is different from taking the list, installing from the plugins own installer06:05
beunolifeless, ok, sounds like a good idea. From the looks of it, they just get copied, instead of being installed.06:07
lifelessthey get copied into the tarball; and then the bzr installer copies them out again yes06:07
lifelessthats the open bug in the patch discussion in fact :)06:07
lifelessnow, if someone wanted to fix that ... that would rock :)06:08
beunoVerterok, we'll ping-pong over the weekend then, and see where we get, and when you're free06:08
beunolifeless, the bug being the individual setup's don't get run?06:08
lifelessyes06:08
lifelessmost plugins won't give a rats06:08
lifelessbut some will06:08
lifelessso we need to figure out how to do that gracefully06:08
beunook, we'll see what comes out of it  :)06:09
beunoI'm really off now06:09
beunonight!06:09
Verterokbeuno: tomorrow I'll be at home..06:09
Verterokbeuno: g'night06:10
lifelessbeuno: btw06:18
lifelessbeuno: I've just done partial tree exports06:18
marianomhi everyone, good night (at least here)06:30
marianoma little question if you don't mind06:30
marianomI was committing a change to LP, interrupted it by mistake and now I get a lock: http://paste.ubuntu.com/35401/06:31
marianomI don't know how to break it. can anyone suggest a way out?06:31
lifelessmarianom: bzr should have broken the lock when you hit ctrl-C, unless you were physically interrupted?06:32
lifelessanyhow, bzr break-lock URL06:32
marianomlifeless: I was the cause of the error, however I did a break lock but get the unsupported error06:32
marianomI used the same info I got from the error message to perform the action06:33
lifelessmarianom: oh the error is borked there is a bug06:33
lifelesspass the url to your branch06:33
marianomupps06:33
marianomok06:33
marianomhttps://code.edge.launchpad.net/easyark/trunk06:33
lifelessall sorted06:37
lifeless?06:37
spivmarianom: bzr+ssh://bazaar.launchpad.net/~easyark/easyark/trunk06:37
spiv(Or just lp:easyark should work too)06:38
marianomsorry I didn't get it. Can I try to commit again or should I do something with the command you paste?06:42
spivmarianom: once you've broken the lock you can commit again, yes.06:44
spivmarianom: is that clear, or are you still stuck?06:45
marianomin a minute I tell you spiv06:45
marianomI did $ bzr break-lock bzr+ssh://bazaar.launchpad.net/~easyark/easyark/trunk06:45
marianombut I get permission denied06:45
spivOh, you need marplatense@bazaar.launchpad.net rather than just bazaar.launchpad.net I guess.06:46
marianomok let's see06:46
spiv(I tend to forget that because I've set up my ~/.ssh/config so that I don't need that bit)06:46
spivBasically, you just need to use the same branch URL you used to do "bzr co" in the first place.06:47
marianomok, the lock is gone, committing now06:48
marianomit worked. thanks spiv, lifeless for your support06:50
spivmarianom: great!  Glad we could help.06:51
markhI've got what seems to be a late regression on windows just before the branch 1.6 was made.  Should I submit it with 1.6 as the target, or still use -dev and note it should also be merged to 1.6, or something else?07:26
spivmarkh: either, probably.  I think BB won't pick it up if you don't target it to bzr.dev, though.07:28
spivTypically we use subject lines like "[MERGE][1.6] Fix frobnicator..."07:29
markhspiv: ok thanks, I'll target .dev and make a note about 1.607:29
markhah - then it implicitly targets both?07:29
spivNah, we do that just for human benefit :)07:29
markhie, use that subject line, but attach a bundle targetting .dev?07:29
spiv(Targetting .dev in the merge directive makes sense because usually bugs in release branches need to be fixed in .dev as well...)07:30
markhBB then ignores the [1.6], but its a clue for humands :)07:30
markhyeah07:30
spivHappily this doesn't happen often enough that we've really needed smarter tools :)07:30
* markh must have means humanoids07:30
spivOr human hands smooshed together.07:30
markhyeah - I'm saying the tool can ignore the [1.6], but the humanoids can instead.07:30
markh:)07:31
markhlifeless caused the regression :)  os.listdir doesn't return errno.ENOTDIR on windows :(07:31
spivD'oh.07:31
lifelessmarkh: yay!07:40
markh:)07:41
=== thekorn_ is now known as thekorn
lifelesslater everyone08:08
jonnydeeHello lifeless, how are you doing? I did what you suggested yesterday and, indeed, a "bzr pack" on my repository which is located on the network share failed. I've attached it to the Bug report.09:16
jonnydeehi, just a question: is it ok to change the title of a bug report when the problem has been narrowed down? I've done this right now, but now I wonder if this is appreciated or not.. Could someone give me an advice, please?09:28
spivjonnydee: yes, definitely09:29
jonnydeeok, thanks a lot :)09:29
spivThanks for gardening bugs! :)09:30
awilkinsmarkh: That's not the only lifeless-related not-a-directory error on windows ; I found one too09:33
awilkinshttp://bundlebuggy.aaronbentley.com/project/bzr/request/%3C489ACEB7.1010503%40gmail.com%3E09:34
jonnydeeOh, no problem. I like being able to contribute at least somehow to the wonderful Bazaar community :)09:36
lopiohi09:46
lopioa simple question about CRLF: someone said a new feature about CRLF management will be introduced in bzr 1.6; have you got some more  details ? thank you09:49
awilkinslopio: AFAIK line endings support is not going in because versioned properties are not going in either.09:54
awilkinslopio: I personally find it less necessary with each passing year ; the only code editor I use that cares is the VB6 IDE, and I never edit that source on Linux anyway.09:55
awilkinslopio: Do you have something badly behaved that messes with your line endings?09:56
lopiomy problem is that now we develop both under xp and hp-ux using cvs09:56
awilkinsAnd CVS is the thing messing with the line endings?09:57
lopiowhen you checout file under xp a LF is added automatically and when you commit is removed; nothingg is done under HP and everything is right09:58
awilkinslopio: Are your code editors line-ending aware?09:59
awilkins(on XP)09:59
lopiothis is possible cause there is such a behaviour when you want to bypass this mechanism for example for binary file (cvs add -kb)  )10:00
awilkinsWhat are you using? (the windows notepad is about the only editor I know of that isn't ending aware now)10:00
awilkinslopio: Can your windows folk not move over to using *nix line endings?10:02
lopiofor example if you open a .ksh file file with worpad this file is reformatted10:02
lopioon the other side .bat file must contains CRLF on XP10:04
lopioTo manage your repository with cvs you have to : 1) add ascii file with cvs add 2) add binary files with cvs add -kb10:06
awilkinslopio: It sounds like your biggest problem is that Wordpad is rude enough to change line endings without asking you.10:06
lopiothe xp cvs client add or remove LF when co and ci ascii file. nothing else10:07
awilkinsYes, I understand the feature, I've tutored people on the SVN equivalent.10:07
awilkinsAlthough I find the SVN behaviour to be better (only do line endings when explicitly told to, not by default)10:08
lopioI'm not the only developer so i don't know which editors could be used -)))10:08
luksI don't like that the SVN approach is not user configurable10:09
awilkinsUsing Wordpad for code is madness, I tell you, Madness!!!!!   ;-)10:09
luksif a file has svn:native, I can't use LF on windows even if I want to10:09
awilkinslopio: At any rate ; I've not seen line ending support being discussed in here or on the list, so I doubt it's going into 1.6 (unless it says so in NEWS, which it doesn't).10:12
awilkins1.6 is basically a wrap now in terms of features.10:12
lopiosomeone said this cvs / svn mechanism could corrupt files and this is why could not be implemeted in bzr. On the other side i think this could be a blocking problem in a multiplatform environment.10:13
lopiocheckeol plugin is an attempt to solve it10:13
awilkinsThe CVS flavour certainly can corrupt files if you forget to mark them as binary ; I've seen cases where this is so10:13
lopioyes but it's a mistake not a corruption10:14
awilkinsTell that to Visio when it can't load the file. "Oh, it's just a mistake.....10:16
awilkinsAnd you can't un-do it because there are a mixture of CRLF and LF sequences in there10:16
awilkinsThat's why I like the SVN approach of treating everything as binary by default better10:17
lopioi agree10:19
lopiowhat about this answer in launchpad :10:20
lopioquestion "CRLF management will be possible ?"10:20
lopiovila answer "There is a work in progress regarding eol handling and keywords expansion that may find its way into bzr 1.6, search the <email address hidden> mailing list for 'content filter' to stay tuned."10:20
awilkinsMy personal position is that line-ending munging is a feature that scratches an itch which should have gone away a long time ago ;10:22
awilkinshttp://search.gmane.org/?query=content+filter&group=gmane.comp.version-control.bazaar-ng.general10:22
awilkinsThere's a patch for it in the bundle buggy waiting approval10:24
lopioawilkins thank you very much for your advice10:26
lopiobye10:26
awilkinshello again :-)10:39
awilkinshttp://bundlebuggy.aaronbentley.com/project/bzr/request/%3C4880CF60.2080805%40canonical.com%3E10:39
awilkinsThe patch is there, if you want to test it out I'm sure Ian will appreciate any user reports10:40
lopiohello10:44
lopio-)10:44
lopiothank you a lot for your link10:45
awilkinsYou're welcome10:45
=== emgent is now known as pint
=== pint is now known as emgent
lopioexcuse me for my bad english and for my too simple question:10:46
lopiowhat should i do? install bzr-eol?10:48
awilkinslopio: For bzr-eol to work, you also need to be running a version of Bazaar with the content filtering feature in it10:49
awilkinsWhich is not in the main line but is provided by the patch linked to10:49
awilkinsOr you can pull the branch linked to in the comment10:50
lopiothis patch is developed in a branch (as bzr-eol plugin) , right ?10:51
awilkinsThe plugin is separate to the content-filtering branch10:51
awilkinsSo you need to grab the content-filtering branch (or merge the patch to bzr.dev) to run the plugin10:53
lopioLast question -) : after  dowloading this branch  how can i use the new bzr ? via absoluth path? thank you11:08
lopioexcuse me there is an install -(11:09
awilkinslopio: You could build and install it (a slightly tall order on Windows), but it's probably enough to put the bzrlib on your PYTHONPATH11:09
awilkins(and remove the old one, of course)11:09
awilkinsWell, might not have to remove the old one if the new one is first on the path.11:10
lopionow i'm under gentoo and i see 1.6b4 -)11:10
awilkinsI suspect you've just installed it then :-)11:11
lopioin the afternoon i'll download and try  the bzr-eol11:11
lopiosee you later !!! my wife is calling me -)11:12
awilkinslopio: Just cd ~/.bazaar/plugins ; bzr branch lp:bzr-eol eol11:12
lopiothanks11:12
awilkinsWices eh :-)11:12
awilkins*wives11:12
lopiocd ~/.bazaar11:12
CilyanHello everyone !11:32
CilyanI have a little question11:32
CilyanI use bazaar to control versions of a current work, only for personal use (a sort of advanced backup)11:33
CilyanThe directory tree is Laas/Rapport, Laas/Simulations Laas/Automatique ...11:34
CilyanAnd at the beginning, I only wanted revisions for my report, so I runned bzr init in Laas/Rapport11:34
CilyanBut I'd like now to use bazaar in the root directory, but if possible I'd like to keep the commits I have done in Rapport. Is it possible ?11:35
CilyanIn other words, is it possible to move the root of a bzr vc ?11:36
jonnydeeCilyan: You could "bzr mv Laas/Rapport Laas/Laas/Rapport"11:44
awilkins"Laas" isn't versioned11:44
jonnydeeYes, but what could actually do is to put The versioned Rapport directory under a versioned Laas Directory11:45
jonnydeeSo you will have a directurey structure like Laas/Lass/Rapport11:46
awilkinsYes, he can just move his "Rapport/*" to "Rapport/Rapport/"11:46
awilkinsThen rename "Rapport" to "Laas", and move all the old "Laas" stuff to new "Laas"11:46
CilyanSo, I have to first init a branch in Laas ?11:46
awilkinsTHen add it11:46
awilkinsCilyan: No11:46
jonnydeeawilkins: that's exactly what I meant11:46
awilkinsCilyan: Make a new Rapport folder inside Rapport, move the stuff into it, then copy the other folders from "Laas" into your working tree and add them11:47
jonnydeeright :)11:47
CilyanOh, yes, ok :)11:47
Cilyanbrilliant11:47
CilyanI try at once11:47
awilkinsYou're not moving the root of the tree, your're moving the the stuff in the tree into a lower folder11:47
jonnydeeexactly11:48
jonnydeeThis could be maybe an idea for a new plugin. A plugin which simulates extending version control to some parent directory...11:50
CilyanI should I proceed if the files are in the root dir ?11:50
jelmerbeuno, thanks for helping bzr-upload again, also to mlt!11:51
Cilyanoops, forget that ^^'11:51
beunojelmer, :)   I made sure lintian didn't complain this time11:51
awilkinsCould someone with BB privs review http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C489ACEB7.1010503%40gmail.com%3E11:52
awilkinsI know it's boring but the regression it reverses breaks tests on Windows.11:53
awilkinslifeless: You approve it. You submitted the code that broke it, you fix it :-)11:54
Odd_Blokeawilkins: People will get to it in time. :)11:54
awilkinsOdd_Bloke: It should really be in 1.6 as well as dev, IMHO11:55
CilyanWill the files moved keep this directory tree if I need to revert to a previous revision ?11:58
awilkinsCilyan: No11:59
CilyanSo they will extract like they where before move12:00
CilyanAllright, no matter12:00
Odd_Blokeawilkins: Make a note on the list to that effect.12:05
Odd_BlokeRight, I'm off.  See everyone in a week and a bit.12:18
CilyanThanks everyone, it works like a charm !12:33
CilyanBye12:33
lifelesswe will be getting line ending support12:51
manishtechcan anyone help me out a little with bzr checkout?13:23
jonnydee I'm relatively new to bzr, but maybe I can...?13:24
manishtechjonnydee: actually am from svn background, so I am finding it a bit difficult to checkout any code to my machine13:24
jonnydeeMy background is svn, too13:25
jonnydeeSo what is your question13:25
jonnydee?13:25
manishtechjonnydee: am finding bzr a bit complicated at beginning, i need to checkout tangocms branch on my computer13:25
manishtechmost of the bzr commands are giving error13:26
jonnydeejust do "bzr co URL-TO_BRANCH"13:26
jonnydeedo you have to connect to a svn-repo?13:26
manishtechjonnydee: i didnt get you... svn-repo?13:26
manishtechthanks trying bzr co13:27
manishtechi heard there was something called branch in bzr i tried itbutin vain13:27
jonnydeeI mean do you want to check out a project from a subversion repository via bzr?13:27
manishtechno..  i need to checkout code from launchpad itself13:27
manishtechjonnydee: Tangocms is the project which I wanted13:28
jonnydeewell, there is a command "bzr branch", but if you use "bzr checkout" it does feel like a subversion checkout13:28
jonnydeeok, then you should not do a checkout but you will want to branch13:28
jonnydeebzr branch URL-TO-PROJECT13:29
jonnydeejust a moment13:29
manishtechjonnydee: this is the page which I get for TangoCMS https://launchpad.net/tangocms13:29
manishtechjonnydee: I tried " bzr branch https://launchpad.net/tangocms "13:30
manishtechthis is the error which i got bzr: ERROR: Not a branch: "https://launchpad.net/tangocms/"13:30
chadmillermanishtech: See that "code" section?13:30
jonnydeetry "bzr branch https://code.launchpad.net/~vcs-imports/tangocms/trunk-imported"13:30
chadmillerThat url is not the branch location.13:30
manishtechchadmiller and jonnydee: thanks... trying13:31
jonnydeethe one I mentioned should be the right one13:31
chadmillerInstead, find the actual branch location on the web page.13:31
chadmillerjonnydee's is likely right.  Also, projects at launchpad have a shortcut.13:31
jonnydeelp:xxxx -- I know....13:32
jonnydeeor do talk about something different?13:32
chadmillerYou got it, j,  lp:~vcs-imports/tangocms/trunk-imported13:32
jonnydeeAFAIK for using lp:project you should have a ssh-key configured13:33
manishtechchadmiller: means the syntax should be bzr branch lp:~vcs-imports/tangocms/trunk-imported ?13:33
radixjonnydee: nope13:33
chadmillermanishtech: One additional change.  The last part of the branch URL is not very useful, often.  Rename it by specifying a different name at the last parameter.13:33
chadmiller"bzr branch lp:~vcs-imports/tangocms/trunk-imported tangocms-trunk"13:33
manishtechjonnydee: ssh key is configured13:33
jonnydeeok... I seee13:33
manishtechtrying.... checking13:34
manishtechthanks all.... its working13:34
chadmillermanishtech: Are you comfortable with the distributed nature of this stuff?13:34
manishtechchadmiller: worked on svn... not much, but have idea..13:35
chadmillerYou're getting an exact copy of what's on the far end.  The only criteria we don't call your new branch the official trunk are social.  They're the same except in human behavior.13:36
jamJust to note, if someone associates a branch with the development focus of a project "bzr co https://launchpad.net/tangocms" would actually work13:38
jam(it does for 'bzr' for example)13:38
jamThough I would recommend "bzr co lp:tangocms" at that point, because it is shorter :)13:38
jonnydeejam: so this has to be done on the launchpad site directly13:38
jonnydee?13:38
manishtechjam: how are co and branch different... its a silly question13:39
jonnydeeco more behaves like svn13:39
jonnydeewith one exception:13:39
jamjonnydee: Registering a "focus of development" does, indeed, need to be done on LP13:39
jonnydeeyou build up remote history and local history13:39
jammanishtech: I can give you the detailed or the overview13:39
jonnydeeso when you "bzr unbind" you still have access to the complete history contents13:40
jamjonnydee: I would also mention that if he is branching over http: he can't commit to a checkout13:40
manishtechthanks jonnydee ... Its on 3/513:40
chadmillermanishtech: in "checkout", you don't get a full copy of the history.  You rely on your machine to be able to reach launchpad to make major changes.13:40
jamwell, under *normal* circumstances13:40
manishtechchadmiller: means I should always use branch?13:40
jamchadmiller: not true, only if you checkout --lightweight13:40
jamIt will connect to launchpad at commit time, yes, but all stuff like "bzr log/diff/status/etc" are only local13:41
chadmillermanishtech: Theoretically, "checkout" could be faster than "branch", so that could be a reason to use it.  I think there's little difference at present.13:41
chadmillerjam: Ah, thanks.13:42
manishtechchadmiller: I was trying this, but got stuck up with the URL's http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html13:42
jonnydeemanishtech: by using a branch all commits go locally. when you want to synchronize with remote repository you do a "bzr push"13:42
manishtechjonnydee: means "bzr push" is equal to "svn commit" ?13:43
jonnydeecommits to a checkout go directly to remote repository, too. (unless you use --commit-local)13:43
manishtechjonnydee: one ques, if i checkout a branch and then made a commit on it and got one branch by using "bzr branch" and then made a commit, what's the difference?13:44
jonnydeewhen you work on a branch you can do commits. they will go into your local repository. only when you do "bzr push" will all your local commits be transfered to the remote repository13:44
jamjonnydee: don't confuse him with too much detail just yet :)13:44
jonnydeewhen you do commit on a checkout it will go immediately into the remote repository13:45
jonnydeejam: you are right -- it's confusing. but it's also the first thing I tried to understand before I started using bzr13:46
manishtechjam: ahem, thanks for the care... but i dont think everyone can make a commit to remote repository? we need to be authenticated... is it just by ssh key?13:46
jammanishtech: so, first lets find out what *you* want to do13:46
jamAre you working on the project?13:46
jamAre you just an interested fan13:46
jamor one of the main devs?13:47
manishtechjam: i am an interested person.. who wants to work on tangocms project..13:47
manishtecham not a main dev.... hope i can be one day13:47
jammanishtech: ok, as you are unlikely to be given priviledge to commit directly to their branch13:47
jamyou want to use "bzr branch" to create a local copy that you can modify13:47
jamIf you are used to svn, think of it as something like doing13:48
jamsvn branch their/trunk their/branches/myworkspace; svn co their/branches/myworkspace13:48
jamexcept the final repository is on *your* machine, separate from theirs13:48
jammanishtech: with me so far?13:48
manishtechjam: didnt get what you meant "with me so far"13:49
jammanishtech: Do you understand what I have said to this point13:49
jamwell written, since I didn't speak :)13:49
manishtechjam: looks like I missed out something13:49
jammanishtech: ok, I'll try a different tack13:50
manishtechjam: i have used code.google.com , there are seperate authorized people on each proj who can commit, so how to find out who can commit to remote branch?13:50
jamWith SVN, you normally do "svn co URL", right?13:50
jamAt which point you have files you can modify locally13:50
manishtechjam: yeah13:50
jamand when you commit, it sends your changes back to URL13:50
manishtechyes... that way, and if am authorized to commit on the repo13:50
jammanishtech: Bazaar allows you to work it 2 forms13:51
jamWith 'bzr checkout', when you commit, it sends your changes to the remote URL13:51
jamand yes, you wouldn't be able to without authorization13:51
jam(it *also* usually creates a copy locally, so you have access to it when you are not online)13:51
jammanishtech: Bazaar *also* lets you work a different way13:52
manishtechyes, that's the svn way13:52
jamwhich is with "bzr branch URL" it copies the repository from remote to local13:52
jamso when you commit, it only stores the changes locally13:52
jamAnd as you aren't accessing the other people's server, there is no way they can give authorization or not13:52
jamIt is, indeed, by design13:53
jamHowever, when it comes time to share your changes, either they need read access to your changes, or you need write access to push your changes to somewhere they can see.13:53
jamLaunchpad can facilitate this13:53
jambecause it lets anyone host their own branch in their own location13:53
jam(and access control is done via ssh-keys and group permissions)13:53
manishtechmeans i can create a branch on launchpad itself...13:54
manishtechthanks everybody... now i need to work on it... Got the basics, hope now I can learn additionally in due course...13:55
jammanishtech: I would recommend the tutorials if you haven't tried them yet13:56
jonnydeemansihtech: yes, you can host your own branch on launchpad13:56
manishtechjam: i was trying the tutorials when I got stuck... I always feel that the first step is bit tough if it has to be tough, furthur one can manage13:57
jonnydeeso the developers of Tangocms can have a look at your branch and merge your changes into their official branch13:57
manishtechjonnydee: its just a start, i will to read the whole code and see what is to be done... thanks a lot13:59
jonnydeeyou are welcome :) -- have fun!!!13:59
manishtechjonnydee: thanks13:59
manishtechjam: thanks13:59
jammanishtech: well, I'm glad you came here to ask, and if you *talk* to the tangocms guys, you might recommend associating a branch with their development focus13:59
jamThen they get "bzr branch lp:tangocms" for everyone to enjoy :)14:00
manishtechjam: i have seen people having problems but still dont use irc to solve it.. they feel it a bit geeky.. dunno why.. people here ae some helpful :)14:01
manishtech*so helpful14:01
manishtechsorry for the typo :P14:01
jonnydeemanishtech: this is what I experienced, too.14:02
jonnydeeThis is really a nice community here14:03
manishtechjonnydee: this is my fist entry in #bzr , will be quite active in future... :)14:03
jonnydeethat'*s excatly the reason why I am here. I would like to give some help back!!!14:04
awilkinsI think it intrinsically comes from the mentality that creates a DVCS ; DVCS is inclusive (anyone can branch and commit), not exclusive (central control). That said, the guys in the subversion channel are also great :-)14:04
awilkinsI remember Ben Collins-Sussman himself uploading a patched build of svn to my SFTP server to examine a partocular issue.14:05
jonnydeeawilkins: so Ben should use Bazaar to develop svn ;P14:06
awilkinsCan't really see it happening, that would be like Bazaar migrating to git :-)14:06
jonnydeeyes, I agree14:07
jonnydee :)14:07
Necoro"Please install git to use the live bzr branch" ^^ ... ok - perhaps if used as a naive excuse to avoid bootstrapping issues ^^14:26
awilkinsMaybe someone will make a "Bazaar" porcelain for git - that would depend on it :-)   (Gitaar?)14:42
jonnydeeGitaar..."sounds" funny :)14:44
Necorobtw: if I want to have something to control a document repository - what should I use?14:48
rockyjelmer: you using bzr+trac ok?14:48
LeoNerdawilkins: Bonus points if you can get some mentions of "strings" in there14:48
Necorowith "document repository" I mean a repository of documents (scientific papers or letters), where the documents themselves never or rarely change14:48
Necorobut might be large ;)14:49
Necorois bzr designed to be used there? - or is it just overkill (esp. because I double sizes)14:49
jamawilkins: well, there is bzr-git, which should eventually be able to treat a git repo as "just another bzr branch" like we have for bzr-svn14:51
jamI think ATM, it can do "bzr log" on a git repo14:52
awilkinsjam: Does that use the git plumbing? It sounds like it really should just be a "porcelain"14:53
jamawilkins: Last I checked, it just did "git foo" and then interpreted the results14:54
jamso "git cat --tree", etc14:54
jamIt is a bzr plugin, though, not a mod to git14:54
awilkinsYeah, but git is just a bunch of shell scripts ; so a bunch of Python scripts is not such a stretch14:55
awilkins(plus the nasty C bits of course)14:55
jamawilkins: IIRC, there were actually some python and perl and XX bits in git14:55
awilkinsWhat is XX14:56
jamAnd the C bits are pretty much focused on being an app and not a lib14:56
jamawilkins: "etc"14:56
awilkinsAh14:56
jamJust saying that it is *mostly* shell porcelain, and then a lot of other stuff14:56
jamnot sure how much14:56
jamso yeah, you could build something on top of git that looks like bzr, but it makes more sense IMO, to build something under bzr that interfaces with git repos14:58
pickscrapeHow would bzr handle me making a lightweight checkout of a checkout?15:03
pickscrapeSpecifically, what would happen on commit?15:03
awilkinspickscrape: It commits to the co but doesn't update the tree, and the revision is not propagated to the bound branch15:07
pickscrapeWould be really smart if it went all the way up the chain :)15:07
pickscrapeThe tree I'm not surprised about though15:07
jonnydeebut what would happen in turn of merge conflicts...?15:07
awilkinsMight be difficult though ; you might not have access to the bound branch of the co15:07
jonnydee(I mean somewhere up the chain)15:08
pickscrapeIndeed15:08
pickscrapeI'm really trying to work around a limitation in my text editor really, which follows my 'active' branch symlink and opens the actual file15:08
pickscrapeWhich makes moving the symlink not do what I want it to do.15:09
jonnydeelifeless: what do you think? will solving bug https://bugs.launchpad.net/bzr/+bug/255656 be of high importance? I mean is it likely that it will be focused on in one of the next releases? I'm askinf because if not I have to figure out another feasible solution than hosting the repo on a network share...15:17
ubottuLaunchpad bug 255656 in bzr ""bzr: ERROR: [Errno 22] Invalid argument" when "bzr pack" is executed manually or when "autopack" is triggered on a repository located on a windows network share" [Undecided,New]15:17
jampickscrape: try it, I believe it *does* propagate the changes15:17
jamyou only get 1 level of bound to work, but it should at least manage that15:18
pickscrapejam: ooh, I will then :)15:18
Snaggen_I'm thinking of setting up a BundleBuggy with a PQM in the same way as bzr.dev has it. As I understand you send the patch to BundleBuggy and when it is approved it is submitted to PQM that performs all the tests and then perform the merge. But how do you get BB to send to PQM?15:18
jamSnaggen_: not quite right15:18
jamWe have BB monitor the mailing list15:18
jamwe don't send things to it directly15:19
Snaggen_jam, yes, my bad15:19
jamAnd we send directly to the PQM, it isn't sent from BB15:19
jam(bzr-pqm is the plugin we use)15:19
jamto add 'bzr pqm-submit -m "pqm commit message"'15:19
Snaggen_jam, so BB monitors the list. then when a patch is approved what does it do?15:19
jamBB doesn't do much but *track* patches15:20
jamhumans submit them to PQM15:20
jamand BB also tracks the branch15:20
jamso it can see when a patch lands15:20
jamat least, for Merge Directives, plain patches need manual intervention.15:20
Snaggen_So when a patch is approved you manually submit it to PQM?15:21
jamSnaggen_: yes15:21
jamWe've wanted to have a "Submit to PQM" button on BB15:21
jamjust hasn't happened15:21
jamit might be more likely after some of the PQM updates land from Odd_Bloke15:21
jamto make it friendlier, etc.15:21
Snaggen_jam, would it be interesting att all to have a "auto send approved patches to PQM" feature?15:21
Snaggen_jam, or is a button prefered?15:22
jamI'm a bit leary of auto-send15:22
jamleery15:22
=== mw|out is now known as mw
jamJust because sometimes something gets approved, but should really wait a day or two15:22
jamin case there are objections15:22
Snaggen_jam, ok...15:22
jamlots of people have votes, I trust some in certain areas more than others15:22
jamso... I think having that feature would be neat15:23
jamI don't know that we would turn it on for bzr15:23
Snaggen_jam, I see... I'm looking in to use BB and PQM for code review and regression testing... if we get to a point where it is interesting enough (which I hope to get to quite soon) we might spend an hour or two to do some adaptions... but we'll see15:24
jam Snaggen_: sure15:27
jamI would just mention Odd_Bloke has a lot of nice updates for PQM pending review15:27
jamSo you may end up with something nice in a week or two.15:28
Snaggen_jam, does he have a branch with his work in lp?15:28
jamSnaggen_: AIUI he has several branches, just a sec15:29
jamSnaggen_: http://bundlebuggy.aaronbentley.com/project/pqm/request15:29
Snaggen_jam, and that is PQM... auto-submit would be done in BB I guess... using the bzr-pqm plugin?15:30
jamSnaggen_: well, I would expect that once PQM could support an XML-RPC request, then BB would use that to submit merges.15:30
jamFurther, I think PQM needs to support merge directives directly15:30
Snaggen_jam, or would you prefer XML-RPC request.15:30
jamRight now, you have to have a public branch for it to merge15:31
jamBoth of which Odd_Bloke worked on (Daniel Watkins)15:31
Snaggen_jam, Ok... if I go down that road I'll lock at the XML-RPC stuff15:31
jamThe current issue is that lifeless is the maintainer of PQM, and he's a bit overworked right now to review the changes15:31
jamIt *will* happen, just not sure when15:31
Snaggen_jam, I'll go straight to the source then and look att Odd_Blokes RPC branch then15:32
pickscrapeIs there any difference between bzr checkout and bzr checkout --lightweight if the two branches are both in the same shared repository?16:20
datoI don't think so16:21
dato(though I believe you'd save a ridicously small amount of bytes :P)16:21
pickscrapeI'm wondering if one or the other might trigger a slightly more optimal code path for example over the other one.16:22
pickscrapeIs there a way to bzr branch and have it not create a working tree explicitly?16:24
jonnydeepickscrape: if you branched into a shared repo which had been configured not to contain a working tree... but this is not what you intend -- I guess....16:29
pickscrapeNo, this use case is that I have a shared repo that I want to contains a mixture of branches with and without trees.16:34
jonnydeebut you can configure a tree-less branch into a tree-containging one16:34
jonnydeeI think it's to be done with "bzr reconfigure"16:35
pickscrapeYes, but a --no-tree option would be a lot simpler :) Especially if you want the repo to default to creating a tree.16:35
jonnydeeyes, of cource, I agree16:36
jelmerjam, bzr-git can fetch data from git repos as well17:28
jamjelmer: does it get things like "last modified" for directories correct? That was always a hard part for me and formats that don't track directories explicitly17:29
jamlike, renaming the last file out of a directory deletes it17:30
jametc17:30
jelmerjam, I'm not sure17:31
jelmerjam, I implemented the .texts and revisiontree interfaces17:31
jelmerand fetch suddenly worked out of the box17:31
jelmerit was kinda scary, really17:31
jamsure, but getting the Inventory object correct is the really tricky part17:33
Odd-rationaleHello. I'm using 5-a-day. I have run "5-a-day --add-team <team>". It create the appropriate ~/.5-a-day-<LPID>/team file. But for some reason, i cannot get it uploaded to my bzr branch. The data file pushes fine, however. So is there a way I can force it? Thanks!18:24
Odd-rationaleBTW, this is for the GBJ :P18:25
=== mw is now known as mw|food
jonnydeehello, I would like to play around a bit and try to write a plugin for bzr. Can anyone suggest me a powerful python IDE (except emacs)?19:31
jonnydeeI mean debugging support etc19:32
jamjonnydee: I personally like Vim a lot :)19:35
jamBut as for real IDEs19:35
jamI would go with http://www.wingware.com/19:35
jamIt's vim text-editing mode wasn't very good last I used it, but I've heard its gotten better.19:35
jonnydeevim...I merely thought of something like a real ide....19:35
pickscrapeThere's a free one called Eric19:35
jamI understand the idea of a nice ide, but since 90% of my time is editing text19:36
jamI find a nice *text* editor is the most important19:36
jamA good test suite + pdb is usually enough for the debugging side19:36
jamAgain, an IDE would probably help there19:36
pickscrapejam: I agree. Editors seem to really lack in what I consider to be basic editing features.19:36
jambut it would have to play nicely with our test environ19:36
pickscrapeGah, I mean IDEs lack :)19:37
jampickscrape: There was supposed to be an IDE, that was able to combine your preferred components19:37
jamso it would embed vim for editting19:37
jonnydeehas anyone tried PyDev for Eclipse?19:37
jamand various other tools19:37
jamjonnydee: I've tried some Eclipse, but again "Vim" mode sucked19:37
jamand might have been better if I paid for it19:37
jambut their teaser didn't even work19:38
jamwhich didn't inspire me to buy the product :)19:38
jamThe other problem with Eclipse is that it wanted to configure 1 project per location19:38
jonnydeeok I see... well I don't want to spend money, either19:38
jamwhich means it doesn't like feature branches very well19:38
jamEclipse had nice syntax highlighting19:38
jamand *could* have been good19:38
jonnydeejam: that's a good point19:39
jamBut it did seem to have a strong java bent19:39
jamjonnydee: I've since switched to having a small number of working trees that I 'bzr switch' between branches19:39
jamso Eclipse might like that more19:39
jambut it really wants you to create Eclipse projects19:39
pickscrapeI struggled to get decent visible whitespace for Eclipse.19:39
jamOh, and Eclipse wanted to use absolute paths19:40
jamso you couldn't create a project, and just copy it around :(19:40
jamMy Eclipse-fu might be weak, though, as I don't see how people would stand for abspaths all the time19:40
jonnydeejam: yes, I know this problem from Java. Absolute paths suck....19:40
jamit doesn't even work between *developers*19:40
jamI might try it again sometime, but in the short term... it didn't work so well19:41
pickscrapeMy current preference is jedit, though I am always on the lookout for something better.19:41
jonnydeeok, I'm a bit surprised now, because I thought there exists a good IDE. But it seems like one is better of with simple tools19:41
pickscrapejonnydee: you might want to have a look at Eric. It's not bad19:42
jonnydeeok, I'll have a look at Eric. I think for my first experiments it should be good enough19:42
jonnydeedoes it support debugging?19:42
jampickscrape: this one? http://die-offenbachs.de/eric/19:43
jamI used to use Scintilla as my text editor for a while19:43
jamIt was pretty nice19:43
pickscrapeYes, that's the one. I've not really used it in anger though19:43
jamjust not *as* good as Vim19:43
jamNothing compares to "." :)19:43
pickscrapeI use vim for quick editing from the command line.19:44
jamjonnydee: http://die-offenbachs.de/eric/images/eric4-screen-03.png19:44
jamIntegrated unittest running19:44
jamjonnydee: debugger in action: http://die-offenbachs.de/eric/images/eric4-screen-02.png19:44
jonnydeeok, so thank you very much for your comments and your help. :)19:44
jonnydeeok, cool. Eric seems to be the tool I've been looking for... the screenshots look nice :)19:45
jonnydeevery very nice ... :D19:45
jonnydeebtw Eric seems to be also in the ubuntu package repository.... I'm installing it right now...19:47
jamit does look shiny, just need to know if it *works* right :)19:48
pickscrapeFrom my experimentation, the editor wasn't up to jedit's level, but it wasn't terrible.19:49
jonnydeewell, I can give you some report when I tried it...19:50
pickscrapeI've heard a lot of good things about 'scribes'19:50
jonnydeeThere is a Flash demo of scribes: http://scribes.sourceforge.net/demo.htm (but it seems to me like this tool is something for people experienced in programming using python...so I think Eric is a better choice--for me, at least)19:56
pickscrapeYes, scribes is an editor rather than an IDE. This conversation just reminded me to try it. :)20:01
jonnydeewell, I think it could be a good choice for you, because you know the language and the APIs already (I guess ;) )20:02
jamwell, I can get it to run a couple individual tests20:02
jambut I can't get it to actually run the whole bzr test suite20:02
jonnydeeSo you can just write down your code and et good support by scribes20:02
=== mw|food is now known as mw
cgrindsXOIs it possible to pull part of a branch? For example my root is c:/stuff. It contains lots of, well, stuff. I'd like to go to an unrelated dir and do a pull like so: "bzr pull c:\stuff\fan\fansh" but that doesn't work20:53
NecorocgrindsXO: perhaps you should have used a shared repository instead of one large branch ;)20:55
cgrindsXOright - I think I started using bzr before shared repos existed. The original reason I went with one large branch is it made it easier to backup one thing instead of all my projects individually20:56
NecorocgrindsXO: bzr help split20:56
cgrindsXONecoro: thxs I'll go read20:57
cgrindsXOC:\stuff>bzr split fan21:01
cgrindsXObzr: ERROR: No WorkingTree exists for "file:///C:/stuff/fan/.bzr/checkout/".21:01
NecorocgrindsXO: perhaps you need to update the repository formate to something known subtrees first21:06
Necorobut this is only a guess21:06
Necorotesting it on a branch of mine, it worked21:06
cgrindsXOyeah I tried upgrade and it said21:07
cgrindsXOC:\stuff>bzr upgrade .21:07
cgrindsXObzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.21:07
NecorocgrindsXO: try: bzr upgrade --rich-root-pack21:08
cgrindsXONecoro: sigh apparently not my day. bzr: ERROR: Revision {('chris@g.org-20080731173055-6pzgw3yoz1rha0um',)} not present in "<bzrlib.knit.KnitGraphIndex object at 0x02010C30>".21:10
Necorooh21:10
Necorohmm ... some bzr-dev here to help?21:10
jelmercgrindsXO, while upgrading to rich-root-pack?21:11
cgrindsXOyes21:12
jelmercgrindsXO, please file a bug21:20
cgrindsXOjelmer: ok will do21:20
cgrindsXOjelmer: https://bugs.launchpad.net/bzr/+bug/25619921:29
ubottuLaunchpad bug 256199 in bzr "Error when upgrading repo" [Undecided,New]21:29
jelmercgrindsXO, thanks21:29
jelmerhopefully one of the australians can have a look on monday21:30
lifelessjam: will you be wowing?22:24
pickscrapeWorld of Warcraft?22:24
lifelesspickscrape: yah22:24
pickscrapeAh. You've said that a couple of times and wondered what it meant :)22:25
Kinnisonlifeless: which realm?22:25
lifelesscaelsytraz22:27
lamalexIs there a way to see when the last time a file was edited was?22:28
lamalexrather, the revision number of the last edit22:29
pickscrapebzr log -l 1 <filename> ?22:29
lifelesslamalex: annotate probably is best today22:30
lamalexi actually just found log22:30
lamalexpretty much exactly what i needed22:30
lifelesslamalex: worth filing a bug I think, noone has asked for that, but I think ls would be a good place to have that be visible22:30
lamalexsorry for not rtfm'ing first22:30
lamalexno, log was basically it22:31
lamalexthanks22:33
Kinnisonlifeless: presumably not a european realm :-)22:38
lifelessKinnison: nope sorry :)22:38
* Kinnison grins22:38
* Kinnison has to admit that he never would have pegged you as a WoWer :-)22:39
lifelessKinnison: well its not on my laptop22:40
lifelessso you'll only catch me wowing from home22:40
lifelessright now I'm farming mats for my priests epic flying machine22:40
KinnisonHeh, I need to be bothered to farm for mats so I can waste 'em skilling up to make an epic flying machine22:42
pickscrapeSounds like quite a responsibility.22:42
Kinnisonheh22:42
* Kinnison loves the bizarre language which goes with WoWing22:43
LaniSweHi! I'm trying to setup Bazaar with a central repository on my server. I'm using the "Centralized workflow" tutorial: http://bazaar-vcs.org/Tutorials/CentralizedWorkflow. Unfortunately I'm stuck on 2.3: "Setting up a remote Repository". The tutorial there tells me to run the command: "bzr init-repo --no-trees sftp://centralhost/srv/bzr/", but it does not explain how I should configure the server?22:44
lifelessKinnison: #ubuntu-wow is more topical :)22:44
LaniSweIf I just execute that command I get an error that tells me that the directory does not exist. If I create that directory with "sudo" and then run the command again I get an access denied message.22:44
LaniSweSo I don't know if I'm on the right track here. As I don't what to create a user account for every user that needs to access the repository.22:45
LaniSweI just want to grant public ssh keys, is that possible?22:46
LaniSweAnyone here that have used Bazaar over ssh?22:49
pickscrapeWe use bzr+ssh22:49
LaniSwepickscrape: Yes I've seen that command, but how do you setup the ssh public keys in a central repository on the server?22:50
pickscrapessh public keys is purely an ssh thing: if the user can ssh to the server via their key, they can do the same with bzr too22:51
LaniSweBut I don't want to create a separate user account for every Bazaar user. In git you can create a specific 'git' user on the server and then just add in a file what public keys that should have access to the repository, is there no such thing in Bazaar?22:52
pickscrapeWe just use one 'bzr' user22:52
pickscrapeWe had to add something to ~/.ssh/config for every user though to get ssh to use the 'bzr' user when connecting to that server22:53
LaniSweAh, ok. But then it will always use the bzr user as default for that server? That's not ideal either, as the server is also used for other things.22:54
lifelessLaniSwe: so we took the approach that folk wouldn't want us implementing security sensitive code like user management unless absolutely needed22:55
lifelessLaniSwe: there are several options to avoid system users:22:55
pickscrapeYeah. I think you are supposed to be able to do it using ~/.bazaar/authentication.conf, but I couldn't get it to work.22:55
lifeless - http with either webdav or bzr+http; in this scenario apache does the authentication22:55
lifeless - a custom sftp server port which doesn't use system users (e.g. twisted has one of these); I believe some-assembly-required for this option22:56
lifeless - doing something like pickscrape describes22:56
lifelessI'd say that http is the simplest and most robust22:56
pickscrapelifeless: does the bzr+http method allow per-branch authentication?22:57
LaniSweAh ok, in this case http is acceptable but in future scenarios it might not be. Then encryption might be needed. The .bazaar/authentication.conf sounds ideal, to bad you couldn't get it to work pickscrape.22:58
lifelessLaniSwe: we support ssl22:59
LaniSweAh ok :)22:59
LaniSweJust another thing for me to learn how to setup then ;)22:59
lifelessits pretty easy, lots of apache howtos23:00
LaniSweI've just started to like ssh and how simple it is to use and setup :)23:00
LaniSweok23:00
lifelessI love ssh23:00
LaniSweWell I would go that far ;) but it's really nice :)23:01
pickscrapelifeless: what are the connection setup overhead differences between http and ssh like?23:02
LaniSwelifeless: Are you aware of an option for specifying the bazaar user in the ~/.bazaar/authentication.conf file that pickscrape talked about?23:02
lifelesspickscrape: should be minimal23:02
lifelessLaniSwe: authentication.conf is just a credentials cache AFAIK23:03
LaniSweok23:03
pickscrapeI couldn't get it to force the ssh user23:03
lifelesspickscrape: you can set ssh users by ~/.ssh/config23:05
LaniSwepickscrape: But when I think about it, how would that work? Wouldn't that make all checkins etc come from the bazaar user?23:05
pickscrapeYes, that's what we did. However, that means always connecting to the server in question via that user23:05
lifelessLaniSwe: no it wouldn't23:05
lifelessLaniSwe: checkings are really just a form of push; the data is generated on the client23:06
LaniSwelifeless: ok, so the "bzr whoami" will be used then?23:06
lifelessyes23:06
LaniSweok :)23:06
LaniSweBut if pickscrape couldn't get it to work I don't think that I will either :/23:07
pickscrapeWe got the ~/.ssh/config method to work fine.23:08
pickscrapeIt's just not *quite* as convenient as being able to define it in a bzr-specific place.23:09
LaniSweI guess that I could make a separate dns entry like bzr.myserver.com, and then if just myserver.com points to the same ip shouldn't matter? I should then be able to specify a default user for just bzr.myserver.com in the .ssh/config?23:10
pickscrapeLaniSwe: Yes, that appears to work as you're expecting. The matching is done on the hostname, not the IP address.23:17
LaniSwepickscrape: Ok thank you very much for your help and pointing me in the right direction!23:19
pickscrapepleasure :)23:19
LaniSweYou to lifeless!23:19
LaniSwepickscrape: You don't happen to have a good reference for the config file? ;) Or is it in the man page maybe? ;)23:20
lifelessLaniSwe: my pleasure23:20
lifelessman ssh_config23:20
LaniSweok!23:20
pickscrapeAt the end add: Host <hostname> (newline) User <username>23:21
LaniSweOk!23:22
LaniSweI'm going to try this out tomorrow. Time for bed now as it is 12:23 am over here now. Thank you for being so helpful and have a nice day/night ;)23:24
lifelesssleep well23:24
mvowhat does the error: http://paste.ubuntu.com/35690/ mean?23:25
lifelessI so want to say "bzr never prints error: http://paste.ubuntu.com..."23:27
mvoheh :)23:27
lifelessalso its a bug indicating a deeper problem23:28
lifelessthat is, its a symptom23:28
mvoI guess in this case using a pastebin was not really needed23:28
lifelesslatest bzr's should show the real error23:28
mvothat is bzr 1.523:28
datooh23:28
datohe left23:28
lifelessdato: you know him ?23:28
datono23:29
datobut I would've told him he doesn't need a DNS entry23:29
datoHostname blablabla23:29
dato  Username foo23:29
dato  Host 1.2.3.423:29
lifelessoh right :P23:29
mvolifeless: do I need a more recent bzr? is there a workaround (like using sftp instead of bzr+ssh etc?23:29
lifelessor even host foo.ar23:29
datoyep23:29
lifelessmvo: well what were you doing23:29
datos/told him/told them/23:30
mvolifeless: I did a bzr commit on a branch that is bound to bzr+ssh://bazaar.launchpad.net/%7Eubuntu-core-dev/apt/ubuntu/23:30
lifelessmvo: so, not sure tbh23:31
lifelesscheck ~/.bzr.log23:31
lifelessmay be more details there23:31
mvolifeless: some info in http://paste.ubuntu.com/35692/23:35
lifelessstatik: ping23:35
lifelessmvo: probably the autopack race we have a bug open on23:36
mvoaha, bzr pack seems to have helped indeed23:37
mvothanks23:37
lifelessnp23:37
jelmerlifeless, still there?23:38
lifelessyahuh23:39
jelmerlifeless, when is the a directory supposed to be touched in bzr?23:39
jelmerI mean, when is it's 'revision' property updated?23:39
lifelesssame as for a file23:39
lifelessmetadata-change or heads-of-revision-property-greater-than-one23:39
jelmerwhat is considered metadata though?23:40
jelmerare children metadata?23:40
lifelessno23:40
lifelesssee repository.py - commit builder23:40
lifelessI can phrase it differently - anything that changes the xml line in todays formats23:41
jelmerlifeless, thanks23:41
lifelesswill count as a 'change'23:41
lifeless+ do a change anyway if the heads() count is > 1 [this records a merge at the file level]23:41
jelmerlifeless: not sure I follow23:43
jelmerlifeless, If the heads count is > 1 doesn't it use the revid of one of the parent revids if the text was unchanged?23:43
lifelessnever23:44
lifelessthis is not the revision graph23:44
lifelessthis is the per-file graph23:44
lifelessfor the heads count to be greater than 1, we must be a) committing a merge, and b) both branches must have made changes to this file23:44
lifelessconcurrent changes that is23:45
jelmerlifeless, ahh, of course23:45
lifelessif one side changes you get no-change against that side,and a heads count of one, so you keep the old revision23:46
lifelessif both sides change to the same text23:46
lifelessyou get no-change against both sides, but 2 heads, so you record a merge23:46
lifelessthe intent23:47
lifelessis that if you follow the per file graph you will find every actual change made to the file, and you won't see a change just because someone merged a branch that had changed it23:48
lifelessthus the graph has to bifurcate where changes were made concurrently even if no change was made at the bifurcation point23:49
lifelessplease do check the code23:49
lifelessbut does that made sense?23:49
lifelessjelmer: ^23:55
jelmerlifeless, yep, it does23:56
jelmerlifeless, thanks23:56
lifelesscool23:56

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