]> git.e2factory.org Git - e2factory.git/log
e2factory.git
12 years agoRemove totally outdated documentation
Tobias Ulmer [Fri, 10 Aug 2012 09:15:36 +0000 (11:15 +0200)]
Remove totally outdated documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove all traces of e2-2.1 based tools.
Tobias Ulmer [Fri, 10 Aug 2012 09:12:13 +0000 (11:12 +0200)]
Remove all traces of e2-2.1 based tools.

e2-2.1 was never supported by e2factory-2.3

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove e2local and compiled lua libs
Tobias Ulmer [Fri, 10 Aug 2012 07:30:30 +0000 (09:30 +0200)]
Remove e2local and compiled lua libs

Finally get rid of compiled lua libs, an artifact from the past.  Also
remove the confusion around "e2local" which was just e2lib and other
modules bunched together in the past.

Following the removal of e2local, we can also get rid of loading
compiled lua bytecode, except where needed for backwards compatibility.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove the collections module
Tobias Ulmer [Thu, 9 Aug 2012 08:29:31 +0000 (10:29 +0200)]
Remove the collections module

The single use of string.explode is replaced by an inline version of the
same functionality.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire the plugin module
Tobias Ulmer [Wed, 8 Aug 2012 14:00:18 +0000 (16:00 +0200)]
Require the plugin module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation
Tobias Ulmer [Wed, 8 Aug 2012 13:59:46 +0000 (15:59 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange the plugin module to a more encapsulated type
Tobias Ulmer [Wed, 8 Aug 2012 13:57:23 +0000 (15:57 +0200)]
Change the plugin module to a more encapsulated type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAdd copyright header in plugin module
Tobias Ulmer [Wed, 8 Aug 2012 12:45:30 +0000 (14:45 +0200)]
Add copyright header in plugin module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire err module, change new_error() to err.new()
Tobias Ulmer [Wed, 8 Aug 2012 12:39:34 +0000 (14:39 +0200)]
Require err module, change new_error() to err.new()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoSync documentation, new_error() is no more
Tobias Ulmer [Wed, 8 Aug 2012 12:37:28 +0000 (14:37 +0200)]
Sync documentation, new_error() is no more

12 years agoFix indentation
Tobias Ulmer [Wed, 8 Aug 2012 12:36:59 +0000 (14:36 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange the err module to a more encapsulated type
Tobias Ulmer [Wed, 8 Aug 2012 12:19:19 +0000 (14:19 +0200)]
Change the err module to a more encapsulated type

Also rename new_error() to err.new() and remove it from the global
environment.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove lua-version-map.lua.in, it appears to be unused
Tobias Ulmer [Tue, 7 Aug 2012 14:25:30 +0000 (16:25 +0200)]
Remove lua-version-map.lua.in, it appears to be unused

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation
Tobias Ulmer [Tue, 7 Aug 2012 14:17:07 +0000 (16:17 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire luafile
Tobias Ulmer [Tue, 7 Aug 2012 14:10:48 +0000 (16:10 +0200)]
Require luafile

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange the luafile module to a more encapsulated type
Tobias Ulmer [Tue, 7 Aug 2012 14:10:24 +0000 (16:10 +0200)]
Change the luafile module to a more encapsulated type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation
Tobias Ulmer [Tue, 7 Aug 2012 13:02:39 +0000 (15:02 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation
Tobias Ulmer [Tue, 7 Aug 2012 12:31:17 +0000 (14:31 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire the tools module where needed
Tobias Ulmer [Tue, 7 Aug 2012 12:18:40 +0000 (14:18 +0200)]
Require the tools module where needed

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange the tools module to a more encapsulated type
Tobias Ulmer [Tue, 7 Aug 2012 12:17:58 +0000 (14:17 +0200)]
Change the tools module to a more encapsulated type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation
Tobias Ulmer [Tue, 7 Aug 2012 10:39:28 +0000 (12:39 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire the transport module where needed
Tobias Ulmer [Tue, 7 Aug 2012 10:37:32 +0000 (12:37 +0200)]
Require the transport module where needed

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoMark return vars as local
Tobias Ulmer [Tue, 7 Aug 2012 10:25:55 +0000 (12:25 +0200)]
Mark return vars as local

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire the url module where needed
Tobias Ulmer [Tue, 7 Aug 2012 10:03:17 +0000 (12:03 +0200)]
Require the url module where needed

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange url module to a more encapsulated type
Tobias Ulmer [Tue, 7 Aug 2012 09:54:10 +0000 (11:54 +0200)]
Change url module to a more encapsulated type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire lock module where needed
Tobias Ulmer [Tue, 7 Aug 2012 08:47:27 +0000 (10:47 +0200)]
Require lock module where needed

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange lock module to the same encapsulated type
Tobias Ulmer [Tue, 7 Aug 2012 08:15:48 +0000 (10:15 +0200)]
Change lock module to the same encapsulated type

While there, unify indentation and add the license header

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoUnify indentation
Tobias Ulmer [Tue, 7 Aug 2012 07:44:29 +0000 (09:44 +0200)]
Unify indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoExplicity require generic_git
Tobias Ulmer [Tue, 7 Aug 2012 07:33:55 +0000 (09:33 +0200)]
Explicity require generic_git

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange generic_git module to a more encapsulated type
Tobias Ulmer [Tue, 7 Aug 2012 07:32:34 +0000 (09:32 +0200)]
Change generic_git module to a more encapsulated type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoCollect unused function impairs()
Tobias Ulmer [Mon, 6 Aug 2012 15:42:19 +0000 (17:42 +0200)]
Collect unused function impairs()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoCVS module requires hash as well
Tobias Ulmer [Mon, 6 Aug 2012 15:29:51 +0000 (17:29 +0200)]
CVS module requires hash as well

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAdd luadoc for cache.valid_server()
Tobias Ulmer [Mon, 6 Aug 2012 09:51:38 +0000 (11:51 +0200)]
Add luadoc for cache.valid_server()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoUnify indentation
Tobias Ulmer [Mon, 6 Aug 2012 09:13:08 +0000 (11:13 +0200)]
Unify indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorequire cache module explicitly
Tobias Ulmer [Mon, 6 Aug 2012 09:09:39 +0000 (11:09 +0200)]
require cache module explicitly

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange cache module to better protected type
Tobias Ulmer [Mon, 6 Aug 2012 09:08:25 +0000 (11:08 +0200)]
Change cache module to better protected type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove disabled debug code in cache.new_cache()
Tobias Ulmer [Sat, 4 Aug 2012 01:22:37 +0000 (03:22 +0200)]
Remove disabled debug code in cache.new_cache()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocache.servers(): l should be declared 'local'
Tobias Ulmer [Sat, 4 Aug 2012 00:41:45 +0000 (02:41 +0200)]
cache.servers(): l should be declared 'local'

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove unnecessary executable permission bits
Tobias Ulmer [Sat, 4 Aug 2012 00:38:25 +0000 (02:38 +0200)]
Remove unnecessary executable permission bits

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoUnify indentation
Tobias Ulmer [Mon, 6 Aug 2012 09:47:16 +0000 (11:47 +0200)]
Unify indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange hash module to a more protected type
Tobias Ulmer [Fri, 3 Aug 2012 14:45:27 +0000 (16:45 +0200)]
Change hash module to a more protected type

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoDon't cat with nonexisting error object, fixes #999
Tobias Ulmer [Fri, 3 Aug 2012 10:03:29 +0000 (12:03 +0200)]
Don't cat with nonexisting error object, fixes #999

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoIn tracer(), limit strings to 800 chars & make output less redundant
Tobias Ulmer [Thu, 2 Aug 2012 15:31:25 +0000 (17:31 +0200)]
In tracer(), limit strings to 800 chars & make output less redundant

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove defect call to sha1sum and replace it with hash_file()
Tobias Ulmer [Thu, 2 Aug 2012 15:29:17 +0000 (17:29 +0200)]
Remove defect call to sha1sum and replace it with hash_file()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoImprove hash module
Tobias Ulmer [Thu, 2 Aug 2012 15:24:12 +0000 (17:24 +0200)]
Improve hash module

Update sha1 ctx every 64KB instead of consuming memory until the final
step.

Add a hash_file() function which takes a path and hashes its content.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agomemset() is not needed, and size argument was wrong anyway
Tobias Ulmer [Thu, 2 Aug 2012 14:04:53 +0000 (16:04 +0200)]
memset() is not needed, and size argument was wrong anyway

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoMove tools that don't need variable fixups
Tobias Ulmer [Wed, 1 Aug 2012 17:15:29 +0000 (19:15 +0200)]
Move tools that don't need variable fixups

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix: fname should be local
Tobias Ulmer [Wed, 1 Aug 2012 15:35:23 +0000 (17:35 +0200)]
Fix: fname should be local

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoGet rid of the duplicate e2-locate-project-root tool
Tobias Ulmer [Wed, 1 Aug 2012 14:13:07 +0000 (16:13 +0200)]
Get rid of the duplicate e2-locate-project-root tool

It is required during make local, at which point we have a global
installation and can therefore use the global tool.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove test directory, incomplete and unused
Tobias Ulmer [Wed, 1 Aug 2012 10:20:05 +0000 (12:20 +0200)]
Remove test directory, incomplete and unused

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove server-tools, unused
Tobias Ulmer [Wed, 1 Aug 2012 10:17:57 +0000 (12:17 +0200)]
Remove server-tools, unused

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove end-of-line white spaces
Tobias Ulmer [Wed, 1 Aug 2012 10:15:53 +0000 (12:15 +0200)]
Remove end-of-line white spaces

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoGenerate git tarball of e2factory during release
Tobias Ulmer [Wed, 25 Jul 2012 07:31:44 +0000 (09:31 +0200)]
Generate git tarball of e2factory during release

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove unused scripts
Tobias Ulmer [Tue, 24 Jul 2012 12:51:21 +0000 (14:51 +0200)]
Remove unused scripts

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Tue, 24 Jul 2012 11:52:19 +0000 (13:52 +0200)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.12 e2factory-2.3.12
Tobias Ulmer [Tue, 24 Jul 2012 11:52:19 +0000 (13:52 +0200)]
release e2factory-2.3.12

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Fri, 20 Jul 2012 14:00:56 +0000 (16:00 +0200)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.12rc1 e2factory-2.3.12rc1
Tobias Ulmer [Fri, 20 Jul 2012 14:00:56 +0000 (16:00 +0200)]
release e2factory-2.3.12rc1

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRewrite transport to allow for spaces in filenames
Tobias Ulmer [Thu, 19 Jul 2012 12:36:39 +0000 (14:36 +0200)]
Rewrite transport to allow for spaces in filenames

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoDon't pass unpredictable error strings as format string
Tobias Ulmer [Wed, 18 Jul 2012 12:13:19 +0000 (14:13 +0200)]
Don't pass unpredictable error strings as format string

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoDon't crash if module is nil
Tobias Ulmer [Fri, 13 Jul 2012 12:06:28 +0000 (14:06 +0200)]
Don't crash if module is nil

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRewrite verify_remote_fileid() to fix quoting issues
Tobias Ulmer [Thu, 12 Jul 2012 15:27:50 +0000 (17:27 +0200)]
Rewrite verify_remote_fileid() to fix quoting issues

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote arguments to git and sha1sum
Tobias Ulmer [Thu, 12 Jul 2012 15:01:13 +0000 (17:01 +0200)]
Quote arguments to git and sha1sum

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote arguments to cvs
Tobias Ulmer [Thu, 12 Jul 2012 14:46:15 +0000 (16:46 +0200)]
Quote arguments to cvs

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoInstead of crashing, error out when no build number server is configured
Tobias Ulmer [Thu, 12 Jul 2012 14:24:08 +0000 (16:24 +0200)]
Instead of crashing, error out when no build number server is configured

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote arguments to git
Tobias Ulmer [Thu, 12 Jul 2012 14:18:05 +0000 (16:18 +0200)]
Quote arguments to git

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoscp is a valid transport for subversion
Tobias Ulmer [Thu, 12 Jul 2012 14:15:13 +0000 (16:15 +0200)]
scp is a valid transport for subversion

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove logging in shquote()
Tobias Ulmer [Thu, 12 Jul 2012 09:04:07 +0000 (11:04 +0200)]
Remove logging in shquote()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix typo
Tobias Ulmer [Thu, 12 Jul 2012 09:03:19 +0000 (11:03 +0200)]
Fix typo

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoImprove svn transport error message
Tobias Ulmer [Tue, 10 Jul 2012 14:49:33 +0000 (16:49 +0200)]
Improve svn transport error message

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAlign error messages
Tobias Ulmer [Tue, 10 Jul 2012 14:48:56 +0000 (16:48 +0200)]
Align error messages

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoImprove module guessing
Tobias Ulmer [Tue, 10 Jul 2012 14:09:32 +0000 (16:09 +0200)]
Improve module guessing

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange e2build to the new calling convention for e2lib tools
Tobias Ulmer [Tue, 10 Jul 2012 13:33:42 +0000 (15:33 +0200)]
Change e2build to the new calling convention for e2lib tools

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote paths in e2-install-e2
Tobias Ulmer [Tue, 10 Jul 2012 13:30:59 +0000 (15:30 +0200)]
Quote paths in e2-install-e2

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote most of generic_git
Tobias Ulmer [Tue, 10 Jul 2012 13:27:59 +0000 (15:27 +0200)]
Quote most of generic_git

This module needs to be changed over to e2lib.git() or similar

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove e2lib.estring(), it's not in use
Tobias Ulmer [Tue, 10 Jul 2012 13:19:37 +0000 (15:19 +0200)]
Remove e2lib.estring(), it's not in use

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote tool in e2lib.get_sys_arch() and add docstring
Tobias Ulmer [Tue, 10 Jul 2012 13:18:24 +0000 (15:18 +0200)]
Quote tool in e2lib.get_sys_arch() and add docstring

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange e2lib e2_su(), e2_su_2_2(), and tar() over to argument vectors
Tobias Ulmer [Tue, 10 Jul 2012 13:16:47 +0000 (15:16 +0200)]
Change e2lib e2_su(), e2_su_2_2(), and tar() over to argument vectors

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoQuote e2lib.sha1sum() argument and improve error messages
Tobias Ulmer [Tue, 10 Jul 2012 13:15:24 +0000 (15:15 +0200)]
Quote e2lib.sha1sum() argument and improve error messages

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange e2lib curl(), ssh(), scp(), rsync(), gzip(), cat()
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>
12 years agoQuote most e2lib.git() parameters
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>
12 years agoQuote dir in e2lib.mkdir()
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>
12 years agoIn e2-new-source, quote arguments for sha1sum, curl, and mv
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>
12 years agoIn e2-install-e2, quote install_prefix
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>
12 years agoFixup argument passing to the e2lib.svn() function
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>
12 years agoChange e2lib.svn() to take an argument vector instead of a string
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>
12 years agoAdd call_tool_argv(), which takes separated arguments in a table
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>
12 years agoIn call_tool(), check cmd instead of tool
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>
12 years agoIn tracer(), log the suspected module name as well
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>
12 years agoRemove append_to_file(), unused
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>
12 years agoPermit any character in URIs, not just non-whitespace ones
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>
12 years agoIntroduce e2lib.shquote() to quote strings that are passed to a shell
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>
12 years agoHook every function and log its call
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>
12 years agoWrite log messages into a buffer until the log file is open
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>
12 years agoFix cache debug logging
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>
13 years agocreate next changelog entry
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>
13 years agorelease e2factory-2.3.11 e2factory-2.3.11
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>
13 years agoAllow using sudo during make install, for development
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>
14 years agoDon't use a bash specific construct for expanding directory names
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>
14 years agoadd next Changelog entry
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>