aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/album
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawkickHAzX_uVJMd_vFJjae6SLs2G38URPU <Kalle@web>2014-06-07 07:57:18 -0400
committeradmin <admin@branchable.com>2014-06-07 07:57:18 -0400
commit966454145267472c18f2537b639bcd1373c8d264 (patch)
treec92751c8b58e8ba655489355ebe8325afa0dbac0 /doc/plugins/contrib/album
parentc47fb9d1e5b3e0cd14467c270ef5f1472c761705 (diff)
downloadikiwiki-966454145267472c18f2537b639bcd1373c8d264.tar
ikiwiki-966454145267472c18f2537b639bcd1373c8d264.tar.gz
bug? - Album plugin makes all pages in site interdependent
Diffstat (limited to 'doc/plugins/contrib/album')
-rw-r--r--doc/plugins/contrib/album/discussion.mdwn35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/plugins/contrib/album/discussion.mdwn b/doc/plugins/contrib/album/discussion.mdwn
index 8e5c5b5a7..4db06d853 100644
--- a/doc/plugins/contrib/album/discussion.mdwn
+++ b/doc/plugins/contrib/album/discussion.mdwn
@@ -593,3 +593,38 @@ What would be good is if the album directive could have a "show" parameter which
> An optional `show` parameter would be a possible enhancement beyond that,
> although I don't know how useful it would be; if it isn't passed, the
> default should be 0 (unlimited). --[[smcv]]
+
+----
+
+## bug?: all albums and pages become interdependent
+*(ikiwiki master branch 2014-06-06 and smcv album4 branch)*
+
+On a site with the following structure where all album$n.mdwn files have the ``[[!album]]`` directive set. All albums and albumviewers get rebuilt whenever any one of the pages is touched and the command ``ikiwiki --setup debug.setup --refresh --verbose`` is issued.
+
+ /index.mdwn
+ |-album01.mdwn
+ |-album01/
+ | |-imgA.jpg
+ | |-imgB.jpg
+ |
+ |-album02.mdwn
+ |-album02/
+ | |-imgC.jpg
+ | |-imgD.jpg
+ |
+ |-album03.mdwn
+ |-album03/
+ | |-imgE.jpg
+ | |-imgF.jpg
+
+This happens even if the indexpage has no links and when the tree is one level deeper than above with a folder between the index and each ``album$0n`` tuple. Touching index.mdwn rebuilds for instance imgF viewer and output like for example the following as a result of changing ``album01.mdwn``
+
+ building album02/imgC, its previous or next page has changed
+ building album03/imgE, its previous or next page has changed
+ building album02.mdwn, which depends on album02/imgC
+
+In other words using the album plugin means all changes trigger full rebuilds (as far as I can tell). With my workflow this hasn't been much of an issue as my sites are static and updated maximum once a week but it does make comments unfeasible.
+
+Perhaps there is something in my setup that triggers this problem? If anyone has an ikiwiki album installation where ``--refresh`` limits the scope of the rebuild to just one album I'd be interested to hear. See <http://img.kalleswork.net> for an live website that has this problem. I've tested a simpler debug site without any customization as well.
+
+