aboutsummaryrefslogtreecommitdiff
path: root/doc/recentchanges/change_9d26a72468fad69d633875b4ffb4aff8abd80023._change
blob: c53b0bfeae886da4ae1d4cfdbd160140fd293b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[[!meta author="""smcv"""]]

[[!meta authorurl="""http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&do=goto"""]]

[[!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"""]]

[[!meta permalink="http://ikiwiki.info/recentchanges/#change-9d26a72468fad69d633875b4ffb4aff8abd80023"]]

<div id="change-9d26a72468fad69d633875b4ffb4aff8abd80023" class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">

<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>


<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>


<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>


</span>
<span class="desc"><br />Changed by:</span>
<span class="committer">

<a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&amp;do=goto" rel="nofollow">smcv</a>

</span>
<span class="desc"><br />Commit type:</span>
<span class="committype">git</span>
<span class="desc"><br />Date:</span>
<span class="changedate"><span class="relativedate" title="Sun, 14 Nov 2010 14:19:46 -0400">14:19:46 11/14/10</span></span>
<span class="desc"><br /></span>
</div>

<span class="revert">
<a href="http://ikiwiki.info/ikiwiki.cgi?rev=9d26a72468fad69d633875b4ffb4aff8abd80023&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
</span>

<div class="changelog">


point to my &#39;transient&#39; branch<br />


</div>

<div class="diff">
<pre>
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
index 676e2bc..e065c4a 100644
--- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
+++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
@@ -262,4 +262,6 @@ other pages claim it as an alias. --&#91;&#91;chrysn&#93;&#93;
 
 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;
 
+&gt; See &#91;&#91;todo/transient in-memory pages&#93;&#93; for progress on this. --&#91;&#91;smcv&#93;&#93;
+
 &#91;&#91;!tag done&#93;&#93;
diff --git a/doc/todo/autoindex_should_use_add__95__autofile.mdwn b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
index 517567e..64f81c8 100644
--- a/doc/todo/autoindex_should_use_add__95__autofile.mdwn
+++ b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
@@ -1,2 +1,4 @@
 `add_autofile` is a generic version of &#91;&#91;plugins/autoindex&#93;&#93;&#39;s code,
 so the latter should probably use the former. --&#91;&#91;smcv&#93;&#93;
+
+&gt; See &#91;&#91;todo/transient in-memory pages&#93;&#93; for progress on this. --&#91;&#91;smcv&#93;&#93;
diff --git a/doc/todo/transient_in-memory_pages.mdwn b/doc/todo/transient_in-memory_pages.mdwn
index 9808ffd..5dbbe4f 100644
--- a/doc/todo/transient_in-memory_pages.mdwn
+++ b/doc/todo/transient_in-memory_pages.mdwn
@@ -18,3 +18,26 @@ This would also be useful for autoindex, as suggested on
 One refinement I&#39;d suggest is that if the transient page is edited,
 its transient contents are evaluated and used as the initial
 content for the edit box; after that, it&#39;d become a static page. --&#91;&#91;smcv&#93;&#93;
+
+--------------------------
+
+&#91;&#91;!template id=gitbranch branch=smcv/transient author=&quot;&#91;&#91;smcv&#93;&#93;&quot;&#93;&#93;
+&#91;&#91;!tag patch&#93;&#93;
+
+I had a look at implementing this. It turns out to be harder than I thought
+to have purely in-memory pages (several plugins want to be able to access the
+source file as a file), but I did get this proof-of-concept branch
+to write tag and autoindex pages into an underlay.
+
+This loses the ability to delete the auto-created pages (although they don&#39;t
+clutter up git this way, at least), and a lot of the code in autoindex is
+probably now redundant, so this is probably not quite ready for merge, but
+I&#39;d welcome opinions.
+
+Usage: set `tag_underlay` and/or `autoindex_underlay` to an absolute path,
+which you must create beforehand. I suggest *srcdir* + `/.ikiwiki/transient`.
+
+Refinements that could be made if this approach seems reasonable:
+
+* make these options boolean, and have the path always be `.ikiwiki/transient`
+* improve the `remove` plugin so it also deletes from this special underlay

</pre>
</div>

<!-- 9d26a72468fad69d633875b4ffb4aff8abd80023 -->