aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/forum/Need_something_more_powerful_than_Exclude/comment_7_e5d9fbf7e50476ce3a494541dd41d4d9._comment47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/forum/Need_something_more_powerful_than_Exclude/comment_7_e5d9fbf7e50476ce3a494541dd41d4d9._comment b/doc/forum/Need_something_more_powerful_than_Exclude/comment_7_e5d9fbf7e50476ce3a494541dd41d4d9._comment
new file mode 100644
index 000000000..91ad02d14
--- /dev/null
+++ b/doc/forum/Need_something_more_powerful_than_Exclude/comment_7_e5d9fbf7e50476ce3a494541dd41d4d9._comment
@@ -0,0 +1,47 @@
+[[!comment format=mdwn
+ username="https://launchpad.net/~beaufils"
+ nickname="beaufils"
+ subject="Does the exclude feature work at all?"
+ date="2015-06-22T10:49:53Z"
+ content="""
+I am not sure if that is a bug or a feature, but it is annoying, definitively related to this post:
+
+ $ ikiwiki --version
+ ikiwiki version 3.20141016.2
+
+ $ mkdir src ; echo A >src/get ; echo A >src/noget
+
+ $ ikiwiki src out
+ $ cat out/noget
+ A
+
+ # Let's ask ikiwiki to forget noget
+ $ ikiwiki src out --exclude noget
+ $ cat out/noget
+ A
+
+ # No? Maybe with --rebuild?
+ $ ikiwiki src out --exclude noget --rebuild
+ $ cat out/noget
+ A
+
+ # So let's remove it manually and try again
+ $ rm out/noget
+
+ $ ikiwiki src out --exclude noget
+ $ cat out/noget
+ cat: out/noget: No such file or directory
+
+ # Hum are we sure it worked?
+ $ ikiwiki src out --exclude noget --rebuild
+ $ cat out/noget
+ A
+
+ # Nope :-(
+
+I am really confused with the exclude feature and the way ikiwiki lookup files. Finally I tend to think this is a bug.
+
+Is there a way to make ikiwiki consider that a file in the `srcdir` should not be present in the `destdir` and thus removed if present?
+
+--[[bbb]]
+"""]]