]>
git.e2factory.org Git - e2factory.git/log
Tobias Ulmer [Tue, 10 Jul 2012 13:08:07 +0000 (15:08 +0200)]
Change e2lib curl(), ssh(), scp(), rsync(), gzip(), cat()
Change from argument string to argument vector
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 13:05:44 +0000 (15:05 +0200)]
Quote most e2lib.git() parameters
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 13:02:39 +0000 (15:02 +0200)]
Quote dir in e2lib.mkdir()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:57:18 +0000 (14:57 +0200)]
In e2-new-source, quote arguments for sha1sum, curl, and mv
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:55:22 +0000 (14:55 +0200)]
In e2-install-e2, quote install_prefix
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:32:55 +0000 (14:32 +0200)]
Fixup argument passing to the e2lib.svn() function
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:31:27 +0000 (14:31 +0200)]
Change e2lib.svn() to take an argument vector instead of a string
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:27:59 +0000 (14:27 +0200)]
Add call_tool_argv(), which takes separated arguments in a table
Allows us to quote arguments in a single place, right before calling out
to the shell. In the long term, call_tool() should die.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:23:43 +0000 (14:23 +0200)]
In call_tool(), check cmd instead of tool
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 12:20:17 +0000 (14:20 +0200)]
In tracer(), log the suspected module name as well
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 6 Jul 2012 15:13:36 +0000 (17:13 +0200)]
Remove append_to_file(), unused
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 29 Jun 2012 23:56:14 +0000 (01:56 +0200)]
Permit any character in URIs, not just non-whitespace ones
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 29 Jun 2012 19:39:13 +0000 (21:39 +0200)]
Introduce e2lib.shquote() to quote strings that are passed to a shell
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 29 Jun 2012 19:23:33 +0000 (21:23 +0200)]
Hook every function and log its call
e2lib.tracer hooks into the debug functionality of the lua interpreter
and gets called every time a lua function is called. This allows
detailed logging (at log level 4) without cluttering the code with log()
calls.
tracer() uses two function name blacklists to reduce the amount of
noise.
tracer() comes with a speed penalty, due to hooking, calling the
function itself and added IO overhead. Meassurements show a ~15% runtime
increase in a number of tests.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 29 Jun 2012 19:19:25 +0000 (21:19 +0200)]
Write log messages into a buffer until the log file is open
Write out buffer as soon as the log file becomes available.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 27 Jun 2012 17:46:34 +0000 (19:46 +0200)]
Fix cache debug logging
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 27 Mar 2012 17:39:32 +0000 (19:39 +0200)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 27 Mar 2012 17:39:32 +0000 (19:39 +0200)]
release e2factory-2.3.11
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 27 Mar 2012 17:23:05 +0000 (19:23 +0200)]
Allow using sudo during make install, for development
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 16 Feb 2011 10:54:15 +0000 (11:54 +0100)]
Don't use a bash specific construct for expanding directory names
This breaks on systems using eg. dash as their default /bin/sh
Reported by Dominic Lemire <DominicLemire@vtech.ca>
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 31 Jan 2011 11:18:51 +0000 (12:18 +0100)]
add next Changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 31 Jan 2011 11:17:30 +0000 (12:17 +0100)]
release e2factory-2.3.10
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 31 Jan 2011 11:15:19 +0000 (12:15 +0100)]
Update Changelog for 2.3.10
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 31 Jan 2011 11:14:12 +0000 (12:14 +0100)]
add `tags' target to generate a tags file
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 26 Jan 2011 18:15:53 +0000 (19:15 +0100)]
extend the tools module with add_tool()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Gordon Hecker [Tue, 7 Dec 2010 13:44:36 +0000 (14:44 +0100)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 7 Dec 2010 13:44:36 +0000 (14:44 +0100)]
release e2factory-2.3.9
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 7 Dec 2010 12:59:17 +0000 (13:59 +0100)]
transport/rsync+ssh: fix rsync usage to avoid creation of additional
directory in existing remote directory
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 6 Dec 2010 14:05:36 +0000 (15:05 +0100)]
e2-build: rename --writeback / --no-writeback to --enable-writeback /
--disable-writeback
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 6 Dec 2010 10:13:08 +0000 (11:13 +0100)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 6 Dec 2010 10:13:08 +0000 (11:13 +0100)]
release e2factory-2.3.9pre1
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 6 Dec 2010 09:32:43 +0000 (10:32 +0100)]
Changelog
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 6 Dec 2010 08:32:32 +0000 (09:32 +0100)]
e2-build: allow enabling/disabling writeback on command line
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 6 Dec 2010 08:32:13 +0000 (09:32 +0100)]
cache: provide api for enabling/disabling cache
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 3 Dec 2010 11:38:57 +0000 (12:38 +0100)]
transport/rsync+ssh: use rsync to create remote directories
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 14 Oct 2010 08:40:32 +0000 (10:40 +0200)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 14 Oct 2010 08:40:32 +0000 (10:40 +0200)]
release e2factory-2.3.8
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 12 Oct 2010 08:39:45 +0000 (10:39 +0200)]
environment: improve luadoc comments
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 7 Oct 2010 12:05:11 +0000 (14:05 +0200)]
Changelog
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 4 Oct 2010 14:15:40 +0000 (16:15 +0200)]
e2-install-e2: remove local plugins before installing new local tools
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 6 Aug 2010 09:31:27 +0000 (11:31 +0200)]
e2-install-e2: fix error checking for local tools build
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 4 Oct 2010 12:26:18 +0000 (14:26 +0200)]
improve syntax mismatch message: show all supported versions
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 4 Oct 2010 11:55:00 +0000 (13:55 +0200)]
use correct CPPFLAGS settings to compile e2-su-2.2
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 4 Oct 2010 11:53:51 +0000 (13:53 +0200)]
compile code with -D_FILE_OFFSET_BITS=64
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 13 Sep 2010 13:48:18 +0000 (15:48 +0200)]
result configuration error: issue filename in error message
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 13 Sep 2010 13:47:36 +0000 (15:47 +0200)]
Add missing check for mandatory unzip tool.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 6 Aug 2010 09:16:00 +0000 (11:16 +0200)]
bugfix: close pipe
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 2 Jul 2010 10:53:42 +0000 (12:53 +0200)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 2 Jul 2010 10:53:42 +0000 (12:53 +0200)]
release e2factory-2.3.7
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 29 Jun 2010 13:34:51 +0000 (15:34 +0200)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 29 Jun 2010 13:34:51 +0000 (15:34 +0200)]
release e2factory-2.3.7pre1
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 25 Jun 2010 14:29:30 +0000 (16:29 +0200)]
bugfix: remove old set of local tools and plugins before installing
This is mostly important for the plugins.
A new installation may want to install a different set of plugins.
Cleaning up before re-installing makes sure that plugins from old
installations are properly removed.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 25 Jun 2010 14:15:32 +0000 (16:15 +0200)]
plugin support: store working directory at startup for use with plugins
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 25 Jun 2010 09:23:45 +0000 (11:23 +0200)]
e2-build: bugfix: BuildIds were calculated as needed by the build process.
Fix this to calculate all required BuildIds in advance.
That way many errors will be detected earlier in the process.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Fri, 25 Jun 2010 08:03:04 +0000 (10:03 +0200)]
example project: add deploy_results
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 27 May 2010 14:34:14 +0000 (16:34 +0200)]
INSTALL: add a hint on requirements for building documentation
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 14:13:54 +0000 (16:13 +0200)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 14:13:53 +0000 (16:13 +0200)]
release e2factory-2.3.6
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 09:15:34 +0000 (11:15 +0200)]
documentation: update release process description
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 08:14:31 +0000 (10:14 +0200)]
documentation: migration from 2.3.5 to 2.3.6
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 08:02:27 +0000 (10:02 +0200)]
documentation: migration from 2.3.4 to 2.3.5
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 07:59:18 +0000 (09:59 +0200)]
bugfix: fix coding style in documentation
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 6 May 2010 15:52:57 +0000 (17:52 +0200)]
bugfix: fix template formatting
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 6 May 2010 10:29:33 +0000 (12:29 +0200)]
bugfix: use template configuration file for proj/env
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 6 May 2010 10:12:23 +0000 (12:12 +0200)]
bugfix: fix typo in error messages
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 17 May 2010 09:31:36 +0000 (11:31 +0200)]
deployment: Changelog
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 6 May 2010 10:18:04 +0000 (12:18 +0200)]
deployment: include deploy_results attribute in configuration template
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 13:10:40 +0000 (15:10 +0200)]
deployment: do not re-deploy releases that are already in archive
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 12:51:45 +0000 (14:51 +0200)]
deployment: tune logging behaviour
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 12:41:16 +0000 (14:41 +0200)]
deployment: move deployment settings to policy module
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 12:23:24 +0000 (14:23 +0200)]
deployment: enable deployment through the deploy_results attribute in proj/config
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 12:10:02 +0000 (14:10 +0200)]
deployment: policy: enable deployment in release mode only
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 29 Apr 2010 13:20:18 +0000 (15:20 +0200)]
deployment: initial implementation
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 10:39:44 +0000 (12:39 +0200)]
deployment: store results on default server in release mode
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 5 May 2010 13:20:10 +0000 (15:20 +0200)]
error checking: verify the default_results list
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 3 May 2010 09:50:48 +0000 (11:50 +0200)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 3 May 2010 09:50:48 +0000 (11:50 +0200)]
release e2factory-2.3.6pre1
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 3 May 2010 09:48:48 +0000 (11:48 +0200)]
changelog: bugfixes
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 23 Mar 2010 14:52:58 +0000 (15:52 +0100)]
fix broken warning
Gordon Hecker [Thu, 11 Mar 2010 09:05:25 +0000 (10:05 +0100)]
cleanup: remove unused code
Gordon Hecker [Thu, 4 Mar 2010 16:58:10 +0000 (17:58 +0100)]
do not sort the dependency list. This is not neccessary and this way
the order is maintained when passing the dependency list to the
build process
Gordon Hecker [Fri, 5 Mar 2010 11:26:05 +0000 (12:26 +0100)]
optimization: use file_path() instead of fetch_file() when unpacking results
Gordon Hecker [Wed, 24 Mar 2010 08:29:59 +0000 (09:29 +0100)]
transport: use rsync instead of curl to handle file:// urls
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Wed, 24 Mar 2010 08:26:24 +0000 (09:26 +0100)]
bugfix: quote curl args
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 3 May 2010 09:32:29 +0000 (11:32 +0200)]
syntax: this version of e2factory introduces a new syntax version
with the following features:
* env attribute in source configuration
* env attribute in result configuration
Support for old configuration versions is discontinued as versions
2.3.4 or above handle result specific environment in a stricter way,
leading to issues when environment for non-existent results is
configured.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 3 May 2010 09:30:34 +0000 (11:30 +0200)]
changelog: document configuration changes
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 29 Apr 2010 08:23:15 +0000 (10:23 +0200)]
results: allow assigning environment to results in result configuration
This is done by assigning a dictionary to the 'env' attribute
of a result configuration.
The environment configured this way is merged into the environment
and overrides variables from the project wide configuration files.
BuildId is handled by merging these variables into the result
specific environment before BuildId calculation.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 27 Apr 2010 12:56:44 +0000 (14:56 +0200)]
sources: allow assigning environment to sources
This is done by assigning a dictionary to the 'env' attribute
of a source configuration.
The environment configured this way is merged into the environment
of any result that uses the particular source.
BuildId is handled by including the dictionary into the sourceid
calculation.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Thu, 29 Apr 2010 08:15:43 +0000 (10:15 +0200)]
store result local environment in res._env instead of res.env
Signed-off-by: Gordon Hecker <ghecker@gmx.de>
Gordon Hecker [Mon, 19 Apr 2010 10:44:55 +0000 (12:44 +0200)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 19 Apr 2010 10:44:55 +0000 (12:44 +0200)]
release e2factory-2.3.5
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Mon, 19 Apr 2010 06:42:56 +0000 (08:42 +0200)]
collect_project: fix error handling in unpack code generation
Signed-off-by: Gordon Hecker <gh@emlix.com>
Tobias Ulmer [Sun, 18 Apr 2010 04:18:55 +0000 (06:18 +0200)]
collect_project: bugfix: invalid makefile code was generated for archive
files configured to be copied, not unpacked.
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 23 Mar 2010 16:19:54 +0000 (17:19 +0100)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 23 Mar 2010 16:19:54 +0000 (17:19 +0100)]
release e2factory-2.3.4
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 23 Mar 2010 12:36:08 +0000 (13:36 +0100)]
create next changelog entry
Signed-off-by: Gordon Hecker <gh@emlix.com>
Gordon Hecker [Tue, 23 Mar 2010 12:36:08 +0000 (13:36 +0100)]
release e2factory-2.3.4rc2
Signed-off-by: Gordon Hecker <gh@emlix.com>
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>
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>
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>