|
The Power of CVS
CVS inherently communicates using clear text, even when sending your password. If you're the type of developer
who has deactivated telnet and ftp and POP mail because of that, you won't be satisfied with the security
that CVS offers on the server side. One approach (the one I took), is to create a file called passwd in
your $CVSROOT/CVSROOT directory. That file can contain a username/encrypted password combination similar
to /etc/passwd. The username in
that file should be a user that does not exist on your machine. If someone were to intercept the clear-text
password, they could not telnet to your box. However they could commit junk code to your CVS tree and make life
generally miserable. There are ways to incorporate secure communication with CVS, but it looked like a hassle
and I avoided it. The best policy is frequent, offsite-backups that are kept eternally (my personal policy).
For more info, check here.
So your CVS tree is initialized and you are using a passwd file. Now you should login to CVS. Since my CVS
server is a different box than the one I'm on, I need to use a long, drawn-out -d option to specify the
server:
[tperdue@db columns] $ cvs -d :pserver:cvs@mybox.com:/fireball/cvs login
OK, you're logged in. CVS just stored your password in an easily-hacked file in your home directory.
All of my existing code was stored on my sexy little VAIO laptop, so I had to import it.
[tperdue@db columns] $ cd ..
[tperdue@db www.phpbuilder.com] $ cvs -d :pserver:cvs@mybox.com:/fireball/cvs import -m "start" www.phpbuilder.com x a
The -m option attaches a message ("start"). www.phpbuilder.com is the directory to create under the CVSROOT. "x" is a
"vendor tag", which is required here, but not referenced. "a" is the release version.
That command imported everything that fell beneath my www.phpbuilder.com directory (everything on this site) into the
tree.
[ Next Page ]
| Comments: | ||
| RE: CVS via PHP | Pierre | 02/08/05 05:28 |
| CVS via PHP | Arthur McLean | 01/11/05 13:26 |
| use cvs export, .htaccess | isao | 09/18/03 12:09 |
| Adding files with cvs commit | J. Germano | 09/18/02 15:29 |
| rsync and ssh | kastar | 08/27/02 05:49 |
| why not use CVS export? | Carl Meyer | 06/26/02 11:31 |
| cvs quick guide in Chinese | chedong | 05/24/02 03:05 |
| RE: How to deal with Database driven sites ? | Patrick | 05/11/02 15:50 |
| custom 404 error page for NT | Michael Sculley | 04/23/02 14:32 |
| remove revision number clutter from diffs | Roger Collins | 03/08/02 17:08 |
| different between server and client | daddius | 01/04/02 15:09 |
| RE: GUI version for windown based clients?? | rasmus | 12/20/01 17:14 |
| GUI version for windown based clients?? | DotGlum | 12/10/01 08:07 |
| Error Noticing!!! | Steven Chalker | 11/24/01 10:09 |
| RE: NT hosted sites | neiljmac | 08/23/01 16:07 |
| Explorer interface | Francis Irving | 07/13/01 03:03 |
| using ssh and cvs | dave | 07/10/01 09:36 |
| RE: Don't clean up CVS dirs | Max Hammond | 06/03/01 13:34 |
| CVS is a exelent solution for any project | Neuromancer | 05/29/01 08:36 |
| CVSweb | Andy Wismar | 05/24/01 08:27 |
| RE: CVS is excellent - proof | Oktay Altunergil | 04/02/01 17:31 |
| RE: CVS is excellent - proof | Effendi | 03/05/01 04:40 |
| Don't clean up CVS dirs | Thierry de Villeneuve | 03/04/01 23:58 |
| CVS is excellent - proof | Dave Kingdon | 02/21/01 18:40 |
| Remote CVS repository | Zach | 02/11/01 08:58 |
| RE: Better solution than pserver for web proj | Barnaby | 02/06/01 09:25 |
| Export | David Buchan | 02/03/01 15:03 |
| RE: client interface | Cloudmaster | 01/30/01 18:36 |
| RE: NT hosted sites | Sean | 01/05/01 10:25 |
| RE: client interface | joey | 01/02/01 14:05 |
| NT hosted sites | Chris Hemming | 12/28/00 15:16 |
| How to deal with Database driven sites ? | Xavier | 12/05/00 10:24 |
| RE: Better solution than pserver for web projects | Alaric Snell | 11/22/00 19:07 |
| Better solution than pserver for web projects | Jason | 08/24/00 00:37 |
| RE: client interface | Chris Stephens | 07/12/00 03:08 |
| client interface | johnny brasseur | 06/29/00 03:39 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


