Discussion:
How I can download all cvs repository?
Alexandr Vladykin
2009-01-27 16:13:44 UTC
Permalink
Hello info-cvs,

I have an access to a CVS repository - login and password. I can
checkout info, commit, update etc. I can do it only from one
computer at office. But I want to have a copy of
all of the repository at home.
So I'll can have all info about changes in CVS, checkout any tagged
version etc at home, not at work.

How I can do it? I can not ask admin to copy me files of CVS
repository.

Now I think to write a script for checkout all file revisions and
by once commit it into my local CVS repository. But if I'll do so,
I'll lose any info about date, when this file revision was commited and who
was commited it.

May be you have any idea?
--
Best regards,
Alexandr mailto:***@vladykin.pp.ru
Alexandr Vladykin
2009-01-27 16:17:51 UTC
Permalink
Hello info-cvs,

I have an access to a CVS repository - login and password. I can
checkout info, commit, update etc. I can do it only from one
computer at office. But I want to have a copy of
all of the repository at home.
So I'll can have all info about changes in CVS, checkout any tagged
version etc at home, not at work.

How I can do it? I can not ask admin to copy me files of CVS
repository.

Now I think to write a script for checkout all file revisions and
by once commit it into my local CVS repository. But if I'll do so,
I'll lose any info about date, when this file revision was commited and who
was commited it.

May be you have any idea?
--
Best regards,
Alexandr mailto:***@vladykin.pp.ru
Arthur Barrett
2009-01-27 21:50:15 UTC
Permalink
Alexandr,
Post by Alexandr Vladykin
I have an access to a CVS repository - login and password. I can
checkout info, commit, update etc. I can do it only from one
computer at office. But I want to have a copy of
all of the repository at home.
CVS is designed to work over a WAN at high speed - so there is not
usually a requirement to have multiple copies of the repository.

If you need to get a copy of the repository you CANNOT do it from CVS -
you would need rsync (on the server and the client) or something
similar, and even once you do have a copy of the repository there is not
much you can do with it.

CVSNT (GPL/Free, runs on linux/mac/windows etc) 2.5.04 has a new 'write
through cache' so that a 'local' copy of the repository can be used to
'read' from (eg: checkout) but 'commit' still goes to the 'central'
server. But it doesn't help you get that initial copy - you need to use
rsync or unison.

Alternatively having a 'local' copy of the repository that you can both
read from and commit to is basically the same as the multitudes of open
source 'distributed' version control systems proliferating at this time.

The major disadvantage to 'distributed version control' is that it
reduces collaboration and reduces visibility of your work (and also
increases the chances of catastrophic loss/failure).

Some examples: if you copy the repo and work for 1 week or 3 months on
your 'local' copy then your laptop gets stolen then it's all gone; or if
it's not stolen - you commit 3 months of work back to the 'central'
repository and there is no audit trail of 'how' you performed that work.


In patent and copyright disputes (eg: SCO vs the world) it is often very
important to show the 'working' to prove that the code just wasn't
cut&pasted from some other source and was developed independently - that
is one (of many hundreds of) reason that companies like you to use a
central server for versioning your work.

CVS very inteligently allows you to work 'disconnected' from the server
(the CVS 'sandbox' does not need to be continually connected to the
server like a ClearCase Dynamic View does) so that you can work while on
a plane or whilst at home for the day, but that is about all that is
needed.

Regards,


Arthur Barrett
Mark D. Baushke
2009-01-28 02:57:27 UTC
Permalink
Post by Alexandr Vladykin
I have an access to a CVS repository - login and password. I can
checkout info, commit, update etc. I can do it only from one
computer at office. But I want to have a copy of
all of the repository at home.
This really should not be needed.
Post by Alexandr Vladykin
So I'll can have all info about changes in CVS, checkout any tagged
version etc at home, not at work.
Some places of work might call what you want to do 'theft' of
intellectual property, so be sure it okay with your employer first.
Post by Alexandr Vladykin
How I can do it? I can not ask admin to copy me files of CVS
repository.
Why not? If it legit to do what you want, they should have no problem
helping you.
Post by Alexandr Vladykin
Now I think to write a script for checkout all file revisions and
by once commit it into my local CVS repository. But if I'll do so,
I'll lose any info about date, when this file revision was commited and who
was commited it.
This has already been done. If you have debian, you can just install the
cvssuck package. Otherwise, look for CVSsuck on
cvs.m17n.org/~akr/cvssuck/ or check your favorite search engine.
Post by Alexandr Vladykin
May be you have any idea?
Ask your IT folks if they can give you CVSup access to the repository.

-- Mark
Michael Diers
2009-02-13 17:15:01 UTC
Permalink
Post by Mark D. Baushke
Post by Alexandr Vladykin
I have an access to a CVS repository - login and password. I can
checkout info, commit, update etc. I can do it only from one
computer at office. But I want to have a copy of
all of the repository at home.
[...]
Post by Mark D. Baushke
Post by Alexandr Vladykin
May be you have any idea?
Ask your IT folks if they can give you CVSup access to the repository.
DCVS integrates CVS and CVSup to support Alexandr's use case.

http://en.wikipedia.org/wiki/Distributed_Concurrent_Versions_System
--
Michael Diers, Software Developer

elego Software Solutions GmbH, http://www.elego.de
Gustav-Meyer-Allee 25, Building 12 - BIG, 13355 Berlin, Germany

fon +49 30 2345 8696, fax +49 30 2345 8695, mobile +49 177 2345 865

Geschäftsführer Olaf Wagner, Sitz Berlin, AG Charlottenburg HRB 77719
Loading...