infocalypse

(djk)
2009-09-27: Dev notes. Updates some freesite indices.

Dev notes. Updates some freesite indices.

diff --git a/infocalypse/devnotes.txt b/infocalypse/devnotes.txt
--- a/infocalypse/devnotes.txt
+++ b/infocalypse/devnotes.txt
@@ -32,7 +32,7 @@ Successfully pulled fred_staging/82/ on 
 djk20090702
 Minimum required mercurial version is (and probably has been for a
 while) 1.2.1. [djk20090713, Too conservative. 1.1.2 works on 
-Jaunty Jackalope. 1.0.2 definitely doesn't work anywhere (problems pushing)]
+Jaunty Jackalope]. 1.0.2 definitely doesn't work anywhere (problems pushing)]
 
 That's the only rev. I've been testing with.
 
@@ -96,6 +96,9 @@ o reinsert sometimes fails because it ca
   This is a Mercurial bug:
   http://www.selenic.com/mercurial/bts/issue1704
 
+! Bugs where I treat graph requests as edge requests,
+  AUDIT FOR BUGS ANALOGOUS: adebd3c115a6
+
 x Won't handle repositories with multiple heads correctly.
   I am reworking the graph rep to fix this.
   [FIXED: eb110e539719]
diff --git a/infocalypse/doc/infocalypse_howto.html b/infocalypse/doc/infocalypse_howto.html
--- a/infocalypse/doc/infocalypse_howto.html
+++ b/infocalypse/doc/infocalypse_howto.html
@@ -92,7 +92,7 @@ without FMS.  Without fn-fmsread it is e
 <p>
 The official FMS freesite is here:
 <pre>
-<a href = "USK@0npnMrqZNKRCRoGojZV93UNHCMN-6UU3rRSAmP6jNLE,~BG-edFtdCC1cSH4O3BWdeIYa8Sw5DfyrSV-TKdO5ec,AQACAAE/fms/103/">USK@0npnMrqZNKRCRoGojZV93UNHCMN-6UU3rRSAmP6jNLE,~BG-edFtdCC1cSH4O3BWdeIYa8Sw5DfyrSV-TKdO5ec,AQACAAE/fms/103/
+<a href = "USK@0npnMrqZNKRCRoGojZV93UNHCMN-6UU3rRSAmP6jNLE,~BG-edFtdCC1cSH4O3BWdeIYa8Sw5DfyrSV-TKdO5ec,AQACAAE/fms/106/">USK@0npnMrqZNKRCRoGojZV93UNHCMN-6UU3rRSAmP6jNLE,~BG-edFtdCC1cSH4O3BWdeIYa8Sw5DfyrSV-TKdO5ec,AQACAAE/fms/106/
 </a>
 </pre>
 <p>
@@ -530,7 +530,7 @@ This only requires copying the top key d
 It is possible for multiple people to collaborate anonymously over Freenet
 by sharing the private key to a single Infocalypse repository.
 <p>
-The <a href="USK@EbQbLWtWLRBgQl4Ly-SjQJvzADdJPfIXNQfCbKzgCFI,XDLYQTC0nYD4rhIIP~Ff~itkvVVF2u4WU8YVSL2f5RA,AQACAAE/freefaq/15/">FreeFAQ</a> is an example of this technique.
+The <a href="USK@EbQbLWtWLRBgQl4Ly-SjQJvzADdJPfIXNQfCbKzgCFI,XDLYQTC0nYD4rhIIP~Ff~itkvVVF2u4WU8YVSL2f5RA,AQACAAE/freefaq/22/">FreeFAQ</a> is an example of this technique.
 </p>
 Here are some things to keep in mind when sharing private keys.
 <ul>
diff --git a/infocalypse/gensig.py b/infocalypse/gensig.py
--- a/infocalypse/gensig.py
+++ b/infocalypse/gensig.py
@@ -41,10 +41,16 @@ MAX_UPDATES = 4 #  == 67 chars
 CFG_PATH = os.path.expanduser(DEFAULT_CFG_PATH)
 
 # The static part of your sig message with no trailing '\n'
-STATIC_TEXT = ('Incremental hg repos in Freenet (Not pyfreenethg!):\n'
-               + 'USK@-bk9znYylSCOEDuSWAvo5m72nUeMxKkDmH3nIqAeI-0,'
-               + 'qfu5H3FZsZ-5rfNBY-jQHS5Ke7AT2PtJWd13IrPZjcg,'
-               + 'AQACAAE/feral_codewright/12/infocalypse_howto.html')
+#STATIC_TEXT = ('Incremental hg repos in Freenet (Not pyfreenethg!):\n'
+#               + 'USK@-bk9znYylSCOEDuSWAvo5m72nUeMxKkDmH3nIqAeI-0,'
+#               + 'qfu5H3FZsZ-5rfNBY-jQHS5Ke7AT2PtJWd13IrPZjcg,'
+#               + 'AQACAAE/feral_codewright/14/infocalypse_howto.html')
+
+FREEFAQ_INDEX = 22
+STATIC_TEXT = ('Know stuff about stuff? Add it to FreeFAQ:\n'
+               + 'USK@EbQbLWtWLRBgQl4Ly-SjQJvzADdJPfIXNQfCbKzgCFI,'
+               + 'XDLYQTC0nYD4rhIIP~Ff~itkvVVF2u4WU8YVSL2f5RA,AQACAAE/'
+               + 'freefaq/%i/') % FREEFAQ_INDEX
 
 # Your repo Request (not Insert!) URIs go here:
 #
@@ -85,6 +91,7 @@ def print_updates():
             print STATIC_TEXT
             print to_msg_string(updates, None, ':')
     except:
+        # Better to exit() with the correct exit code?
         # Fail silently, rather than spewing garbage into sig.
         return