SVN – Bugzilla Integration

vivek2 created the topic: SVN – Bugzilla Integration
Hi,

Please help me some one that how to integrate bugzilla and svn.

Regards,
Justin

sandeeps replied the topic: Re: SVN – Bugzilla Integration
Integration of Subversion with Bugzilla is possible using Scmbug, a system providing generic integration of Source Code Configuration Management with Bugtracking. Scmbug is available at freshmeat.net/projects/scmbug/ .

Tagged :

Configure LDAP in SVN

rajeshkumar created the topic: Configure LDAP in SVN
There is one questions i got in morning. I am lil busy. Any one can reply to this….?

Hi Rajesh,
Can you please help me to configure LDAP in SVN,i checked with some of my friends but i am not able to understand that.If you having any document related to LDAP configuration please send to me or you replay here also.
Thanks & Regards
Sujeet Sahu
M:0XXXXXXXXXXX
Mail id: sahusujeet@ymail.com
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Hello me to choose SCM as a career

uma.arumugam created the topic: Hello me to choose SCM as a career
Hello Guys!
Please help me to tell me everything about SCM. I wanna make my career in SCM. so what should i know and what should i do for it.
Is Build and Release is a part of SCM or it’s different form SCM?

rajeshkumar replied the topic: Re: Helo me to choose SCM as a career
SCM consist for following branch.

1. Configuration Management aks version control management
Tools – SVN, Perforce, GIT, Clearcase CVS etc

2. Build Management
Tools – Jenkins, Anthillpro, Bamboo etc

3. Release Management aka deployment management
Tool – Cruise and many in-house tools

4. Packaging Management aka Installer
Tools: Wise, InstallSheild, InstallAnywhere etc…

There are various tools for each one of them. Important things is that you need to be aware of concept of each one of them. also, you need to focus
on scripting for various purpose such as ant, perl, python, shell, maven, make etc.

Small project has all mixed profile dedicated to one engineer but big and complex project has individual engineer assigned for each task. there are many books and web reference you can find over to web to know more about it.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

uma.arumugam replied the topic: what is Build and Release
Thanks for my replying on my previous Question.
Now i want to know what is Build and Release and how to learn it for a small project, I also want to know about scripting.

rajeshkumar replied the topic: Re: what is Build and Release
Hi,

please go through this url en.wikipedia.org/wiki/Release_engineering and Related disciplines section.

Also, some books can be found in www.scmgalaxy.com/ebooks-collection/

if you want to learn scripting, you need to try for it 🙂
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Delta Builds ?

saiki created the topic: delta builds ?
Hi,

Can any one give more info on delta builds?

rajeshkumar replied the topic: Re: delta builds ?
Hi Deepak,
Every Project has their own custom definition of build terminology defined. may be in your project the stage of quality of the builds has been defined as a Alpha / Beta / Gamma or Delta.

Each stage has specific purpose i mean may be Delta build is ready for QA or somthing. You need to ask project manager about the definition.

Some of the build definition, you might find in following url.

community.scmgalaxy.com/pg/blog/read/202…velopers-and-project
community.scmgalaxy.com/pg/blog/read/276…uild-in-remote-agent

Generic Meaning of these words….

letter Numeric value

Alpha 1
Beta 2
Gamma 3
Delta 4
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Auto merge of svn branches

suresh created the topic: auto merge of svn branches
Hi

How to proceed in merging two svn branches. Is there any plugin or should we go with scripting.

Can anyone give me idea on this.

I used to do manual merge in svn or use svn merge command.

rajeshkumar replied the topic: auto merge of svn branches
I have used svn merge widely and most of the time. many times compare tools as well. Today i am back to work. let me find some other tools and share here….Stay tuned…
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

suresh replied the topic: auto merge of svn branches
Used tortoise svn and selected svn revisions and merged

Tagged :

Trunk vs branch vs tag in subversion or SVN

rajeshkumar created the topic: trunk vs branch vs tag in subversion or SVN
Difference between trunk, branch and tag in SVN, CVS or Subversion
Technically all three i.e. trunk, branch and tag are folders in SVN. If you are using tortoise SVN, a popular windows client for subversion, you can explore trunk, branch or tag. If you browse SVN repository using Repo browser or simply open it on any browser e.g. Internet explorer, you will generally see three directories as trunk, branch and tags at root of project. This is actually one of SVN best practice to create this kind of directory structure. As I said earlier, trunk is place where main development happens, and branches are places where different developer work on different functionalities. This division is purely based on how programmer uses trunk and branches. Similarly, tags are used to backup releases e.g. alpha release or beta release or any version of release. Main difference between branch and tag in subversion is that, tag is a read only copy of source code at any point and no further change on tag is accepted, while branch is mainly for development. Other source control like CVS doesn’t allow modification on tags but SVN allows changes on tags, which is considered as bad practice. You should not be making any change on tag once created, it should be treated as read only copy of source code only for restore purpose.

In short
– A trunk in SVN is main development area, where major development happens.
– A branch in SVN is sub development area where parallel development on different functionalities happens. After completion of a functionality, a branch is usually merged back into trunk.
– A tag in SVN is read only copy of source code from branch or tag at any point of time. tag is mostly used to create a copy of released source code for restore and backup.

That’s all on difference between trunk, branch and tags in Subversion or SVN. They are mostly categorized based upon there usage. Though trunk, branch and tag are quite common words in source control, and other SCM also uses these words, there behavior may be little different on other SCM, so don’t forget to check SCM documentation.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

what is .svn ?

krishna_8888 created the topic: what is .svn ?
hi this is krishns … iam learning svn ….

when i performed check out operation ,trunk is copied to my local system..

in that trunk .svn folder is automatically created ..

why .svn?
under that pristine, temp, entries, format,wc …… all these are created .

can any one will explain about this

Tagged :

SVN server setup and troubleshooting

rajeshkumar created the topic: SVN server setup and troubleshooting
SVN server setup and troubleshooting

Setup SVN server in 7 steps:
www.civicactions.com/blog/2010/may/25/ho…itory_7_simple_steps
help.ubuntu.com/community/Subversion
help.ubuntu.com/lts/serverguide/subversion.html
www.krizna.com/ubuntu/setup-svn-server-on-ubuntu-14-04/
odyniec.net/articles/ubuntu-subversion-server/
stackoverflow.com/questions/60736/how-to…-on-gnu-linux-ubuntu

Error 1
svnserve: Can’t bind server socket: Address already in use

Solution:
errorbank.blogspot.in/2012/07/svnserve-c…d-server-socket.html
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Reduce the size of SVN repos or cleanup revsion

rajeshkumar created the topic: Reduce the size of SVN repos or cleanup revsion
How to reduce the Repos size drastically without impacting the integrity and version of the files?

How to cleanup and Reduce the size of SVN repos?
The way Subversion and CVS work is that they keep an entire history of changes, including deleted files, binary files, etc. Each revision is dependent on the last revision, so you can’t just delete and oblitrate out a revision somewhere in the middle or we corrupt repository.

There are few things we can do if we are running out of space…

Option 1: Dump and load to new repos
Removing old revisions kind of defeats the point of version control so it is not recommended but Dump out the revisions you want to keep, then put them into a new repo, and delete the old one.
New repos should be set with latest svn release which will take less disk size.
svnadmin dump /path/to/current/repo -r48:50 > svn.dump
svnadmin create /path/to/new/repo
svnadmin load /path/to/new/repo < svn.dump svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.dump.html
svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.load.html

Option 2: svndumpfilter
Use svndumpfilter to include/exclude the particular bits you want. svndumpfilter is a command-line utility for removing history from a Subversion dump file by either excluding or including paths beginning with one or more named prefixes.
svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.1.3

Option 3:svnsync
replicate the repository with svnsync after configuring path-based authorization rules that deny read access to any paths that need to be filtered from history. Unlike svndumpfilter, svnsync will automatically translate copy operations with an unreadable source path into normal additions, which is useful if history involving copy operations needs to be filtered.

svnbook.red-bean.com/en/1.7/svn.reposadm…in.maint.replication
svnbook.red-bean.com/en/1.7/svn.serverco….pathbasedauthz.html
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

SVN admin project to backup and restore the svn repo

rajeshkumar created the topic: SVN admin project to backup and restore the svn repo
Write a shell scripting using swtich case with the following options.
1. Create a repo. Repo name should be entered by user
2. Take a full dump
3. Incremental backup. user need to entered the revsion nujmber
4. Restore the dump to the location which has been entered by the user
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

sribhavani_u replied the topic: SVN admin project to backup and restore the svn repo
#!/bin/bash
#Write a shell scripting using swtich case with the following options.
#1. Create a repo. Repo name should be entered by user
#2. Take a full dump
#3. Incremental backup. user need to enter the revision number
#4. Restore the dump to the location which has been entered by the user
while true
do
echo “1. Create a repo.”
echo “2. Take a full dump”
echo “3. Incremental backup.”
echo “4. Restore the dump”
echo “Enter a number for choosing the option:”
read num
case $num in
1) echo “repo name:”
read name
mkdir -p /usr/src/svn/$name
svnadmin create –fs-type fsfs /usr/src/svn/$name
echo “repo $name created” ;;
2) svnadmin dump /usr/src/svn/$name –revision 0:HEAD > $name.dump
echo “$name.dump file created” ;;
3) echo “give revision number”
read rev
svnadmin dump /usr/src/svn/$name –revision $rev:HEAD –incremental > $name-$rev.dump
echo “incremental dump done” ;;
4) echo “give the location to where the dump should be restored”
read loc
svnadmin load $loc < $name.dump echo "dump restored" ;; *) echo "INVALID OPTION" exit ;; esac done rajeshkumar replied the topic: SVN admin project to backup and restore the svn repo
#!/bin/bash
#Write a shell scripting using swtich case with the following options.
#1. Create a repo. Repo name should be entered by user
#2. Take a full dump
#3. Incremental backup. user need to enter the revision number
#4. Restore the dump to the location which has been entered by the user
while true
do
echo “1. Create a repo.”
echo “2. Take a full dump”
echo “3. Incremental backup.”
echo “4. Restore the dump”
echo “Enter a number for choosing the option:”
read num
case $num in
1) echo “repo name:”
read name
mkdir -p /usr/src/svn/$name
svnadmin create –fs-type fsfs /usr/src/svn/$name
echo “repo $name created” ;;
2) svnadmin dump /usr/src/svn/$name –revision 0:HEAD > $name.dump
echo “$name.dump file created” ;;
3) echo “give revision number”
read rev
svnadmin dump /usr/src/svn/$name –revision $rev:HEAD –incremental > $name-$rev.dump
echo “incremental dump done” ;;
4) echo “give the location to where the dump should be restored”
read loc
svnadmin load $loc < $name.dump echo "dump restored" ;; *) echo "INVALID OPTION" exit ;; esac done Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Tagged :