]> git.e2factory.org Git - e2factory.git/log
e2factory.git
12 years agoFix typos
Tobias Ulmer [Thu, 13 Dec 2012 18:24:04 +0000 (19:24 +0100)]
Fix typos

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAdd module descriptions and fix small ldoc errors
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>
12 years agoGenerate developer docs with our local ldoc
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>
12 years agoImport luafilesystem 1.6.2
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

12 years agoImport Penlight, a dependency of LDoc
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

12 years agoImport LDoc 1.2.0
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

12 years agoClean up pathname operations
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>
12 years agolocal/e2-new-source.lua: check if file is already on the server
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>
12 years agolocal/e2-new-source.lua: make sure curl can return an error value on file download
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>
12 years agoe2build: abort if there is a non regular file in proj/init
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>
12 years agocvs: quote revision tag properly
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>
12 years agoe2lib.tar() takes an argument vector
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>
12 years agosvn: use scm.generic_source_check()
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>
12 years agobuild.sh: do not attempt to copy nonexisting files
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>
12 years agoe2build: fixup collect-project functionality
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>
12 years agoe2tool: export e2tool.resultdir(), needed for collect-project
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

12 years agoRemove global e2ssh tool
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>
12 years agourl: lock url objects against unwanted members
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>
12 years agostrict: change API to support fields with nil values
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>
12 years agonew-source: remove unhandled --checksum-file opt
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>
12 years agofix broken error handling in transport.push_file()
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>
12 years agocvs: improve error message and handle scp transports
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>
12 years agotransport: improve error message and logging
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>
12 years agoimprove error messages when creating git repos
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>
12 years agoadd http/https support to verify_remote_fileid()
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>
12 years agoadd http/https transport support to the git interface
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>
12 years agouse the tools module instead of hardcoding chown
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>
12 years agoreplace custom mv() with e2lib.mv(), fix error message
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>
12 years agoe2lib.mv(): it's safer to pass arguments in a vector
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>
12 years agoadd bzip2 to the required tools
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>
12 years agoRemove dead code from e2tool
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>
12 years agoe2lib: remove unused compute_hash()
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>
12 years agoe2build build_process: remove prio field, unused
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>
12 years agoe2lib.directory: readable formatting
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>
12 years agogeneric/transport.lua: fixup curl support for http/https file transfer
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>
12 years agoRemove e2-su and e2-root
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>
12 years agoe2-root does not need to be executable, trim cleanup files
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>
12 years agoDon't "clean" the internal Lua directory, clean the build results
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>
12 years agorename e2-root.lua.in to e2-root.lua
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>
12 years agoRemove outdated lua.tar.gz documentation part
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>
12 years agoChange the way we build Lua
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>
12 years agoNothing to replace e2.lua.in anymore, move to its real name
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>
12 years agoDo not set package.(c)path, lua does that for us
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>
12 years agoAllow adjustment LUA_PATH_DEFAULT and LUA_CPATH_DEFAULT
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>
12 years agovanilla lua-5.1.3.tar.gz
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>
12 years agoLock all modules and plugins with strict.lock()
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>
12 years agoUse strict module, but allow plugins
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>
12 years agoUse strict module, but still allow for extending the scm interface
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>
12 years agoUse strict module, lock global env and default packages
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>
12 years agoDon't try to find a "print" field in a string, make sure it's a table
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>
12 years agoRewrite the strict module.
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>
12 years agoMark global symbols 'local'
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>
12 years agoSynchronize e2.conf templates
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>
12 years agocorrect typo in global-version
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>
12 years agoRequire e2tool
Tobias Ulmer [Thu, 30 Aug 2012 11:04:43 +0000 (13:04 +0200)]
Require e2tool

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange e2tool module to a better encapsulated type
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>
12 years agoe2tool: strict is loaded via e2lib, cache is not needed
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>
12 years agoRequire environment
Tobias Ulmer [Wed, 29 Aug 2012 11:36:05 +0000 (13:36 +0200)]
Require environment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange environment module to a better encapsulated type
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>
12 years agoReplace direct sha1 calls with the hash module
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>
12 years agoAdd copyright notice
Tobias Ulmer [Tue, 28 Aug 2012 14:33:24 +0000 (16:33 +0200)]
Add copyright notice

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation of environment module
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>
12 years agoRequire policy module and adapt usage
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>
12 years agoChange policy module to a better encapsulated type
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>
12 years agoFix indentation of policy module
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>
12 years agoFix indentation of e2tool
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>
12 years agoRemove unused functions
Tobias Ulmer [Tue, 28 Aug 2012 09:45:46 +0000 (11:45 +0200)]
Remove unused functions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation of e2build.lua
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>
12 years agoRequire e2build, remove where not needed
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>
12 years agoChange e2build module to a better encapsulated type
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>
12 years agoRemove nonsensical comments
Tobias Ulmer [Thu, 23 Aug 2012 11:00:35 +0000 (13:00 +0200)]
Remove nonsensical comments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoFix indentation
Tobias Ulmer [Thu, 23 Aug 2012 10:57:43 +0000 (12:57 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoInstall cvs, files, git and svn as plugins
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>
12 years agoDon't require() plugins, they are loaded via the plugin interface
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>
12 years agoMake real plugins out of cvs, files, git and svn
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>
12 years agoMove git.git_remote_add() to generic_git module
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>
12 years agoMove generic source functions from git to scm
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>
12 years agoInitialize plugins in topological order, add dependency mechanism
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>
12 years agoFix indentation
Tobias Ulmer [Mon, 20 Aug 2012 13:43:49 +0000 (15:43 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire scm
Tobias Ulmer [Mon, 20 Aug 2012 13:24:24 +0000 (15:24 +0200)]
Require scm

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange scm module to a better encapsulated type
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>
12 years agoRename local tools for better identification in the source tree
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>
12 years agoFix indentation
Tobias Ulmer [Mon, 20 Aug 2012 11:02:39 +0000 (13:02 +0200)]
Fix indentation

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

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoImprove e2option documentation
Tobias Ulmer [Mon, 20 Aug 2012 09:57:28 +0000 (11:57 +0200)]
Improve e2option documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove unused e2option.command() support
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>
12 years agoRemove unused variable program_name
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>
12 years agoRemove opts.arguments and access arguments directly
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>
12 years agoRemove confusing warning message
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>
12 years agoRewrite userdefaultoptions() to give it a chance of working, fixes #1015
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>
12 years agoTighten argument parsing, fixes #1010
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>
12 years agoFix indentation
Tobias Ulmer [Thu, 16 Aug 2012 16:39:00 +0000 (18:39 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoUse same array index style as everywhere else
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>
12 years agoUse stat() in isdir(), invert logic in isfile()
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>
12 years agoRemove buggy get_first_val(), rewrite only place it was used
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>
12 years agoFix indentation
Tobias Ulmer [Wed, 15 Aug 2012 12:58:52 +0000 (14:58 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire e2lib
Tobias Ulmer [Wed, 15 Aug 2012 12:29:40 +0000 (14:29 +0200)]
Require e2lib

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoChange e2lib module to a better encapsulated type
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>
12 years agoFix indentation
Tobias Ulmer [Mon, 13 Aug 2012 10:27:57 +0000 (12:27 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire e2option
Tobias Ulmer [Mon, 13 Aug 2012 10:20:07 +0000 (12:20 +0200)]
Require e2option

Signed-off-by: Tobias Ulmer <tu@emlix.com>