GIT and CVS access to the SWI-Prolog development tree
GIT is a Fast Version Control System developed by Linus Torvalds and currently maintained by Junio C Hamano. The SWI-Prolog project moved from CVS to GIT because
If you want to keep in touch with the most recent version, or you want to maintain a modified version, access to the SWI-Prolog GIT/CVS repository can make your life a lot easier.
We provide browsing access through the web using GITweb. With any browser you can examine the version history of files, retrieve any version of a file and produce difference listings between arbitrary versions.
% git clone git://gollem.science.uva.nl/home/git/pl.git |
You can update to the latest version using
% git pull |
If you have a CVS client, which is available for many platforms, you can access the repository with read-only access. To check out the most recent version, please give the following command (% is the prompt):
% cvs -d :pserver:anonymous@gollem.science.uva.nl:2402/pl.git co master |
Note that the CVS server is a GIT clone of a real CVS server. It has only one module and the argument for checkout is not a module but a branch. The main branch is called master. As long as we are running a real CVS server, the GIT emulation is based on port 2402 rather than the CVS default port 2401.
The above commands create a directory master in the current working directory. After this you can give any of the CVS commands to manage your version, except for commands that modify the repository. For example, the following command synchronises your version with ours, merging and/or complaining about changes you made. Issue from the top-directory or any subdirectory thereof to update only that subdirectory.
% cvs update |
A Windows version of the CVS client is available from
http://www.cyclic.com/pub/cvs-1.10/windows/cvs-1.10-win.zip. Installation instructions for Windows are
here. Note that GIT currently does not distinguish
between text and binary files at the file level. As the repository
contains binary objects (images and XPCE saved objects), the repository
is set to binary and text files you checkout use the POSIX single
\n newline convention. Recent versions of PceEmacs detect and
preserve DOS/POSIX newline representations automatically.
We now use msysGit for
development on Windows XP/XP64 using default (auto) cr/lf translation. Where
GIT on Windows was mostly unusable in October 2007, it now (May 2008) appears
sufficienly stable.
|
| This page is maintained using the chpp macro language |