CVS & Co

2009-08-19 Thread Alex Huth
Hi!

I want to use CVS for systemadministration. I have never used one so far, so
my knowledge is very poor about that topic.

Actually our programmers and another administrator is using eclipse.
Unfortunately i don't know which package i have to install for using cvs with
eclipse.

Can i use other cvs software to use a repository created and further used with
eclipse. Or do i run into problems doing that? I have found subversion and gti
so far, but i don't know which is the right one.

What would you use in my situation? I prefer a console based application.

Thx

Alex


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: CVS & Co

2009-08-19 Thread Tzafrir Cohen
On Wed, Aug 19, 2009 at 11:09:22AM +0200, Alex Huth wrote:
> Hi!
> 
> I want to use CVS for systemadministration. 

You need to provide CVS services (a CVS server) or you actually want to
use CVS?

If the latter: any reason you don't use Subversion (svn, package:
subversion) or some distributed version control system (git, hg, bzr)?

> I have never used one so far, so
> my knowledge is very poor about that topic.
> 
> Actually our programmers and another administrator is using eclipse.
> Unfortunately i don't know which package i have to install for using cvs with
> eclipse.
> 
> Can i use other cvs software to use a repository created and further used with
> eclipse. Or do i run into problems doing that? I have found subversion and gti
> so far, but i don't know which is the right one.

What do you need it for?

> 
> What would you use in my situation? I prefer a console based application.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: CVS & Co

2009-08-19 Thread Boyd Stephen Smith Jr.
In <20090819090922.gc7...@borusse.tmr.net>, Alex Huth wrote:
>I want to use CVS for systemadministration. I have never used one so far,
> so my knowledge is very poor about that topic.

Unless you have existing CVS clients, you should use a different VCS.  Even 
if you have existing CVS clients, some VCS can pretend to be CVS and they 
may be preferable if you can migrate your data easily.

I'm not such what you mean "for systemadministration".  I've heard of 
keeping /etc or other configurations in a VCS but not done so myself.  I 
believe there are "higher-level" tools to accomplish this, especially since 
most VCSes intentionally don't store the full permission bits of files and 
that can be critical for secure system administration.

>What would you use in my situation? I prefer a console based application.

I've used CVS and Subversion with good success, but I am convinced that a 
DVCS is a better model.  As far as DVCS, I am most familiar with git; it 
seems to perform quite well (unless you are storing rather large files) and 
has a relatively low barrier-to-entry as far as infrastructure or library 
dependencies.  It does expose some details of the DVCS internals that can 
confuse new users; Bazaar and Mercurial may be easier to learn.  Darcs and 
Monotone are interesting, but I can't recommend them for most 
users/projects.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


RE: CVS & Co

2009-08-19 Thread David Christensen
Alex Huth wrote:

> I want to use CVS for systemadministration. I have never used one so
> far, so my knowledge is very poor about that topic.

I use CVS for system administration by maintaining a sparse directory tree of 
the system files I change and checking that tree into CVS:

http://www.nongnu.org/cvs/

I use 'diff -r' to compare the live file system against the CVS working tree 
and 'cp', 'mv', 'vim', etc., to enter/ revert/ merge changes.


On Debian, you can install CVS with:

# apt-get install cvs


The canonical CVS documentation is the Cederqvist manual, which can be viewed 
with 'info':

# info cvs


I learned CVS from the first edition of "Open Source Development with CVS":

http://cvsbook.red-bean.com/


There are a plethora of version control systems now available, "free" and 
otherwise.  Which is "best" is a matter of requirements, consensus, and/or 
personal preference.  CVS is still in common use and has met all of my version 
control needs for 8+ years (system administration and otherwise).  Native CVS 
client binaries are available on many platforms, including those that I use.  
The command line interface is simple and readily scripted.  The CVS repository 
file structure is straight-forward and the file format is simple, so it is easy 
to hack, backup, archive, restore, script, etc. (tread carefully!).  There are 
many add-on tools which integrate with CVS:

# apt-cache search cvs | egrep '^cvs'


I assume that there are wrapper scripts which allow one to check-in all or part 
of the root file system to CVS, but I haven't sought them out.


HTH,

David


p.s.  CVS is based upon RCS and uses RCS-format repository files; it helps to 
understand the basics of RCS when you approach CVS:

http://www.gnu.org/software/rcs/

apt-get install rcs


p.p.s.  RCS can also be used for system administration.  Please note that, by 
default, the repository files are stored on the same file system as the working 
files.  (CVS deployments typically have a server with clients connecting over 
SSH.)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: CVS & Co

2009-08-19 Thread Andrei Popescu
On Wed,19.Aug.09, 11:09:22, Alex Huth wrote:
> Hi!
> 
> I want to use CVS for systemadministration. I have never used one so far, so
> my knowledge is very poor about that topic.
> 
> Actually our programmers and another administrator is using eclipse.
> Unfortunately i don't know which package i have to install for using cvs with
> eclipse.
> 
> Can i use other cvs software to use a repository created and further used with
> eclipse. Or do i run into problems doing that? I have found subversion and gti
> so far, but i don't know which is the right one.
> 
> What would you use in my situation? I prefer a console based application.

etckeeper is an application designed to keep your entire /etc under 
version control. By default it uses git, but can use others. It hooks 
into apt (and dpkg?) to trap all changes to /etc and also deals with 
file permissions (very important for things like the passwd file).

It is a very good tool for what you seem to be asking.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


cvs problems using cvs co -r woody boot-floppies

2001-02-27 Thread Walter Tautz
Keep getting the exact error (when running cvs co -r woody boot-floppies)



...

cvs server: Updating boot-floppies/special
cvs server: Updating boot-floppies/special/tecra
cvs server: Updating boot-floppies/special/v30
cvs server: Updating boot-floppies/utilities
U boot-floppies/utilities/.cvsignore
U boot-floppies/utilities/Makefile
U boot-floppies/utilities/floppy_split.c
U boot-floppies/utilities/floppy_split.h
cvs server: Updating boot-floppies/utilities/bf-utf
cvs [server aborted]: out of memory; can not allocate 26 bytes
cvs [server aborted]: out of memory; can not allocate 79 bytes



Who do I report this to. Is it my fault? (I am running the testing distribution)

NOTE I keep getting the exact same error message and it always stops at the 
bf-utf line.
No matter how often I run this ...



-walter