]> git.e2factory.org Git - e2factory.git/log
e2factory.git
8 years agocache: warn about missing push_permissions
Tobias Ulmer [Thu, 3 Nov 2016 17:06:16 +0000 (18:06 +0100)]
cache: warn about missing push_permissions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: reduce stack of errors, add more information
Tobias Ulmer [Thu, 3 Nov 2016 17:05:21 +0000 (18:05 +0100)]
cache: reduce stack of errors, add more information

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: writeback flag is true or false, not nil meaning true
Tobias Ulmer [Thu, 3 Nov 2016 17:00:39 +0000 (18:00 +0100)]
cache: writeback flag is true or false, not nil meaning true

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotransport: improve error message signal ratio
Tobias Ulmer [Wed, 2 Nov 2016 18:00:34 +0000 (19:00 +0100)]
transport: improve error message signal ratio

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: turn enable-writeback into a global commandline option
Tobias Ulmer [Wed, 2 Nov 2016 15:54:12 +0000 (16:54 +0100)]
cache: turn enable-writeback into a global commandline option

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: writeback() doesn't need to be visible
Tobias Ulmer [Wed, 2 Nov 2016 15:06:44 +0000 (16:06 +0100)]
cache: writeback() doesn't need to be visible

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2option: remove unused optionlist
Tobias Ulmer [Wed, 2 Nov 2016 14:25:15 +0000 (15:25 +0100)]
e2option: remove unused optionlist

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoenvironment: quote environment vars to allow expansion
Tobias Ulmer [Tue, 1 Nov 2016 17:51:37 +0000 (18:51 +0100)]
environment: quote environment vars to allow expansion

shquote() breaks backwards compat

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoupdate copyright year
Tobias Ulmer [Tue, 1 Nov 2016 15:18:26 +0000 (16:18 +0100)]
update copyright year

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoupdate developer documentation
Tobias Ulmer [Tue, 1 Nov 2016 15:17:44 +0000 (16:17 +0100)]
update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: remove unused info table
Tobias Ulmer [Tue, 1 Nov 2016 15:05:23 +0000 (16:05 +0100)]
project: remove unused info table

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: add license
Tobias Ulmer [Mon, 31 Oct 2016 17:52:37 +0000 (18:52 +0100)]
projenv: add license

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoassrt: show functions in developer doc
Tobias Ulmer [Mon, 31 Oct 2016 17:18:30 +0000 (18:18 +0100)]
assrt: show functions in developer doc

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoassrt: add license blurp
Tobias Ulmer [Mon, 31 Oct 2016 17:16:00 +0000 (18:16 +0100)]
assrt: add license blurp

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agodocument 3rd party code in assrt.lua
Tobias Ulmer [Mon, 31 Oct 2016 17:13:07 +0000 (18:13 +0100)]
document 3rd party code in assrt.lua

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: remove comment
Tobias Ulmer [Mon, 31 Oct 2016 16:54:01 +0000 (17:54 +0100)]
result: remove comment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: update developer documentation
Tobias Ulmer [Mon, 31 Oct 2016 16:52:50 +0000 (17:52 +0100)]
result: update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: update developer documentation
Tobias Ulmer [Mon, 31 Oct 2016 16:45:08 +0000 (17:45 +0100)]
e2tool: update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: update developer documentation
Tobias Ulmer [Mon, 31 Oct 2016 16:44:12 +0000 (17:44 +0100)]
e2build: update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: remove unused todot()
Tobias Ulmer [Mon, 31 Oct 2016 13:23:06 +0000 (14:23 +0100)]
result: remove unused todot()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: report the real error, not misleading follow up
Tobias Ulmer [Fri, 28 Oct 2016 14:25:39 +0000 (16:25 +0200)]
projenv: report the real error, not misleading follow up

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomanpage: document 'env' a little better
Tobias Ulmer [Thu, 27 Oct 2016 17:46:42 +0000 (19:46 +0200)]
manpage: document 'env' a little better

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: warn when a key lookup returns nil
Tobias Ulmer [Thu, 27 Oct 2016 16:52:47 +0000 (18:52 +0200)]
projenv: warn when a key lookup returns nil

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove _sorted suffix
Tobias Ulmer [Thu, 27 Oct 2016 15:42:13 +0000 (17:42 +0200)]
sl: remove _sorted suffix

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: fix sourceid calculation in rare licences configuration
Tobias Ulmer [Wed, 26 Oct 2016 18:42:33 +0000 (20:42 +0200)]
files: fix sourceid calculation in rare licences configuration

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: for sources, display overall licenses and per file licences
Tobias Ulmer [Wed, 26 Oct 2016 18:40:56 +0000 (20:40 +0200)]
files: for sources, display overall licenses and per file licences

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: merging duplicates is the default now
Tobias Ulmer [Wed, 26 Oct 2016 18:28:26 +0000 (20:28 +0200)]
sl: merging duplicates is the default now

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove merge option and make it the default
Tobias Ulmer [Wed, 26 Oct 2016 17:49:50 +0000 (19:49 +0200)]
sl: remove merge option and make it the default

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove the now unused 'unique' feature
Tobias Ulmer [Wed, 26 Oct 2016 16:08:11 +0000 (18:08 +0200)]
sl: remove the now unused 'unique' feature

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: auto merge licence names
Tobias Ulmer [Wed, 26 Oct 2016 15:44:42 +0000 (17:44 +0200)]
source: auto merge licence names

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: chroot and source list should merge entries
Tobias Ulmer [Wed, 26 Oct 2016 15:43:54 +0000 (17:43 +0200)]
result: chroot and source list should merge entries

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: turn on mergeing in file licence lists
Tobias Ulmer [Wed, 26 Oct 2016 15:43:00 +0000 (17:43 +0200)]
files: turn on mergeing in file licence lists

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: get_licences() already returns a copy
Tobias Ulmer [Wed, 26 Oct 2016 15:34:20 +0000 (17:34 +0200)]
files: get_licences() already returns a copy

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-build: warn about left out deploy results in release mode
Tobias Ulmer [Tue, 25 Oct 2016 19:37:43 +0000 (21:37 +0200)]
e2-build: warn about left out deploy results in release mode

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2option: repair userdefaultoptions() processing
Tobias Ulmer [Tue, 25 Oct 2016 14:27:27 +0000 (16:27 +0200)]
e2option: repair userdefaultoptions() processing

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: don't just register, handle cmd line options
Tobias Ulmer [Mon, 24 Oct 2016 18:20:25 +0000 (20:20 +0200)]
ls-project: don't just register, handle cmd line options

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: remove description of marginally useful global options
Tobias Ulmer [Mon, 24 Oct 2016 17:25:08 +0000 (19:25 +0200)]
ls-project: remove description of marginally useful global options

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-ls-project: fix and add two options
Tobias Ulmer [Mon, 24 Oct 2016 14:54:51 +0000 (16:54 +0200)]
e2-ls-project: fix and add two options

--chroot shows all chroot groups
--env shows the result environment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: move config verify into project module
Tobias Ulmer [Fri, 21 Oct 2016 16:53:06 +0000 (18:53 +0200)]
project: move config verify into project module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: check return value of verify_result_envs()
Tobias Ulmer [Fri, 21 Oct 2016 16:35:57 +0000 (18:35 +0200)]
e2tool: check return value of verify_result_envs()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: rename to sources_list()
Tobias Ulmer [Fri, 21 Oct 2016 16:05:45 +0000 (18:05 +0200)]
result: rename to sources_list()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: rename to chroot_list()
Tobias Ulmer [Fri, 21 Oct 2016 15:45:54 +0000 (17:45 +0200)]
result: rename to chroot_list()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move build_settings() implementation into result_class
Tobias Ulmer [Fri, 21 Oct 2016 15:35:21 +0000 (17:35 +0200)]
result: move build_settings() implementation into result_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move build_mode implementation into result_class
Tobias Ulmer [Fri, 21 Oct 2016 14:49:56 +0000 (16:49 +0200)]
result: move build_mode implementation into result_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move buildconfig implementation into result_class
Tobias Ulmer [Fri, 21 Oct 2016 14:12:55 +0000 (16:12 +0200)]
result: move buildconfig implementation into result_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: buildconfig() -> build_config() for consistency
Tobias Ulmer [Fri, 21 Oct 2016 12:39:32 +0000 (14:39 +0200)]
result: buildconfig() -> build_config() for consistency

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoupdate e2factory license and author information for consistency
Tobias Ulmer [Thu, 20 Oct 2016 19:10:08 +0000 (21:10 +0200)]
update e2factory license and author information for consistency

No license change.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove outdated document
Tobias Ulmer [Thu, 20 Oct 2016 16:12:01 +0000 (18:12 +0200)]
remove outdated document

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogitignore: ignore e2config, it shouldn't be checked in
Tobias Ulmer [Tue, 11 Oct 2016 16:51:06 +0000 (18:51 +0200)]
gitignore: ignore e2config, it shouldn't be checked in

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: remove dead code
Tobias Ulmer [Tue, 11 Oct 2016 16:17:46 +0000 (18:17 +0200)]
e2tool: remove dead code

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: split up stat() into lstat() and remove inconsistencies
Tobias Ulmer [Tue, 11 Oct 2016 16:08:33 +0000 (18:08 +0200)]
e2lib: split up stat() into lstat() and remove inconsistencies

This allows symlinks (not encouraged!) to work more consistently.

It also fixes a bug where we cached the symlink information instead of
the real file.

Prior to this change stat(foo, true) worked like posix stat(), while
stat(foo) or stat(foo, false) worked like lstat. This change undoes the
confusion, both functions work like their posix namesakes.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoerr: extent cat() to take a format string plus arguments
Tobias Ulmer [Mon, 10 Oct 2016 17:27:50 +0000 (19:27 +0200)]
err: extent cat() to take a format string plus arguments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: error out when at risk of overwriting files in toresult()
Tobias Ulmer [Mon, 10 Oct 2016 17:15:52 +0000 (19:15 +0200)]
files: error out when at risk of overwriting files in toresult()

Due to flattening the file tree for collect project, each file in a
source needs an unique file name. Changing the code to accommodate for
anything else is quite involved. For now lets just make sure it's not
possible to generate a broken collect_project result and error out.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: fix typo
Tobias Ulmer [Mon, 10 Oct 2016 15:51:59 +0000 (17:51 +0200)]
files: fix typo

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: reject converting unknown res types
Tobias Ulmer [Mon, 10 Oct 2016 15:38:51 +0000 (17:38 +0200)]
collect_project: reject converting unknown res types

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: rename method to cp_default_result()
Tobias Ulmer [Mon, 10 Oct 2016 15:36:02 +0000 (17:36 +0200)]
collect_project: rename method to cp_default_result()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomake.vars: add LUA_CFLAGS for building shared objects
Tobias Ulmer [Mon, 10 Oct 2016 14:13:29 +0000 (16:13 +0200)]
make.vars: add LUA_CFLAGS for building shared objects

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: remove build process and just add a step
Tobias Ulmer [Thu, 6 Oct 2016 11:56:49 +0000 (13:56 +0200)]
collect_project: remove build process and just add a step

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: switch to depends_list() and remove dlist()
Tobias Ulmer [Wed, 5 Oct 2016 18:13:44 +0000 (20:13 +0200)]
result: switch to depends_list() and remove dlist()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: add depends_list()
Tobias Ulmer [Wed, 5 Oct 2016 16:27:00 +0000 (18:27 +0200)]
result: add depends_list()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoerr: provide a traceback if assert hits
Tobias Ulmer [Wed, 5 Oct 2016 16:11:35 +0000 (18:11 +0200)]
err: provide a traceback if assert hits

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: adjust for changed result type detection
Tobias Ulmer [Fri, 30 Sep 2016 14:46:52 +0000 (16:46 +0200)]
collect_project: adjust for changed result type detection

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: make the result type detection more flexible
Tobias Ulmer [Fri, 30 Sep 2016 14:41:50 +0000 (16:41 +0200)]
result: make the result type detection more flexible

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-ls-project: WIP
Tobias Ulmer [Thu, 29 Sep 2016 12:42:05 +0000 (14:42 +0200)]
e2-ls-project: WIP

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: use add_step_before()
Tobias Ulmer [Thu, 22 Sep 2016 14:29:22 +0000 (16:29 +0200)]
collect_project: use add_step_before()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: improve clarity of bc.T
Tobias Ulmer [Thu, 22 Sep 2016 14:02:08 +0000 (16:02 +0200)]
result: improve clarity of bc.T

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: document
Tobias Ulmer [Thu, 22 Sep 2016 14:00:13 +0000 (16:00 +0200)]
e2build: document

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: add methods to add build steps
Tobias Ulmer [Thu, 22 Sep 2016 13:55:48 +0000 (15:55 +0200)]
e2build: add methods to add build steps

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: remove last remains of e2tool_ftab
Tobias Ulmer [Wed, 21 Sep 2016 19:07:19 +0000 (21:07 +0200)]
e2tool: remove last remains of e2tool_ftab

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: do not include the '.' directory in result.tar
Tobias Ulmer [Tue, 20 Sep 2016 16:20:21 +0000 (18:20 +0200)]
e2build: do not include the '.' directory in result.tar

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: rename root_server to dot
Tobias Ulmer [Tue, 20 Sep 2016 14:55:08 +0000 (16:55 +0200)]
cache: rename root_server to dot

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: rename result_server to results
Tobias Ulmer [Tue, 20 Sep 2016 14:48:26 +0000 (16:48 +0200)]
cache: rename result_server to results

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: rename default_files to upstream
Tobias Ulmer [Tue, 20 Sep 2016 14:47:03 +0000 (16:47 +0200)]
cache: rename default_files to upstream

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: rename default_repo to projects
Tobias Ulmer [Tue, 20 Sep 2016 14:44:48 +0000 (16:44 +0200)]
cache: rename default_repo to projects

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: lock the info table, cross fingers
Tobias Ulmer [Fri, 16 Sep 2016 16:10:32 +0000 (18:10 +0200)]
e2tool: lock the info table, cross fingers

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.join: verbose assert
Tobias Ulmer [Fri, 16 Sep 2016 16:07:50 +0000 (18:07 +0200)]
e2lib.join: verbose assert

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: move server names and local cache setup into one place
Tobias Ulmer [Thu, 15 Sep 2016 12:41:39 +0000 (14:41 +0200)]
cache: move server names and local cache setup into one place

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: convert to new object oriented structure
Tobias Ulmer [Tue, 13 Sep 2016 18:44:09 +0000 (20:44 +0200)]
collect_project: convert to new object oriented structure

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-sources: use new result objects
Tobias Ulmer [Thu, 29 Sep 2016 12:41:08 +0000 (14:41 +0200)]
e2-fetch-sources: use new result objects

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-playground: make use of result and e2build
Tobias Ulmer [Wed, 28 Sep 2016 17:55:14 +0000 (19:55 +0200)]
e2-playground: make use of result and e2build

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-build: make use of result and e2build
Tobias Ulmer [Wed, 28 Sep 2016 16:06:27 +0000 (18:06 +0200)]
e2-build: make use of result and e2build

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: setup_cache: return false instead of nil
Tobias Ulmer [Wed, 7 Sep 2016 15:55:19 +0000 (17:55 +0200)]
cache: setup_cache: return false instead of nil

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: new_cache() is an implementation detail
Tobias Ulmer [Wed, 7 Sep 2016 15:32:27 +0000 (17:32 +0200)]
cache: new_cache() is an implementation detail

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: verify_global_config(): always check for existence of servers table
Tobias Ulmer [Wed, 7 Sep 2016 15:30:17 +0000 (17:30 +0200)]
e2lib: verify_global_config(): always check for existence of servers table

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: move e2lib.setup_cache into cache module
Tobias Ulmer [Wed, 7 Sep 2016 15:28:44 +0000 (17:28 +0200)]
cache: move e2lib.setup_cache into cache module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: restore fileid() behaviour and only verify when check-remote is true
Tobias Ulmer [Wed, 7 Sep 2016 13:40:33 +0000 (15:40 +0200)]
e2tool: restore fileid() behaviour and only verify when check-remote is true

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agopolicy: remove all traces of dep_set()
Tobias Ulmer [Tue, 6 Sep 2016 16:02:12 +0000 (18:02 +0200)]
policy: remove all traces of dep_set()

dep_set() used to point to the location of a dependent result in the out
directory when said result was built in working-copy mode. Since the
introduction of stable "scratch-hash" style BuildID's this has been
unnecessary.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: unify verify_hash() and fileid() to share the same interface and code basis
Tobias Ulmer [Tue, 6 Sep 2016 15:44:09 +0000 (17:44 +0200)]
e2tool: unify verify_hash() and fileid() to share the same interface and code basis

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: rework the caching strategy
Tobias Ulmer [Fri, 2 Sep 2016 11:10:58 +0000 (13:10 +0200)]
cache: rework the caching strategy

Introduce new functions to fetch and push files in a consistent way.

To query server flags we now have:

- cache.cache_enabled()
- cache.islocal_enabled()
- cache.writeback_enabled()

All take the optional flags argument, allowing for overrides when
necessary.

The flags table is now checked for unknown flags, throwing a runtime
error. Unused flags have been removed.

Removed the function to cache files explicitly, return the file path if
in cache, and removed some dead code.
If the cache is enabled, calls to any function requesting path or a
copy of the requested file will cache automatically. This behaviour can
now be suppressed with the flags argument.

Introduced a function to check for the existence of a file on the remote
side without downloading:
transport.file_exists()

Added new function
- cache.fetch_file_path()
that returns the requested files path to either the cache, local
file system or a temporary location.

The code base was adjusted to work without any caching if desired,
although this is not a recommended mode of operation due to speed and
temporary storage requirements.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: remove unused function file_local()
Tobias Ulmer [Wed, 31 Aug 2016 15:44:03 +0000 (17:44 +0200)]
cache: remove unused function file_local()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: make unlink_recursive() work when pathname is not a directory
Tobias Ulmer [Fri, 2 Sep 2016 12:43:16 +0000 (14:43 +0200)]
e2lib: make unlink_recursive() work when pathname is not a directory

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: document unlink_recursive() does not follow symlinks
Tobias Ulmer [Fri, 2 Sep 2016 09:19:25 +0000 (11:19 +0200)]
e2lib: document unlink_recursive() does not follow symlinks

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: file_path() remove unused flags and clean up
Tobias Ulmer [Wed, 31 Aug 2016 13:30:46 +0000 (15:30 +0200)]
cache: file_path() remove unused flags and clean up

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: add debug logging to callcmd()
Tobias Ulmer [Wed, 31 Aug 2016 13:28:48 +0000 (15:28 +0200)]
e2lib: add debug logging to callcmd()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: remove now unused check_only flag, add error checking
Tobias Ulmer [Wed, 31 Aug 2016 07:54:05 +0000 (09:54 +0200)]
cache: remove now unused check_only flag, add error checking

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: remove only use of check_only
Tobias Ulmer [Wed, 31 Aug 2016 07:57:54 +0000 (09:57 +0200)]
e2build: remove only use of check_only

In fact flags is entirely ignored by cache.file_path()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: remove unused flags.refresh
Tobias Ulmer [Tue, 30 Aug 2016 22:39:14 +0000 (00:39 +0200)]
cache: remove unused flags.refresh

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: add more error checking for flags
Tobias Ulmer [Tue, 30 Aug 2016 22:36:36 +0000 (00:36 +0200)]
cache: add more error checking for flags

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: tranport is an implementation detail of cache, stop using it
Tobias Ulmer [Tue, 30 Aug 2016 21:20:06 +0000 (23:20 +0200)]
e2tool: tranport is an implementation detail of cache, stop using it

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: remove unused flags.chmod feature
Tobias Ulmer [Tue, 30 Aug 2016 21:02:53 +0000 (23:02 +0200)]
cache: remove unused flags.chmod feature

Signed-off-by: Tobias Ulmer <tu@emlix.com>