in8notesThis portion of my site is powered by Blosxom. Blosxom is a perl script whose functionality here is extended through several plugin scripts in order to dynamically assemble a multitude of separate plain text files stored in a directory tree on the server into a cohesive, dated and RSS enabled weblog. Now in daily (r)sync with the directories on Nate's Powerbook.
blosxom |
Return to in8sworld.net I successfully created a repository in ~/myproj called spec with the contents of my ~/Sites/frc/spec directory by CDing into that spec directory and issuing: cvs import -m "FRC spec" spec specphp spec_0It was driving me crazy, since I was always issuing the command from the myproj directory at first and it was dumping all the other projects in the myproj directory in there too. Trouble is, it didn't create a directory called spec in there, so you can't see the files there or anything. You just have to know that its been checked in? Well I'm still learning my way around. I suppose you can list the modules easily enough. Remember that after importing the project, rename the original directory (to move it out of the way). Then use cvs checkout to check out the project to the original location. Once you verify its all there, you can delete the original directory.
Last saved: 07/15/2007
Logging in to CVS and adding a new module
cvs -d :pserver:user@domain.org:/usr/local/projects login cvs import -m "Example" example exampledev ex_0
Last saved: 03/06/2006
====================
Last saved: 04/03/2005
Starting the CVS server in Mandrake
Should go in /etc/xinet.d/cvs
some of this from http://enterprise.ece.mcgill.ca/~wentsern/index5.html
NOT NOW, but after everything is done, come back and issue
mkdir /usr/local/projects/CVSROOT Edit /etc/xinetd.d/cvs
service cvspserver Edit /etc/cvs/cvs.conf CVS_REPOS="/home/cvs/repository1" Restart xinetd with either of the following commands
pkill -USR1 xinetd Check cvs server has started sh -x /usr/sbin/cvspserver Or you can use nmap to check if it is installed nmap localhost Clientside (as the user) Add the login password to ~/.cvspass by runing cvs -d :pserver:username@machinename.domainname.com:/home/cvs/repository1 login Use Cervisia (Repository -> Repositories -> Add) :pserver:username@machinename.domainname.com:/home/cvs/repository1
Note that
more on this here
Last saved: 03/29/2005
CVS repositories - vendor tags?
I'm still confused about what vendor tags and release tags mean, but I can't create
[in8smac:~/Sites/frc/5-php-driven] in8% cvs import -m "FRC php product page" prod prodphp prod_0 No conflicts created by this import
Last saved: 03/09/2005
Using CVS to checkout and checkin files
I had no luck using the GUI CVS client at first so I ended up learning how to do all this on the command line:
it told me that stuff had been released. Then I downloaded the latest files from the web and brought them to the desktop. To check them in, I ran
but although it worked, it only saw the index.php file (which had been in the original checkout) so I need to learn how to add files to the repository.
I found this site useful: http://www.network-theory.co.uk/docs/cvsmanual/index.html
allowed me to see an output of the differences between the two index.php files (version 1.1 and the newer 1.2 I just grabbed from the website). To understand the diff, just realize that "<" indicates a removal from the first file, while ">" indicates what it was changed to. Of course, when I finally figured out that you just have to "open the sandbox" in the GUI client to see and act on all the CVS'd items you check out with the client, its far easier. The diff function in macCVSclient is nice and colored too.
Last saved: 02/28/2005
To enable the pserver method of CVS login
Trouble with passwd file?
Keep in mind I have since edited my .tcshrc file to show:
I found this:
($u, $p)=@ARGV; perl crypt in8 password
the output goes into the passwd file in the CVSROOT directory.
(note: I also had to change the perms on the .cvspass file so in8 could mod it)
To start the pserver
Last saved: 02/27/2005
|
||||