]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/recentchanges/change_9d26a72468fad69d633875b4ffb4aff8abd80023._change
(no commit message)
[git.ikiwiki.info.git] / doc / recentchanges / change_9d26a72468fad69d633875b4ffb4aff8abd80023._change
1 [[!meta author="""smcv"""]]
3 [[!meta authorurl="""http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&do=goto"""]]
5 [[!meta title="""change to todo/auto-create_tag_pages_according_to_a_template todo/autoindex_should_use_add__95__autofile todo/transient_in-memory_pages on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-9d26a72468fad69d633875b4ffb4aff8abd80023"]]
9 <div id="change-9d26a72468fad69d633875b4ffb4aff8abd80023" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/auto-create_tag_pages_according_to_a_template.mdwn;h=e065c4a3d6646cd4ede0ec96e93bd32d8f4f3a55;hp=676e2bc00dba7a139a1d606da79a46c46104c257;hb=9d26a72468fad69d633875b4ffb4aff8abd80023;hpb=98d0883c8949e6cde8db019bb282d5fa815ffc1a" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2Fauto-create_tag_pages_according_to_a_template&amp;do=goto" rel="nofollow">todo/auto-create tag pages according to a template</a>
16 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/autoindex_should_use_add__95__autofile.mdwn;h=64f81c82e3970ea09784097d39be481fd61d16b0;hp=517567e583fb5a9d3489419f6f50c208fcc6bf32;hb=9d26a72468fad69d633875b4ffb4aff8abd80023;hpb=98d0883c8949e6cde8db019bb282d5fa815ffc1a" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2Fautoindex_should_use_add__95__autofile&amp;do=goto" rel="nofollow">todo/autoindex should use add&#95;autofile</a>
19 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/transient_in-memory_pages.mdwn;h=5dbbe4f8271b2d6519363618e1f2b50e8923af33;hp=9808ffdfe476a9ed70e54a7e00748103e21e0f65;hb=9d26a72468fad69d633875b4ffb4aff8abd80023;hpb=98d0883c8949e6cde8db019bb282d5fa815ffc1a" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2Ftransient_in-memory_pages&amp;do=goto" rel="nofollow">todo/transient in-memory pages</a>
22 </span>
23 <span class="desc"><br />Changed by:</span>
24 <span class="committer">
26 <a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&amp;do=goto" rel="nofollow">smcv</a>
28 </span>
29 <span class="desc"><br />Commit type:</span>
30 <span class="committype">git</span>
31 <span class="desc"><br />Date:</span>
32 <span class="changedate"><span class="relativedate" title="Sun, 14 Nov 2010 14:19:46 -0400">14:19:46 11/14/10</span></span>
33 <span class="desc"><br /></span>
34 </div>
36 <span class="revert">
37 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=9d26a72468fad69d633875b4ffb4aff8abd80023&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
38 </span>
40 <div class="changelog">
43 point to my &#39;transient&#39; branch<br />
46 </div>
48 <div class="diff">
49 <pre>
50 diff --git a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
51 index 676e2bc..e065c4a 100644
52 --- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
53 +++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
54 @@ -262,4 +262,6 @@ other pages claim it as an alias. --&#91;&#91;chrysn&#93;&#93;
55  
56  I agree with &#91;&#91;chrysn&#93;&#93;. In fact, is there any good reason that the core tag plugin doesn&#39;t do this? The current usability is horrible, to the point that I have gone 2.5 years with Ikiwiki and haven&#39;t yet started using tags. -- &#91;&#91;Eric|http://wiki.pdxhub.org/people/eric&#93;&#93;
57  
58 +&gt; See &#91;&#91;todo/transient in-memory pages&#93;&#93; for progress on this. --&#91;&#91;smcv&#93;&#93;
59 +
60  &#91;&#91;!tag done&#93;&#93;
61 diff --git a/doc/todo/autoindex_should_use_add__95__autofile.mdwn b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
62 index 517567e..64f81c8 100644
63 --- a/doc/todo/autoindex_should_use_add__95__autofile.mdwn
64 +++ b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
65 @@ -1,2 +1,4 @@
66  `add_autofile` is a generic version of &#91;&#91;plugins/autoindex&#93;&#93;&#39;s code,
67  so the latter should probably use the former. --&#91;&#91;smcv&#93;&#93;
68 +
69 +&gt; See &#91;&#91;todo/transient in-memory pages&#93;&#93; for progress on this. --&#91;&#91;smcv&#93;&#93;
70 diff --git a/doc/todo/transient_in-memory_pages.mdwn b/doc/todo/transient_in-memory_pages.mdwn
71 index 9808ffd..5dbbe4f 100644
72 --- a/doc/todo/transient_in-memory_pages.mdwn
73 +++ b/doc/todo/transient_in-memory_pages.mdwn
74 @@ -18,3 +18,26 @@ This would also be useful for autoindex, as suggested on
75  One refinement I&#39;d suggest is that if the transient page is edited,
76  its transient contents are evaluated and used as the initial
77  content for the edit box; after that, it&#39;d become a static page. --&#91;&#91;smcv&#93;&#93;
78 +
79 +--------------------------
80 +
81 +&#91;&#91;!template id=gitbranch branch=smcv/transient author=&quot;&#91;&#91;smcv&#93;&#93;&quot;&#93;&#93;
82 +&#91;&#91;!tag patch&#93;&#93;
83 +
84 +I had a look at implementing this. It turns out to be harder than I thought
85 +to have purely in-memory pages (several plugins want to be able to access the
86 +source file as a file), but I did get this proof-of-concept branch
87 +to write tag and autoindex pages into an underlay.
88 +
89 +This loses the ability to delete the auto-created pages (although they don&#39;t
90 +clutter up git this way, at least), and a lot of the code in autoindex is
91 +probably now redundant, so this is probably not quite ready for merge, but
92 +I&#39;d welcome opinions.
93 +
94 +Usage: set `tag_underlay` and/or `autoindex_underlay` to an absolute path,
95 +which you must create beforehand. I suggest *srcdir* + `/.ikiwiki/transient`.
96 +
97 +Refinements that could be made if this approach seems reasonable:
98 +
99 +* make these options boolean, and have the path always be `.ikiwiki/transient`
100 +* improve the `remove` plugin so it also deletes from this special underlay
102 </pre>
103 </div>
105 <!-- 9d26a72468fad69d633875b4ffb4aff8abd80023 -->