Commit Graph

12610 Commits (92c927cb9285fb2b6e185f24d93ced3729bda04e)

Author SHA1 Message Date
Joey Hess 8f8bda1ae5 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-19 22:37:02 -04:00
http://kerravonsen.dreamwidth.org/ 09c647c177 response 2010-04-20 02:31:00 +00:00
Joey Hess 1734e99d27 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-19 22:19:09 -04:00
Joey Hess 2111bf0408 move message into if block 2010-04-19 22:14:22 -04:00
Svend Sorensen 65510a3c05 Merge branch 'master' of git://git.ikiwiki.info 2010-04-19 16:13:10 -07:00
Svend Sorensen e1ebdda72b Remove www prefix from Svend's website URLs 2010-04-19 16:12:09 -07:00
Joey Hess 7c0a2830f2 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-19 16:04:49 -04:00
Joey Hess 1b7c455f4a thinking about changing how templatedir works and allowing wikitemplate files into the srcdir 2010-04-19 16:03:53 -04:00
http://oblomov.myopenid.com/ 99cdd38dd5 Respond 2010-04-19 08:36:38 +00:00
http://kerravonsen.dreamwidth.org/ 63e6c00890 response to the further thoughts 2010-04-19 02:23:12 +00:00
PeteG 472694b8b4 2010-04-18 12:34:20 +00:00
PeteG 56bf9c04a2 2010-04-18 12:33:51 +00:00
Joey Hess a97964688b unfinished file_prune revamp
Many calls to file_prune were incorrectly calling it with 2 parameters.
In cases where the filename being checked is relative to the srcdir,
that is not needed.

Made absolute filenames be pruned. (This won't work for the 2 parameter call
style.)
2010-04-17 19:05:40 -04:00
Joey Hess 59ceeb5621 improve docs 2010-04-17 17:15:07 -04:00
Joey Hess 831b891abd move File::Find control back into its code blocks
Ok, this is longer, but features less scary action at a distance.
2010-04-17 16:14:15 -04:00
Joey Hess f78e6798aa move decode_utf8 closer to reason for it
Filenames need to be decoded, as File::Find does not provide them in
decoded form, but other callers of verify_src_file will be using utf8.
2010-04-17 16:08:37 -04:00
Joey Hess 2fc342b048 fix autotag behavior for relative tags
A tag like ./foo is searched for relative to the tagging page.
However, if multiple pages use such a tag, the only one sure
to be in common is in the root, so autocreate it there to
avoid scattering redunadant autocreated tags around the tree.

(This is probably not ideal.)

Also renamed the tagpage and taglink functions for clarity.
2010-04-17 16:01:41 -04:00
Joey Hess b00d8771cc call gentag for taglinks too 2010-04-17 15:48:00 -04:00
Joey Hess 3651e6263c fix autofile call 2010-04-17 15:43:58 -04:00
Joey Hess adc196a8b5 tag_autocreate fixups
Fix style of prompt.
Optional to rebuild when it is changed. (Needed to get new all missing tags)
2010-04-17 15:41:45 -04:00
Joey Hess ca02c57ee4 document add_autofile 2010-04-17 14:07:12 -04:00
Joey Hess e289e0b4ba recommend git 2010-04-17 14:00:25 -04:00
Joey Hess cd8ec309d2 bzr getmtime done 2010-04-17 13:58:31 -04:00
Joey Hess 6f485b8f45 note that tla plugin is not being maintained 2010-04-17 13:57:59 -04:00
Joey Hess 2f9504a10d bzr: changelog and refactor 2010-04-17 13:55:38 -04:00
Jelmer Vernooij 9ff5174f11 Fix get_ctime implementation in Bazaar plugin, add get_mtime implementation. 2010-04-17 13:52:16 -04:00
Joey Hess a1aa71efc9 document the gitbranch template 2010-04-17 13:49:20 -04:00
Joey Hess 9fbef7e1d2 reformat 2010-04-17 13:42:50 -04:00
Joey Hess c721a9ef87 my autotag branch 2010-04-17 13:41:06 -04:00
Joey Hess b7d50abc0f refactor autofiles
Made add_autofile take a generator function, and just register the
autofile, for later possible creation. The testing is moved into Render,
which allows cleaning up some stuff.
2010-04-17 13:35:15 -04:00
Joey Hess 2269a4c74b whitespace 2010-04-17 13:05:04 -04:00
Joey Hess 54f600af14 Merge remote branch 'davrieb/autotag' into autotag
Conflicts:
	IkiWiki.pm
	IkiWiki/Plugin/tag.pm
2010-04-17 12:50:23 -04:00
Joey Hess 7fcc0faf83 few more suggestions 2010-04-17 12:45:20 -04:00
Joey Hess 7834989d86 typo 2010-04-17 12:24:58 -04:00
Joey Hess c769a33392 autoindex: Switch to using %wikistate instead of abusing $pagestate{index}. 2010-04-17 12:20:50 -04:00
Joey Hess c6c03768da add list of compatability breaking changes 2010-04-16 19:42:18 -04:00
Joey Hess e31b1b27f8 remove note about needing --gettime; automatically run on first build now 2010-04-16 19:25:25 -04:00
Joey Hess 9265ce85b6 squelch warning 2010-04-16 19:23:11 -04:00
Joey Hess 64bc7d60a2 update changelog 2010-04-16 19:22:13 -04:00
Joey Hess b13bb0c83c implement rcs_getmtime for svn
This is a slow implementation; it runs svn log once per file
still, rather than running svn log once on the whole srcdir.

I did it this way because in my experience, svn log, run on a directory,
does not always list every change to files inside that directory.
I don't know why, and I use svn as little as possible these days.
2010-04-16 18:46:20 -04:00
Joey Hess dee2940c0b automatically run --gettime, and optimise it for git
* Automatically run --gettime the first time ikiwiki is run on
  a given srcdir.
* Optimise --gettime for git, so it's appropriatly screamingly
  fast. (This could be done for other backends too.)
* However, --gettime for git no longer follows renames.
* Use above to fix up timestamps on docwiki, as well as ensure that
  timestamps on basewiki files shipped in the deb are sane.
2010-04-16 18:30:56 -04:00
Joey Hess 0bd6c32766 fix file, should be symlink 2010-04-16 18:11:30 -04:00
Joey Hess d3ebc80cd0 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-16 17:53:31 -04:00
Cord e3e245956f typo 2010-04-16 21:48:35 +00:00
Joey Hess b14f84c4ac --gettime revamp
* Rename --getctime to --gettime. (The old name still works for
  backwards compatability.)
* --gettime now also looks up last modification time.
* Add rcs_getmtime to plugin API; currently only implemented
  for git.
2010-04-16 17:02:29 -04:00
http://oblomov.myopenid.com/ ff5b73163f Proposal for tags/meta/field coalescing 2010-04-16 18:20:29 +00:00
http://smcv.pseudorandom.co.uk/ 7205228598 ... and indeed there is a better way to store it 2010-04-16 17:51:51 +00:00
Joey Hess 6c5c0f8c68 add mtime-to-git script to pull more correct mtimes out of git 2010-04-16 12:23:28 -04:00
David Riebenbauer a70c2518af answer to clarification. 2010-04-16 18:16:47 +02:00
Joey Hess 49be30eae8 clarify re %pagestate persistence 2010-04-16 12:08:12 -04:00