These are notes on how to get read and/or write access to SKK source repository at Ring OpenLab CVS server. If you find something wrong, or know a better way to do that, please let us know.
$CVSROOT(openlab.jp:/circus/cvsroot)
|
|
+-- skk --+-- main (Main distribution -- Emacs Lisp, tutorials, etc)
|
|
+-- dic (Dictionaries)
|
|
+-- tools (Dictionary maintenance tools)
|
|
+-- skkserv (Dictionary server)
|
|
+-- pySKK (SKK related libraries using python)
|
|
+-- web (Web page html files)
+---------+ +---------+
legacy branch | 10.62.2 |----| 10.62.x |
/ +---------+ +---------+
/
/
+----------------+ +------------------+ +---------------+ +-----+ +-----+
|10.62 (skk10_62)|----|10.62a (skk10_62a)|----| 11.3 (Sakurai)|----|11.4 |----|11.x | <- The main trunk
+----------------+ +------------------+ +---------------+ +-----+ +-----+ (daredevil skk)
/
/
/
+-----+ +-----+ +-----+
daredevil branch |11.1 |----|11.2 |----|11.x |
+-----+ +-----+ +-----+
CVS is distributed at
http://ftp.gnu.org/non-gnu/cvs/
If you want to know more about CVS, visit the following site.
Do you know pcvs (pcl-cvs)? It's a GNU Emacs front-end to CVS. pcvs is included in Emacs 21 distribution.
First, you need to login just once as a user `guest' (unless you have commit access).
$ cvs -d :pserver:guest@openlab.jp:/circus/cvsroot login
When prompted, type 'guest' as CVS password.
CVS password: guest (CR)
File ~/.cvspass holds the password.(*1)
To get your own working copy of the sources, use `checkout' command (*2). To checkout sources in Main Trunk:
$ cvs -d :pserver:guest@openlab.jp:/circus/cvsroot checkout skk/main
To checkout a branch called `legacy' (maintenance version of SKK-10.x):
$ cvs -d :pserver:guest@openlab.jp:/circus/cvsroot checkout -r legacy skk/main
The working copy will be in `skk/main' directory.
$ cd skk/main
Now you can `make'. You can hack files too, but need to get commit access to SKK CVS repositories before committing your changes.
You can use `update' command from within your working directory to bring work tree in sync with the repository.
Your working copy knows the root of the repository (i.e. openlab.jp:/circus/cvsroot)(*3), thus you can type the following:
$ cvs update -dP
The option of update command `-d' adds to your working copy new directories that exist only in repository. `-P' removes from your working copy directories that does not exist repository. I recommend that you specify these options of update command by adding the following lines to your ~/.cvsrc file.
update -P -d
If you want a right to `commit' to SKK CVS repositories, write e-mail to skk-owner@ring.gr.jp with ssh2 public key generated by OpenSSH.
% cvs -d:ext:skk-cvs@openlab.jp:/circus/cvsroot co skk/main
You can similarly execute other commands like update, etc.
Please follow the procedure before you commit changes.
$ cd skk/main
$ cvs commit -m "Update." ChangeLog
$ cvs commit -m "write about your changes." skk.el
Each version of Daredevil SKK uses its codename as a release tag. See `READMEs/Codename'.
$ cvs tag (Codename) .
legacy branch uses tag name like skk10_62, skk10_63, skk10_64...
Your working copy has a directory called `CVS', which is used internally by CVS. This holds information of the user name, the root of the repository (i.e. openlab.jp:/circus/cvsroot), the name of the repository, etc. (*3) Usually you can set the `$CVSROOT' environment variable to an absolute path to the root of the repository, but the `-d' option and the `CVS/Root' file both override the `$CVSROOT' environment variable. If `-d' option differs from `CVS/Root', the former is used.
You can write in ~/.cvsrc
cvs -z3
The -z3 option enables compression during transit. Digit right after `z' represents compression rate, and `-z9' means highest. However, `-z3' may be better as `-z9' forces a significant overhead to pserver.
`CVS/Root' in the working copy directory (and its subdirectories) holds information of the root of the repository.
In pcl-cvs, a GNU Emacs front-end to CVS, press `C' (`cvs-mode-changelog-commit') and it tries to provide appropriate default log messages by looking at the `ChangeLog's.
mailto: skk@ring.gr.jp
Last Modified: $Date: 2007/05/16 13:15:26 $