LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2009, 03:20 AM   #1
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Rep: Reputation: 15
versioning in linux


Hi all,
I would like to include versioning for my custom file system in my CENTOS 5.2 machine..I searched for some auto versioning tools and came across tool called bazaar.While installing it i got some dependency errors...i have some how managed to reduce it to two errors using dag.wieers ,rpmphone.net....can anyone assist me in getting these two dependency files??Thanks in advance



root@host$rpm -ivh bzr-1.9-1.fc9.i386.rpm
warning: bzr-1.9-1.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6df2196f
error: Failed dependencies:
libpython2.5.so.1.0 is needed by bzr-1.9-1.fc9.i386
python(abi) = 2.5 is needed by bzr-1.9-1.fc9.i386

~fizeen
 
Old 01-02-2009, 03:31 AM   #2
r1d3r
Member
 
Registered: May 2008
Location: Glendale, CA
Distribution: ubuntu 12.04
Posts: 146

Rep: Reputation: 22
From Subversion Website:
Quote:
Subversion is an open source version control system.
See here for a detailed feature list.
 
Old 01-02-2009, 09:24 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
that appears to be available from the fedora repositories..

so why not just install it using yum ? yum should take care of the dependencies for you..

Quote:
http://bazaar-vcs.org/DistroDownload...1287255484491d
Fedora

Note: the Fedora package is 'bzr', not 'bazaar'. Packages are maintained for all current releases.

To install on Fedora, su -c 'yum install bzr' should work.

Also available are bzrtools, bzr-gtk, olive, and trac-bzr.
 
Old 01-05-2009, 12:51 AM   #4
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Wink auto versioning

Quote:
Originally Posted by r1d3r View Post
From Subversion Website:
Thanks for your reply.I just want make a file system to be enabled with auto versioning with svn ...how can it be done...i don't want svn clients ..i just want to enable svn auto version functionality and set revision numbers for the files created so that files can be recovered or roll backed to the previous revision number state.

Thanks and Regards
fizeen
 
Old 01-05-2009, 10:44 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Do you want to use version control while writing your "custom filesystem" or are automatic version backups a feature of your "custom filesystem"?
 
Old 01-05-2009, 11:15 AM   #6
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.

So it sounds like you are talking about something like:
Quote:
Filesystems on each disk (with the exception of ODS-1) are hierarchical. A fully specified filename consists of a nodename, a username and password, a device name, directory, filename, file type, and a version number, in the format:

NODE"accountname password"::device:[directory.subdirectory]filename.type;ver

-- http://en.wikipedia.org/wiki/Files-11
I used VMS only a bit, but this was one aspect I recalled ... cheers, makyo
 
Old 01-05-2009, 09:46 PM   #7
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by jschiwal View Post
Do you want to use version control while writing your "custom filesystem" or are automatic version backups a feature of your "custom filesystem"?
Hi jschiwal,
Thanks for your reply.I have installed svn and tried out versioning it worked fine.Each time i need to give commit so as to set my revision numbers.I don't want this to happen.All i need is to enable auto-versioning in my custom file system so that each time when a user makes any changes to it (files or folders) the versions need to be committed automatically.FYI i am using Centos 5.2...Please help me in this regard.I am a beginner to linux.Thanks in advance.


With Regards
Fizeen
 
Old 01-05-2009, 10:29 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Look at time vault

I 'think' it can watch for file changes then makes a snapshot when a file gets changed..

https://wiki.ubuntu.com/TimeVault

Quote:
Why is the snapshot delay so long? How do I change it?

First, when it notices a file change, it always schedules the next action for what seems like an hour away. Is this by design? I am assuming it will group the actions together and backup a many grouped actions at once?

The snapshot delay is configurable on a by-directory basis and can be changed by double-clicking on the delay entry in the Preferences->Include table. Just type in the desired delay (e.g. 5 min.)

I would warn you, however that making the delay too small (for example, 1 sec.) will cause far too many snapshots and waste space on your hard drive.

You are correct in assuming that actions are grouped together so that snapshots can be taken at once. The smallest timeslot used for scheduling is 1 min. by default.

Watching /home

I'm trying to watch my home directory and deleting a file on my desktop results in a dozen changes.

Right. Don't do that.

Watching the /home directory may result in hundreds of unnecessary snapshots a day because many programs use temporary files that are created under your home directory. The good news is that, usually, the file is gone by the time TimeVault gets around to snapping it, and so an entry is made that a file changed, but no snapshot is made.
not sure if this will fit your needs or not.. but something to look at. it's not really a versioning system but a snapshot in time.
 
Old 01-05-2009, 11:20 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I still don't know what you mean by "custom filesystem". Did you write your own filesystem. Is it based on an existing file system such as ext3. When you describe the versioning part, is doesn't sound like it has anything to do with a filesystem.

If you want a share accessible over the internet, with versioning, maybe a webdav server would fit the bill.
I'm not very familiar with webdav but it may do what you want and be usable by both Windows and Linux users.
 
Old 01-06-2009, 05:45 AM   #10
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by jschiwal View Post
I still don't know what you mean by "custom filesystem". Did you write your own filesystem. Is it based on an existing file system such as ext3. When you describe the versioning part, is doesn't sound like it has anything to do with a filesystem.

If you want a share accessible over the internet, with versioning, maybe a webdav server would fit the bill.
I'm not very familiar with webdav but it may do what you want and be usable by both Windows and Linux users.
I mean a newly created folder where my project is located.I want to set versioning in my project folder so that i can get back my changes in files and folders contained in it(deletion ,any modification done to the project folder)..I have heard of webdav.Can you tell me how can i configure webdav? please.....
 
Old 01-06-2009, 05:49 AM   #11
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by farslayer View Post
Look at time vault

I 'think' it can watch for file changes then makes a snapshot when a file gets changed..

https://wiki.ubuntu.com/TimeVault



not sure if this will fit your needs or not.. but something to look at. it's not really a versioning system but a snapshot in time.
Thanks for your reply.I think webdav will fit into my requirement.Can you help me in configuring webdav
 
Old 01-06-2009, 07:15 AM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
webdav looks like the same thing as a SVN system except with a web based interface.. if subversion isn't a good solution for you, I don't see how webdav would be..

http://en.wikipedia.org/wiki/WebDAV

Quote:
http://en.wikipedia.org/wiki/Delta-V_(Internet_Protocol)

Delta-V is an extension of the WebDAV protocol, adding versioning of resources.

Clients and Servers

Since Delta-V is always a feature of WebDav, not found by itself, in reviewing WebDAV clients and servers, look for the Delta-V feature. Here are just a few notable client & server softwares:

* Subversion (SVN) is a leading source control system which also serves as a limited Delta-V server (implementing a subset of the protocol) via SVN layer mod_dav_svn.
* Explorer implements Delta-V.
* A number of commercial products as Xythos implement Delta-V.
So in order to use webdav, you have to setup Subversion anyhow... or a similar product to handle the versioning..
 
Old 01-07-2009, 04:18 AM   #13
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by farslayer View Post
webdav looks like the same thing as a SVN system except with a web based interface.. if subversion isn't a good solution for you, I don't see how webdav would be..

http://en.wikipedia.org/wiki/WebDAV



So in order to use webdav, you have to setup Subversion anyhow... or a similar product to handle the versioning..

Hi Farslayer,
I tried out WebDAV .

I included the these four lines in /etc/httpd/conf/httpd.conf file

<Location /svn>
DAV svn
SVNPath /var/svn_repo
SVNAutoversioning on
</Location>

where svn_repo is the svn repository file.In my browser i tried to access the repository using http://localhost/svn it worked out .I was able to view all the files in my svn repository.But i cant have the provision of deleting or modifying the files.
My second question is in the above configiration statement there is a configiration line
SVNAutoversioning on
What does this mean?Each time when i make changes i need to manually commit it so as to assign a revision number for my changes i have done.My idea is to enable auto versioning(revision number should be assigned automatiaclly as soon the the folder or file is modified).Can this be done?Please help me in this regard.

I read in some forums that WebDAV doesnt provide for autoversioning and WebDAV + DeltaV standard provides for autoversioning.Can you please explain me what is DeltaV and how to include this in my configiration.Thanks in advance.

Last edited by fizeelinux; 01-07-2009 at 09:39 PM.
 
Old 02-10-2009, 05:49 AM   #14
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by farslayer View Post
webdav looks like the same thing as a SVN system except with a web based interface.. if subversion isn't a good solution for you, I don't see how webdav would be..

http://en.wikipedia.org/wiki/WebDAV



So in order to use webdav, you have to setup Subversion anyhow... or a similar product to handle the versioning..

Hi Farslayer
i have configured auto versioning for a svn repository.If i have a directory say 'A' and it has number of files in it and if i modify the content of the file say file1(file1 is a file in directory 'A'),save it and check for revision numbers of the file1 using a svn client 'Syncro' i was able to see only the latest two revisions .Again i made some changes to the same file 'file1' saved the file and checked for the revision numbers.It showed me the last updated two revision numbers.I was not able to see the previous revision numbers..But if i check for the revision numbers for the directory 'A' it is showing all of the revision numbers (showing revision numbers for each and every changes done to files in it).I am sure autoversioning functionality is working properly but why is showing only the latest revision numbers for the file in the repo but showing all the revision numbers while checking the for the folder containing the file..I hope that my problem is quite clear to you..Please help me in this regard..Thanks in advance..

Last edited by fizeelinux; 02-10-2009 at 05:50 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File versioning ssilayaraja Linux - Software 2 03-17-2008 09:23 AM
libstdc++ versioning vani Linux - Software 4 12-06-2005 12:33 PM
bash vs tcsh versioning ? puishor Programming 7 08-29-2005 09:29 PM
What is symbol versioning newbie Mike Linux - Software 1 04-01-2004 04:24 AM
Module Versioning!!!???? Creator Linux - Newbie 9 01-07-2002 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration