Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | ikiwiki-transition: deduplinks was broken and threw away all metadata stored ↵ | Joey Hess | 2009-05-22 |
| | | | | by plugins in the index. Fix this bug. | ||
* | ikiwiki-transition: Allow setup files to be passed to all subcommands that ↵ | Joey Hess | 2009-05-20 |
| | | | | need a srcdir. | ||
* | Avoid %links accumulating duplicates. (For TOVA) | Joey Hess | 2009-05-06 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is sorta an optimisation, and sorta a bug fix. In one test case I have available, it can speed a page build up from 3 minutes to 3 seconds. The root of the problem is that $links{$page} contains arrays of links, rather than hashes of links. And when a link is found, it is just pushed onto the array, without checking for dups. Now, the array is emptied before scanning a page, so there should not be a lot of opportunity for lots of duplicate links to pile up in it. But, in some cases, they can, and if there are hundreds of duplicate links in the array, then scanning it for matching links, as match_link and some other code does, becomes much more expensive than it needs to be. Perhaps the real right fix would be to change the data structure to a hash. But, the list of links is never accessed like that, you always want to iterate through it. I also looked at deduping the list in saveindex, but that does a lot of unnecessary work, and doesn't completly solve the problem. So, finally, I decided to add an add_link function that handles deduping, and make ikiwiki-transition remove the old dup links. | ||
* | make ikiwiki-transition prefix_directives take a setup file | Joey Hess | 2008-12-24 |
| | | | | | This is easier to remeber, and less error-prone than passing it all the pages in the wiki. | ||
* | remove deprecated admin prefs | Joey Hess | 2008-12-24 |
| | | | | | | | | | | A new ikiwiki-transition moveprefs subcommand can pull the old data out of the userdb and inject it into the setup file. Note that it leaves the old values behind in the userdb too. I did this because I didn't want to lose data if it fails writing the setup file for some reason, and the old data in the userdb will only use a small amount of space. Running the command multiple times will mostly not change anything. | ||
* | add ikiwiki-transition setupformat subcommand. | Joey Hess | 2008-08-05 |
| | | | | | Also fixed a bug in how aggregateinternal used IkiWiki::Setup::load, and added checks for arguments to other subcommands. | ||
* | Fix aggregateinternal migration so it skips expired entries, and deletes output | Simon McVittie | 2008-07-15 |
| | |||
* | document aggregateinternal | Joey Hess | 2008-07-14 |
| | |||
* | documentation for use of hashed passwords | Joey Hess | 2008-05-29 |
| | | | | Everything but the actual coding to support them. | ||
* | add transition code for indexdb | Joey Hess | 2008-03-21 |
| | |||
* | Update another reference to ikiwiki-prefix-directives | Josh Triplett | 2008-02-02 |
| | |||
* | rename ikiwiki-prefix-directives into ikiwiki-transition | Joey Hess | 2008-01-30 |
If we have transitions of this sort in the future, this program will hopefully be used to handle them too. |