svn management/ update

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
studio32

svn management/ update

Post by studio32 »

Hi,

I've downloaded the latest SVN of hydrogen and I've some questions about svn. How do you keep the latest svn version? Is there a possibility to update or should you download and install it everytime again?

After installation of the svn or source (.bz2) do you guys alway remove the folder?
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Post by thorgal »

Quick svn howto :
-------------------------
1- checkout a project :

Code: Select all

svn co someproject  target_directory
2- project update

Code: Select all

cd target_directory
svn update
Miscellaneous
--------------------
diffing a file or dir for creating a pacth (if you have modified the code with your own stuff):

Code: Select all

svn diff some_file_or_some_dir > mypatch
checking changelog

Code: Select all

svn log some_file
updating a specific SVN revision

Code: Select all

svn update -r revision_number some_file_or_dir_or_everything
that's it for the main things you want to use SVN for.
studio32

Post by studio32 »

Thanks.

after svn update, should I so ./configure, make, make install again?
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Post by thorgal »

yep.

actually, after you checked out the 1st time, you do ./configure && make &&sudo make install.

Later on, after you svn update, it is better to just do:
make clean && make &&sudo make install (no need to configure but clean up is always a good thing)
studio32

Post by studio32 »

thorgal wrote:yep.

actually, after you checked out the 1st time, you do ./configure && make &&sudo make install.

Later on, after you svn update, it is better to just do:
make clean && make &&sudo make install (no need to configure but clean up is always a good thing)
thanks, great to know!

EDIT: how do you check if you need to update? And how many times do you update a svn?
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Post by thorgal »

it's up to you. For ardour, I do it once in a while, once a week is a good frequency because ardour goes through constant development and bug fixes. For hydrogen. it's is way less often. You can update from time to time and if nothing changed in the svn repos, then you have nothing to do :)
studio32

Post by studio32 »

And how do I remove hydrogen, installed from svn?
thorgal
Established Member
Posts: 739
Joined: Mon Apr 07, 2008 6:04 pm

Post by thorgal »

from the top of hydrogen source tree :

Code: Select all

 
sudo make uninstall 
but be careful, if you have added some drumkits by hand where you installed it, it will remove all the /usr/local/share/hydrogen/data area ... be warned!
studio32

Re: svn management/ update

Post by studio32 »

And if it using scons? Like ardour does?
aidy
Established Member
Posts: 16
Joined: Fri Sep 26, 2008 7:58 pm

Re: svn management/ update

Post by aidy »

scons -c install
Post Reply