=== mmrazik is now known as mmrazik|otp [08:12] Hi guys. I'm stuck with Bazaar. I moved abzr colocated repo from a dir to an other, and now it doesn't work in the new one [08:13] (openassur)thibaut@PC-Thibaut:~/OpenAssur/addons-opas$ bzr revno [08:13] bzr: ERROR: Not a branch: "/home/thibaut/OpenAssur/addons-opas/.bzr/branches/trunk/ [08:15] I changed the path in .bzr/branch/location/ because it pointed to the old one. [08:18] bzr colo-fixup give me the same error :-( === mmrazik|otp is now known as mmrazik [09:19] morning [09:24] hello guys! [09:27] can anyone tell me how i can download a branch from local to the dev server? [09:29] there are lots of ways to upload a branch, which is best depends on exactly what you're trying to do [09:30] hello mgz and thank you for answering [09:30] well... [09:31] you can either push the branch over sftp, or if you really just care about the tree, use something like the bzr-upload plugin [09:31] i have a development server to which i have ssh and root access [09:31] and i have the branch on my laptop [09:31] both running ubuntu [09:32] what's easy then is to install bzr on the server and push using bzr+ssh, just remember that won't create a working tree on the server by itself [09:32] i cannot access my laptop from the dev environment since i have no access to the intranet [09:33] i have bzr installed on the dev server [09:33] how do i do that mgz? :O and what's actually a working tree? [09:33] as in i cannot revert to older version and such? [09:33] i can only pull? [09:34] you can do pretty much anything you'd do locally over bzr+ssh [09:34] then what's the problem? [09:34] any tutorial or suggestions on how i can do that? [09:35] i find it highly unpractical and unprofessional to just copy paste the files when i have bzr on both environments [09:36] see: http://doc.bazaar.canonical.com/beta/en/user-guide/core_concepts.html [09:37] then read `bzr help push` [09:38] but if what you really want is the contents of the tree in a specific place on the dev server to say, actually get the code run, you may want to look at bzr-upload instead [09:38] push mirrors the repository and the branch, but does not update the tree [09:46] it's my lack of knowledge [09:46] that's at play here [09:47] i do want the contents of the code in a specific place where it is loaded by a framework [09:51] try getting that plugin and experimenting with it then [10:01] hmm so i have to install that plugin [10:01] can't i create a repository on the dev and push from local? [10:01] i'd love to take the tutorial from 0 but right now i'm in a bit of a hurry [10:02] as I said at the start, you can do this in a bunch of different ways, I'm trying to poke you towards the one that's closest to what you actually need [10:03] if you're basically doing deployment of the code to your server, using bzr-upload is likely the easiest to set up correctly [10:03] this is the plugin right http://doc.bazaar.canonical.com/plugins/en/push-and-update-plugin.html [10:04] yes that's it, deployment of code to the server [10:04] sorry for being such a douche [10:08] Wiz_KeeD: actually no, I was talking about https://launchpad.net/bzr-upload but you can try that one if you like [10:11] that is for the case where bzr is not installed on the dev server [10:13] it works for that, but is also fine for just mirroring your tree. is probably the closest to what you do now. [10:13] https://launchpad.net/bzr-push-and-update === mmrazik is now known as mmrazik|otp [10:14] so for developing locally and updating the changes to the server when done which one of the two would you recommend considering my precarious knowledge and the fact that the server has bzr on it and i have ssh access? [10:17] feel free to try the push and update one, mirroring the branch as well might be handy. [10:20] i think i'll go with the bzr-upload you said [10:20] how do i install the plugin [10:20] i'm looking at this and i can't understand http://doc.bazaar.canonical.com/plugins/en/plugin-installation.html [10:20] i have no plugin directory [10:22] simplest way is `mkdir ~/.bazaar/plugins` then `bzr branch lp:bzr-upload ~/.bazaar/plugins/upload` [10:24] hmm, let me try [10:25] ok done that [10:26] it shows in plugins now [10:26] it's ready to work? [10:26] should be. [10:28] where's the documentation for this [10:29] `bzr help upload` also on the plugin doc page on the web page you were looking at earlier [10:29] I'm presuming you have sftp as you have ssh [10:30] that idk :-s is that kind of like a ssl for ftp? [10:30] found this though [10:30] http://wiki.bazaar.canonical.com/BazaarUploadForWebDev === mmrazik|otp is now known as mmrazik === mmrazik is now known as mmrazik|lunch [11:02] i am making a sftp user right now mgz [11:02] another option without using sftp and such? [11:03] like idk, make the repository on the dev and pull, make changes and push back? would that be sane? and it would avoid using ssh or sftp [11:06] well, just running update after push is enough if having the branch in place is acceptable [11:08] the other plugin you looked at did say it boiled down to push followed by `ssh LOC bzr update` [11:30] mgz, a friend suggested i just do bzr+ssh//user@hostname/full/path [11:32] that's not an action, it's a location. [11:32] also, you probably want to stick your username in locations.conf rather than in the url [11:33] i didn't fully understand sorry [11:33] pushing over ssh then updating the tree is fine, you just need to do both bits. [11:33] is there something wrong with pushing? [11:33] which both bits? [11:37] literally, `bzr push bzr+ssh//hostname/~/path && ssh hostname bzr checkout "~/path"` then switch checkout to update atfer the first time === mmrazik|lunch is now known as mmrazik [12:45] huh, bzr-ch is a project... I guess our docs don't explain you don't need to create a project just to translate our docs... not in chinese yet at any rate [12:46] mgz, ok, what if i transfer the branch to the development server, pull the files on my local, make changes and push them back? [12:46] how's that? [12:50] I don't follow. Did you try what I suggested and it didn't work in some regard? [12:50] you just need to create a tree on the remote side then keep it updated, if you want to go down the branch mirroring route. [12:51] I hate to be all perl about this, but there is more than one way to do it, just pick one and do that. [13:04] i see [13:04] i've placed the repository on the dev server and now i want to pull it [13:04] how do i do that? bzr branch hostname... [13:04] ? [13:05] 'pull' optionally with --remember. [13:06] pull from where, i need to install the branch on my local [13:06] from the dev server [13:06] I don't see how you're solving the working tree update. [13:08] I don't know where you've put things so can't tell you what paths to use. [13:09] hm [13:10] On my local ubuntu where i develop i have the files in /opt/openerp/projects/project-name and on the development server i have them in /opt/openerp/project-name [13:10] i have transfered the branches from local to the development server via bzr upload [13:11] and now i'd like to pull the branches fom the dev to the localhost so when i do push and pull it will automatically make the neccesairy changes [13:11] OK, now I'm all confused about who's confused :p [13:11] have i've been clear enough? [19:55] hello there I am having a weired problem http://paste.ubuntu.com/1380291/ [19:55] as you can see there is room on the drive [19:59] looking at log now [20:03] bobweaver: not enough on /tmp ? [20:03] try setting TMP (or is it TMPDIR) to somewhere else while running the command may be [20:04] nope friend also suggested that I removed /tmp adn still nothing [20:04] ok I will try that [20:14] back to normal [20:14] thanks vila === yofel_ is now known as yofel === r0bby is now known as robbyoconnor === r0bby is now known as robbyoconnor