-
f3213ef1
by Jürg Billeter
at 2019-02-13T15:25:05Z
projectconfig.yaml: Consistently include directories in split rules
Most split rules already included the relevant directories themselves in
addition to the directory contents. Add the missing bin, sbin, and
libexec directories.
This is required to fix tests with the following commit that changes
list_relative_paths() to return all directories.
-
fc4f02ee
by Jürg Billeter
at 2019-02-13T15:25:05Z
tests/integration/project: Add tests directory to split rule
This is required to fix tests with the following commit that changes
list_relative_paths() to return all directories.
-
d1e267b1
by Jürg Billeter
at 2019-02-13T15:25:05Z
utils.py: Return all directories in list_relative_paths()
Returning only empty directories leads to inconsistencies when computing
a manifest by combining results from multiple list_relative_paths()
calls as done by the compose plugin.
I.e., the same directory may be empty in one dependency and non-empty in
another dependency. The merged file list will still contain that
directory even though it's no longer empty.
This inconsistency causes problems when calculating differences between
manifests. Returning all directories fixes these inconsistencies.
This is a change in API behavior.
-
e584d416
by Jürg Billeter
at 2019-02-13T15:25:05Z
_casbaseddirectory.py: Return all directories in list_relative_paths()
This matches the change in utils.list_relative_paths().
-
19d282c2
by Raoul Hidalgo Charman
at 2019-02-13T15:25:05Z
cachedir: add new dir option that's default root to other dirs
Makes artifactdir and builddir obsolete.
Fixes #870
-
80362322
by Raoul Hidalgo Charman
at 2019-02-13T15:47:11Z
context: remove artifactdir
Will check and move old artifact directory if it exists, and create
symlink linking old directory to new.
-
50b6336b
by Raoul Hidalgo Charman
at 2019-02-13T15:47:17Z
CASQuota: Move cache check methods into new Class
This sits in Context allowing artifact cache to check the cas quota
while not being used for CASServer.
A lot of code that checks cache quota has been touched.
Part of #870