/srv/irclogs.ubuntu.com/2008/11/22/#bzr.txt

alecwhHello, I'm trying to get bzr to work as an easy way to change my website (ex: bzr push will update my website homepage, if modified in the last commit). My branch is here: http://alecwh.com/test/. The problem: the .bzr directory (http://alecwh.com/test/.bzr/)exists, but none of the files (index.html) are. Also, the .bzr directory is "Forbidden", even though the permissions clearly allow the public to view the folder.00:16
alecwhI am pushing to the website via FTP, and as far as I know, bzr support is not natively supported on my host.00:17
synicalecwh: have a look at bzr help working-trees00:18
synicit mentions a 'push-and-update' plugin00:19
Rahtlet me ask, how does bazaar handles source downloads?00:21
Rahtas regular files or as diffs?00:21
AfC"source downloads"?00:23
Rahti mean checkouts or how it is called here...00:24
AfCAre you asking what format is used when Bazaar streams revisions over the wire?00:24
Rahtyeah, putting it in those words works well00:25
alecwhsynic: thanks for your help, but unfortunately, SSH is not enabled on my hosting account. =(00:31
alecwhIs there another solution?00:31
=== BasicPRO is now known as BasicOSX
AfCalecwh: you might try the "upload" plugin, https://launchpad.net/bzr-upload00:52
synicwho is Balint Aradi ?00:53
hiredmanis there some way I interact with a git repo using bzr?03:52
rey4does anyone know where the original bazaar a.k.a baz can be downloaded?03:56
fullermdrey4: http://bazaar-vcs.org/releases/src/obsolete/04:05
rey4thanks!04:05
hiredmanis there a way to pull a single file from a bzr repo?04:08
fullermdhiredman: Depends on what you're asking.  Do you mean something like `bzr cat`?04:17
=== beuno_ is now known as beuno
Spazdoes bzr support partial checkouts yet?07:18
* Spaz hasn't been paying attention07:19
Spazbasicaly what hiredman asked07:19
=== doko_ is now known as doko
jelmerSpaz, not yet07:54
Spazmmk07:55
_jurii have an old tree i haven't touched in a while, can't recall exactly what version i was using the last time i touched it09:41
_juriaccessing it with 1.8 or 1.9 tells me 'Bazaar development format 1 (needs bzr.dev from before 1.6)\n'09:41
_jurii tried 1.5, it tells me 'Bazaar Branch Format 7 (needs bzr 1.6)\n'09:41
_juri1.6.1 is willing to give it a go, but bzr upgrade fails (after "repository converted" message) with bzr: ERROR: Cannot convert to format <class 'bzrlib.branch.BzrBranchFormat6'>.  No converter09:42
_jurii'm next going to give a go with 1.6 and after that a 1.6beta version, but if anyone can give any helpful suggestions they would be appreciated09:42
_jurion a related note, it might be a good idea to have a link from the bazaar-vcs.org download page to https://launchpad.net/bzr/ for access to old versions09:44
_juri1.6 and 1.6b3 give the same error message about BzrBranchFormat609:57
_jurioh yay, 1.6.1 with bzr upgrade --1.6 seemed to work10:05
_jurinow let's see if 1.8 is happy with it10:05
_juriwell, wen't directly to 1.9, doesn't seem to complain10:10
=== Mario_ is now known as pygi
lukshm, dpush of multiple revisions does weird things11:49
leefmcQuestion: Does bzr come with a server of some sort? I want to run a bzr server on a local box to keep my projects private for now, i assumed this is possible. But where is the server? I'm not seeing a specific server package in the ubuntu repositories17:31
beunoleefmc, comes with a "smart server", which is just to optimize operations17:32
beunoyou don't really need something other then ftp/sftp/ssh17:32
leefmcbeuno: Well how would i set it up so i can push to my local server?17:33
beunoleefmc, just make sure that bzr is installed on both ends, and that you have, say, ssh access17:33
beunoand just do something like:  bzr push bzr+ssh://user@host/path/to/branch17:34
leefmcbeuno: Righto, thanks :)17:34
leefmcbeuno: That would explain why i was having trouble finding server information heh17:34
beunoleefmc, heh, yeah. Although maybe our documentation isn't very clear either17:35
leefmcbeuno: Boy i hope the project lead chooses bzr/launchpad.17:36
beunoleefmc, let us know if we can help with anything to tip it in our favour ;)17:37
leefmcbeuno: Its coming down to Merc/Bitbucket (i believe) and Bzr/Launchpad. Luckily launchpad made some headway given that the bug reporting is now pretty clean.17:37
leefmcbeuno: Well he was going with Google Code & SVN, but all the people who joined this project cried for a DVCS heh17:37
beunoleefmc, this may be of interest: http://bazaar-vcs.org/BzrVsHg17:39
leefmcbeuno: Well although i will post that, a DVCS is all any of the programmers really care about (we all have our prefs, git/bzr/hg), but the project lead will most likely be choosing entirely on the host, Launchpad vs other. Initially he chose Google Code over launchpad because of the bug tracking, even though he himself dislikes SVN17:41
leefmcbeuno: Though i showed him they are nearly identical now, so i believe he was used to an older version of launchpad that required multiple bug reporting steps17:41
beunoright17:42
beunoyou also have APIs for Launchpad now17:42
leefmcbeuno: That might be interesting aswell. Could it allow CMS' (and plugins for that CMS) to check for updates?17:43
beunoabsolutely17:44
beunohttps://help.launchpad.net/API17:44
leefmcbeuno: Also, are there any key ways for launchpad to show a good strong relation between projects? Ie, if we have a CMS, and have 50 plugins for that CMS each having their own project, it would be very nice to have a way for users to visit the root CMS project page, and somehow browse the plugins available for that CMS.. which would all be projects hosted on launchpad. Thats a big one aswell, and because of that were also looking at using17:45
leefmcsome custom software with hg repos17:45
beunoleefmc, yeap, super-projects17:46
leefmc(hope you got all that, some irc clients cut off paragraphs that big)17:46
leefmcbeuno: So google super-projects?17:46
LarstiQleefmc: it's usually the irc server that truncates messages17:46
beuno(it got cut off ar: ...looking at using)17:46
beunoleefmc, https://edge.launchpad.net/bazaar17:46
beunothat's a super-project17:47
beunowhich has bzr, and all it's plugins as part of it17:47
leefmcbeuno: Ah, under "projects" correct?17:47
beunoleefmc, rightr, although to create one, you need to request it via answers.launchpad.net/launchpad17:48
leefmcbeuno: Thats usually an easy process though right, we couldn't be "rejected" correct?17:48
beunoleefmc, very easy, and you'll get it approved as long as it's open source17:49
leefmcbeuno: Ofcourse :), k thanks17:49
leefmcbeuno: Is there a documentation page to grab info about these super projects?17:49
beunoand, if you run into any problems, you can always ping me, or ask in #launchpad, which is full of developers17:49
leefmcyea17:50
beunoleefmc, I can't find any docs on super-projects at the moment :/17:50
beunothey're basically used to group projects17:50
beunoalthough we do have plans to extend their funcionality17:51
beunofunctionality even17:51
markwatersI've never used a rcs sytem before but after watching the ubuntu irc lessons recently though I'd have a look at bzr and want to ask a few beginner questions17:59
markwatersI would like to use bzr to look after my remote /var/www directory18:00
markwaterscan I pull down a copy , work locally , commit and then push the updates back via ssh / sshfs ?18:01
markwatersid also like to create a copy of the servers /etc directory and record changes in that too18:02
markwatersso I can see server config file changes and be able to roll back from mistakes etc18:02
beunomarkwaters, is this for web development?18:08
beunoif so, you have a plugin which may suit you better called bzr-upload18:09
beunowhich basically lets you work locally on your files, and use bzr-upload to just upload the files that have changed since the last upload18:09
markwatersbeuno: exactly , that's what I was wondering18:10
markwatersthanks18:10
markwatersso , if I had a web app , like say laconica , I could perform an 'upgrade' on my local code , then push the changed file up to the server after having a look at the changes18:11
markwatersand any problems would allow me to roll back and push up the old version again18:12
beunoyes, you can push specific revisions18:12
beunowith the -r option18:12
markwatersnice18:13
markwatersthis sounds cool18:13
markwatersok , and about monitoring /etc , not a problem either I gues18:13
markwatersso long as I connect as the root user via sshfs to send or receive the changes18:14
beunowell, you do have to commit to preserve the changes18:14
beunobut yes18:14
markwatersso its fine to have the files as me locally for the commit and then push them back as the root user18:15
markwatersexcellent18:15
beuno:)18:17
markwatersthanks beuno , I`ll leave you guys alone and start playing18:19
beunomarkwaters, good luck!18:19
leefmcQuestion: I am trying to branch from a local server and am getting an "Server does not understand Bazaar network protocol 3, reconnecting." error. Now when searching for this.. im finding it comes up a lot, anyone got any ideas how to fix it so i can branch?20:55
leefmcboth my bzr should be the same versions, due to them both being from the ubuntu repo.20:55
LarstiQleefmc: it shouldn't prevent you from branching. But to get rid of the notice you could upgrade the version of bzr on the server.20:55
synicit should work anyway20:55
LarstiQleefmc: are you sure about that?20:56
LarstiQleefmc: one other instance this could happen is if you have BZR_REMOTE_PATH set and it's content doesn't actually exist on the remote side, but it will yell at you for that20:56
leefmcHmm.. actually thinking about it, i spose they could be different. Im using Intrepid, and my server is on Hardy. Perhaps they have different versions on the repo?20:57
LarstiQyes, they do.20:58
leefmcwell crud heh20:58
leefmcso i have to upgrade my server to use bzr?20:58
LarstiQthat is, maybe I understood your question wrong.20:58
leefmcLarstiQ: Well my question is, how do i make this work, without getting this error.20:58
LarstiQleefmc: as far as bzr is concerned, your server is already usable, it's only a warning notice but doesn't stop things from working.20:58
leefmcLarstiQ: Ah, well its stopping me20:59
leefmcLarstiQ: It continously asks me for the password.. perhaps thats the problem? Does bzr have some special password?20:59
LarstiQleefmc: do you mean it's not actually branching? If so, something else is wrong.20:59
leefmcbecause i never set one for bzr haha, maybe its empty20:59
leefmc*retries20:59
LarstiQleefmc: no, it's the password of the user you're trying to login as.20:59
leefmcLarstiQ: Ok, well thats what i assumed21:00
LarstiQleefmc: and with it trying to reconnect, you will have to enter your password a second time.21:00
leefmcthen yes, something is wrong, it repeatedly asks me the password.21:00
LarstiQleefmc: if you want to upgrade bzr on hardy, you can use the bzr ppa.21:00
leefmcLarstiQ: Well i think the most i tried was 4 times21:00
LarstiQleefmc: ok, that doesn't sound right.21:00
LarstiQleefmc: I presume you can login if you just ssh directly?21:01
leefmcLarstiQ: and i doubt i can type it wrong the 12 times total i've tried it heh (with different variations on my workflow).21:01
leefmcLarstiQ: Yup21:01
leefmcLarstiQ: Never have trouble with that, logged in right now infact21:01
LarstiQleefmc: hah, don't be too sure, I had a horrible password at work that did that to me ;)21:01
LarstiQleefmc: ok21:01
LarstiQleefmc: does ~/.bzr.log provide any insight?21:02
leefmcLarstiQ: On which system, the server, or the client21:02
LarstiQthe client, but the server wouldn't hurt either.21:02
LarstiQleefmc: https://edge.launchpad.net/~bzr/+archive for the ppa btw21:02
leefmcLarstiQ: Not really, lemme try somethin else21:05

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