/srv/irclogs.ubuntu.com/2012/11/01/#bzr.txt

AfCI have no wish to stop using bzr, but it's becoming less and less optional to not be on github with my code.00:54
AfCI'm trying to understand what a workflow could be, but since dpush did a rewrite of all my history, am I supposed to throw my old bzr (only) branches away, or...00:55
AfC?00:55
jelmerAfC: you shouldn't have to throw your old branches away - a new 'bzr dpush --no-rebase' from your old branches should be compatible with what's on github00:56
AfCHuh00:56
AfCjelmer: So you use `dpush` once and only once, then always `dpush --no-rebase` from then on?00:56
jelmerAfC: you should be able to always use --no-rebase I think00:57
AfCjelmer: oh, interesting00:57
* AfC tries that00:57
AfCjelmer: so, er, why wouldn't that be the default command?00:58
AfCs/command/option setting/00:58
jelmerAfC: it's the default, because it's not useful for what dpush was meant for (contributing to upstream projects in git)00:58
AfCI see00:59
jelmerAfC: an option setting to disable rebasing would make sense, though you can also add a 'dpush = dpush --no-rebase' alias in ~/.bazaar/bazaar.conf00:59
maxbPresumably publishing to git via dpush --no-rebase works wonderfully until someone tries to submit changes to you via github....00:59
jelmerright, it works if you have a mirror but it makes it impossible to merge from git since the histories will be completely unrelated01:00
AfCmaxb: that's the other thing I'm wondering about, though frankly that's secondary01:00
AfCmaxb: I really just want to get my code up somewhere more visible than self-hosting01:00
AfCjelmer: right. So, if I `dpush` alone, then the branch gets rebased01:01
AfCthat's fine.01:01
jelmerAfC: yep01:01
AfCI then continue developing locally01:01
AfCmaking [bzr] commits01:01
AfCthen I ...01:01
AfCer01:01
AfCum01:01
AfCuse dpush again, and accept that the branch keeps getting rebased?01:01
AfCI guess I'm trying to understand how that will work vs01:01
AfCbzr branch a b01:01
jelmerAfC: that's one way of working01:01
AfCcd b01:01
AfCcomit, commit,01:01
AfCbzr missing --line ../a01:02
jelmerAfC: as long as you dpush before you push the changes anywhere else01:02
AfCjelmer: [Robert has told me I'm foolish for keeping trying to use Bazaar against a Git storage backend, but :(]01:02
AfCjelmer: ah01:02
AfCyes, that makes sense01:02
AfCso dpush to github [or even just a local throw-away?] and *then* push to my "official" public branches on our webserver01:03
AfCjelmer: [as always, thanks for your advice]01:04
jelmerAfC: FWIW I'm just using Git for projects that are in Git these days too01:05
AfCjelmer: so, I sorta said it before, but the critical need for me is to get my code onto github01:06
AfCjelmer: it's really just a PR thing01:06
AfCjelmer: but it's getting to the point where people judge your resume by your github account. I've been challenged for it in an interview once already.01:06
AfCjelmer: that, cross product01:06
fullermdPfft, how hard can it be to hack github and setup bzr hosting on the server?   :p01:07
AfCjelmer: the language I'm working in these days is *extensively* active on github01:07
AfCfullermd: :)01:07
AfCfullermd: I wish01:07
bob2just using git means you also get to use magit01:07
jelmerAfC: ah :-( That's a pity, especially the fact that it's about a specific propietary service.01:07
bob2which is awesome01:07
AfCjelmer: I know. But the community is there.01:07
fullermdWell, it could be worse.01:09
AfCjelmer: [that would, essentially, be the same conversation if we were talking about Twitter vs Identica]01:09
fullermdImagine if the important community coalesced around ClearCaseHub instead.01:09
jelmerAfC: only slightly; Git has the advantage of being distributed, but we then still stick all our repositories on Github01:10
AfCjelmer: yeah01:11
AfCjelmer: though, I'm less worried about that; *I* know how to host my code elsewhere :)01:11
jelmerAfC: :-)01:11
AfCjelmer: the fact that it's a single point of failure for everyone else who thinks DVCS are centralized is their problem :)01:11
jelmerAfC: So, I think I agree with lifeless here.. maintaining a copy of your work in two DVCSes is a lot more pain than in one, especially given the somewhat beta state of bzr-git's dpush support.01:12
AfCjelmer: don't be saying that. You're my last shred of hope that I can keep using bzr in the face of overwhelming numbers of employers/clients who otherwise have no idea what I'm talking about01:13
fullermdFunnily enough, I've got a bzr project somebody else put on github  ;p01:13
fullermdThough that went the other way; they used git-bzr to yank it in.01:14
AfCfullermd: hm01:15
jelmerAfC: if you don't care about pulling in contributions from github then bzr-fastexport+git-fastimport (which is basically what git-bzr is) is certainly also a good option01:15
AfCjelmer: well, I wouldn't want to be hostile to contributions from there01:17
AfCjelmer: reality is, that's where they're going to see the code01:17
jelmerAfC: dpush (with rebase) should indeed be quite suitable in that case01:18
jelmerAfC: without somebody actively maintaining bzr-git it's likely to break at some point though, as is happening with some repositories because of new git features01:21
mgrandihey, does anyone have any experience with bzr serve? i'm messing around with it01:22
AfCmgrandi: sure. What's your question?01:22
fullermdYou're not supposed to mess with it, it doesn't have any sense of humor at all.01:23
mgrandiim not sure how im supposed to use it, is the ssh server supposed to be listening on 4155 (the default port), but then bzr serve can't bind to that address01:23
mgrandiand if ssh isn't listening on 4155 and bzr serve is, then i get "bzr: ERROR: Unable to connect to SSH host mgrandi.no-ip.org:4155; Error reading SSH protocol banner"01:24
jelmermgrandi: the plain bzr server listens on port 415501:24
AfCRunning bzr [serve] as a daemon is not SSH protected01:24
jelmermgrandi: the ssh server is basically just 'bzr serve' executed over the ssh protocol, on the regular port01:24
mgrandiyeah i noticed that, is that basically waht its intended for?01:25
jelmermgrandi: yep01:25
mgrandithat the client just runs bzr serve?01:25
mgrandiand then it exits?01:25
mgrandiseems like that would be slower01:26
jelmermgrandi: there is some overhead involved, but starting up bzr isn't that slow, especially compared to the ssh handshake01:27
mgrandibut either way its faster then using sftp?01:28
AfCmgrandi: hugely so01:28
AfCSFTP is a disaster zone01:28
fullermdAgain, could be worse; could be FTP...01:28
mgrandiwell on my remote host i can't install stuff to root, is there a way to modify what path of bzr it asks for?01:28
fullermd(that's what's great about the internet; there's always a worse idea somebody's gonna force you to use sooner or later...)01:29
jelmermgrandi: you can set the 'BZR_REMOTE_PATH' environment variable01:29
fullermdOr just put where it is in your remote $path.01:29
mgrandioh thats true01:29
mgrandithere is just little documentation about serve, its mystical~01:30
mgrandiso after it calls bzr serve how does it tell tell the computer (running bzr serve) what it needs?01:32
spivfullermd: updating your remote $PATH won't help, unless you mean via some system-wide mechanism (/etc/environment?)02:24
fullermdSure it will, it just runs 'bzr'.02:28
spivfullermd: right, and it doesn't run .bashrc (or whatever your shell of choice is)02:52
spivSo if you try to update your PATH for your account the way you usually do, it won't help.02:53
mgrandidoesn't ssh do that when it connects? i know putty does02:55
fullermdThat's a shell specific thing.03:01
fullermdI don't know offhand what config file weird-ass shells like bash load on non-interactive sessions, but there is one.03:01
fullermdFor me, it does work just fine, since I use a sensible shell  ;p03:01
fullermde.g.: % bzr ping bzr+ssh://localhost/      [...]  Headers: {'Software version': '2.6.0dev3'}03:05
fullermdUnless'n you think I'm nuts enough to system-wide install bzr.dev...03:05
fullermd(and in fact, in this case, it's not even $path; 'bzr' is a shell alias getting invoked, pointing over to .dev)03:05
spivfullermd: the point is that sshd *won't run your shell*, IIRC03:09
spivBecause the SSH client is not requesting a shell.03:09
spivIt's asking to run a command.03:09
fullermdEr.  Yes it does.  It has to; that's how the login process works.03:09
fullermdOtherwise setting your shell to /usr/sbin/nologin or similar artifacts would have no effect, as you could just 'ssh host /bin/sh' or the like to bypass them.03:10
fullermdThe shell is what runs the command you ask for.03:10
fullermdIt runs the shell in _non-interactive_ mode, which means if you're using a shell that reads different rc files based on that you'd need to know it and set things in the right place, but that's a separate matter.03:13
spivI may be getting confused with subsystems...03:13
fullermdPossibly.  Subsystems are a whole different ball of mud.03:14
=== deryck_ is now known as deryck
=== dpb_ is now known as Guest15779
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
TolstoyWhen my colleague does a bzr diff, we see a revid on the files that have changed. When I do it, I get a date. Is there some way I can change that?20:15
Tolstoybzr 2.5.120:16
Tolstoybzr diff rebid plugin was the trick.20:54
youlyssesNow obviously you guys may be a bit biased, but how comparable is bzr to git speed-wise?20:54
fullermdI'd say somewhere between "indistinguishable" and "terribly slower", depending on the cases you're comparing.21:02
fullermdIt probably averages out to moderately slower, day to day.21:02
youlyssesfullermd: But it's not a *huge* deal, assuming you aren't doing a ton at a time?21:08
fullermdProbably not, unless you hit degenerate cases.21:10
fullermdSeems the usual case we hear about is initial branching on giant projects.21:10
youlyssesfullermd: Yeah for my current needs, I have nothing "massive" to really worry about... or alteast I hope-so. :-P21:12
ZyX-IHello. How can I know what statuses may be shown in “bzr status” output? Except for reading “bzr help status” (it is incomplete) and bazaar source code (it is hard to find out the answer there).21:36
lifelessZyX-I: its incomplete?21:37
ZyX-Ilifeless: Yes.21:38
lifelessZyX-I: a little more detail would be useful, or perhaps file a bug. I was not aware that it was incomplete.21:40
ZyX-Ilifeless: There are at least three statuses that are not listed there: missing (don’t remember how to reproduce), ignored and unexistent (just supply bzr status ignored or unexistent paths). It looks like there are also two merge-related statuses.21:43
lifelesshmm - please do file a bug21:44
lifelesshelp status is where it is *meant* to be documented.21:44
ZyX-Ilifeless: For missing: add a file using “bzr add” and then remove it using just “rm”.21:46
lifelessZyX-I: yes21:47
ZyX-IIt is for bzr-2.5.1.21:48
ZyX-II like the idea of telling me about invalid password when it was meant that I have not activated my account.22:00
=== youlysses is now known as youlysses_ZZZzzz

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