]> git.e2factory.org Git - e2factory.git/log
e2factory.git
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>
8 years agoproject: move chroot_call_prefix() to better location
Tobias Ulmer [Tue, 30 Aug 2016 16:53:40 +0000 (18:53 +0200)]
project: move chroot_call_prefix() to better location

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: modify build_mode() and drop the getter/setter style
Tobias Ulmer [Thu, 8 Sep 2016 14:47:12 +0000 (16:47 +0200)]
result: modify build_mode() and drop the getter/setter style

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: build_process() returns a new build_process_class object
Tobias Ulmer [Thu, 8 Sep 2016 16:17:11 +0000 (18:17 +0200)]
result: build_process() returns a new build_process_class object

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move my_chroot_list() implementation up into the descendent class
Tobias Ulmer [Thu, 8 Sep 2016 13:24:33 +0000 (15:24 +0200)]
result: move my_chroot_list() implementation up into the descendent class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: make the buildconfig table part of the result
Tobias Ulmer [Thu, 8 Sep 2016 13:16:15 +0000 (15:16 +0200)]
result: make the buildconfig table part of the result

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotransport: fix indentation
Tobias Ulmer [Tue, 30 Aug 2016 16:16:22 +0000 (18:16 +0200)]
transport: fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotrace: reduce overhead in enable(), ignore more modules
Tobias Ulmer [Tue, 30 Aug 2016 16:15:49 +0000 (18:15 +0200)]
trace: reduce overhead in enable(), ignore more modules

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: reduce debug log noise
Tobias Ulmer [Tue, 30 Aug 2016 16:12:24 +0000 (18:12 +0200)]
e2lib: reduce debug log noise

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: sprinkle asserts and fix indentation
Tobias Ulmer [Tue, 30 Aug 2016 16:10:55 +0000 (18:10 +0200)]
e2tool: sprinkle asserts and fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: fetch_file() destname and flags are optional now
Tobias Ulmer [Tue, 30 Aug 2016 16:07:52 +0000 (18:07 +0200)]
cache: fetch_file() destname and flags are optional now

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agostrict: add readonly() function
Tobias Ulmer [Thu, 28 Jul 2016 17:44:33 +0000 (19:44 +0200)]
strict: add readonly() function

Enforces readonly access on a table. Also errors on accessing nil values

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agostrict: __index() doesn't take a value
Tobias Ulmer [Thu, 28 Jul 2016 17:44:05 +0000 (19:44 +0200)]
strict: __index() doesn't take a value

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: error on configured/installed version mismatch
Tobias Ulmer [Tue, 28 Jun 2016 16:32:30 +0000 (18:32 +0200)]
e2tool: error on configured/installed version mismatch

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: remove info argument from umask funcs
Tobias Ulmer [Thu, 23 Jun 2016 17:46:14 +0000 (19:46 +0200)]
e2tool: remove info argument from umask funcs

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: adjust to build process and build settings
Tobias Ulmer [Thu, 8 Sep 2016 10:30:35 +0000 (12:30 +0200)]
e2tool: adjust to build process and build settings

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: make use of build_process_class
Tobias Ulmer [Thu, 23 Jun 2016 12:51:03 +0000 (14:51 +0200)]
result: make use of build_process_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: introduce the build_process class
Tobias Ulmer [Thu, 23 Jun 2016 12:49:37 +0000 (14:49 +0200)]
e2build: introduce the build_process class

Every result class has an associated build_process that knows how to
build results of this type.

If a new result class needs to extend the build process, it can inherhit
the class and overwrite methods or insert additional methods registering
them in the constructor.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: build_result() never sets return_flags, delete
Tobias Ulmer [Wed, 22 Jun 2016 18:42:04 +0000 (20:42 +0200)]
e2build: build_result() never sets return_flags, delete

Can be revived when there's a need

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: replace environment_script()
Tobias Ulmer [Wed, 22 Jun 2016 17:13:46 +0000 (19:13 +0200)]
e2build: replace environment_script()

environment.tofile() does the same thing

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: don't spam build output into debug.log
Tobias Ulmer [Wed, 22 Jun 2016 17:06:46 +0000 (19:06 +0200)]
e2build: don't spam build output into debug.log

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: cosmetic cleanup
Tobias Ulmer [Wed, 22 Jun 2016 17:03:21 +0000 (19:03 +0200)]
e2build: cosmetic cleanup

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoinline e2tool.bid_display()
Tobias Ulmer [Wed, 22 Jun 2016 15:30:10 +0000 (17:30 +0200)]
inline e2tool.bid_display()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: make set_info() local
Tobias Ulmer [Wed, 22 Jun 2016 15:06:55 +0000 (17:06 +0200)]
e2tool: make set_info() local

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: use new asserts
Tobias Ulmer [Wed, 22 Jun 2016 10:28:20 +0000 (12:28 +0200)]
result: use new asserts

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove package.loaded workaround
Tobias Ulmer [Tue, 21 Jun 2016 18:51:00 +0000 (20:51 +0200)]
remove package.loaded workaround

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: new module managing project environment
Tobias Ulmer [Tue, 21 Jun 2016 18:41:36 +0000 (20:41 +0200)]
projenv: new module managing project environment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomake.vars: remove unused variables
Tobias Ulmer [Fri, 17 Jun 2016 16:22:08 +0000 (18:22 +0200)]
make.vars: remove unused variables

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoenvironment: add some assertions
Tobias Ulmer [Fri, 17 Jun 2016 16:14:28 +0000 (18:14 +0200)]
environment: add some assertions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: remove tooldebug noise
Tobias Ulmer [Fri, 17 Jun 2016 15:24:32 +0000 (17:24 +0200)]
cache: remove tooldebug noise

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.callcmd(): allow multiple descriptors to use a pipe
Tobias Ulmer [Fri, 17 Jun 2016 15:18:21 +0000 (17:18 +0200)]
e2lib.callcmd(): allow multiple descriptors to use a pipe

Stdout and stderr used to get out of sync due to using a pipe each.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove noisy debug output
Tobias Ulmer [Fri, 17 Jun 2016 15:15:25 +0000 (17:15 +0200)]
remove noisy debug output

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: fix typo in error message
Tobias Ulmer [Thu, 16 Jun 2016 12:19:36 +0000 (14:19 +0200)]
e2lib: fix typo in error message

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agodlist: use result module, standard naming, drop info
Tobias Ulmer [Wed, 15 Jun 2016 14:29:53 +0000 (16:29 +0200)]
dlist: use result module, standard naming, drop info

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: move host system architecture check here
Tobias Ulmer [Wed, 15 Jun 2016 14:18:43 +0000 (16:18 +0200)]
project: move host system architecture check here

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: remove sources_sorted table
Tobias Ulmer [Wed, 15 Jun 2016 12:23:29 +0000 (14:23 +0200)]
source: remove sources_sorted table

On closer investigation nothing was using this interface.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: add an unpack() method
Tobias Ulmer [Mon, 6 Jun 2016 16:13:01 +0000 (18:13 +0200)]
sl: add an unpack() method

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove methods dealing with insertion order
Tobias Ulmer [Mon, 6 Jun 2016 16:05:15 +0000 (18:05 +0200)]
sl: remove methods dealing with insertion order

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: switch to result module
Tobias Ulmer [Wed, 22 Jun 2016 16:45:50 +0000 (18:45 +0200)]
e2build: switch to result module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: r -> resultname
Tobias Ulmer [Wed, 22 Jun 2016 16:18:28 +0000 (18:18 +0200)]
e2build: r -> resultname

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool.dlist_recursive: rework cyclic error handling
Tobias Ulmer [Mon, 20 Jun 2016 15:50:55 +0000 (17:50 +0200)]
e2tool.dlist_recursive: rework cyclic error handling

Show only results involved in the cycle. End the cycle with the same
result as it started, making the circular nature more obvious.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: use new sources and results
Tobias Ulmer [Wed, 22 Jun 2016 14:14:32 +0000 (16:14 +0200)]
e2tool: use new sources and results

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoIntroduce result classes
Tobias Ulmer [Wed, 25 May 2016 14:34:34 +0000 (16:34 +0200)]
Introduce result classes

basic_result class implements all common methods, but can't be used on
its own.

result_class represents the standard result type.

Special results can inherit from one of the two classes, overwriting
methods and such.

Composition is of course also possible, and may even be the better
option for plugins.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoenvironment: don't format the hash input
Tobias Ulmer [Wed, 25 May 2016 15:39:58 +0000 (17:39 +0200)]
environment: don't format the hash input

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: use hash_append
Tobias Ulmer [Wed, 11 May 2016 17:46:25 +0000 (19:46 +0200)]
git: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosvn: use hash_append
Tobias Ulmer [Wed, 11 May 2016 17:29:54 +0000 (19:29 +0200)]
svn: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: use hash_append
Tobias Ulmer [Wed, 11 May 2016 17:28:52 +0000 (19:28 +0200)]
files: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoadd ass(e)rt module, provide global assert functions
Tobias Ulmer [Wed, 25 May 2016 14:39:30 +0000 (16:39 +0200)]
add ass(e)rt module, provide global assert functions

Assert functions are modeled after luaunit, and share some of its code.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: use hash_append
Tobias Ulmer [Wed, 11 May 2016 13:59:26 +0000 (15:59 +0200)]
project: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agolicence: use hash_append
Tobias Ulmer [Wed, 11 May 2016 13:58:33 +0000 (15:58 +0200)]
licence: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: sort required modules
Tobias Ulmer [Wed, 11 May 2016 13:57:05 +0000 (15:57 +0200)]
e2lib: sort required modules

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agochroot: use hash_append
Tobias Ulmer [Mon, 9 May 2016 17:23:49 +0000 (19:23 +0200)]
chroot: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocvs: use hash_append
Tobias Ulmer [Mon, 9 May 2016 17:23:03 +0000 (19:23 +0200)]
cvs: use hash_append

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agochroot: unbreak module loading loop
Tobias Ulmer [Mon, 9 May 2016 16:31:04 +0000 (18:31 +0200)]
chroot: unbreak module loading loop

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agopolicy: use eio
Tobias Ulmer [Tue, 17 Nov 2015 16:50:34 +0000 (17:50 +0100)]
policy: use eio

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoerr: remove unused getcount() argument
Tobias Ulmer [Fri, 13 Nov 2015 17:11:04 +0000 (18:11 +0100)]
err: remove unused getcount() argument

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: move projid() to sensible location
Tobias Ulmer [Fri, 13 Nov 2015 17:09:29 +0000 (18:09 +0100)]
project: move projid() to sensible location

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoMakefiles: stop build process at the error
Tobias Ulmer [Fri, 13 Nov 2015 13:56:03 +0000 (14:56 +0100)]
Makefiles: stop build process at the error

set -e is no longer necessary since we pass it to SHELL directly.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoerr: improve assert error messages
Tobias Ulmer [Mon, 2 Nov 2015 14:38:53 +0000 (15:38 +0100)]
err: improve assert error messages

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agohash: correct error message
Tobias Ulmer [Thu, 9 Apr 2015 13:05:47 +0000 (15:05 +0200)]
hash: correct error message

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: remove unused environment module
Tobias Ulmer [Thu, 12 Mar 2015 19:48:24 +0000 (20:48 +0100)]
files: remove unused environment module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRevert "class: add obj_(un)lock_rw methods for debugging"
Tobias Ulmer [Thu, 12 Mar 2015 17:13:02 +0000 (18:13 +0100)]
Revert "class: add obj_(un)lock_rw methods for debugging"

This reverts commit 881b2326718b872f02e0bc53ec3676f5e90d20a2.

8 years agoImprove error handling in hash module
Tobias Ulmer [Thu, 12 Mar 2015 16:47:01 +0000 (17:47 +0100)]
Improve error handling in hash module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoImprove stringlist insertion and sorting
Tobias Ulmer [Tue, 10 Mar 2015 16:43:52 +0000 (17:43 +0100)]
Improve stringlist insertion and sorting

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoclass: add obj_(un)lock_rw methods for debugging
Tobias Ulmer [Thu, 11 Dec 2014 19:21:49 +0000 (20:21 +0100)]
class: add obj_(un)lock_rw methods for debugging

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoerr: add asserts
Tobias Ulmer [Tue, 9 Dec 2014 20:25:03 +0000 (21:25 +0100)]
err: add asserts

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove disabled lock test code
Tobias Ulmer [Tue, 9 Sep 2014 11:53:57 +0000 (13:53 +0200)]
remove disabled lock test code

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove unused stringlist selftest
Tobias Ulmer [Tue, 9 Sep 2014 11:43:05 +0000 (13:43 +0200)]
remove unused stringlist selftest

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove broken sha1 tests
Tobias Ulmer [Mon, 8 Sep 2014 18:45:14 +0000 (20:45 +0200)]
remove broken sha1 tests

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoenvironment: remove disabled unit tests
Tobias Ulmer [Mon, 8 Sep 2014 17:33:16 +0000 (19:33 +0200)]
environment: remove disabled unit tests

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.join: fix indentation
Tobias Ulmer [Mon, 8 Sep 2014 15:50:01 +0000 (17:50 +0200)]
e2lib.join: fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.join: detect nil components and throw an error.
Tobias Ulmer [Mon, 8 Sep 2014 15:48:15 +0000 (17:48 +0200)]
e2lib.join: detect nil components and throw an error.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.log(): make newline optional
Tobias Ulmer [Mon, 8 Sep 2014 13:31:46 +0000 (15:31 +0200)]
e2lib.log(): make newline optional

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoHandle fetching symlinks correctly, instead of creating 0 size file
Tobias Ulmer [Tue, 19 Aug 2014 13:36:06 +0000 (15:36 +0200)]
Handle fetching symlinks correctly, instead of creating 0 size file

This makes symlinks in proj/init work, and should also fix the use of
symlinks in other place. Also, the code should now detect other
non-regular files being fetched and return an error message in this case.

Fixes bz#141

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoshow per-file licences
Tobias Ulmer [Fri, 25 Jul 2014 14:34:58 +0000 (16:34 +0200)]
show per-file licences

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoImprove accuracy of fetch-sources manual page
Tobias Ulmer [Thu, 10 Jul 2014 12:06:27 +0000 (14:06 +0200)]
Improve accuracy of fetch-sources manual page

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit source: explicitly fetch tags in addition to objects
Tobias Ulmer [Thu, 10 Jul 2014 12:03:52 +0000 (14:03 +0200)]
git source: explicitly fetch tags in addition to objects

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd source module and refactor e2source config handling.
Tobias Ulmer [Tue, 24 Jun 2014 17:23:56 +0000 (19:23 +0200)]
Add source module and refactor e2source config handling.

* Introduce a source module with a basic_source class, which all source
  plugins have to implement.
* Move info.sources to source module.
* Turn e2source config tables into defined objects with clear interface.
* Convert all source plugins to class interface, cleaning source
  validation up.
* Improve error checking and detect typos in source configs.
* Add a stringlist module providing a ADT for the common case of dealing
  with arrays of strings.
* Fix files plugin calculation of sourceid when using per-file licences
  entries
* Many small fixes...

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoFix rotating logs when the result name contains a dash
Tobias Ulmer [Wed, 18 Jun 2014 13:10:05 +0000 (15:10 +0200)]
Fix rotating logs when the result name contains a dash

Do not rotate log if not required. General cleanup.

bz#140

8 years agoe2build: Warn about deploying to a disabled releases server
Tobias Ulmer [Fri, 23 May 2014 16:34:04 +0000 (18:34 +0200)]
e2build: Warn about deploying to a disabled releases server

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: add writeback_state()
Tobias Ulmer [Fri, 23 May 2014 16:31:54 +0000 (18:31 +0200)]
cache: add writeback_state()

Make it easy to check whether writeback is on or off for a certain
server.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotransport: add asserts
Tobias Ulmer [Fri, 23 May 2014 16:29:55 +0000 (18:29 +0200)]
transport: add asserts

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: Fix comments
Tobias Ulmer [Fri, 23 May 2014 15:32:33 +0000 (17:32 +0200)]
cache: Fix comments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: whitespace fixes
Tobias Ulmer [Fri, 23 May 2014 15:31:55 +0000 (17:31 +0200)]
cache: whitespace fixes

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: Sprinkle assert()
Tobias Ulmer [Fri, 23 May 2014 15:30:44 +0000 (17:30 +0200)]
cache: Sprinkle assert()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoassert args
Tobias Ulmer [Wed, 7 May 2014 15:04:25 +0000 (17:04 +0200)]
assert args

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDon't jump through hoops to get the source name
Tobias Ulmer [Thu, 24 Apr 2014 17:04:30 +0000 (19:04 +0200)]
Don't jump through hoops to get the source name

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoCheck types of unpack, copy and patch and allow only one per file entry
Tobias Ulmer [Wed, 23 Apr 2014 14:48:25 +0000 (16:48 +0200)]
Check types of unpack, copy and patch and allow only one per file entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoSimplify generic_source_default_working()
Tobias Ulmer [Tue, 15 Apr 2014 16:02:00 +0000 (18:02 +0200)]
Simplify generic_source_default_working()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDoc fix: type of file source is 'files'
Tobias Ulmer [Tue, 15 Apr 2014 15:34:16 +0000 (17:34 +0200)]
Doc fix: type of file source is 'files'

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