]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
verbose on? (otherwise yes, there are a few verbose prints)
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>
Wed, 20 Apr 2011 21:57:04 +0000 (17:57 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 20 Apr 2011 21:57:04 +0000 (17:57 -0400)
doc/bugs/ikiwiki_lacks_a_--quiet.mdwn

index fc9644843b08355c9d0ec86b14bb2108bbb5094b..d74a408759d1832e7851439b8de9403ff1d485c0 100644 (file)
@@ -18,3 +18,27 @@ report errors would be nice. -- RichiH
     done
 
 Yes, I can simply redirect the output, but an option would be cleaner, imo. -- Richard
+
+> The output above looks like verbose mode output to me (the scanning/building lines, at least).  Check you haven't enabled it in your setup file by accident. I get the following:
+
+    $ ikiwiki --setup setup
+    successfully generated [cgi]
+    successfully generated [post-update]
+    skipping bad filename [...]
+
+> I think the following patch is enough to fix it (untested)
+
+    --- a/IkiWiki/Wrapper.pm
+    +++ b/IkiWiki/Wrapper.pm
+    @@ -237,8 +237,7 @@ EOF
+                    error("rename $wrapper.new $wrapper: $!");
+            }
+            #translators: The parameter is a filename.
+    -       printf(gettext("successfully generated %s"), $wrapper);
+    -       print "\n";
+    +       debug(gettext("successfully generated %s"), $wrapper);
+     }
+     
+     1
+
+> -- [[Jon]]