[test] add unit tests for ruleset
We extract the rules building logic from readfile into a Ruleset.buildrules()
method to ease testing.
====================
mercurial-server 1.3
====================
* Expanded documentation
* Missing entries in CREDITS
* Debian build management improvements
* Release documentation
* Experimental Cygwin support
====================
mercurial-server 1.2
====================
* Fix error in security code ruleset.py
* Mercurial 1.9 compatibility
* Compatibility with older versions of Python
* Allow MQ repositories to be pushed/pulled
* Testing and whitespace fixes
Upgrading: if you need MQ compatibility, copy in the "[exceptions]" stanza
from the default dot-mercurial-server file.
====================
mercurial-server 1.1
====================
* Allow subrepo creation
* New log filename
* Changed logging format to use JSON/YAML
* Add the source IP address and other info in the SSH_CONNECTION environment variable
* Lock log file
* Make sure authorized_keys file is mode 600
* Add dev/chroot-test testing code
* Extend documentation
Upgrading: note the changes to the log file format listed above.
======================
mercurial-server 1.0.1
======================
* Fix HGRCPATH brokenness - potential security issue
* Fix rule matching to properly handle the case where we don't know for sure
* Fix error in documentation
* Remove whitespace around paths, said to help with TortoiseHG
* Small refactor of access.py
* Tidy up file prologues; move credits to CREDITS
Upgrading: repositories whose paths begin or end in white space will no longer
be accessible; if they exist they must be moved to new names.
====================
mercurial-server 1.0
====================
* Add "env" section to .mercurial-server instead of special-casing HGRCPATH
* Switch to remote-hgrc.d directory instead of single file.
* Control path of authorized keys file in .mercurial_server
* Overwrite $HOME with value from /etc/passwd
* Use Python's ConfigParser instead of too-new mercurial.config
* Fix very out-of-date comments in hg-ssh
* Belatedly added NEWS file :-)
Upgrading: move the paths/hgrc entry in .mercurial-server to env/HGRCPATH,
and add an entry under paths that reads
"authorized_keys = ~/.ssh/authorized_keys"
====================
mercurial-server 0.9
====================
* Switch to supporting DESTDIR prefix in Makefile for easier packaging
====================
mercurial-server 0.8
====================
* Remove .deb-specific stuff in Docbook documentation - let the README
handle that stuff. Also fixes bad version numbers in there.
* Move html docs into subdirectory
* Line wrap README
====================
mercurial-server 0.7
====================
* Introduce .mercurial-server file for hg user
* Remove all restrictions on paths, except for dotfiles in repo paths
* Automatically create containing dirs for subdir repos
* Guard against repos in repos
* Switch to Makefile/setup.py based installer
* Switch to Docbook based documentation
* Load purge extension for hgadmin repo
* Guard against setting up hg user who already has .ssh/authorized_keys
* Link to real home page
Upgrading: you'll need to create a .mercurial-server file
for the hg user - a suitable one is in the init directory.
====================
mercurial-server 0.6
====================
* Remove hardcoding of init file path in hginit
* Switch from /usr/lib to /usr/share
* Install documentation
* Don't create "hg" user if install root is not root.
====================
mercurial-server 0.5
====================
* First numbered release