[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Importing the CVS sources
From: |
Mark D. Baushke |
Subject: |
Re: Importing the CVS sources |
Date: |
Wed, 15 Mar 2006 10:13:35 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rick Genter <address@hidden> writes:
> I'm trying to import the CVS sources into my local repository. A lot of
> the files that are included in cvs-1.11.21.tar.gz are also included in
> various .cvsignore files throughout the tree. (E.g., in the root
> directory, .cvsignore specifies cvs.spec, but there is cvs.spec in the
> source distribution.) Is the source distribution unclean, or are the
> .cvsignore files in error, or is there something else I'm missing?
The files listed in the .cvsignore are able to be regenerated from the
sources provided. However, as not everyone has all of the development
tools needed to generate those files and they are useful, they are
included in the tarball that is distributed.
If you just do the import, your sources will have the same files that
are in the public repository for CVS.
If you want to import everything from the tarball into your repository,
then you might want to do something like this:
tar xzf cvs-1.11.21.tar.gz
cd cvs-1.11.21
tar cf ../cvsignore.tar `find . -name .cvsignore`
find . -name .cvsignore -print | xargs /bin/rm
cvs -d :ext:yourhost/your/repository/path import -I \! module CVS cvs1_11_21
cd ..
mkdir cvs-1.11.21.cvsignore
cd cvs-1.11.21.cvsignore
tar xf ../cvsignore.tar
cvs -d :ext:yourhost/your/repository/path import module CVS cvs1_11_21
OR like this
tar xzf cvs-1.11.21.tar.gz
cd cvs-1.11.21
cvs -d :ext:yourhost/your/repository/path import -I \! module CVS cvs1_11_21
tar cf ../cvsignore.tar `find . -name .cvsignore`
find . -name .cvsignore -print | xargs /bin/rm
cvs -d :ext:yourhost/your/repository/path import -I \! module CVS
cvs1_11_21_tarball
cd ..
mkdir cvs-1.11.21.cvsignore
cd cvs-1.11.21.cvsignore
tar xf ../cvsignore.tar
cvs -d :ext:yourhost/your/repository/path import -I \! module CVS
cvs1_11_21_tarball
and now you should have everything in place.
The former method has everything with one tag while the latter has all
of the core files tagged with cvs1_11_21 and everything that arrived in
the tarball tagged with cvs1_11_21_tarball.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)
iD8DBQFEGFlPCg7APGsDnFERAkJNAKDyoTOAdNtm9pyU66saql1ItK3D7gCeNAPv
sQifC7vNrIF1cbOsf7cFyG0=
=Py7g
-----END PGP SIGNATURE-----