Next: , Previous: Editing metadata, Up: The tool chest   [Contents][Index]


7.4 Metadata collections

Pony metadata collection files are used by ponysay to by just reading one file per directory determine all pony files metadata and determine which ponies will pass the --restrict option when ponies are randomly selected.

A metadata colletion file’s content a list, of pony files with and their corresponding metadata as a map from tag name to tag value set, serialised with Python’s cPickle module.

Running ponysay-tool --metadata PONY-DIR will generate the file metadata with the serialised information. For use by the installer, the files to include can be explicity declared appending their basename to the command.