summaryrefslogtreecommitdiff
path: root/doc/recentchanges/change_9d26a72468fad69d633875b4ffb4aff8abd80023._change
blob: c53b0bfeae886da4ae1d4cfdbd160140fd293b6c (plain)
  1. [[!meta author="""smcv"""]]
  2. [[!meta authorurl="""http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&do=goto"""]]
  3. [[!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"""]]
  4. [[!meta permalink="http://ikiwiki.info/recentchanges/#change-9d26a72468fad69d633875b4ffb4aff8abd80023"]]
  5. <div id="change-9d26a72468fad69d633875b4ffb4aff8abd80023" class="metadata">
  6. <span class="desc"><br />Changed pages:</span>
  7. <span class="pagelinks">
  8. <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>
  9. <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>
  10. <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>
  11. </span>
  12. <span class="desc"><br />Changed by:</span>
  13. <span class="committer">
  14. <a href="http://ikiwiki.info/ikiwiki.cgi?page=users%2Fsmcv&amp;do=goto" rel="nofollow">smcv</a>
  15. </span>
  16. <span class="desc"><br />Commit type:</span>
  17. <span class="committype">git</span>
  18. <span class="desc"><br />Date:</span>
  19. <span class="changedate"><span class="relativedate" title="Sun, 14 Nov 2010 14:19:46 -0400">14:19:46 11/14/10</span></span>
  20. <span class="desc"><br /></span>
  21. </div>
  22. <span class="revert">
  23. <a href="http://ikiwiki.info/ikiwiki.cgi?rev=9d26a72468fad69d633875b4ffb4aff8abd80023&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
  24. </span>
  25. <div class="changelog">
  26. point to my &#39;transient&#39; branch<br />
  27. </div>
  28. <div class="diff">
  29. <pre>
  30. 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
  31. index 676e2bc..e065c4a 100644
  32. --- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
  33. +++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
  34. @@ -262,4 +262,6 @@ other pages claim it as an alias. --&#91;&#91;chrysn&#93;&#93;
  35. 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;
  36. +&gt; See &#91;&#91;todo/transient in-memory pages&#93;&#93; for progress on this. --&#91;&#91;smcv&#93;&#93;
  37. +
  38. &#91;&#91;!tag done&#93;&#93;
  39. diff --git a/doc/todo/autoindex_should_use_add__95__autofile.mdwn b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
  40. index 517567e..64f81c8 100644
  41. --- a/doc/todo/autoindex_should_use_add__95__autofile.mdwn
  42. +++ b/doc/todo/autoindex_should_use_add__95__autofile.mdwn
  43. @@ -1,2 +1,4 @@
  44. `add_autofile` is a generic version of &#91;&#91;plugins/autoindex&#93;&#93;&#39;s code,
  45. so the latter should probably use the former. --&#91;&#91;smcv&#93;&#93;
  46. +
  47. +&gt; See &#91;&#91;todo/transient in-memory pages&#93;&#93; for progress on this. --&#91;&#91;smcv&#93;&#93;
  48. diff --git a/doc/todo/transient_in-memory_pages.mdwn b/doc/todo/transient_in-memory_pages.mdwn
  49. index 9808ffd..5dbbe4f 100644
  50. --- a/doc/todo/transient_in-memory_pages.mdwn
  51. +++ b/doc/todo/transient_in-memory_pages.mdwn
  52. @@ -18,3 +18,26 @@ This would also be useful for autoindex, as suggested on
  53. One refinement I&#39;d suggest is that if the transient page is edited,
  54. its transient contents are evaluated and used as the initial
  55. content for the edit box; after that, it&#39;d become a static page. --&#91;&#91;smcv&#93;&#93;
  56. +
  57. +--------------------------
  58. +
  59. +&#91;&#91;!template id=gitbranch branch=smcv/transient author=&quot;&#91;&#91;smcv&#93;&#93;&quot;&#93;&#93;
  60. +&#91;&#91;!tag patch&#93;&#93;
  61. +
  62. +I had a look at implementing this. It turns out to be harder than I thought
  63. +to have purely in-memory pages (several plugins want to be able to access the
  64. +source file as a file), but I did get this proof-of-concept branch
  65. +to write tag and autoindex pages into an underlay.
  66. +
  67. +This loses the ability to delete the auto-created pages (although they don&#39;t
  68. +clutter up git this way, at least), and a lot of the code in autoindex is
  69. +probably now redundant, so this is probably not quite ready for merge, but
  70. +I&#39;d welcome opinions.
  71. +
  72. +Usage: set `tag_underlay` and/or `autoindex_underlay` to an absolute path,
  73. +which you must create beforehand. I suggest *srcdir* + `/.ikiwiki/transient`.
  74. +
  75. +Refinements that could be made if this approach seems reasonable:
  76. +
  77. +* make these options boolean, and have the path always be `.ikiwiki/transient`
  78. +* improve the `remove` plugin so it also deletes from this special underlay
  79. </pre>
  80. </div>
  81. <!-- 9d26a72468fad69d633875b4ffb4aff8abd80023 -->