]> sipb.mit.edu Git - ikiwiki.git/commitdiff
review
authorJoey Hess <joey@kitenet.net>
Tue, 25 Jan 2011 19:10:50 +0000 (15:10 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 25 Jan 2011 19:10:50 +0000 (15:10 -0400)
doc/branches.mdwn
doc/reviewed.mdwn [new file with mode: 0644]
doc/todo/inline_raw_files.mdwn

index 4accc21cabc9e0ec3b9570abd63327a87a5aabb7..5149d79f94695f9f20b396185b2e66aa3621f8d5 100644 (file)
@@ -4,6 +4,9 @@ example when submitting a [[patch]], you can use the
 
        \[[!template id=gitbranch branch=yourrepo/amazingbranch author="\[[yourname]]"]]
 
 
        \[[!template id=gitbranch branch=yourrepo/amazingbranch author="\[[yourname]]"]]
 
+Branches that have been [[reviewed]] and need work will not be listed
+here.
+
 Branches referred to in open [[bugs]] and [[todo]]:
 
 [[!inline pages="(todo/* or bugs/*) and link(/branches) and !link(bugs/done)
 Branches referred to in open [[bugs]] and [[todo]]:
 
 [[!inline pages="(todo/* or bugs/*) and link(/branches) and !link(bugs/done)
diff --git a/doc/reviewed.mdwn b/doc/reviewed.mdwn
new file mode 100644 (file)
index 0000000..a25d7f1
--- /dev/null
@@ -0,0 +1,6 @@
+This page lists [[branches]] that have been reviewed. If your branch
+shows up here, the ball is back in your court, to respond to the review and
+deal with whatever is preventing it from being merged into ikiwiki.
+
+[[!inline pages="(todo/* or bugs/*) and link(/branches) and !link(bugs/done)
+and !link(todo/done) and !*/*/* and link(.)" show=0 archive=yes]]
index 58920cc126051ddb34d7cfb83ab18dd46621b4b5..ef827fb3f18f831ec49cf189f4b663370e164a08 100644 (file)
@@ -64,3 +64,23 @@ usage
 >>> will be easier to merge or reject.  Note the new branch name:
 >>> `raw_inline`. I'll open separate todo items for items mentioned in my
 >>> previous comment. --[[wtk]]
 >>> will be easier to merge or reject.  Note the new branch name:
 >>> `raw_inline`. I'll open separate todo items for items mentioned in my
 >>> previous comment. --[[wtk]]
+
+---- 
+
+Reviewing your patch the first thing I see is this:
+
+<pre>
++        if (! $file) {
++               error("Missing file.");
++        }
+</pre>
+
+This fails if the filename is "0". Also, `pagetype()`
+currently cannot fail; allowing it to crash the entire
+wiki build if the filename is somehow undefined seems
+unwise.
+
+I didn't look much further, because it seems to me what you're trying to do
+can be better accomplished by using the highlight plugin. Assuming the raw
+file you want to inline and comment on is some source-code-like thing,
+which seems likely. --[[Joey]] [[!tag reviewed]]