Move to RST syntax.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 29 Sep 2011 00:09:06 +0300
changeset 1010 c7352d68c95e
parent 1009 be52d3742472
child 1011 c006c2f27f51
Move to RST syntax.
cvs.rst
python.rst
--- a/cvs.rst	Sun Sep 25 17:54:32 2011 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
--*- coding: utf-8 -*-
-
-======
- CVS.
-======
-
-CVS via proxy server.
-=====================
-::
-
-  $ cvs -d:pserver;proxy=$proxyhost;proxyport=$proxyport:$cvsuser@$cvsdomain:/$repo
-
-Create CVS Repository.
-======================
-::
-
-  $ export CVSROOT=/srv/cvsroot
-  $ cvs init
-
-  $ groupadd cvs
-  $ useradd -m -g cvs -s /bin/sh -c "CVS Repository"  cvs
-
-  $ chown -R cvs $CVSROOT
-  $ chgrp -R cvs $CVSROOT
-  $ chmod -R g+s $CVSROOT
-
-  $ grep cvs /etc/services && echo OK
-  cvspserver      2401/tcp              # CVS client/server operations
-  cvspserver      2401/udp              # CVS client/server operations
-  $ echo '# CVS server
-  cvspserver  stream  tcp  nowait  root  /usr/bin/cvs cvs --allow-root=/usr/local/src/cvsroot pserver' \
-      >/etc/inetd.conf
-  $ killall -HUP inetd                  # signal inetd daemon to re-read the config file
-
-  $ ls $CVSROOT/CVSROOT
-  readers                   # list of pseudo usernames that can read via cvspserver
-  writers                   # list of pseudo usernames can write via cvspserver
-  passwd                    # encrypted passwd string with (htpasswd from apache)
-
-CVS workflow.
-=============
-
-Check out sources::
-
-  $ cvs co -P $proj
-
-Status of changes::
-
-  $ cvs status
-
-Compare local changes::
-
-  $ cvs diff -u $path
-
-Creating patch::
-
-  $ cvs diff -N -u -r >$patch
-
-History of changes::
-
-  $ cvs log $file
-
-Remove a file::
-
-  $ rm $file            # must first remove it locally
-  $ cvs rm $file        # schedules it for removal
-
-Add a file::
-
-  $ cvs add $file
-
-Check in local changes::
-
-  $ cvs ci
-
-Update local sources::
-
-  $ cvs update
-
-Move a file can not be done cleanly at the local level. The best way to do this
-with CVS is to go to the cvsroot repository and move the file or directory
-within the repository there. The cvsroot repository keeps all files in their RCS
-form of filename,v . The next cvs update will manifest the file move.
-
-Tagging sources::
-
-  $ cvs tag $name
-  $ cvs rtag $name
-
-Revert file::
-
-  $ rm $file            # remove it from local sources
-  $ cvs update $file    # get a new copy from the repository
-
--- a/python.rst	Sun Sep 25 17:54:32 2011 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
--*- mode: outline; coding: utf-8 -*-
-
-* Licence and history of Python.
-
-  http://docs.python.org/dev/license.htm
-
-* Byte compile .py and check for errors.
-
-  $ python -m compileall dir
-
-* Code analyzers and style checkers.
-
-** Pylint.
-
-  http://www.logilab.org/857
-  http://pypi.python.org/pypi/pylint
-
-** PyChecker.
-
-  http://pychecker.sourceforge.net/