You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Downloading SpamAssassin from SVN

The latest development version can be obtained at any given time from the SpamAssassin Subversion (SVN) repository. Please note that this code can be quite unstable and we don't recommend running it on real or important mail unless you really know what you are doing.

To do this, you will need to install subversion. [http://subversion.tigris.org/ Subversion website] [http://svnbook.red-bean.com/ Subversion book] Note that the server components are not required – just the 'svn' command and its dependencies.

If you are tracking the SVN tree, you should probably subscribe to the SpamAssassin-Dev mailing list – see MailingLists.

Viewing the SVN tree through the web

  • [http://svn.apache.org/viewcvs.cgi/spamassassin/trunk/?root=Apache-SVN Trunk] (active development branch, a la CVS HEAD)

  • [http://svn.apache.org/viewcvs.cgi/spamassassin/?root=Apache-SVN The branches and tags]

Downloading via anonymous SVN

$ svn checkout http://svn.apache.org/repos/asf/spamassassin/trunk spamassassin/

This will put the latest (trunk) version of spamassassin in the directory spamassassin/.

Downloading via authenticated SVN (developers only)

$ svn checkout https://svn.apache.org/repos/asf/spamassassin/trunk spamassassin

Authentication will allow you to commit your changes to the SpamAssassin tree. Commit access is generally given if you have a history of making valuable contributions to SpamAssassin in the form of patches.

Using Subversion

Updating your tree

$ svn update

This command should update your local tree to reflect changes made on the server. Do this periodically, especially before submitting a patch.

Creating a patch

$ svn diff

This will create a unified diff (patch-file) with the differences between your local tree and the server's copy. Be sure to update before you do this to ensure there are no conflicts.

More information

For more information, try "svn help" and reading the [http://subversion.tigris.org/ Subversion website] and the [http://svnbook.red-bean.com/ Subversion book].

Legacy

the old CVS tree and other modules are still hosted at [https://sourceforge.net/cvs/?group_id=25457 sourceforge.net].

To update a subversion checkout from the incubator tree use the svn switch command inside your working directory:

$ svn switch http://svn.apache.org/repos/asf/spamassassin/trunk
  • No labels