]>
git.e2factory.org Git - e2factory.git/log
Tobias Ulmer [Fri, 14 Dec 2012 12:14:55 +0000 (13:14 +0100)]
Remove store-run-log server
This was presumably used to log e2 command usage internally to ease
debugging in the early stage of e2factory. It's not needed anymore.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 14 Dec 2012 11:58:45 +0000 (12:58 +0100)]
Remove e2-build-numbers command.
This tool has not been in use for years. So now is the time to remove
it. For backwards compatibility, the symlink is still installed, and a
small replacement tool prints out an error message, should anyone try to
use it.
The server component can go away as well.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Dec 2012 18:55:18 +0000 (19:55 +0100)]
repair bomb() calls
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Dec 2012 18:36:58 +0000 (19:36 +0100)]
Partial rewrite of e2-new-source
Lots of bug fixes and improved error messages.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Dec 2012 18:34:32 +0000 (19:34 +0100)]
Install digest module
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Dec 2012 18:26:11 +0000 (19:26 +0100)]
Add digest, a message digest handling module.
Digest allows creation, verification, computation, parsing and writing
message digest as created and read by sha1sum and similar programs.
Currently MD5 support is incomplete (need MD5 module first).
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Dec 2012 18:24:34 +0000 (19:24 +0100)]
Add e2lib.join(), a function that joins path components
Inspired by Python's os.path.join
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Dec 2012 18:24:04 +0000 (19:24 +0100)]
Fix typos
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 12 Dec 2012 01:12:35 +0000 (02:12 +0100)]
Add module descriptions and fix small ldoc errors
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 12 Dec 2012 00:47:56 +0000 (01:47 +0100)]
Generate developer docs with our local ldoc
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Dec 2012 11:41:36 +0000 (12:41 +0100)]
Import luafilesystem 1.6.2
https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-1.6.2.tar.gz
Tobias Ulmer [Wed, 5 Dec 2012 18:31:21 +0000 (19:31 +0100)]
Import Penlight, a dependency of LDoc
https://github.com/stevedonovan/Penlight/
git ref:
b8e56fffb6 tag: 1.0.2
Tobias Ulmer [Wed, 5 Dec 2012 18:26:57 +0000 (19:26 +0100)]
Import LDoc 1.2.0
https://github.com/stevedonovan/LDoc/
git ref:
9bf51e3294 tag: 1.2.0
Tobias Ulmer [Wed, 28 Nov 2012 17:31:06 +0000 (18:31 +0100)]
Clean up pathname operations
* document dirname() in luadoc style
* document basename() in luadoc style. Drop the optional extension
stripping capability, since nothing seems to use it.
* there are no users of splitpath(), drop it.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Fabian Godehardt [Mon, 17 Sep 2012 06:37:04 +0000 (08:37 +0200)]
local/e2-new-source.lua: check if file is already on the server
If we try to create a new source, using the "--files" parameter
then we now check if a file with the same name is already on the
server.
Before this patch, it was possible to overwrite an existing file
without any notifications.
e2-new-source aborts now if a file with the same name already exists.
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Fri, 14 Sep 2012 08:15:44 +0000 (10:15 +0200)]
local/e2-new-source.lua: make sure curl can return an error value on file download
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Wed, 19 Sep 2012 05:34:35 +0000 (07:34 +0200)]
e2build: abort if there is a non regular file in proj/init
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Tue, 18 Sep 2012 12:10:14 +0000 (14:10 +0200)]
cvs: quote revision tag properly
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Tue, 18 Sep 2012 08:20:12 +0000 (10:20 +0200)]
e2lib.tar() takes an argument vector
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Tue, 18 Sep 2012 07:59:47 +0000 (09:59 +0200)]
svn: use scm.generic_source_check()
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Thu, 13 Sep 2012 12:16:18 +0000 (14:16 +0200)]
build.sh: do not attempt to copy nonexisting files
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Thu, 13 Sep 2012 10:46:31 +0000 (12:46 +0200)]
e2build: fixup collect-project functionality
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Fabian Godehardt [Thu, 13 Sep 2012 10:45:44 +0000 (12:45 +0200)]
e2tool: export e2tool.resultdir(), needed for collect-project
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Conflicts:
local/e2tool.lua
Tobias Ulmer [Mon, 26 Nov 2012 15:17:43 +0000 (16:17 +0100)]
Remove global e2ssh tool
Unused since dinosaurs roamed the earth. There are plenty of other ways
to add arguments to the default ssh tool.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 22 Nov 2012 15:20:30 +0000 (16:20 +0100)]
url: lock url objects against unwanted members
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 23 Nov 2012 17:44:28 +0000 (18:44 +0100)]
strict: change API to support fields with nil values
Previously, locked tables could not contain members set to nil,
since Lua is a bit confused about setting something to nil versus it not
existing at all.
Also all members are renamed fields, since "member" is an OO concept,
but the strict module doesn't particularily deal with objects.
The documentation was also slightly improved.
strict.unlock is now implemented, but still untested.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 21 Nov 2012 16:57:16 +0000 (17:57 +0100)]
new-source: remove unhandled --checksum-file opt
While it could be specified, it didn't do anything in particular. While
there, also fix the documentation.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 15 Nov 2012 13:42:20 +0000 (14:42 +0100)]
fix broken error handling in transport.push_file()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 14 Nov 2012 18:22:54 +0000 (19:22 +0100)]
cvs: improve error message and handle scp transports
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 14 Nov 2012 18:21:00 +0000 (19:21 +0100)]
transport: improve error message and logging
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 14 Nov 2012 18:17:37 +0000 (19:17 +0100)]
improve error messages when creating git repos
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Nov 2012 12:34:17 +0000 (13:34 +0100)]
add http/https support to verify_remote_fileid()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Nov 2012 10:52:23 +0000 (11:52 +0100)]
add http/https transport support to the git interface
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 8 Nov 2012 18:59:46 +0000 (19:59 +0100)]
use the tools module instead of hardcoding chown
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Nov 2012 14:39:44 +0000 (15:39 +0100)]
replace custom mv() with e2lib.mv(), fix error message
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Nov 2012 14:37:59 +0000 (15:37 +0100)]
e2lib.mv(): it's safer to pass arguments in a vector
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 17 Sep 2012 12:09:44 +0000 (14:09 +0200)]
add bzip2 to the required tools
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 17 Sep 2012 12:03:36 +0000 (14:03 +0200)]
Remove dead code from e2tool
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 17 Sep 2012 10:29:38 +0000 (12:29 +0200)]
e2lib: remove unused compute_hash()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 17 Sep 2012 10:22:13 +0000 (12:22 +0200)]
e2build build_process: remove prio field, unused
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 17 Sep 2012 10:21:19 +0000 (12:21 +0200)]
e2lib.directory: readable formatting
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Fabian Godehardt [Thu, 13 Sep 2012 10:42:51 +0000 (12:42 +0200)]
generic/transport.lua: fixup curl support for http/https file transfer
Signed-off-by: Fabian Godehardt <fg@emlix.com>
Tobias Ulmer [Mon, 10 Sep 2012 17:56:19 +0000 (19:56 +0200)]
Remove e2-su and e2-root
e2-su was used up until e2-2.2pre13 (never released to the public). It
was the only user of e2-root.lua.
e2factory until e2factory-2.3.12 will still check for the presence of
e2-su, therefore supply a small shellscript that makes previous versions
happy.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 7 Sep 2012 09:27:27 +0000 (11:27 +0200)]
e2-root does not need to be executable, trim cleanup files
e2-root is called via e2, does not need to be an executable script. It's
not an entry point into e2factory.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 7 Sep 2012 09:26:01 +0000 (11:26 +0200)]
Don't "clean" the internal Lua directory, clean the build results
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Sep 2012 15:37:42 +0000 (17:37 +0200)]
rename e2-root.lua.in to e2-root.lua
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Sep 2012 15:28:43 +0000 (17:28 +0200)]
Remove outdated lua.tar.gz documentation part
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Sep 2012 15:27:15 +0000 (17:27 +0200)]
Change the way we build Lua
We're now using the internal version of Lua, and set LUA_PATH correctly.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Sep 2012 10:58:47 +0000 (12:58 +0200)]
Nothing to replace e2.lua.in anymore, move to its real name
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Sep 2012 10:57:07 +0000 (12:57 +0200)]
Do not set package.(c)path, lua does that for us
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 6 Sep 2012 10:50:31 +0000 (12:50 +0200)]
Allow adjustment LUA_PATH_DEFAULT and LUA_CPATH_DEFAULT
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 5 Sep 2012 14:06:04 +0000 (16:06 +0200)]
vanilla lua-5.1.3.tar.gz
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 4 Sep 2012 12:11:07 +0000 (14:11 +0200)]
Lock all modules and plugins with strict.lock()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 4 Sep 2012 12:07:58 +0000 (14:07 +0200)]
Use strict module, but allow plugins
Plugins needs permission to create a plugin_descriptor table in the
global environment. Permit this until we have extracted the necessary
information.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 4 Sep 2012 12:07:01 +0000 (14:07 +0200)]
Use strict module, but still allow for extending the scm interface
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 4 Sep 2012 12:06:12 +0000 (14:06 +0200)]
Use strict module, lock global env and default packages
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 4 Sep 2012 12:03:28 +0000 (14:03 +0200)]
Don't try to find a "print" field in a string, make sure it's a table
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 4 Sep 2012 09:54:17 +0000 (11:54 +0200)]
Rewrite the strict module.
Provide functions to lock tables, declare members etc.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 31 Aug 2012 12:57:55 +0000 (14:57 +0200)]
Mark global symbols 'local'
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 30 Aug 2012 14:55:05 +0000 (16:55 +0200)]
Synchronize e2.conf templates
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 13 Jan 2012 17:33:40 +0000 (18:33 +0100)]
correct typo in global-version
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 30 Aug 2012 11:04:43 +0000 (13:04 +0200)]
Require e2tool
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 30 Aug 2012 11:01:51 +0000 (13:01 +0200)]
Change e2tool module to a better encapsulated type
Rearrange functions to allow marking as many as possible 'local'.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 29 Aug 2012 13:31:38 +0000 (15:31 +0200)]
e2tool: strict is loaded via e2lib, cache is not needed
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 29 Aug 2012 11:36:05 +0000 (13:36 +0200)]
Require environment
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 29 Aug 2012 11:35:13 +0000 (13:35 +0200)]
Change environment module to a better encapsulated type
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 15:00:35 +0000 (17:00 +0200)]
Replace direct sha1 calls with the hash module
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 14:33:24 +0000 (16:33 +0200)]
Add copyright notice
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 14:32:01 +0000 (16:32 +0200)]
Fix indentation of environment module
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 12:16:15 +0000 (14:16 +0200)]
Require policy module and adapt usage
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 12:13:50 +0000 (14:13 +0200)]
Change policy module to a better encapsulated type
Change default_build_mode to a function call, mark helper functions as
local, remove unused functions
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 10:05:59 +0000 (12:05 +0200)]
Fix indentation of policy module
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 09:57:53 +0000 (11:57 +0200)]
Fix indentation of e2tool
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 09:45:46 +0000 (11:45 +0200)]
Remove unused functions
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 09:42:34 +0000 (11:42 +0200)]
Fix indentation of e2build.lua
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 09:39:34 +0000 (11:39 +0200)]
Require e2build, remove where not needed
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 28 Aug 2012 09:37:32 +0000 (11:37 +0200)]
Change e2build module to a better encapsulated type
Reorder local functions to allow marking them local, comment unused
functions
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 23 Aug 2012 11:00:35 +0000 (13:00 +0200)]
Remove nonsensical comments
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 23 Aug 2012 10:57:43 +0000 (12:57 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Aug 2012 14:33:42 +0000 (16:33 +0200)]
Install cvs, files, git and svn as plugins
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Aug 2012 14:32:31 +0000 (16:32 +0200)]
Don't require() plugins, they are loaded via the plugin interface
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Aug 2012 14:31:37 +0000 (16:31 +0200)]
Make real plugins out of cvs, files, git and svn
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Aug 2012 14:27:40 +0000 (16:27 +0200)]
Move git.git_remote_add() to generic_git module
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Aug 2012 14:25:46 +0000 (16:25 +0200)]
Move generic source functions from git to scm
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Aug 2012 14:17:27 +0000 (16:17 +0200)]
Initialize plugins in topological order, add dependency mechanism
For one plugin to depend on another plugin, add a depends table to its
plugin descriptor and fill it with the filenames of other plugins.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 13:43:49 +0000 (15:43 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 13:24:24 +0000 (15:24 +0200)]
Require scm
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 20 Aug 2012 13:24:00 +0000 (15:24 +0200)]
Change scm module to a better encapsulated type
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>