get rid of svn keywords once and for good
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 27 Mar 2012 12:36:51 +0000 (14:36 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 27 Mar 2012 12:36:51 +0000 (14:36 +0200)
22 files changed:
bashrc
bin/clean-empty-dirs.py
bin/dns-config
bin/mtail.py
bin/plc-config
bin/plc-kml.py
bin/plc-orphan-accounts.py
bin/refresh-peer.py
default_config.xml
plc.d/dns
plc.d/functions
plc.d/gpg
plc.d/httpd
plc.d/mail
plc.d/network
plc.d/ssh
plc_config.dtd
plc_config.py
support-scripts/gen-sites-xml.py
support-scripts/gen-static-content.py
support-scripts/gen_aliases.py
support-scripts/renew_reminder.py

diff --git a/bashrc b/bashrc
index 0e92877..3683fe4 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -1,6 +1,4 @@
 # -*-sh-*-
-# $Id$
-# $URL$
 # this file defines a few convenience bash shorthands for managing myplc nodes
 # it is installed in /usr/share/myplc/aliases
 # you might wish to use it in your own bash startup files (.profile/.bashrc)
index 244dfac..93d6415 100755 (executable)
@@ -1,7 +1,5 @@
 #!/usr/bin/python
 ###
-### $Id$
-###
 ### utility script for cleaning empty directories
 ### useful to clean up /var/tmp/bootmedium
 ### 
index 401a3a7..fbf294b 100755 (executable)
@@ -7,8 +7,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-#
 
 from plc_config import PLCConfiguration
 import os, sys
index 706ccf5..f5d287c 100755 (executable)
@@ -15,8 +15,6 @@ from optparse import OptionParser
 
 class mtail:
 
-    subversion_id = "$Id$"
-
     default_time_format = "%H:%M:%S"
     
     def __init__ (self, args ):
@@ -32,7 +30,7 @@ class mtail:
        usage = """usage: %prog [options] file-or-dir ...
 example: 
 # %prog -e '*access*' /var/log"""
-       parser=OptionParser(usage=usage,version=self.subversion_id)
+       parser=OptionParser(usage=usage)
        # tail_period
        parser.add_option("-p","--period", type="int", dest="tail_period", default=1,
                          help="Files check period in seconds")
@@ -78,7 +76,6 @@ example:
             self.args.append("/var/log/httpd/sfa_access_log")
 
        if self.options.verbose:
-           print 'Version:',self.subversion_id
            print 'Options:',self.options
            print 'Arguments:',self.args
 
index 78fc6db..ca6dc00 100755 (executable)
@@ -6,8 +6,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-#
 
 import sys
 import os
index 2a1ecf9..c8b7de9 100755 (executable)
@@ -1,7 +1,5 @@
 #!/usr/bin/env plcsh
 #
-# $Id$
-
 # this script generates a kml file, located under the default location below
 # you should crontab this job from your myplc image
 # you can then use the googlemap.js javascript for creating your applet
index b8ce321..2edc2e8 100755 (executable)
@@ -1,7 +1,5 @@
 #!/usr/bin/env plcsh
 #
-# $Id$
-#
 # searches and displays any local orphan account (not attached to a site)
 # remote accounts with identical emails are displayed as well
 
index 54c8844..c5fa748 100644 (file)
@@ -1,5 +1,4 @@
 #!/usr/bin/env plcsh
-# $Id$
 
 import sys,time,os,os.path
 
index 94d4ab5..c9f3bab 100644 (file)
@@ -6,8 +6,6 @@ Default PLC configuration file
 Mark Huang <mlhuang@cs.princeton.edu>
 Copyright (C) 2006 The Trustees of Princeton University
 
-$Id$
-$URL$
 -->
 
 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
index 377a269..afdf55f 100755 (executable)
--- a/plc.d/dns
+++ b/plc.d/dns
@@ -1,6 +1,4 @@
 #!/bin/bash
-# $Id$
-# $URL$
 #
 # priority: 950
 #
index 5f52e10..ec6c6ef 100644 (file)
@@ -1,7 +1,4 @@
 # -*-Shell-script-*-
-# $Id$
-# $URL$
-#
 # Common functions for PLC startup/shutdown scripts
 #
 # Mark Huang <mlhuang@cs.princeton.edu>
index 2342885..39f6add 100755 (executable)
--- a/plc.d/gpg
+++ b/plc.d/gpg
@@ -1,6 +1,4 @@
 #!/bin/bash
-# $Id$
-# $URL$
 #
 # priority: 400
 #
index 101179d..94b4e18 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/bash
-# $Id$
-# $URL$
 #
 # priority: 600
 #
index 2adfc97..1585622 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/bash
-# $Id$
-# $URL$
 #
 # priority: 200
 #
index 782f3d7..363a0f6 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/bash
-# $Id$
-# $URL$
 #
 # priority: 100
 #
index 907c851..21d4fea 100755 (executable)
--- a/plc.d/ssh
+++ b/plc.d/ssh
@@ -1,6 +1,4 @@
 #!/bin/bash
-# $Id$
-# $URL$
 #
 # priority: 500
 #
index 9eea2fa..d5d57b4 100644 (file)
@@ -4,7 +4,6 @@ Specification for PLC configuration files
 Mark Huang <mlhuang@cs.princeton.edu>
 Copyright (C) 2006 The Trustees of Princeton University
 
-$Id$
 -->
 
 <!ELEMENT configuration (variables, comps)>
index ced7e37..4203862 100644 (file)
@@ -873,10 +873,6 @@ class TrimTextElement(xml.dom.minidom.Element):
 ####################
 # GLOBAL VARIABLES
 #
-release_id = "$Id$"
-release_rev = "$Revision$"
-release_url = "$URL$"
-
 g_configuration=None
 usual_variables=None
 config_dir=None
@@ -1295,7 +1291,7 @@ def check_dir (config_file):
                 
 ####################
 def optParserSetup(configuration):
-    parser = OptionParser(usage=usage(), version="%prog " + release_rev + release_url )
+    parser = OptionParser(usage=usage())
     parser.set_defaults(config_dir=configuration['config_dir'],
                         service=configuration['service'],
                         usual_variables=configuration['usual_variables'])
index 5da0f72..13db800 100755 (executable)
@@ -5,8 +5,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: gen-sites-xml.py,v 1.8 2007/09/14 20:08:28 tmack Exp $
-#
 
 import os, sys
 import getopt
index 3539cab..22c9640 100755 (executable)
@@ -5,8 +5,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id: gen-static-content.py,v 1.35.2.1 2007/02/07 03:27:50 mlhuang Exp $
-#
 
 import os, sys, shutil
 import time
index 48a70fe..38b3ff5 100755 (executable)
@@ -25,8 +25,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id$
-#
 
 import os, sys
 import plcapilib
index 220fd14..be377bc 100755 (executable)
@@ -5,8 +5,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id$
-#
 
 import os
 import sys