]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
add dependency type parameters to add_depends
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 3 Oct 2009 19:31:51 +0000 (15:31 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 3 Oct 2009 19:31:51 +0000 (15:31 -0400)
commit743f69c675de6bdf240a2980e0924ed9d3bb782b
treed4316dbf229a44560fd8c9c852a9c34efeb81857
parentffa73790b5c381df6e0385995b720dd24188969b
add dependency type parameters to add_depends

Dependency types are represented by bits in the values of the %depends
and %depends_simple hashes.

Change the dependslist array saved to the index to a depends hash.
depends_simple is also converted from an array to a hash.

Note that the depends field used to be a string, and we still
have compat code to handle upgrades from that, as well as from the arrays.
I didn't use ikiwiki-transition because I don't want ikiwiki to break if
users forget to run it; also we're going to recommend a full rebuild on
upgrade to this version to get the improved dependency handling. So
this compat code can be removed or moved to ikiwiki-transition later.
IkiWiki.pm