[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Normalize EOL whitespace and add a target to do so for ...



Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv684

Modified Files:
	HACKING Makefile README TODO pycheckrc setup.py 
Log Message:
Normalize EOL whitespace and add a target to do so for us in the future.

Index: HACKING
===================================================================
RCS file: /home/minion/cvsroot/src/minion/HACKING,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- HACKING	5 Jan 2003 04:16:49 -0000	1.12
+++ HACKING	5 Jan 2003 06:49:24 -0000	1.13
@@ -25,7 +25,7 @@
     - Also see PEP-0257 for documentation; we're not there yet, but it's
       happening. (http://www.python.org/peps/pep-0257.html)
     - Magic strings:
-         "XXXX" indicates a defect in the code. 
+         "XXXX" indicates a defect in the code.
          "FFFF" indicates a missing feature.
          "????" indicates an untested or iffy block.
          "DOCDOC" indicates missing documentation.
@@ -46,13 +46,13 @@
            support OAEP, but we've already got an implementation of that
            in Python.
 
-      So for now, it's OpenSSL.  I'll accept any patches that make us 
+      So for now, it's OpenSSL.  I'll accept any patches that make us
       run under gnutls/libgcrypt as well, but I think in the long term
       we should migrate to libnss entirely.
 
 PORTING TO NON-LINUX PLATFORMS:
-    - If you need to run on a system without an acceptable /dev/*random, 
-      you'll need to write an acceptable fallback for mixminion.Crypto.trng() 
+    - If you need to run on a system without an acceptable /dev/*random,
+      you'll need to write an acceptable fallback for mixminion.Crypto.trng()
       to use.
 
 CAVEATS:
@@ -82,7 +82,7 @@
              I       V
              I   ... and delivered to other Mixminion servers via MMTPServer
              V
-             ---Others are queued and delivered by other exit methods, 
+             ---Others are queued and delivered by other exit methods,
                 implemented and selected by ModuleManager.
 
 CONTRIBUTING PATCHES:

Index: Makefile
===================================================================
RCS file: /home/minion/cvsroot/src/minion/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Makefile	5 Jan 2003 04:16:49 -0000	1.26
+++ Makefile	5 Jan 2003 06:49:24 -0000	1.27
@@ -33,7 +33,7 @@
 	   echo "WARNING: $$PYTHON doesn't seem to be version 2 or later.";  \
 	   echo ' If this fails, please set the PYTHON environment variable.';\
 	fi                                                                   \
-   fi 
+   fi
 
 #
 # Here are the real make targets.
@@ -181,6 +181,11 @@
 xxxx002:
 	find lib src \( -name '*.py' -or -name '*.[ch]' \) -print0 \
 	   | xargs -0 grep 'XXXX00[12]\|FFFF00[12]\|DOCDOC\|????00[12]'
+
+eolspace:
+	perl -i.bak -pe 's/\s*\n$$/\n/;' ACKS HACKING LICENSE MANIFEST.in \
+		Makefile README TODO pycheckrc setup.py src/*.[ch] \
+		lib/mixminion/*.py lib/mixminion/*/*.py
 
 longlines:
 	find lib src \( -name '*.py' -or -name '*.[ch]' \) -print0 \

Index: README
===================================================================
RCS file: /home/minion/cvsroot/src/minion/README,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- README	31 Dec 2002 04:39:56 -0000	1.5
+++ README	5 Jan 2003 06:49:24 -0000	1.6
@@ -15,7 +15,7 @@
 known deficiencies, including some that make it possible for an adversary
 to trace your message through the system.
 
-IN THIS VERSION: 
+IN THIS VERSION:
    - You can run a rudimentary server that can deliver to other Mixminion
      servers, that can use Mixmaster to deliver to any external address,
      or that sends SMTP directly to a preconfigured set of addresses.
@@ -65,7 +65,7 @@
      correctly on your system.  Go read contrib/openssl/INSTALL, and make
      OpenSSL build.
 
-  5) Run "make".  If you get any errors, please report them to 
+  5) Run "make".  If you get any errors, please report them to
      <nickm@freehaven.net>.
 
   6) Run "make test" to run Mixminion's unit tests.  If you get any errors,
@@ -83,9 +83,9 @@
 
 HOW TO SEND AN EMAIL MESSAGE VIA MIXMINION:
  [First time only. These steps won't be necessary once v0.0.2 is out.]
-   1) Download the latest directory from 
+   1) Download the latest directory from
          http://www.mixminion.net/miniondir.tar.gz
-   2) Unpack it into your homedir; it will create the directory 
+   2) Unpack it into your homedir; it will create the directory
          "~/.mixminion/servers/".
 
  [All subsequent times. The first two steps won't be necessary once v0.0.2 is
@@ -95,7 +95,7 @@
       separated list of servers.  The last server in the second part of the
       path must support smtp.  All intermediate servers must support 'relay'.
    3) Run (type this as a single line):
-         mixminion client -t <email address> 
+         mixminion client -t <email address>
               --path1=<first part of your path>
               --path2=<second part of your path>
               -i <filename to send, or - to read from stdin>.
@@ -112,12 +112,12 @@
         "mixminion server -f <path to mixminiond.conf>"
    4) {This step will change in future version once directories are supported.}
 
-      For clients to use your server, they'll need a copy of your server 
+      For clients to use your server, they'll need a copy of your server
       descriptor, which should be stored in $SERVER_HOME/keys/key_*/ServerDesc.
       For example, if your mixminiond.conf contains the following line:
            Homedir: /home/mixminion/spool
-      
-      Then your first server descriptor will be stored in 
+
+      Then your first server descriptor will be stored in
             "/home/mixminion/spool/keys/key_0001/ServerDesc".
 
       Clients should place a copy of this file, named whatever you like,

Index: TODO
===================================================================
RCS file: /home/minion/cvsroot/src/minion/TODO,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- TODO	5 Jan 2003 04:29:11 -0000	1.52
+++ TODO	5 Jan 2003 06:49:24 -0000	1.53
@@ -19,7 +19,7 @@
 		o Tests for SMTP module
 		o Actually try it out.
 	D Interface for reply blocks
-	. Minimal directory support
+	o Minimal directory support
 		o Make everything resistant to newline corruption
 		       o Signatures are independent of newline style
 		       o Config files are read independent of newline style.
@@ -39,11 +39,12 @@
 			o Tests for CLI support
 			o Test CLI
 		o Server-side directory generation (not automated;
-	          still no automatic rotation.)	
+	          still no automatic rotation.)
 		  	o Backend
 			o CLI
 			o Tests for backend
 			o Test CLI
+		- Retest CLI one last time before shipping
 	o Path selection
 		o Implement
 		o Test backend
@@ -77,8 +78,9 @@
 	o Balance =-signs on "==ANONYMOUS MESSAGE BEGINS"
 	. Acknowledgments
 	o Triage XXXX'S for 002.
-	- Fix all XXXX002's.
+	. Fix all XXXX002's.
 	. Document everything
+	- Clean whitespace
 	o Make __version__ get set automatically, from only one place.
 	- Write a "whatsnew" as a part of the README.
 

Index: pycheckrc
===================================================================
RCS file: /home/minion/cvsroot/src/minion/pycheckrc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pycheckrc	16 Dec 2002 02:40:11 -0000	1.5
+++ pycheckrc	5 Jan 2003 06:49:24 -0000	1.6
@@ -87,7 +87,7 @@
 # bool: warn when setting a tuple of variables to the wrong size (a, b = 1,)
 unpackSize = 1
 
-# bool: warn when using strings exceptions or 
+# bool: warn when using strings exceptions or
 #       other classes not derived from Exception to raise/catch exceptions
 badExceptions = 1
 

Index: setup.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/setup.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- setup.py	3 Jan 2003 15:56:30 -0000	1.21
+++ setup.py	5 Jan 2003 06:49:24 -0000	1.22
@@ -50,7 +50,7 @@
     f = open("lib/mixminion/__init__.py", 'w')
     f.write(initCorrected)
     f.close()
-    
+
 #======================================================================
 # Install unittest if python doesn't provide it. (This is a 2.0 issue)
 try:
@@ -136,12 +136,12 @@
 
     def initialize_options(self):
         self.subcommand = "unittests"
-        
+
     def finalize_options(self):
         build = self.get_finalized_command('build')
         self.build_purelib = build.build_purelib
         self.build_platlib = build.build_platlib
-        
+
     def run(self):
         self.run_command('build')
         old_path = sys.path
@@ -151,7 +151,7 @@
             minion.Main.main(["mixminion.Main", self.subcommand])
         finally:
             sys.path = old_path
-        
+
 #======================================================================
 # Now, tell setup.py how to cope.
 import distutils.core