Tidy up file prologues; move credits to CREDITS
authorPaul Crowley <paul@lshift.net>
Sat, 19 Dec 2009 10:47:13 +0000
changeset 242 03d8f07230b3
parent 241 4af1e1ccf75b
child 243 2674d7d1c02f
Tidy up file prologues; move credits to CREDITS
CREDITS
NEWS
src/hg-ssh
src/mercurialserver/access.py
src/mercurialserver/changes.py
src/mercurialserver/config.py
src/mercurialserver/refreshauth.py
src/mercurialserver/ruleset.py
src/mercurialserver/servelog.py
src/refresh-auth
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CREDITS	Sat Dec 19 10:47:13 2009 +0000
@@ -0,0 +1,22 @@
+mercurial-server is by Paul Crowley <paul@lshift.net> - any failings, blame me.
+
+Thanks to:
+
+Thomas Arendsen Hein <thomas@intevation.de>
+Mathieu PASQUET <kiorky@cryptelium.net>
+Vadim Gelfer <vadim.gelfer@gmail.com>
+Hubert Plociniczak <hubert@lshift.net>
+Christoph Junghans <kleiner_otti@gmx.de>
+Steve Kemp <steve@steve.org.uk>
+Cédric Boutillier <cedric.boutillier@gmail.com>
+Justin B Rye <jbr@edlug.org.uk>
+Wolfgang Karall <office@karall-edv.at>
+Helge Kreutzmann <debian@helgefjell.de>
+"Hideki Yamane \(Debian-JP\)" <henrich@debian.or.jp>
+Michal Simunek <michal.simunek@gmail.com>
+Martin Bagge <brother@bsnet.se>
+Vincenzo Campanella <vinz65@gmail.com>
+Ji ZhengYu <zhengyuji@gmail.com>
+
+This credits file may be incomplete - please remind me about people I should add!
+
--- a/NEWS	Sat Dec 19 10:46:42 2009 +0000
+++ b/NEWS	Sat Dec 19 10:47:13 2009 +0000
@@ -1,3 +1,13 @@
+======================
+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
+* Small refactor of access.py
+* Tidy up file prologues; move credits to CREDITS
+
 ====================
 mercurial-server 1.0
 ====================
--- a/src/hg-ssh	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/hg-ssh	Sat Dec 19 10:47:13 2009 +0000
@@ -1,14 +1,4 @@
 #!/usr/bin/env python
-#
-# Copyright 2008-2009 LShift Ltd
-# Copyright 2005-2007 by Intevation GmbH <intevation@intevation.de>
-# Authors:
-# Paul Crowley <paul@lshift.net>
-# Thomas Arendsen Hein <thomas@intevation.de>
-# with ideas from  Mathieu PASQUET <kiorky@cryptelium.net>
-#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License, incorporated herein by reference.
 
 """
 hg-ssh - limit access to hg repositories reached via ssh.  Part of
--- a/src/mercurialserver/access.py	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/mercurialserver/access.py	Sat Dec 19 10:47:13 2009 +0000
@@ -1,12 +1,4 @@
-# Copyright 2008-2009 LShift Ltd
-# Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
-#
-# Authors:
-# Paul Crowley <paul@lshift.net>
-# Vadim Gelfer <vadim.gelfer@gmail.com>
-#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License, incorporated herein by reference.
+"""Mercurial access control hook"""
 
 from mercurial.i18n import _
 import mercurial.util
--- a/src/mercurialserver/changes.py	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/mercurialserver/changes.py	Sat Dec 19 10:47:13 2009 +0000
@@ -1,12 +1,6 @@
-# Copyright 2008-2009 LShift Ltd
-# Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
-#
-# Authors:
-# Paul Crowley <paul@lshift.net>
-# Vadim Gelfer <vadim.gelfer@gmail.com>
-#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License, incorporated herein by reference.
+"""
+Find all the changes in a node in a way portable across Mercurial versions
+"""
 
 def changes(repo, node):
     start = repo.changectx(node).rev()
--- a/src/mercurialserver/config.py	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/mercurialserver/config.py	Sat Dec 19 10:47:13 2009 +0000
@@ -1,4 +1,6 @@
-# Copyright 2008-2009 LShift Ltd
+"""
+Fix $HOME and read ~/.mercurial-server
+"""
 
 import sys
 import os
--- a/src/mercurialserver/refreshauth.py	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/mercurialserver/refreshauth.py	Sat Dec 19 10:47:13 2009 +0000
@@ -1,9 +1,6 @@
-# Copyright 2008-2009 LShift Ltd
-
-# WARNING
-# This hook completely destroys your ~/.ssh/authorized_keys
-# file every time it is run
-# WARNING
+"""
+Rewrite ~/.ssh/authorized_keys by recursing through key directories
+"""
 
 import re
 import base64
--- a/src/mercurialserver/ruleset.py	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/mercurialserver/ruleset.py	Sat Dec 19 10:47:13 2009 +0000
@@ -1,9 +1,7 @@
-# Copyright 2008-2009 LShift Ltd
-# Author(s):
-# Paul Crowley <paul@lshift.net>
-#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License, incorporated herein by reference.
+"""
+Glob-based, order-based rules matcher that can answer "maybe"
+where the inputs make clear that something is unknown.
+"""
 
 import sys
 import re
--- a/src/mercurialserver/servelog.py	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/mercurialserver/servelog.py	Sat Dec 19 10:47:13 2009 +0000
@@ -1,10 +1,6 @@
-# Copyright 2008-2009 LShift Ltd
-#
-# Authors:
-# Paul Crowley <paul@lshift.net>
-#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License, incorporated herein by reference.
+"""
+Hook to log changesets pushed and pulled
+"""
 
 from mercurial.i18n import _
 import mercurial.util
--- a/src/refresh-auth	Sat Dec 19 10:46:42 2009 +0000
+++ b/src/refresh-auth	Sat Dec 19 10:47:13 2009 +0000
@@ -1,10 +1,7 @@
 #!/usr/bin/env python
-# Copyright 2008-2009 LShift Ltd
-
-# WARNING
-# This script completely destroys your ~/.ssh/authorized_keys
-# file every time it is run
-# WARNING
+"""
+Rewrite ~/.ssh/authorized_keys by recursing through key directories
+"""
 
 import sys
 import os