From 11aaeb01b8c13392ec7118a4bb203114a0aa0da8 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Tue, 2 Apr 2002 02:55:07 +0000 Subject: [PATCH] update old documentation git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1347 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/cvs | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/doc/cvs b/doc/cvs index 9a49b847..57096239 100644 --- a/doc/cvs +++ b/doc/cvs @@ -1,3 +1,5 @@ +Using the lm_sensors2 and i2c CVS archives +------------------------------------------ (This is based on mails from Philip and William, and edited by Frodo) Anybody can now use CVS to access the code archive. CVS allows you to get @@ -5,8 +7,8 @@ the latest and greatest version of lm_sensors, or any older version. You need the rcs and cvs package, which can be retrieved from any GNU mirror site (prep.ai.mit.edu is the master site). -1) Go to the directory where you want lm_sensors (and/or lm_sensors2) - directory/ies to reside with the project source code. A good choice is +1) Go to the directory where you want the lm_sensors2 (or i2c or lm_sensors) + directory to reside with the project source code. A good choice is your home directory. 2) Assuming you have cvs installed (many distributions do include it). @@ -14,24 +16,26 @@ mirror site (prep.ai.mit.edu is the master site). cvs -d :pserver:anon@penn.netroedge.com:/home/cvs login And type in "anonymous" at the password prompt. -3) Then to check out a project (in this case 'lm_sensors'), type: - cvs -d :pserver:anon@penn.netroedge.com:/home/cvs checkout lm_sensors - or: +3) Then to check out a project (in this case 'lm_sensors2'), type: cvs -d :pserver:anon@penn.netroedge.com:/home/cvs checkout lm_sensors2 - Use lm_sensors2 for the 2.x tree. + Use "lm_sensors2" for the 2.x tree; use "i2c" for the i2c tree. + If you _really_ want the ancient lm_sensors (1.x) tree, use "lm_sensors" + (although nobody is making changes to this tree). -4) Now you have a directory named "lm_sensors" (or lm_sensors2) with all +4) Now you have a directory named "lm_sensors2" with all the files in it. In a day or two when there have been some changes to some of the files, you can do something like this to update your files - to the CVS archive's (be sure to be inside the lm_sensors directory for + to the CVS archive's (be sure to be inside the lm_sensors2 directory for this to work): cvs update If you want to be able to commit changes yourself, you need a real login -(as opposed to the anon login used above). Contact Philip Edelbrock - for this. +(as opposed to the anon login used above). Run the script +doc/developers/genpasswd.pl and follow the instructions to +get a login. Some often-used CVS commands: +(-z3 is for compression, which speeds things up on slow links) * login again (usually not needed) cvs -z3 login @@ -41,9 +45,9 @@ Some often-used CVS commands: cvs -z3 commit When you commit, it will bring up an editor (probably vi) and ask you to -summarize your changes. Be verbose! I've also set things up so that everybody +summarize your changes. Be verbose! we've also set things up so that everybody gets an email whenever somebody checks in some changes which tells them the -names of the changed files and also the log message; I can turn this off for +names of the changed files and also the log message; we can turn this off for you if you find it annoying. It might be a good idea to browse the CVS documentation; you can do lots of @@ -51,7 +55,8 @@ neat stuff like set watches on files. Also if you encounter conflicts you'll need to know what to do. There is a short manpage, and a rather extensive info manual (try 'info cvs'). -Be warned that using the CVS archive is dangerous; this is beta code at best. +Be warned that the CVS archive is not always stable or safe, or will even +compile. Review the CHANGES document in CVS for issues that may affect you. Sometimes files are committed with known bugs. This is usually reported in the commit logs or on our mailing list; non-developers will receive neither (though you can ask cvs to show the logs, even if you only have a anon