]>
git.e2factory.org Git - e2factory.git/log
Tobias Ulmer [Mon, 20 Aug 2012 12:14:23 +0000 (14:14 +0200)]
Rename local tools for better identification in the source tree
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 11:02:39 +0000 (13:02 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 10:45:12 +0000 (12:45 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 09:57:28 +0000 (11:57 +0200)]
Improve e2option documentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 09:41:29 +0000 (11:41 +0200)]
Remove unused e2option.command() support
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 09:39:46 +0000 (11:39 +0200)]
Remove unused variable program_name
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 09:37:28 +0000 (11:37 +0200)]
Remove opts.arguments and access arguments directly
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 09:02:08 +0000 (11:02 +0200)]
Remove confusing warning message
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 17 Aug 2012 14:07:01 +0000 (16:07 +0200)]
Rewrite userdefaultoptions() to give it a chance of working, fixes #1015
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 17 Aug 2012 12:27:09 +0000 (14:27 +0200)]
Tighten argument parsing, fixes #1010
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 16 Aug 2012 16:39:00 +0000 (18:39 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 15 Aug 2012 14:49:15 +0000 (16:49 +0200)]
Use same array index style as everywhere else
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 15 Aug 2012 14:48:14 +0000 (16:48 +0200)]
Use stat() in isdir(), invert logic in isfile()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 15 Aug 2012 14:09:52 +0000 (16:09 +0200)]
Remove buggy get_first_val(), rewrite only place it was used
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 15 Aug 2012 12:58:52 +0000 (14:58 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 15 Aug 2012 12:29:40 +0000 (14:29 +0200)]
Require e2lib
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 15 Aug 2012 12:07:27 +0000 (14:07 +0200)]
Change e2lib module to a better encapsulated type
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 13 Aug 2012 10:27:57 +0000 (12:27 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 13 Aug 2012 10:20:07 +0000 (12:20 +0200)]
Require e2option
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 13 Aug 2012 10:19:16 +0000 (12:19 +0200)]
Change e2option module to a better encapsulated type
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 13 Aug 2012 10:16:56 +0000 (12:16 +0200)]
Inline init_plugin() and exit_plugin()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
Tobias Ulmer [Wed, 8 Aug 2012 13:59:46 +0000 (15:59 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
Tobias Ulmer [Wed, 8 Aug 2012 12:37:28 +0000 (14:37 +0200)]
Sync documentation, new_error() is no more
Tobias Ulmer [Wed, 8 Aug 2012 12:36:59 +0000 (14:36 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
Tobias Ulmer [Tue, 7 Aug 2012 14:17:07 +0000 (16:17 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 7 Aug 2012 14:10:48 +0000 (16:10 +0200)]
Require luafile
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
Tobias Ulmer [Tue, 7 Aug 2012 13:02:39 +0000 (15:02 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 7 Aug 2012 12:31:17 +0000 (14:31 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
Tobias Ulmer [Tue, 7 Aug 2012 10:39:28 +0000 (12:39 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Tue, 7 Aug 2012 07:44:29 +0000 (09:44 +0200)]
Unify indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
Tobias Ulmer [Mon, 6 Aug 2012 09:13:08 +0000 (11:13 +0200)]
Unify indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
Tobias Ulmer [Mon, 6 Aug 2012 09:47:16 +0000 (11:47 +0200)]
Unify indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Tue, 24 Jul 2012 12:51:21 +0000 (14:51 +0200)]
Remove unused scripts
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Thu, 12 Jul 2012 09:03:19 +0000 (11:03 +0200)]
Fix typo
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
Tobias Ulmer [Tue, 10 Jul 2012 14:48:56 +0000 (16:48 +0200)]
Align error messages
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jul 2012 14:09:32 +0000 (16:09 +0200)]
Improve module guessing
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
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>
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>