ソースを参照

Make Closed and Finished proposals know when they were implemented (approximately). Make this more accurate in the future.

svn:r15905
Nick Mathewson 16 年 前
コミット
55c3619c23

+ 1 - 0
doc/spec/proposals/101-dir-voting.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created:
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview
 

+ 1 - 0
doc/spec/proposals/102-drop-opt.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created:
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/103-multilevel-keys.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created:
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/104-short-descriptors.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created:
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/105-handshake-revision.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson, Roger Dingledine
 Created:
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/106-less-tls-constraint.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created: 9-Feb-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/107-uptime-sanity-checking.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Kevin Bauer & Damon McCoy
 Created: 8-March-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/108-mtbf-based-stability.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created: 10-Mar-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/109-no-sharing-ips.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Kevin Bauer & Damon McCoy
 Created: 9-March-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
   This document describes a solution to a Sybil attack vulnerability in the

+ 1 - 0
doc/spec/proposals/111-local-traffic-priority.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 14-Mar-2007
 Status: Finished
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/114-distributed-storage.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Karsten Loesing
 Created: 13-May-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Change history:
 

+ 1 - 0
doc/spec/proposals/119-controlport-auth.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 14-Aug-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/122-unnamed-flag.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 04-Oct-2007
 Status: Closed
+Implemented-In: 0.2.0.x
 
 1. Overview:
 

+ 1 - 0
doc/spec/proposals/123-autonaming.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Peter Palfrader
 Created: 2007-10-11
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/125-bridges.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 11-Nov-2007
 Status: Finished
+Implemented-In: 0.2.0.x
 
 0. Preface
 

+ 1 - 0
doc/spec/proposals/126-geoip-reporting.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 2007-11-24
 Status: Closed
+Implemented-In: 0.2.0.x
 
 0. Status
 

+ 1 - 0
doc/spec/proposals/128-bridge-families.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 2007-12-xx
 Status: Finished
+Implemented-In: 0.2.0.x
 
   [This proposal is part implemented, and part dead (won't-implement).
   Roger should add a note and merge it into the spec.]

+ 1 - 0
doc/spec/proposals/129-reject-plaintext-ports.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Kevin Bauer & Damon McCoy
 Created: 2008-01-15
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/130-v2-conn-protocol.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Nick Mathewson
 Created: 2007-10-25
 Status: Closed
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/136-legacy-keys.txt

@@ -3,6 +3,7 @@ Title: Mass authority migration with legacy keys
 Author: Nick Mathewson
 Created: 13-May-2008
 Status: Finished
+Implemented-In: 0.2.0.x
 
 Overview:
 

+ 1 - 0
doc/spec/proposals/137-bootstrap-phases.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Roger Dingledine
 Created: 07-Jun-2008
 Status: Finished
+Implemented-In: 0.2.1.x
 
 1. Overview.
 

+ 1 - 0
doc/spec/proposals/138-remove-down-routers-from-consensus.txt

@@ -5,6 +5,7 @@ Last-Modified: $Date$
 Author: Peter Palfrader
 Created: 11-Jun-2008
 Status: Closed
+Implemented-In: 0.2.1.x
 
 1. Overview.
 

+ 1 - 0
doc/spec/proposals/139-conditional-consensus-download.txt

@@ -3,6 +3,7 @@ Title: Download consensus documents only when it will be trusted
 Author: Peter Palfrader
 Created: 2008-04-13
 Status: Closed
+Implemented-In: 0.2.1.x
 
 Overview:
 

+ 17 - 0
doc/spec/proposals/reindex.pl

@@ -22,6 +22,8 @@ for my $f (@files) {
     my $num = substr($f, 0, 3);
     my $status = undef;
     my $title = undef;
+    my $implemented_in = undef;
+    my $target = undef;
     my $alleged_fname = undef;
     if ($f !~ /\.txt/) { print "$f doesn't end with .txt\n"; }
     open(F, "$f");
@@ -40,6 +42,14 @@ for my $f (@files) {
 	    $title =~ s/\.$//;
 	    chomp $title;
 	}
+	if (/^Implemented-In: (.*)/) {
+	    $implemented_in = $1;
+	    chomp $implemented_in;
+	}
+	if (/^Target: (.*)/) {
+	    $target = $1;
+	    chomp $target;
+	}
     }
     close F;
     die "I've never heard of status $status in proposal $num"
@@ -49,6 +59,13 @@ for my $f (@files) {
     die "Proposal $num has no Filename line" unless (defined $alleged_fname);
     die "Proposal $num says its fname is $alleged_fname, but it's really $f"
 	if ($alleged_fname ne $f);
+    print "No Target for proposal $num\n" if (($status eq 'OPEN' or
+					       $status eq 'ACCEPTED')
+					      and !defined $target);
+    print "No Implemented-In for proposal $num\n"
+	if (($status eq 'CLOSED' or $status eq 'FINISHED')
+	    and !defined $implemented_in);
+
     $title{$num} = $title;
     $status{$num} = $status;
 }