Bazaar configuration for BOSS(client site)

Bazaar configuration for BOSS(client site)

Postby amitsingh on Wed Mar 19, 2008 10:04 am

Hi all user,
Bazaar configuration for BOSS(client site) document
BAZAAR (Version Control System)

Bazaar is a distributed version control system (VCS) available under the GPL it's similar to Subversion (svn). This article explains how to set up and use Bazaar on BOSS Gnu/Linux and how to configure an SFTP-/HTTP server to host your Bazaar repository.

Client Site:-
Install BZR package and python-paramiko through Synaptic Package Manager.
Create an user account
useradd -m -s /bin/bash bazaar
passwd bazaar
Using Bazaar
Now log in as the normal user, or, if you are logged in as root, run
su bazaar {normal user who have an account on server}
Then go to your home directory
cd ~
Now let's create a directory
mkdir BOSS_PRC
cd BOSS_PRC
(The BOSS_PRC directory is the base folder for your software project that you want to manage with Bazaar_
If you are not sure in which directory you are, run
pwd
Bazaar must initialize itself in the project directory
bzr init
Now let's publish the project to our server (using SFTP)
bzr push --create-prefix sftp://bazaar@192.168.0.101/~/public_html/BOSS_PRC
For download a copy of the branch to it
bzr branch http://192.168.0.101/
If you want to add somthing for example we want to add a directory
cd BOSS_PRC/
mkdir test
Then you want to run the command
bzr add
to make all files/directories in the BOSS_PRC folder versioned.
Next add the files/directories to your branch (with a small comment so that you know what this commit is about)
bzr commit -m "Initial import"
Run
bzr diff
(Bazaar will show you the changes)
Run
bzr log
(displays a history of the latest actions)
To merge the changes into your working copy, run
bzr merge
To find out what else you can do with Bazaar, take a look at
bzr help




Regards
AMIT SINGH
C-DAC NOIDA
(amit.singh@cdacnoida.in)
amitsingh
 
Posts: 6
Joined: Tue Mar 18, 2008 6:38 pm

Re: Bazaar configuration for BOSS(client site)

Postby indraveni on Wed Mar 19, 2008 10:58 am

Hi Amit Singh,

Thankyou for your detailed explanation about setting up BOSS source repo using Bazaar. The process is already started.

P.S: dont repeat the posts
Good Luck
Indraveni K
User avatar
indraveni
 
Posts: 9
Joined: Mon Mar 03, 2008 10:18 am


Return to BOSS Server

Who is online

Users browsing this forum: No registered users and 1 guest