aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpesco <pesco@web>2008-10-11 11:53:25 -0400
committerJoey Hess <joey@kitenet.net>2008-10-11 11:53:25 -0400
commit4d368e17c716395acd4bf9c2aab271f53eae126f (patch)
treeac87338d6bd092516b36edb1f94310bdfe7b3ca8
parent7ac2b6a6ca4925655d45e985db776eca2ddef741 (diff)
downloadikiwiki-4d368e17c716395acd4bf9c2aab271f53eae126f.tar
ikiwiki-4d368e17c716395acd4bf9c2aab271f53eae126f.tar.gz
update on state of the darcs plugin
-rw-r--r--doc/todo/darcs.mdwn22
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/todo/darcs.mdwn b/doc/todo/darcs.mdwn
index a410f5ecf..f383514a2 100644
--- a/doc/todo/darcs.mdwn
+++ b/doc/todo/darcs.mdwn
@@ -486,11 +486,11 @@ It's got couple of FIXMEs, and a very site-specific filter for recentchanges. No
---
-And here's yet another one. :)
+And here's yet another one, including an updated `ikiwiki-makerepo`. :)
-<http://khjk.org/~pesco/ikiwiki-darcs/>
+<http://khjk.org/~pesco/ikiwiki-darcs/> (now a darcs repo)
-I've taken all the good stuff from the above and added the missing hooks. Some of them I haven't had a chance to test, namely `rcs_rename`, `rcs_remove`, `rcs_commit_staged`, and `rcs_diff`. Also, I'm not experienced with perl and don't know where I should have used the function `possibly_foolish_untaint`.
+I've taken all the good stuff from the above and added the missing hooks. The code hasn't seen a lot of testing, so some bugs are likely yet to surface. Also, I'm not experienced with perl and don't know where I should have used the function `possibly_foolish_untaint`.
Regarding the repository layout: There are two darcs repositories. One is the `srcdir`, the other we'll call `master`.
@@ -523,4 +523,20 @@ Regarding the repository layout: There are two darcs repositories. One is the `s
> * Is the the darcs info in [[details]] still up-to-date re this version?
> --[[Joey]]
+> Update:
+>
+> I think I've addressed all of the above except for the XML parsing in `darcs_info`.
+> The function determines the md5 hash of the last patch the given file appears in.
+> That's indeed being done with regexps but my Perl isn't good enough for a quick recode
+> right now.
+>
+> As for the darcs info in [[rcs/details]], it does not accurately describe the way
+> this version works. It's similar, but the details differ slightly.
+> You could copy my description above to replace it.
+>
+> There is still some ironing to do, for instance the current version doesn't allow for
+> modifying attachments by re-uploading them via CGI ("darcs add failed"). Am I assuming
+> correctly that "adding" a file that's already in the repo should just be a no-op?
+> --pesco
+
[[!tag patch]]