You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Gervai <gr...@tolna.net> on 2002/12/17 21:28:32 UTC

[PATCH] Version numbers in the sources, tools/hook-scripts/

My first patch, so if anything's wrong, teach me. :-) [I checked HACKING and
already submitted patches for the format to follow.]
If this is okay, I am going to submit for the other tools/ as well.


* tools/hook-scripts/commit-access-control.pl, mailer.py,
  svnperms.py: insert revision information (HeadURL, LastChangedDate,
  LastChangedBy, LastChangedRevision) at the beginning of the 
  files (same way as commit-email.pl and propchange-email.pl 
  files already have them). *.pl have oneliner svn:keywords while
  *.py have them multiline to help break^H^H^H^Htesting both
  formats.

* mailer.conf.example, README: insert Id short revision information
  in the file.


Index: tools/hook-scripts/commit-access-control.pl
===================================================================
--- tools/hook-scripts/commit-access-control.pl	(revision 4143)
+++ tools/hook-scripts/commit-access-control.pl	(working copy)
@@ -6,6 +6,11 @@
 # commit in repository REPOS using the permissions listed in the
 # configuration file CONF_FILE.
 #
+# $HeadURL$
+# $LastChangedDate$
+# $LastChangedBy$
+# $LastChangedRevision$
+#
 # Usage: commit-access-control.pl REPOS TXN-NAME CONF_FILE
 #    
 # ====================================================================

Property changes on: tools/hook-scripts/commit-access-control.pl
___________________________________________________________________
Name: svn:keywords
   + HeadURL LastChangedDate LastChangedBy LastChangedRevision

Index: tools/hook-scripts/mailer.py
===================================================================
--- tools/hook-scripts/mailer.py	(revision 4143)
+++ tools/hook-scripts/mailer.py	(working copy)
@@ -2,6 +2,11 @@
 #
 # mailer.py: send email describing a commit
 #
+# $HeadURL$
+# $LastChangedDate$
+# $LastChangedBy$
+# $LastChangedRevision$
+#
 # USAGE: mailer.py REPOS-DIR REVISION [CONFIG-FILE]
 #
 #   Using CONFIG-FILE, deliver an email describing the changes between

Property changes on: tools/hook-scripts/mailer.py
___________________________________________________________________
Name: svn:keywords
   + HeadURL
LastChangedDate
LastChangedBy
LastChangedRevision

Index: tools/hook-scripts/svnperms.py
===================================================================
--- tools/hook-scripts/svnperms.py	(revision 4143)
+++ tools/hook-scripts/svnperms.py	(working copy)
@@ -1,4 +1,10 @@
 #!/usr/bin/python
+
+# $HeadURL$
+# $LastChangedDate$
+# $LastChangedBy$
+# $LastChangedRevision$
+
 import commands
 import sys, os
 import getopt

Property changes on: tools/hook-scripts/svnperms.py
___________________________________________________________________
Name: svn:keywords
   + HeadURL
LastChangedDate
LastChangedBy
LastChangedRevision

Index: tools/hook-scripts/mailer.conf.example
===================================================================
--- tools/hook-scripts/mailer.conf.example	(revision 4143)
+++ tools/hook-scripts/mailer.conf.example	(working copy)
@@ -1,6 +1,7 @@
 #
 # mailer.conf: example configuration file for mailer.py
 #
+# $Id$
 
 [general]
 diff = /usr/bin/diff -u -L %(label)s %(from)s %(to)s

Property changes on: tools/hook-scripts/mailer.conf.example
___________________________________________________________________
Name: svn:keywords
   + Id

Index: tools/hook-scripts/svnperms.conf.example
===================================================================
--- tools/hook-scripts/svnperms.conf.example	(revision 4143)
+++ tools/hook-scripts/svnperms.conf.example	(working copy)
@@ -1,5 +1,6 @@
 ## Example configuration file for svnperms.py. ##
 
+# $Id$
 #
 # Multiple global [groups] sections are accepted, but be aware
 # that it's the same as concatenating them all in a single entry.

Property changes on: tools/hook-scripts/svnperms.conf.example
___________________________________________________________________
Name: svn:keywords
   + Id

Index: tools/hook-scripts/README
===================================================================
--- tools/hook-scripts/README	(revision 4143)
+++ tools/hook-scripts/README	(working copy)
@@ -29,3 +29,5 @@
       Uses the `svnlook' program to send revision property change notice
       emails.  Invoke it from `repository/hook/post-revprop-change'.  Run
       the script with no arguments for usage.
+
+$Id$

Property changes on: tools/hook-scripts/README
___________________________________________________________________
Name: svn:keywords
   + Id

Index: tools/hook-scripts/commit-access-control.cfg.example
===================================================================
--- tools/hook-scripts/commit-access-control.cfg.example	(revision 4143)
+++ tools/hook-scripts/commit-access-control.cfg.example	(working copy)
@@ -1,5 +1,7 @@
 # This is a sample configuration file for commit-access-control.pl.
 #
+# $Id$
+#
 # This file uses the Windows ini style, where the file consists of a
 # number of sections, each section starts with a unique section name
 # in square brackets.  Parameters in each section are specified as

Property changes on: tools/hook-scripts/commit-access-control.cfg.example
___________________________________________________________________
Name: svn:keywords
   + Id


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Version numbers in the sources, tools/hook-scripts/

Posted by Sander Roobol <ph...@wanadoo.nl>.
This patch has been filed as issue #1182.

Sander

On Wed, Mar 05, 2003 at 02:13:49PM +0100, Peter Gervai wrote:
> Pong reply from unexpected source,
> 
> On Wed, Mar 05, 2003 at 12:49:03PM +0100, Sander Roobol wrote:
> > On Mon, Jan 13, 2003 at 02:48:33PM -0600, Karl Fogel wrote:
> > > Peter Gervai <gr...@grin.hu> writes:
> > > > Seems nobody had enough sleep since Dec 18? ;-)
> > > > 
> > > > Or I'm missing something and it was silently applied or rejected?
> > > 
> > > Just working on 0.17; patches accumulating in archive until then :-).
> > 
> > Ping?
> 
> I do, but we're waiting for 0.17... ummm... 0.18... umm.... dunno. Waiting
> is the only stable assumption of mine.
> 
> Naturally I'm talking about every executable in subversion telling its
> version and revision numbers in the help message; source distributed files
> (.pl .py) in the source as well. Even I'm not qualified for this precious
> work I'd gladly propset svn:keywords Id on the files and put # $Id$ in the
> 3rd line of them all, and maybe even patch the $Id$ in the help message if I
> get my courage from the Wizard of Oz.
> 
> But maybe the Gods could do it better, faster.
> 
> Peter
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Version numbers in the sources, tools/hook-scripts/

Posted by Peter Gervai <gr...@grin.hu>.
Pong reply from unexpected source,

On Wed, Mar 05, 2003 at 12:49:03PM +0100, Sander Roobol wrote:
> On Mon, Jan 13, 2003 at 02:48:33PM -0600, Karl Fogel wrote:
> > Peter Gervai <gr...@grin.hu> writes:
> > > Seems nobody had enough sleep since Dec 18? ;-)
> > > 
> > > Or I'm missing something and it was silently applied or rejected?
> > 
> > Just working on 0.17; patches accumulating in archive until then :-).
> 
> Ping?

I do, but we're waiting for 0.17... ummm... 0.18... umm.... dunno. Waiting
is the only stable assumption of mine.

Naturally I'm talking about every executable in subversion telling its
version and revision numbers in the help message; source distributed files
(.pl .py) in the source as well. Even I'm not qualified for this precious
work I'd gladly propset svn:keywords Id on the files and put # $Id$ in the
3rd line of them all, and maybe even patch the $Id$ in the help message if I
get my courage from the Wizard of Oz.

But maybe the Gods could do it better, faster.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Version numbers in the sources, tools/hook-scripts/

Posted by Sander Roobol <ph...@wanadoo.nl>.
On Mon, Jan 13, 2003 at 02:48:33PM -0600, Karl Fogel wrote:
> Peter Gervai <gr...@grin.hu> writes:
> > Seems nobody had enough sleep since Dec 18? ;-)
> > 
> > Or I'm missing something and it was silently applied or rejected?
> 
> Just working on 0.17; patches accumulating in archive until then :-).

Ping?

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Version numbers in the sources, tools/hook-scripts/

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Peter Gervai <gr...@grin.hu> writes:
> Seems nobody had enough sleep since Dec 18? ;-)
> 
> Or I'm missing something and it was silently applied or rejected?

Just working on 0.17; patches accumulating in archive until then :-).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Version numbers in the sources, tools/hook-scripts/

Posted by Peter Gervai <gr...@grin.hu>.
On Wed, Dec 18, 2002 at 02:24:36AM +0100, Branko Čibej wrote:
> Peter Gervai wrote:
> 
> >My first patch, so if anything's wrong, teach me. :-) [I checked HACKING and
> >already submitted patches for the format to follow.]
> >If this is okay, I am going to submit for the other tools/ as well.
> >
> This patch looks sane to me.
> 
> But it's a bit late, so rather than appearing insane myself, I'll wait
> for somebody else (who's had enough sleep) to commit. :-)

Seems nobody had enough sleep since Dec 18? ;-)

Or I'm missing something and it was silently applied or rejected?

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Version numbers in the sources, tools/hook-scripts/

Posted by Branko Čibej <br...@xbc.nu>.
Peter Gervai wrote:

>My first patch, so if anything's wrong, teach me. :-) [I checked HACKING and
>already submitted patches for the format to follow.]
>If this is okay, I am going to submit for the other tools/ as well.
>
This patch looks sane to me.

But it's a bit late, so rather than appearing insane myself, I'll wait
for somebody else (who's had enough sleep) to commit. :-)


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org