1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
-*- rst -*-
================
treeshape NEWS
================
NEXT
~~~~
Improvements
------------
* Can now specify permissions in Unix octal format. (Jonathan Lange)
* Can now specify permissions for implicitly-created directories using
optional ``mode`` parameter. (Jonathan Lange)
* New fixture, ``FileTree`` to create file & directory structures with a
fixture. (Jonathan Lange)
* New matchers, ``HasFileTree`` and ``MatchesFileTree`` to match against file
& directory structures on disk. (Jonathan Lange)
* New internal method, ``load_tree``, which loads a treeshape from a directory
on disk. Essentially the inverse of ``make_tree``. (Jonathan Lange)
Changes
-------
* Depends on testtools XXX (Jonathan Lange).
* Filenames without contents will now always have contents generated for
them, rather than raising an error in some cases. (Jonathan Lange).
* If directories are specified with contents, we will raise
``InvalidDirectory`` which is a more specific ``ValueError``.
(Jonathan Lange)
* The format for specifying tree shapes has changed. Rather than the list
of yesteryear, tree shapes are specified as dicts. Old shapes can be
converted into new shapes using ``from_rough_spec``, which is provided
as a DWIM way of making file tree specs.
0.1.0
~~~~~
Initial release! Includes a quick way to make file and directory structures
on disk.
|