forum: PageSpec results from independent checkout: call for help
authorJoeRayhawk <JoeRayhawk@web>
Wed, 20 Oct 2010 06:57:06 +0000 (06:57 +0000)
committerJoey Hess <joey@kitenet.net>
Wed, 20 Oct 2010 06:57:06 +0000 (06:57 +0000)
doc/forum/PageSpec_results_from_independent_checkout.mdwn [new file with mode: 0644]

diff --git a/doc/forum/PageSpec_results_from_independent_checkout.mdwn b/doc/forum/PageSpec_results_from_independent_checkout.mdwn
new file mode 100644 (file)
index 0000000..6b2fd6d
--- /dev/null
@@ -0,0 +1,5 @@
+I'd like to be able to do PageSpec matches independent of the Ikiwiki checkout, but at best I'm currently restricted to copying over and using whatever is in the indexdb with this approach:
+
+    perl -MIkiWiki -le '$config{wikistatedir}=".ikiwiki"; IkiWiki::loadindex(); print foreach pagespec_match_list("", shift)' "bugs/*"
+
+I get the impression there's a way to build up enough state to run pagespec matches without doing any rendering, but I don't know how. Any ideas? -- JoeRayhawk