# HG changeset patch # User Paul Crowley # Date 1261219633 0 # Node ID 03d8f07230b30b496f781df97f52e951c86d8c34 # Parent 4af1e1ccf75b3c3a4de4aa33c16e173a0a906cb0 Tidy up file prologues; move credits to CREDITS diff -r 4af1e1ccf75b -r 03d8f07230b3 CREDITS --- /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 - any failings, blame me. + +Thanks to: + +Thomas Arendsen Hein +Mathieu PASQUET +Vadim Gelfer +Hubert Plociniczak +Christoph Junghans +Steve Kemp +Cédric Boutillier +Justin B Rye +Wolfgang Karall +Helge Kreutzmann +"Hideki Yamane \(Debian-JP\)" +Michal Simunek +Martin Bagge +Vincenzo Campanella +Ji ZhengYu + +This credits file may be incomplete - please remind me about people I should add! + diff -r 4af1e1ccf75b -r 03d8f07230b3 NEWS --- 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 ==================== diff -r 4af1e1ccf75b -r 03d8f07230b3 src/hg-ssh --- 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 -# Authors: -# Paul Crowley -# Thomas Arendsen Hein -# with ideas from Mathieu PASQUET -# -# 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 diff -r 4af1e1ccf75b -r 03d8f07230b3 src/mercurialserver/access.py --- 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 -# -# Authors: -# Paul Crowley -# Vadim Gelfer -# -# 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 diff -r 4af1e1ccf75b -r 03d8f07230b3 src/mercurialserver/changes.py --- 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 -# -# Authors: -# Paul Crowley -# Vadim Gelfer -# -# 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() diff -r 4af1e1ccf75b -r 03d8f07230b3 src/mercurialserver/config.py --- 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 diff -r 4af1e1ccf75b -r 03d8f07230b3 src/mercurialserver/refreshauth.py --- 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 diff -r 4af1e1ccf75b -r 03d8f07230b3 src/mercurialserver/ruleset.py --- 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 -# -# 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 diff -r 4af1e1ccf75b -r 03d8f07230b3 src/mercurialserver/servelog.py --- 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 -# -# 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 diff -r 4af1e1ccf75b -r 03d8f07230b3 src/refresh-auth --- 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