Add a command line argument --directory to archive-tool create. This makes the working directory implemented in #20 accessible in the command line script.
Some refactoring in Archive.create().
Add a new keyword argument fileinfos that Manifest() and Archive.create() accept. If provided, it must be an iterable of FileInfo objects and will override the paths and excludes arguments respectively, e.g. the fileinfo objects will be used to define the content of the manifest and the archive respectively.
The latter bullet is supposed to make the implementation of incremental archives easier and thus to be an ingredient for the implementation of #52.
Various changes in the
Archive.create()
method:Fix #53.
Add a command line argument
--directory
toarchive-tool create
. This makes the working directory implemented in #20 accessible in the command line script.Some refactoring in
Archive.create()
.Add a new keyword argument
fileinfos
thatManifest()
andArchive.create()
accept. If provided, it must be an iterable ofFileInfo
objects and will override thepaths
andexcludes
arguments respectively, e.g. the fileinfo objects will be used to define the content of the manifest and the archive respectively.The latter bullet is supposed to make the implementation of incremental archives easier and thus to be an ingredient for the implementation of #52.