]> git.e2factory.org Git - e2factory.git/log
e2factory.git
15 years agoadd a hint that URLs must be passed to e2-new-source to builtin help
Gordon Hecker [Tue, 23 Mar 2010 11:28:34 +0000 (12:28 +0100)]
add a hint that URLs must be passed to e2-new-source to builtin help

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agofix error handling when downloading source files with e2-new-source fails
Gordon Hecker [Tue, 23 Mar 2010 11:25:46 +0000 (12:25 +0100)]
fix error handling when downloading source files with e2-new-source fails

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agohonour config file config in e2-install-e2
Gordon Hecker [Tue, 23 Mar 2010 11:18:41 +0000 (12:18 +0100)]
honour config file config in e2-install-e2

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agomove config file config to globals table
Gordon Hecker [Tue, 23 Mar 2010 11:18:05 +0000 (12:18 +0100)]
move config file config to globals table

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix error handling for misconfigured files in source configuration
Gordon Hecker [Mon, 22 Mar 2010 11:10:03 +0000 (12:10 +0100)]
bugfix: fix error handling for misconfigured files in source configuration

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix error handling for e2tuil.stat()
Gordon Hecker [Mon, 22 Mar 2010 11:09:35 +0000 (12:09 +0100)]
bugfix: fix error handling for e2tuil.stat()

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoplugin interface: print the description of each plugin when --version is
Gordon Hecker [Wed, 17 Mar 2010 10:11:34 +0000 (11:11 +0100)]
plugin interface: print the description of each plugin when --version is
requested

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agodocumentation: write migration documentation
Gordon Hecker [Mon, 15 Mar 2010 15:56:26 +0000 (16:56 +0100)]
documentation: write migration documentation

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocreate next changelog entry
Gordon Hecker [Mon, 15 Mar 2010 14:29:50 +0000 (15:29 +0100)]
create next changelog entry

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agorelease e2factory-2.3.4rc1 e2factory-2.3.4rc1
Gordon Hecker [Mon, 15 Mar 2010 14:29:50 +0000 (15:29 +0100)]
release e2factory-2.3.4rc1

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoplugin interface: extensions
Gordon Hecker [Wed, 10 Mar 2010 17:56:34 +0000 (18:56 +0100)]
plugin interface: extensions
 * permit plugins to register commandline options
 * permit tool specific initialization of plugins

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: include username in chroot location format string
Gordon Hecker [Thu, 11 Mar 2010 13:59:53 +0000 (14:59 +0100)]
bugfix: include username in chroot location format string

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: modify hashcache to track per-entry modification time
Gordon Hecker [Thu, 11 Mar 2010 13:31:24 +0000 (14:31 +0100)]
bugfix: modify hashcache to track per-entry modification time

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: use standard io library for logfiles
Gordon Hecker [Thu, 11 Mar 2010 08:58:51 +0000 (09:58 +0100)]
cleanup: use standard io library for logfiles

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agosample config: fix typo
Gordon Hecker [Tue, 9 Mar 2010 12:30:34 +0000 (13:30 +0100)]
sample config: fix typo

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocreate next changelog entry
Gordon Hecker [Mon, 8 Mar 2010 15:47:28 +0000 (16:47 +0100)]
create next changelog entry

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agorelease e2factory-2.3.4pre3 e2factory-2.3.4pre3
Gordon Hecker [Mon, 8 Mar 2010 15:47:28 +0000 (16:47 +0100)]
release e2factory-2.3.4pre3

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoupdate Changelog
Gordon Hecker [Mon, 8 Mar 2010 15:45:18 +0000 (16:45 +0100)]
update Changelog

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agorefactoring: new generic function: unpack_result()
Gordon Hecker [Fri, 5 Mar 2010 10:41:18 +0000 (11:41 +0100)]
refactoring: new generic function: unpack_result()

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: sort dependency list in check_result() instead doing it as a side-effect...
Gordon Hecker [Thu, 4 Mar 2010 16:55:22 +0000 (17:55 +0100)]
cleanup: sort dependency list in check_result() instead doing it as a side-effect in dlist()

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoplugin support: allow extending dlist()
Gordon Hecker [Thu, 4 Mar 2010 16:14:37 +0000 (17:14 +0100)]
plugin support: allow extending dlist()

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix debug message
Gordon Hecker [Thu, 4 Mar 2010 16:53:00 +0000 (17:53 +0100)]
bugfix: fix debug message

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocreate next changelog entry
Gordon Hecker [Tue, 2 Mar 2010 17:15:21 +0000 (18:15 +0100)]
create next changelog entry

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agorelease e2factory-2.3.4pre2 e2factory-2.3.4pre2
Gordon Hecker [Tue, 2 Mar 2010 17:15:21 +0000 (18:15 +0100)]
release e2factory-2.3.4pre2

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoChangelog
Gordon Hecker [Tue, 2 Mar 2010 17:15:09 +0000 (18:15 +0100)]
Changelog

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix unintended recursion into non-directories searching for
Gordon Hecker [Tue, 2 Mar 2010 17:00:07 +0000 (18:00 +0100)]
bugfix: fix unintended recursion into non-directories searching for
source/result configuration

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: deinitialize lock only if initialized before
Gordon Hecker [Tue, 2 Mar 2010 15:04:47 +0000 (16:04 +0100)]
bugfix: deinitialize lock only if initialized before

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoplugin support: extend api to register functions to run during
Gordon Hecker [Tue, 2 Mar 2010 13:04:31 +0000 (14:04 +0100)]
plugin support: extend api to register functions to run during
collect_project(). Includes bugfix: Check return code from
registered functions

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: the e2-cf tool refused to work in projects with a broken
Gordon Hecker [Thu, 25 Feb 2010 16:52:01 +0000 (17:52 +0100)]
bugfix: the e2-cf tool refused to work in projects with a broken
configuration. That prevented the user from fixing a broken
configuration using that tool, making the tool pretty much useless.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: fix warning code
Gordon Hecker [Mon, 22 Feb 2010 17:19:47 +0000 (18:19 +0100)]
cleanup: fix warning code

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix broken e2-fetch-sources --chroot
Gordon Hecker [Mon, 22 Feb 2010 14:09:09 +0000 (15:09 +0100)]
bugfix: fix broken e2-fetch-sources --chroot

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agofix buitin help in playground tool
Gordon Hecker [Mon, 22 Feb 2010 13:33:58 +0000 (14:33 +0100)]
fix buitin help in playground tool

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoinclude compressed build log into result packages
Gordon Hecker [Thu, 18 Feb 2010 13:37:21 +0000 (14:37 +0100)]
include compressed build log into result packages

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoadd new external tool: gzip
Gordon Hecker [Thu, 18 Feb 2010 13:36:44 +0000 (14:36 +0100)]
add new external tool: gzip

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocreate next changelog entry
Gordon Hecker [Wed, 17 Feb 2010 15:41:29 +0000 (16:41 +0100)]
create next changelog entry

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agorelease e2factory-2.3.4pre1 e2factory-2.3.4pre1
Gordon Hecker [Wed, 17 Feb 2010 15:41:29 +0000 (16:41 +0100)]
release e2factory-2.3.4pre1

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove code that logs tool invocations
Gordon Hecker [Fri, 12 Feb 2010 14:40:15 +0000 (15:40 +0100)]
cleanup: remove code that logs tool invocations

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: options: print a proper error message when an unknown option is passed
Gordon Hecker [Thu, 11 Feb 2010 11:21:42 +0000 (12:21 +0100)]
bugfix: options: print a proper error message when an unknown option is passed

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: global tools: catch invalid location in command line
Gordon Hecker [Thu, 11 Feb 2010 10:43:36 +0000 (11:43 +0100)]
bugfix: global tools: catch invalid location in command line

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix error handling in env: collect all errors of one class before returning...
Gordon Hecker [Wed, 27 Jan 2010 13:04:32 +0000 (14:04 +0100)]
bugfix: fix error handling in env: collect all errors of one class before returning to save multiple iterations

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix error handling when passing a sourcename to ls-project
Gordon Hecker [Mon, 25 Jan 2010 14:31:43 +0000 (15:31 +0100)]
bugfix: fix error handling when passing a sourcename to ls-project

We had functionality to translate from a source to result and list
all dependencies, but that lead to ambiguous behaviour where sources
and results with the same name exist. So don't accept source names
for now.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agodebug: write version information to debug log
Gordon Hecker [Wed, 3 Feb 2010 09:24:47 +0000 (10:24 +0100)]
debug: write version information to debug log

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: Changelog
Gordon Hecker [Fri, 12 Feb 2010 09:46:33 +0000 (10:46 +0100)]
cleanup: Changelog

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove broken option to e2-install-e2: --binary
Gordon Hecker [Thu, 11 Feb 2010 11:06:02 +0000 (12:06 +0100)]
cleanup: remove broken option to e2-install-e2: --binary

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: fix global tools to work with modularized libraries
Gordon Hecker [Fri, 22 Jan 2010 09:40:47 +0000 (10:40 +0100)]
cleanup: fix global tools to work with modularized libraries

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: fix missing require in e2option
Gordon Hecker [Thu, 11 Feb 2010 11:00:16 +0000 (12:00 +0100)]
cleanup: fix missing require in e2option

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: fix missing requires in local tools
Gordon Hecker [Mon, 8 Feb 2010 12:09:21 +0000 (13:09 +0100)]
cleanup: fix missing requires in local tools

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: correctly use tools module
Gordon Hecker [Wed, 27 Jan 2010 13:44:36 +0000 (14:44 +0100)]
cleanup: correctly use tools module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: move buildconfig.lua installation to local/ subdirectory
Gordon Hecker [Fri, 22 Jan 2010 09:51:39 +0000 (10:51 +0100)]
cleanup: move buildconfig.lua installation to local/ subdirectory

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: fix usage of global variable from e2lib
Gordon Hecker [Mon, 8 Feb 2010 12:10:37 +0000 (13:10 +0100)]
cleanup: fix usage of global variable from e2lib

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: debug log was broken due to modularization. Fix.
Gordon Hecker [Fri, 5 Feb 2010 16:31:13 +0000 (17:31 +0100)]
cleanup: debug log was broken due to modularization. Fix.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn e2lib into a proper lua module
Gordon Hecker [Thu, 21 Jan 2010 19:33:19 +0000 (20:33 +0100)]
cleanup: turn e2lib into a proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn e2build into a proper lua module and install on its own
Gordon Hecker [Thu, 21 Jan 2010 18:39:26 +0000 (19:39 +0100)]
cleanup: turn e2build into a proper lua module and install on its own

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: install collection and strict modules on their own
Gordon Hecker [Thu, 21 Jan 2010 18:35:15 +0000 (19:35 +0100)]
cleanup: install collection and strict modules on their own

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn policy module into a proper lua module and install on its own
Gordon Hecker [Thu, 21 Jan 2010 18:32:50 +0000 (19:32 +0100)]
cleanup: turn policy module into a proper lua module and install on its own

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: obsolete loader module for local tools
Gordon Hecker [Thu, 21 Jan 2010 18:26:49 +0000 (19:26 +0100)]
cleanup: obsolete loader module for local tools

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: install libraries on their own instead of linking together: * tools * transp...
Gordon Hecker [Thu, 21 Jan 2010 18:14:27 +0000 (19:14 +0100)]
cleanup: install libraries on their own instead of linking together: * tools * transport * cache * environment * plugin * url * hash * lock

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove unused code: result.lua
Gordon Hecker [Thu, 21 Jan 2010 18:19:04 +0000 (19:19 +0100)]
cleanup: remove unused code: result.lua

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: move generic code to generic_git module, fix a call to generic_git.new_repos...
Gordon Hecker [Thu, 11 Feb 2010 13:33:43 +0000 (14:33 +0100)]
cleanup: move generic code to generic_git module, fix a call to generic_git.new_repository()

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: refactor scm related code.
Gordon Hecker [Thu, 21 Jan 2010 17:17:57 +0000 (18:17 +0100)]
cleanup: refactor scm related code.

The e2scm module was renamed to scm and code size was reduced by 75 percent
by unifying interfaces.
The following modules were turned into proper lua modules:
* scm (e2scm)
* files
* git
* svn
* cvs

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn e2tool into a proper lua module
Gordon Hecker [Thu, 21 Jan 2010 14:41:54 +0000 (15:41 +0100)]
cleanup: turn e2tool into a proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: no need to explicitly create the e2util module
Gordon Hecker [Thu, 21 Jan 2010 14:38:06 +0000 (15:38 +0100)]
cleanup: no need to explicitly create the e2util module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: rename error module to err and turn into proper lua module
Gordon Hecker [Thu, 21 Jan 2010 14:36:13 +0000 (15:36 +0100)]
cleanup: rename error module to err and turn into proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: rename scm.git module to generic_git and turn into proper lua module
Gordon Hecker [Thu, 21 Jan 2010 14:24:53 +0000 (15:24 +0100)]
cleanup: rename scm.git module to generic_git and turn into proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn luafile into a proper lua module
Gordon Hecker [Thu, 21 Jan 2010 14:18:47 +0000 (15:18 +0100)]
cleanup: turn luafile into a proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn e2option into a proper lua module
Gordon Hecker [Thu, 21 Jan 2010 13:59:03 +0000 (14:59 +0100)]
cleanup: turn e2option into a proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: build process: remove relative path where not required
Gordon Hecker [Wed, 20 Jan 2010 18:50:01 +0000 (19:50 +0100)]
cleanup: build process: remove relative path where not required

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: clean up and simplify the build system
Gordon Hecker [Wed, 20 Jan 2010 17:38:29 +0000 (18:38 +0100)]
cleanup: clean up and simplify the build system

Mainly: Nothing is built in the generic/ subdirectory any more now:
global stuff is built in global/
local stuff is built in local/
libraries are no longer renamed with _local or _global prefixes.

This is another step heading towards proper modularization - and
installing each module on its own, for both local and global
tools.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove unused e2api code
Gordon Hecker [Wed, 20 Jan 2010 17:22:19 +0000 (18:22 +0100)]
cleanup: remove unused e2api code

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove e2-buildid(1) manual page
Gordon Hecker [Wed, 20 Jan 2010 17:20:46 +0000 (18:20 +0100)]
cleanup: remove e2-buildid(1) manual page

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove unused code
Gordon Hecker [Wed, 20 Jan 2010 17:19:57 +0000 (18:19 +0100)]
cleanup: remove unused code

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agomodify status output alignment for better readability
Gordon Hecker [Mon, 11 Jan 2010 16:51:43 +0000 (17:51 +0100)]
modify status output alignment for better readability

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove unused code
Gordon Hecker [Wed, 20 Jan 2010 11:06:25 +0000 (12:06 +0100)]
cleanup: remove unused code

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoChangelog: proper modularization
Gordon Hecker [Tue, 19 Jan 2010 17:29:34 +0000 (18:29 +0100)]
Changelog: proper modularization

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agohash: turn into proper module
Gordon Hecker [Tue, 19 Jan 2010 17:21:56 +0000 (18:21 +0100)]
hash: turn into proper module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agourl: turn into proper module
Gordon Hecker [Tue, 19 Jan 2010 17:21:47 +0000 (18:21 +0100)]
url: turn into proper module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agotools: new module, move tool related code from transport to new tools module
Gordon Hecker [Tue, 19 Jan 2010 16:59:14 +0000 (17:59 +0100)]
tools: new module, move tool related code from transport to new tools module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agotransport: cleanup: turn into proper lua module
Gordon Hecker [Tue, 19 Jan 2010 16:55:15 +0000 (17:55 +0100)]
transport: cleanup: turn into proper lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoChangelog: bugfixes
Gordon Hecker [Tue, 19 Jan 2010 15:42:28 +0000 (16:42 +0100)]
Changelog: bugfixes

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix an incorrect return value that lead to a backtrace when calculating filei...
Gordon Hecker [Tue, 19 Jan 2010 12:43:57 +0000 (13:43 +0100)]
bugfix: fix an incorrect return value that lead to a backtrace when calculating fileid for non-existent files

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoglobal interface: cleanup: The server side ./version file and the .e2/version file...
Gordon Hecker [Tue, 5 Jan 2010 10:47:07 +0000 (11:47 +0100)]
global interface: cleanup: The server side ./version file and the .e2/version file used to hold the global interface version, describing the way data is stored on server side. If the way data is stored is changed the version must be changed, too. That must take effect for all old versions of the project, so redundantly storing the global interface version in .e2/version must not be done.

This commit cleans up the situation:
remove and deprecate .e2/version
introduce .e2/global_version that is created on project check-out and
initialized with the value stored in ./version on the server side.

Local tools check the global interface version against a list of
supported versions stored in the build time configuration. That way they
will, in future, be able to complain if a particular version is not
supported.

Global tools create projects with the newest global interface version
supported.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: ls-project code cleanup
Gordon Hecker [Mon, 18 Jan 2010 14:19:46 +0000 (15:19 +0100)]
cleanup: ls-project code cleanup

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agobugfix: fix error handling when cyclic dependencies are detected in the configuration.
Gordon Hecker [Mon, 18 Jan 2010 13:48:13 +0000 (14:48 +0100)]
bugfix: fix error handling when cyclic dependencies are detected in the configuration.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoChangelog: cache
Gordon Hecker [Tue, 19 Jan 2010 15:39:29 +0000 (16:39 +0100)]
Changelog: cache

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: remove the feature of having a per-project cache
Gordon Hecker [Mon, 18 Jan 2010 11:18:25 +0000 (12:18 +0100)]
cache: remove the feature of having a per-project cache

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: enable caching for the 'projects' server in the default configuration. The...
Gordon Hecker [Mon, 18 Jan 2010 11:06:39 +0000 (12:06 +0100)]
cache: enable caching for the 'projects' server in the default configuration. The cache settings are ignored for SCM access. The builtin 'proj-storage' server inherits the cache flags from 'projects'.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: fix global tools to comply with the new implementation of e2lib.setup_cache...
Gordon Hecker [Fri, 15 Jan 2010 16:13:00 +0000 (17:13 +0100)]
cache: fix global tools to comply with the new implementation of e2lib.setup_cache(). The global tools use the configured cache instead of a temporary one now. The cache is disabled on-the-fly now where caching is not appropriate.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: allow disabling the cache on-the-fly for fetch_file() and push_file() by passi...
Gordon Hecker [Fri, 15 Jan 2010 16:06:50 +0000 (17:06 +0100)]
cache: allow disabling the cache on-the-fly for fetch_file() and push_file() by passing cache=false in the flags Required to allow the global tools to use the cache in the configured location. See next commit.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: cleanup: move server and cache related code from e2tool module to e2lib and...
Gordon Hecker [Thu, 14 Jan 2010 14:26:52 +0000 (15:26 +0100)]
cache: cleanup: move server and cache related code from e2tool module to e2lib and cache modules

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: implement servers() to return a sorted list of configured servers
Gordon Hecker [Fri, 15 Jan 2010 13:26:42 +0000 (14:26 +0100)]
cache: implement servers() to return a sorted list of configured servers

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: implement valid_server() to verify that a server is configured
Gordon Hecker [Fri, 15 Jan 2010 13:51:20 +0000 (14:51 +0100)]
cache: implement valid_server() to verify that a server is configured

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocache: new_cache_entry(): support server aliases
Gordon Hecker [Fri, 15 Jan 2010 12:18:50 +0000 (13:18 +0100)]
cache: new_cache_entry(): support server aliases

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: switch cache function calls to object oriented style
Gordon Hecker [Fri, 15 Jan 2010 12:07:44 +0000 (13:07 +0100)]
cleanup: switch cache function calls to object oriented style

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: turn cache into proper Lua module
Gordon Hecker [Fri, 15 Jan 2010 11:59:27 +0000 (12:59 +0100)]
cleanup: turn cache into proper Lua module

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: fix policy module to correctly call ce_by_server()
Gordon Hecker [Fri, 15 Jan 2010 11:59:10 +0000 (12:59 +0100)]
cleanup: fix policy module to correctly call ce_by_server()

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocleanup: remove unused code
Gordon Hecker [Thu, 14 Jan 2010 14:25:32 +0000 (15:25 +0100)]
cleanup: remove unused code

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoe2-su-2.2: fix compiler warnings about unused variables
Gordon Hecker [Wed, 13 Jan 2010 14:30:25 +0000 (15:30 +0100)]
e2-su-2.2: fix compiler warnings about unused variables

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocollect_project: handle .tar.bz2 and .tar chroot files
Gordon Hecker [Thu, 14 Jan 2010 10:33:03 +0000 (11:33 +0100)]
collect_project: handle .tar.bz2 and .tar chroot files

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agocollect_project: Use e2-su-2.2 _2_3 suffix commands in collect_project
Gordon Hecker [Wed, 13 Jan 2010 14:14:43 +0000 (15:14 +0100)]
collect_project: Use e2-su-2.2 _2_3 suffix commands in collect_project

This does not influence reproducibility but may allow us to get rid of the
old _2_2 suffix commands at some time in the future.

Signed-off-by: Gordon Hecker <gh@emlix.com>
15 years agoChangelog: env
Gordon Hecker [Tue, 19 Jan 2010 15:33:52 +0000 (16:33 +0100)]
Changelog: env

Signed-off-by: Gordon Hecker <gh@emlix.com>