/srv/irclogs.ubuntu.com/2008/01/23/#bzr.txt

cpintofullermd, it's not possible to push my local changes to svn if someone else committed code to the trunk00:00
fullermdIf you can dig up the revid of the last change, you could probably make a diff relative to it, save it off somewhere, apply in reverse (to get back to that state), commit it, then re-apply the diff to get back to the changed state...00:00
cpintoouch00:00
cpintostill, as i said, i committed my local changes to my local branch and when I fetched stuff from subversion it was... reverted? hence the pending merges00:01
jelmercpinto: you can rebase before pushing00:02
fullermdWell, if I were going to work disconnected like that, I'd do it in a full branch, instead of mixing things up by doing it halfway with local commits in the checkout.00:02
cpintoyeah, I was reading about that plugin just now :-)00:02
cpintofullermd, what do you mean?00:03
fullermdWell, when you have local commits that you 'update' into pending merges, you're basically doing the full distributed thing already, but without the cushion and tracking of having them in an explicit branch.00:04
fullermdSo if you do something like that 'update' with local changes, you end up with a bunch of mixed up stuff.00:04
fullermd(should 'update' even LET you do that?  I'm not sure I'd agree with that...)00:04
fullermdThe goal behind that set of commands/workflow is to try to make working central-but-disconnected as near as possible like straight-central, without introducing the bump in complexity of thinking distributed.00:06
fullermdI'm ambivalent about whether that's a succeedable goal.  Seems like something that will generally Work Just Fine, but occasionally get you twisted up worse because of the stuff it tries to hide.00:07
fullermd(I sometimes wish there was another flag like --show-ids to 'status' that would show the revids of pending merges; would make it easier to backstep in situations like that.)00:08
fullermdOf course, it's equally possible that I'm just a cranky misanthrope who should be ignored   :)00:12
cpintodamned  hardwired shell shortcut hehe00:12
cpintoanyway, i agree that update should make my changes "pending merges". but I'd like to have something to replay those merges00:12
cpintoeither that or having bzr-svn merge remote changes into my local branch (which I have to commit) and after I push my stuff to the trunk not creating a revision with the stuff I originally retrieved from subversion00:13
awilkinsI've been using svk for disconnected SVn work00:16
awilkinsThis has the secondary benefit of working well with plain SVN clients00:17
awilkinse.g. - the Eclipse SVN clients can be pointed at my SVK depot, but I can still pull / push00:17
awilkinsI'm prepared to be the merging possibly isn't as good (I'm damn sure it doesn't track renames as well)00:18
cpintoawilkins, at some point i'd like to move everything onto either bzr or git. this stuff is just a minor nuisance but it's one of those minor things that build up and at some point you get tired of them00:20
awilkinscpinto: I'm most enthused by bzr so far ; I do a lot of windows development and git just isn't up to it on windows00:21
cpintoi'd say a proper workflow in bzr-svn wiki would help to avoid this stuff00:21
fullermdWow, I can make a total mess of conflicts in a simple cases of local commits too..00:22
* fullermd wanders off to create a bug report.00:22
cpintoawilkins, the reason for picking up bzr instead of git is mostly due to the fact that the old bazaar borrowed a lot from tla, which is the first dvcs i used :-)00:22
cpintoone cloud that's hanging over my head, is what will happen to bzr if canonical closes up shop00:23
awilkinsHmm, I went from Visual Sourcesafe to SVN to SVK to Monotone|git|Hg|bzr00:23
awilkinsI've been trying DVCS tools because I admin a few SVN repos00:24
cpintoyeek, vss is a nightmare... ever had to recover a vss repo? :-)00:24
awilkinsIf canonical closes shop then people will fork bzr00:24
i386cpinto: yeah man - fuuuck00:24
awilkinscpinto: No, because you CANT recover a VSS repo00:24
i386VSS is a nightmare00:24
i386I did a VSS to Team Studio VCS conversion...00:24
awilkinsThe analyze tool can tell you some of the forms of damage, but it can't actually fix things00:25
i386we had to leave behind some of the version control history00:25
cpintoawilkins, not so sure of that... it seems that canonical is the single big player using bzr (well, the samba team also uses it)00:25
i386Do NOT store a 3 gb codebase in VSS00:25
i386and have 100 developers working from it...00:25
awilkinsLet me fix that s/3 gb //00:25
awilkinsNever use VSS for anything00:26
awilkinsIf VS Team VCS is even informed by the design of VSS I wouldn't touch it00:26
cpintoi386, last year I was asked to convert 3 vss repos to subversion and had to say it couldn't be done. tried everything i could remember, including using old tools to convert from vss to cvs expecting to be able to then convert cvs to svn. no dice00:26
awilkinsIn fact, since it's not OSS I wouldn't touch it either00:26
cpintothe MS guys we had on site said they wouldn't do it either00:27
awilkinscpinto: I've successfully converted VSS to SVN00:27
i386ha00:27
i386we had microsoft .NETs core team come to our company00:27
cpintoawilkins, really? how did you do it?00:27
i386to help us move to from 1.1 to 2.0... they told us it couldnt be done00:28
awilkinsI can't recall now, it was one of the scripts on tigris.org00:28
cpintoawilkins, was it a perl tool?00:28
awilkinsI think it was perl, yes00:28
cpintoawilkins: that one crashed on my repositories00:28
awilkinscvs2svn is python00:28
awilkinsOoh, they have a new one00:29
awilkinshttp://www.pumacode.org/projects/vss2svn00:29
awilkinspumacode ; sounds... fast and hungry00:29
awilkinsAnd it can convert repos without installing VSS :-) that's a plus00:30
cpintoawilkins, right, that's the perl tool00:31
cpintowoops00:31
awilkinsThe reverse engineered thing that reads VSS repos is a new bit00:31
awilkinsThe version I used was somewhere around v 0.22 I think00:31
cpintoReleased August 4, 200600:31
cpintostill nothing new00:31
awilkinsI used it in about 2004 I think00:32
cpintooh well, my shrink would be glad to see i'm over it now00:32
awilkinsMisery++ on the news today00:33
awilkinsThe north of england is flooded00:33
awilkinsHeath ledger is dead00:33
awilkinsThe market is plumetting00:34
awilkinsDOOOM!00:34
awilkinsvss2svn has changes all thw way up to Nov 200700:35
awilkinsMeh "The engine of the world has been the US consumer ; now they need to save, who is going to do all the shopping?"00:36
awilkinsYou can just imagine the World Bank airdropping Visa cards onto the midwest00:37
mtaylorlifeless: I filed a bug about that thing earlier - #18510300:54
mtaylorabout the bzr info -v producing a traceback00:54
mtaylormartin pool was starting to look in to it, but I told him you'd been working on it some already00:55
ubotuNew bug: #185211 in bzr-svn "bzr commit fails on imported branch when renaming a directory with non-ASCII-name" [Undecided,New] https://launchpad.net/bugs/18521101:40
bronsonIs it possible to integrate multiple svn repos using bzr?01:44
bronsonI'd like to import 5 different svn repos as different subdirs in my bzr repo.01:44
bronsonThat way I can ensure I always have a single, consistent set of code.01:44
bob2that's fine, but they'll be no more integrated than multiple bzr branches in the same repository would be01:44
bronsonCan I at least work on the branches side-by-side?01:45
bronsonIt isn't like I need to abandon one branch in my working copy to work on another one?01:45
bob2how do you mean "side-by-side"?  you could use "bzr switch", like you can with bzr branches.01:46
bronsonI mean, I'd like to have both branches checked out simultaneously.01:46
bronsoni.e. I have branch A mirrored from UpstreamSvnA, and branch B mirrored from SvnB.01:47
bob2/home/bronson/somecode/ and /home/bronson/someothercode/?01:47
bronsonYes.01:47
bronsonProbably more like /home/bronson/myrepo/somecode and /home/bronson/myrepo/someothercode01:47
bob2sure, branches in the repository can be from different svn repositories01:47
bob2ah, right01:47
bronsonGood to hear.01:48
bronsonOK, I'll give it a shot.01:48
bronsonbob2, thanks.01:48
bob2you're welcome01:48
ubotuNew bug: #185224 in bzr "per-file message support into server: common config check {patch}" [Undecided,New] https://launchpad.net/bugs/18522402:40
=== thumper_laptop is now known as thumper
* igc lunch03:53
=== mwh__ is now known as mwh
ubotuNew bug: #185271 in bzr-gtk "empty branch causes exception for bzr viz" [Undecided,New] https://launchpad.net/bugs/18527107:00
jelmertags eyecandy \o/07:16
jelmerhttp://samba.org/~jelmer/bzr/bzr-gtk-tags.png07:16
mtaylorhey all... bzr: ERROR: File exists: '/~ndb-connectors/ndb-connectors/telco-6.3/.bzr.backup': mkdir failed: unable to mkdir07:29
mtayloroops. sorry07:29
mtaylorwrong window07:29
mtaylorHOLY CRAP. rich-root-packs is really, really fast07:40
=== Kamping_Kaiser is now known as `6og
* igc dinner08:39
=== weigon_ is now known as weigon
lifelesshi09:08
lifelessmtaylor: :)09:08
ubotuNew bug: #185298 in bzr "`bzr whoami --branch joe@example.com` and lightweight checkout" [Undecided,New] https://launchpad.net/bugs/18529809:46
bzlmA horse walks into a bazaar...10:09
bzlmThe bazaartender says:10:09
bzlm"Why the long face?"10:09
lifelessheh10:11
=== mrevell is now known as mrevell-lunch
=== kiko-afk is now known as kiko
=== mrevell-lunch is now known as mrevell
ushimitsudokiIs bzr appropriate for managing your website, as in develop on local box and push to server? If so, is there a tutorial or similar available?13:04
bzlmushimitsudoki, bzr is appropriate as a version control system for managing your website.13:05
luksbzr will help you with versioning the website, not with pushing it to the server13:05
ushimitsudokibzlm / luks: thank you ... i'm using bzr locally alright I think for a small project, and then read that some people were using it for their websites as well - just got curious about that (it never struck me to use version control for my website before)13:07
beunoushimitsudoki, I work at a web development company, and we use bzr through out all our websites13:08
luksbzr is fine for versioning it, but 1) it won't push the actual website files to the server (which is probably what you want), 2) it will push the branch/repository (which is probably what you don't want)13:09
beunoushimitsudoki, what we did to overcome the problem luks mentioned is a custom PHP script that checks for the latest files modified in the commits and lets you upload them via a web interface via sftp13:10
ushimitsudokiluks: what you are saying is matching up with what I had figured, I was just wondering if I was overlooking some options there13:10
ushimitsudokibeuno: that is a good idea - a bit beyond me right now, but I grok the concept13:10
PengYou can use the push-and-update plugin.13:10
luksPeng: you still probably don't want 'bzr branch'-able data on the server13:11
beunoushimitsudoki, push-and-update works also, you just have to be careful not to allow access to .bzr with an .htaccess rule13:11
lifelessluks: deny access to .bzr :)13:11
PengI use .htaccess and directory permissions to block access to it.13:11
ushimitsudokibueno / peng: I will look into the push-and-update plugin as well, sounds close to what i need13:11
Stavrosis the trac-bzr plugin good?13:14
lifelessfsvo good13:15
Stavros?13:15
lifelessit works apparently, but there are quite severe model problems in trac for working with DVCS13:15
luks"works" is probably the right word to describe it13:15
Stavrosoh13:15
Stavroslifeless: such as?13:15
lifelesssuch as wanting a heirarcy of changed directories above branches, for the timeline13:15
Stavrosoh hmm13:16
Stavros:/13:16
lifelessbut different branches don't have that innately, so you have to scan all branches and synthesis this view; which is expensive. svn by its model has this13:16
Stavrosi see13:16
Stavrosis there anything else i could use?13:16
Stavrosor do you know if trac will be changed in the future?13:16
lifelessyou can use trac-bzr13:17
lifelessI'm just explainin the issues :).13:18
Stavrosit's just slower?13:18
Stavrostrue :)13:18
lifelessyou could use cart,, though it is unmaintained now13:18
lifelessor launchpad13:18
Stavroshmm nah, i'll go with trac-bzr then13:18
Stavrosit's not open source :/13:18
Stavrosis it this? https://launchpad.net/trac-bzr13:18
lifelessI think so ;)13:18
Stavrosgood, thanks :)13:19
Stavroswhat does bzr ci --fixes do exactly?13:36
ushimitsudokiAlright I must reveal more ignorance: I'm trying to install the aforementioned push-and-update plugin. I created a plugin dir under ~/.bazaar and read the wiki on "How to Install a plugin", but I can't find a clear download link on the push-and-update Launchpad page. I did try "bzr branch http://...bzr-push-and-update/trunk", and I got a message that said "Branched 10 revisions", but I don't know where those files are. Please h13:37
PengStavros: It marks the commit as fixing a bug.13:38
StavrosPeng: regardless of the tracking system used?13:38
PengStavros: The tracking system has to be defined somewhere.13:38
Stavrosso do i do just bzr ci --fixes 12?13:38
StavrosPeng: hmm13:39
PengStavros: No.13:39
PengStavros: E.g. "--fixes lp:12345" (with the Launchpad plugin) says it fixed bug 12345 on https://launchpad.net/ .13:39
ubotuLaunchpad bug 12345 in isdnutils "isdn does not work, fritz avm (pnp?)" [Medium,Fix released] https://launchpad.net/bugs/1234513:39
PengYes, thank you, ubotu..13:39
luksStavros: it just records that bug with URL XXX is fixed by this commit13:39
luksno other functionality13:39
StavrosPeng: i am using the trac plugin, which is supposed to have some integration13:39
luksI don't think there is a trac plugin that uses it13:40
Stavrosso every developer should have the plugin installed?13:40
Stavroshmm13:40
Stavrosmaybe i misread then13:40
luksSVN has the advantage that it can run hooks on the server, so things like this are easy13:41
luksand since trac doesn't support external API for changing tickets, it's not that easy to do from the client side13:42
bob2ushimitsudoki: in a directory called "trunk" in the directory you ran "branch" in13:42
Stavrosthere's this: https://lists.ubuntu.com/archives/bazaar/2007q2/026518.html13:43
luksStavros: what do you mean by 'this'?13:43
luksit just explains how to configure trac urls13:43
Stavrosit mentions how to get trac integration13:44
luksno, how to map project:XXX to http://trac.project.org/ticket/XXX13:44
Stavrosah13:44
luksyou still need a tool to read http://trac.project.org/ticket/XXX from bzr and update the ticket13:44
Stavrosoh, i see13:45
luksand I'm not aware of such tool13:45
Stavrosright13:45
luksI was considering writing it, though13:45
luksbut that would mean I first have to install the xmlrpc trac plugin :)13:45
ushimitsudokibob2: thank you!13:45
lifelessStavros: 'bzr help bugs'13:49
Stavrosoh, thanks13:50
lifeless(bzr help commit has a see-also of 'bugs')13:50
Stavrosah yes13:51
bzlmPeng, your nickname means "coin" in my native tongue.13:58
Vercingetorigexhi14:15
VercingetorigexthI need help: there is a plug-in for Visual Studio of bazaar? Thanks14:16
lifelessVercingetorigex: hi, there is such a plugin but I don't know how mature it is14:25
lifelessVercingetorigex: google will probably find it14:25
Vercingetorigexthanks so much14:26
=== tchan1 is now known as tchan
=== kiko is now known as kiko-phone
lifelessmtaylor: hi; yes packs are fast :)14:38
mtaylorlifeless: they make me happy14:38
CardinalFang...fast for most verbs, anyway.14:48
=== kiko-phone is now known as kiko-fud
awilkinsHow's barnsley?15:39
lifelessbarnsley?15:46
statikwhy does bzr-gtk suddenly only have a single revision in trunk, when the version I have locally has over 400? http://codebrowse.launchpad.net/~bzr/bzr-gtk/trunk/changes16:11
schierbeckjelmer: ping16:11
luksstatik: it has only a single file, named README, read it :)16:12
lifelessstatik: http://bazaar.launchpad.net/~bzr/bzr-gtk/trunk/.bzr/branch/last-revision16:12
lifelessmeh thats nuts16:13
statikwow that is crazy16:13
lifelessjelmer: why not just rename the branch ?16:13
statikluks: I should have read that file though, thanks for the tip :) now I can get the latest code16:14
datoor put one of those bazaar reference branches, if lp would allow doing it (eg. with sftp, I guess)16:20
datoI think that'd be the best solution?16:20
statiklatest bzr.dev gives me errors trying to pull from a 1.0 smartserver16:28
statikhttps://bugs.edge.launchpad.net/bzr/+bug/18539416:28
ubotuLaunchpad bug 185394 in bzr "Generic bzr smart protocol error: bad request '232' when connecting to bzr 1.0 smart server" [Undecided,New]16:28
statikany other info that I should supply?16:28
lifelessstatik: known defect, see the list, kthxbye16:30
ubotuNew bug: #185394 in bzr "Generic bzr smart protocol error: bad request '232' when connecting to bzr 1.0 smart server" [Undecided,New] https://launchpad.net/bugs/18539416:30
statiklifeless: ok, cool. I didn't find an open bug when I searched16:30
lifelessstatik: yah, we kindof assume folk following trunk follow the list too ;)16:31
* bzlm e inte i huset mer16:37
=== bzlm is now known as bzlm^away
ubotuNew bug: #185401 in bzr-svn "crash on checkout from SVN WC w/ unicode name" [Undecided,New] https://launchpad.net/bugs/18540116:46
=== kiko-fud is now known as kiko
arkadiniwhould somebody have an advice on how to split/refactor a file into a number of separate files with bzr?17:23
LeoNerdJust split it. bzr can't track movements of lines within files.17:24
LeoNerdIf you're going to cut it into lots of small pieces, my suggestion may actually be add all the new pieces, then del the original17:25
LeoNerdThat way you don't have a false "mv" which isn't really true17:25
arkadinino, just 1 into 2, 3 max but was hoping to preserve the history for all the "new" files...17:27
lifelessarkadini: planned feature, not there yet sorry17:31
lifelessLeoNerd: I don't think the mv is false; its not the whole story :)17:31
LeoNerdHrm...17:32
LeoNerdBut I'd prefer to in this case, ensure that a "merge" on the file definitely breaks and requires human intervention17:32
LeoNerdNo chance of it accidentally succeeding where it woudl actually be wrong17:32
arkadinilifeless: fair enough, thanks17:35
=== Gwaihir_ is now known as Gwahiri
=== Gwahiri is now known as Gwaihir
brink_What is the recommended umask?19:13
ernsthi19:14
ernstjust started with bazaar and am trying to setup a central repo on a ftp19:15
ernstI finished steps where I made a repo on my ftp and I checked out, and put the files from my project in my local repo.19:16
ernstbut now I want to commit, which gives me this error: Append/Restart not permitted, try again19:16
ernstwhat can I do?19:16
fullermdStab your FTP server.19:17
ernstwith a knife you mean ... ?19:17
ernstI know it accepts APPE and RETR.. I tried those command with a command line ftp19:17
fullermdI like 1/2" rebar.  A knife could break...19:17
ernsthehe. lol19:18
fullermdBut yeah, it's a pretty standard FTP failure mode.19:18
fullermdFTP is a flipping mess of a protocol.  Can use use something like SFTP instead?  That would be the easiest fix...19:18
fullermdGaah.  "Can _you_ use".  Coffee.  Need coffee...19:18
ernstnope.. only thing I can use is plain FTP :(19:19
fullermdI think somebody once had it actually work with active FTP when it failed like that with passive; try using aftp://19:20
fullermdI can't imagine _why_ that would make a difference, but it may.19:20
ernstgonna try it now.19:20
fullermdThen take the knife to your server admin for not having sftp   :p19:21
ernstwell. I can have sftp .. but it will cost me :(..19:21
fullermdWhat bzr version/repo format are you using?19:22
ernstI have version 1.0 and followed this steps: http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#publishing-a-branch19:24
fullermd'k, so you'd be using packs.  I wondered if maybe they might not need append, but I guess it translates to that down the stack anyway.19:24
ernstI see..19:25
ernstwell I started again and am now using aftp:// instead of ftp://19:26
fullermdlifeless: ^^^  _Should_ packs be able to do without transport-layer append, and so be more FTP-friendly?19:27
ernstfirst time though, using something like VCN19:27
brink_Should the umask be 002?19:27
fullermdbrink_: I s'pose that depends on whether you want the umask to be 002   ;)19:28
brink_It seems we get a lot of problems with permissions after changes are pushed.19:28
fullermdThe umask may affect perms when you 'bzr init'; in normal operation though, bzr bases off the existing perms in the .bzr/ dir.  It may affect working-tree files that are created, I'm not sure.19:28
brink_We're getting a bit of a mutiny that wants to go back to subversion.  I want to prevent that.19:29
fullermdMmm.  Pushing via SFTP, and getting perm problems on directories?19:29
brink_Yes.19:29
brink_I have to fix it with chmod every once and a while.19:29
fullermdOpenSSH's SFTP server doesn't allow setting setgid.19:29
fullermdIt silently strips the bits.19:29
brink_Sounds evil.19:29
fullermdIf you can use bzr+ssh instead, that'll work.  And probably be faster.19:30
ernstwell.. aftp:// still didn't do the trick19:30
fullermdYou could cron a find .bzr/ -type d -print | xargs chmod g+s with some regularity and stave it off.19:30
brink_Does bzr+ssh work well for branching too now?19:30
brink_I suppose I could, but I don't want any flakyness.19:31
fullermdIt should, yeah.  There's a few quirks with branch format default and such, but it should work just fine.19:31
fullermdI don't think I've used sftp since 0.13 or so, I moved everything to bzr+ssh19:31
brink_I was wondering if the umask was one of the issues.19:31
ernstdo you have another tip  I can try fullermd??19:31
brink_I've been using bzr+ssh except for branching, the sftp seems to be much faster.19:32
fullermdNah, that's the SFTP server "helping" you.19:32
fullermdernst: Not really, sorry   :(19:32
ernstdarn.. I wanted to use Bazaar since it works with plain ftp19:32
ernst*should work* :)19:32
fullermdernst: It comes up with some regularity; some FTP servers just don't get along well.  There's no formal spec for attributes to support or ways of passing errors, so the FTP code is pretty DWIM-y.19:32
fullermdbrink_: Mmm.  Maybe you're using a shared repo, with a lot of unrelated projects/branches in it?19:33
brink_No.  It's not a shared repo.19:33
fullermdbrink_: The smart server might still be doing its "send initial branch as a tarball of the repo" thing, which could end up sending a lot more data...19:33
ernstbtw.. I see that bzr makes the initial file on my ftpserver.. it just won't append to it19:34
fullermdernst: Do you know what software the server is running?19:34
ernsthow do I find ou?19:34
ernstout19:34
fullermdIt may give a banner you can see from a FTP client.19:35
brink_I've notice a few postings about permission problems on Linux, but not enough detail to figure out what the solution is.19:35
ernstnever mind.. found it -> it's ProFTPD 1.2.1019:35
fullermdbrink_: Most of them, AFAIK, end up being the "SFTP server stripping setgid" thing.19:35
brink_Can I get away with a umask of 022?19:35
fullermdNot really.  SysV filesystem semantics need the setgid on the dir to inherit the group ownership to the files under it.19:36
fullermdYou could put BSD on the server   ;>19:36
brink_So what do most people do.   Set the umask to 002?19:36
brink_Actually, the main server we're using is OS X.   So it's sort of BSD.19:37
brink_We use Linux too though.19:37
ndimPOSIX ACLs could work around...19:37
fullermdHm.  I'm not sure what set of FS semantics OS X uses...19:37
ndim...potentially.19:37
brink_I've heard ACLs could help.   I don't know how to set them up though.19:37
fullermdI don't think bzr follows the umask for repo files; it bases it off the perms of the existing files/dirs.19:37
ndimPOSIX ACLs at least have an equivalent to setgid - but without needing the g+s bit.19:38
fullermdYeah, but that probably wouldn't invoke the FS side effect of g+s.19:38
brink_I've tried setting the sticky bit.  It doesn't seem to help.19:38
fullermdYeah, sticky wouldn't help at all.  Might hurt.19:38
brink_Is that so?  How come?19:39
fullermdBecause the semantics of the sticky bit on a directory is to not allow you to delete files you don't own, regardless of whether you have +w on the dir.19:39
fullermd(hence its use on /tmp and the like)19:39
brink_Even if you're a member of the group?19:40
fullermdGroup isn't relevant there.  It's all perms.19:40
brink_So what's the proper way to setup the perms?19:41
fullermdTo delete a file, you need +w on the directory it's in.  Whether you get that via user, group, or other perms, doesn't matter.19:41
fullermdWell, the proper way with SysV fs semantics is g+s, so files inherit group   :)19:41
brink_Something like this?  chmod -R 2770 repo/19:42
fullermdIt's just that the sftp-server doesn't get along with that.19:42
fullermdYah.19:42
brink_And this?   chown -R  root:repogroup repo/19:43
ernstfullermd: are there any workflows with bzr that doesn't require a correct implementation of APP? ie . it only STOREs files?19:43
fullermdernst: I don't know; I don't know the code at that level.  I presume the transport level is translating stuff to appends.19:44
* fullermd nods at brink_.19:44
ernstI see..19:45
fullermdbrink_: Then periodically g+s'ing directories (not files) would clean up the damage the sftp server does.19:45
fullermdbrink_: But really, bzr+ssh _is_ the better answer.  If it's significantly slower, that's probably a bug.  If you can come up with some numbers on specific cases, you should probably post it to the list so we can see what we can do.19:45
brink_You believe it's only sftp that causes the damage.  Never bzr+ssh?19:46
fullermdYeah.  It's a specific problem; sftp-server strips the g+s bit when we ask for it.19:46
fullermdbzr+ssh doesn't go through the sftp server; it runs a local 'bzr' invocation which talks to the filesystem.19:47
brink_It's possible that bzr+ssh is fast for branching now.  I haven't tried branching with bzr+ssh in some time.19:47
brink_Maybe sftp support should be disabled?19:47
LeoNerdbzr+ssh is a lot faster than sftp, in my experience19:48
brink_For pushes & pulls it's faster.   Not sure it is for branching.19:48
fullermdActually, sftp may work OK for packs; I don't think pack repos end up creating directories very often.19:48
fullermdknit repos will until it finishes filling out the hash bucket dirs.19:49
fullermdMaybe lock dirs still suffer from it; I don't know.19:49
brink_How do I tell if I'm using packs or knits?19:49
fullermd'bzr info'19:49
brink_Yes.  We've had lock dir issues.19:49
fullermdBut really, I wish we _did_ de-emphasize sftp more.  If there are perf bugs in the SS, they should be fixed, and sftp should be a "if you can't run bzr on the server, you can still use sftp", not a default choice.19:50
brink_I'm knit format.  Is that old?  Can I upgrade it?19:51
fullermdPacks came in with 0.92, and became default in 1.0.19:51
fullermdSo if you've got people using older versions, you'll need to stay with knits.  If everyone's keeping up, and is on 1.0 or 1.1, you could upgrade.19:51
brink_If I upgrade will they fail gracefully?19:52
fullermdWell, they'll fail by saying "WTF is this?  I don't know how to work with this."  That's sorta graceful.19:52
brink_That's good enough.19:53
fullermdPacks may end up slower on sftp, if you have a large history and slow connections, since they'll have to shuffle a lot of data around for repackings.19:54
fullermdI think the SS protocols already do all that server-side.19:54
ubotuNew bug: #185458 in bzr "can't add files with certain unicode characters" [Undecided,New] https://launchpad.net/bugs/18545819:55
ernst@fullermd: just using bzr branche with ftp doesn't work. still APPEND errors. Time to use a USB stick instead :( or pay anothe 2 euro 50 for sftp support.19:55
PengI have to use sftp on one large repo because the server's process Nazi always kills smart server repacks. :P :(19:55
Pengernst: Or find a decent host? Not that that's easy.19:56
fullermdSee?  Just proves my point that there's no problem that can't be solved by finding the right person, and beating the crap out of them   :]19:56
ernstyeah that's true Peng.. only prob is, I'm happy with my host when it comes to just php + mysql + http hosting19:57
fullermdSo all we need is PHP bindings for bzrlib so we can write a PHP smartserver...19:57
ernstlol :)19:57
brink_My os x bazaar thinks it's version 0.18.   Is the macports version behind?19:58
PengWell, it is behind.19:59
Peng0.18 isn't ancient. It goes 0.18, 0.90, 0.91, 0.92, 1.0, 1.1.20:00
brink_I see that the 1.0 dmg say's it's for leopard.  I have tiger.   1.1 seems to be for tiger, but it's experimental.20:01
brink_Not sure what fink will get me.20:01
brink_Looks like fink is 0.18-120:01
brink_Maybe I'll try the leopard one and cross my fingers.20:02
fullermd1.1 should be fine.20:02
ernsthow do I add the pgp key from the bazaar gutsy repo?20:03
ernstI'm using ubuntu gutsy20:04
PengIt says how on the website.20:08
ernsttnx. I was looking at the wrong places..20:10
ernstmm tobad . no version 1.1 out yet for ubuntu as .deb20:12
mtaylorthere's the ones in the ppa20:13
mtaylordeb http://ppa.launchpad.net/bzr/ubuntu gutsy main20:13
mtaylordeb-src http://ppa.launchpad.net/bzr/ubuntu gutsy main20:13
mtaylorernst: ^^20:14
ernstthanx mtaylor .. that works :)20:16
mtaylorgreat!20:16
* mtaylor really wishes that bzrtools, bzr-svn and bzr-gtk would be considered "core" plugins and released to that ppa when bzr is released20:17
mtaylorbut that's just me20:17
abentleymtaylor: bzrtools is on ppa.20:18
mtaylorabentley:   bzrtools: Depends: bzr (< 1.1~) but 1.1-1~bazaar1~gutsy1 is to be installed.20:19
mtaylor  bzr-svn: Depends: bzr (< 1.0.1~) but 1.1-1~bazaar1~gutsy1 is to be installed.20:19
abentleyYeah.  It's borken, but it's there.20:19
mtaylorwell yes. :)20:19
mtaylorI meant more of a process thing rather than a physical need thing.20:20
abentleyBzrtools 1.1 is on ppa, but the dependencies are messed up.20:20
mtayloroh, fun20:20
abentleySo that it wants bzr 1.020:20
ernstfullermd, I was saying I'm getting those Append / Restart errors with bzr.. well. filezilla ftp client can 't append either. I'm gonna contact my host.. this is nonsens20:23
fullermdNonsense?!  This is FTP!   ;p20:24
ernsthehe. well my first guess is that they disabled resume20:24
fullermdNo, I think ProFTP is one of the ones that that issue is standard on.20:24
fullermdI'm flabbergasted that they want to charge more for sftp, though.20:25
fullermdAfter all the time I spent screwing with firewalls to try and get FTP working right, and all the gaping holes I had to open, I'd be thrilled to tears if NOBODY ever wanted to use it again and I could yank all that crap.20:25
ernstyeah I couldn't agree more.. silly thing is though, they are saying that SSH has more risks. go figure20:26
PengBut you can get those risks if you want to pay more?20:32
ernstyeah..20:32
Pengfullermd: What do you like for file servers? Just HTTP?20:32
ernstbut 2 euro 50 for SSH and SFTP is too much in my opinion20:32
fullermdWell, I use NFS for file servers   ;)20:32
fullermdBut yeah, file distribution, I just use HTTP.  It's simple, it's ubiquitous...20:33
PengHar har. Ok.20:33
Peng(Isn't NFS evil?)20:33
fullermdAbsolutely.20:33
ernstand everyone can get to http :)20:33
fullermdBut I use it in sufficiently controlled situations that the evil is suppressed.20:34
ernstwell, thanks for all the help. I'm gonna await an answer from my host20:35
awmcclainHi all... Is the only way to get the current revision number of a file to slice up the output from bzr log FILENAME?21:15
jelmermtaylor: I've just uploaded bzr-svn to ppa21:27
mtaylorjelmer: you are my hero21:27
jelmerI hope to also upload to ppa from now on when I do releases21:27
jelmerjames_w: Is there some easier way to build for ppa than running "bzr builddeb --source --builder="dpkg-buildpackage -rfakeroot -S -sa" ?21:28
=== tchan1 is now known as tchan
mtaylorjelmer: I just do bzr bd -S21:51
mtaylorand then I have in ~/.bazaar/builddeb.conf21:52
mtaylor[BUILDDEB]21:52
mtaylorbuilder = debuild21:52
mtaylorsource-builder = debuild -S21:52
mtaylorquick-builder = sudo debian/rules binary21:52
mtaylororig-dir = ..21:52
mtaylorand that works for me for ppa21:52
RainCTHey22:02
RainCTwhat was the command to remove a lock?22:02
jelmerbzr break-lock22:02
CardinalFangTee hee.22:03
RainCTjelmer: thanks :)22:05
lamontwill bzr let me say 'bzr log - but only for commits that include changes to $FILE'?22:27
Peng"bzr log file"?22:27
lamontbzr: ERROR: extra argument to command log: <file>22:28
lamontwin22:28
lamontotoh, if I only give it one file, it does better22:28
datoright, only one file allowed22:28
PengSeriously? That sucks.22:29
datoyet another bit of insight brought to you by Peng22:29
PengAlso, the RIAA are jerks.22:30
fullermdHey!  I'm _sure_ I said it first!22:30
igcmorning22:43
mtaylorabentley: so any chance of someone re-uploading bzrtools to ppa as a !bazaar2-gutsy1 release with the depends fixed?23:11
mtaylorand by ! I meant ~23:11
abentleypoolie does that, and he'll be here a bit later.23:12
PengIsn't the point of PPA that multiple people have access to it?23:12
pooliemtaylor, got it23:17
pooliePeng, yes, anyone could do it, but i probably know more about it than aaron23:17
mtaylorpoolie: rock.23:17
poolieabentley, i'm off the phone, i'll be there about 1123:21
PengNice, "apt-get update" ran at 743 bytes/sec.23:29

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