[Cryptech-Commits] [user/sra/pelican] 03/68: Updated notes

git at cryptech.is git at cryptech.is
Mon Jul 19 22:24:42 UTC 2021


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch pelican
in repository user/sra/pelican.

commit d26298d9fcf518ff46b83d97f09ecb46fe6f4e9f
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Tue Mar 19 15:38:44 2019 +0000

    Updated notes
---
 README | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README b/README
index c008a9f..860cc71 100644
--- a/README
+++ b/README
@@ -6,6 +6,15 @@ fetching the HTML:
 
      wget -r --user=sra at hactrn.net --ask-password https://permatrac.noc.ietf.org/wiki/
 
+Slightly better recipe:
+
+     wget -m -R '*[?]*' --user=sra at hactrn.net --ask-password https://permatrac.noc.ietf.org/wiki/
+
+But either way, `wget` seems to be non-terminating when walking this
+site, even if it throws away .999 of what it retrieves.  In theory,
+adding `-np` would have fixed this; in practice doing so causes it not
+to recurse at all.  Grrr.
+
 Scripts from rpki.net/doc/*/*.{sh,py,xsl}, included here under tools/.
 
 The other approach is converting Trac wiki directly to markdown.
@@ -15,3 +24,7 @@ There are hacks for this, in Ruby:
 
 But there are also Python versions, which are a bit more tractible.
 Several of them included in tools/ too.
+
+
+The most promising approach looks to be `tools/trac2md.py`, which is a
+bit crude but is written in a relatively sane style so should be fixable.



More information about the Commits mailing list