Commit graph

7 commits

Author SHA1 Message Date
Stephen Fromm
6b6fb383a1 More cleanup in assemble module for module magic (tm) 2012-07-25 09:24:10 -07:00
Michael DeHaan
99ff761d3e shorten up the assemble module 2012-07-24 19:44:53 -04:00
Jan-Piet Mens
52ab221c92 convert assemble to module-magic 2012-07-24 18:35:06 +02:00
John Kleint
b11f23750f Use iterative MD5 hashing. 2012-07-09 13:27:47 -04:00
Dave Hatton
7293cce498 switch to hashlib.md5 or md5 instead of OS md5 commands 2012-07-09 08:52:00 +01:00
Stephen Fromm
fafc41ae66 Conditionally import hashlib (issue #471)
Import hashlib if it is there, otherwise import md5.  Adds method
file_digest that wraps the logic on which module to invoke.
2012-06-14 07:18:46 -07:00
Stephen Fromm
bf00f03166 Add assemble module
This adds a module that concatenates (ie. assembles) a file from
fragments in a directory in alphabetical order.  It chains the file
module afterward to fix up ownership and permission.  This also adds
tests for the assemble module with fragments in assemble.d.
2012-06-11 23:09:54 -07:00