]> git.e2factory.org Git - e2factory.git/log
e2factory.git
8 years agoRemove e2lib.git() for good
Tobias Ulmer [Tue, 5 Nov 2013 19:33:07 +0000 (20:33 +0100)]
Remove e2lib.git() for good

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAll generic_git.git_rev_list1() users are gone, delete it
Tobias Ulmer [Tue, 5 Nov 2013 19:32:17 +0000 (20:32 +0100)]
All generic_git.git_rev_list1() users are gone, delete it

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoIn git.check_workingcopy(), use lookup_id to find the branch
Tobias Ulmer [Tue, 5 Nov 2013 19:31:33 +0000 (20:31 +0100)]
In git.check_workingcopy(), use lookup_id to find the branch

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoSync fetch_source with fetch-project, use lookup_id and clean up
Tobias Ulmer [Tue, 5 Nov 2013 19:29:57 +0000 (20:29 +0100)]
Sync fetch_source with fetch-project, use lookup_id and clean up

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoOverhaul git.update() making use of the work in generic_git
Tobias Ulmer [Tue, 5 Nov 2013 19:21:25 +0000 (20:21 +0100)]
Overhaul git.update() making use of the work in generic_git

Update does not create merge commits any more. This change requires a
git version supporting git merge --ff-only. Tested with version 1.6.6.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit.git_commit_id(): use lookup_id() function
Tobias Ulmer [Tue, 5 Nov 2013 19:19:37 +0000 (20:19 +0100)]
git.git_commit_id(): use lookup_id() function

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse absolute GIT_DIR path, decouple errors from dirty/mismatch flag
Tobias Ulmer [Tue, 5 Nov 2013 19:17:10 +0000 (20:17 +0100)]
Use absolute GIT_DIR path, decouple errors from dirty/mismatch flag

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoSimplify generic_git.verify_remote_tag() using new lookup functions
Tobias Ulmer [Tue, 5 Nov 2013 19:14:07 +0000 (20:14 +0100)]
Simplify generic_git.verify_remote_tag() using new lookup functions

Gets rid of the temporary remote tag that could potentially destroy a
valid tag if there was a name collision.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace e2lib.git() with generic_git functions.
Tobias Ulmer [Tue, 5 Nov 2013 19:12:04 +0000 (20:12 +0100)]
Replace e2lib.git() with generic_git functions.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd generic_git.lookup_id() and lookup_ref()
Tobias Ulmer [Tue, 5 Nov 2013 19:06:07 +0000 (20:06 +0100)]
Add generic_git.lookup_id() and lookup_ref()

Interface to provide translation between a git reference and git
commit ID.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoFix git name and note the oldest supported git version.
Tobias Ulmer [Tue, 5 Nov 2013 15:41:31 +0000 (16:41 +0100)]
Fix git name and note the oldest supported git version.

Older versions should still work, but fetch-sources --update uses
--ff-only which does not exist in earlier versions.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse git_checkout() instead of hand-rolled solution
Tobias Ulmer [Fri, 1 Nov 2013 15:46:12 +0000 (16:46 +0100)]
Use git_checkout() instead of hand-rolled solution

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-install-e2: make destdir an absolute path
Tobias Ulmer [Thu, 31 Oct 2013 20:38:02 +0000 (21:38 +0100)]
e2-install-e2: make destdir an absolute path

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-project: make p.destdir an absolute path
Tobias Ulmer [Thu, 31 Oct 2013 20:29:36 +0000 (21:29 +0100)]
e2-fetch-project: make p.destdir an absolute path

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoWean e2-create-project off of e2lib.git and use generic_git
Tobias Ulmer [Thu, 31 Oct 2013 19:50:00 +0000 (20:50 +0100)]
Wean e2-create-project off of e2lib.git and use generic_git

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd git_commit_id() function to git SCM plugin and clean up
Tobias Ulmer [Wed, 30 Oct 2013 14:09:48 +0000 (15:09 +0100)]
Add git_commit_id() function to git SCM plugin and clean up

This function may come handy in other plugins. Makes use of the
fixed generic_git.git_rev_list1() function.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoComplete overhaul of generic_git module
Tobias Ulmer [Thu, 31 Oct 2013 19:33:30 +0000 (20:33 +0100)]
Complete overhaul of generic_git module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd url.to_file_path()
Tobias Ulmer [Tue, 3 Dec 2013 13:54:44 +0000 (14:54 +0100)]
Add url.to_file_path()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove now unused e2lib.ssh(), improve ssh_remote_cmd()
Tobias Ulmer [Thu, 31 Oct 2013 13:03:55 +0000 (14:03 +0100)]
Remove now unused e2lib.ssh(), improve ssh_remote_cmd()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse ssh_remote_cmd() to create directory
Tobias Ulmer [Wed, 30 Oct 2013 19:06:30 +0000 (20:06 +0100)]
Use ssh_remote_cmd() to create directory

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd ssh_remote_cmd(), a wrapper for executing commands remotely
Tobias Ulmer [Wed, 30 Oct 2013 18:11:13 +0000 (19:11 +0100)]
Add ssh_remote_cmd(), a wrapper for executing commands remotely

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDocument url object fields some more
Tobias Ulmer [Wed, 30 Oct 2013 17:49:00 +0000 (18:49 +0100)]
Document url object fields some more

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAllow SCM modules to register interfaces not common to all modules
Tobias Ulmer [Tue, 29 Oct 2013 19:43:15 +0000 (20:43 +0100)]
Allow SCM modules to register interfaces not common to all modules

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoExtend documentation of e2lib.callcmd_capture()
Tobias Ulmer [Tue, 29 Oct 2013 15:02:28 +0000 (16:02 +0100)]
Extend documentation of e2lib.callcmd_capture()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoGenerate documentation for plugins again.
Tobias Ulmer [Tue, 29 Oct 2013 15:00:32 +0000 (16:00 +0100)]
Generate documentation for plugins again.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDo not mangle module name with an underscore in debug log
Tobias Ulmer [Mon, 28 Oct 2013 13:24:24 +0000 (14:24 +0100)]
Do not mangle module name with an underscore in debug log

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace write_file with eio.file_write()
Tobias Ulmer [Fri, 25 Oct 2013 15:48:47 +0000 (17:48 +0200)]
Replace write_file with eio.file_write()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoConvert write_extension_config() to eio and move into e2-create-project
Tobias Ulmer [Fri, 25 Oct 2013 10:33:28 +0000 (12:33 +0200)]
Convert write_extension_config() to eio and move into e2-create-project

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoMerge read_file() and read_template() into a local function
Tobias Ulmer [Thu, 24 Oct 2013 16:45:58 +0000 (18:45 +0200)]
Merge read_file() and read_template() into a local function

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace read_line with eio.file_read_line()
Tobias Ulmer [Thu, 24 Oct 2013 14:57:51 +0000 (16:57 +0200)]
Replace read_line with eio.file_read_line()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDisable tracing in parts of hash and eio module
Tobias Ulmer [Thu, 24 Oct 2013 10:33:00 +0000 (12:33 +0200)]
Disable tracing in parts of hash and eio module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd trace module, used for logging all function calls
Tobias Ulmer [Thu, 24 Oct 2013 10:28:17 +0000 (12:28 +0200)]
Add trace module, used for logging all function calls

Remove previous implementation from e2lib and move it into a
free-standing module. Extend so it can be disabled and enabled when
convenient.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRename luafile to EIO (Extended IO) remove confusing module/argument naming
Tobias Ulmer [Wed, 23 Oct 2013 16:56:25 +0000 (18:56 +0200)]
Rename luafile to EIO (Extended IO) remove confusing module/argument naming

No functional change

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse new luafile API and check for errors in more places
Tobias Ulmer [Wed, 23 Oct 2013 16:00:45 +0000 (18:00 +0200)]
Use new luafile API and check for errors in more places

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRewrite luafile
Tobias Ulmer [Wed, 23 Oct 2013 15:50:11 +0000 (17:50 +0200)]
Rewrite luafile

Turn into a "modern" module like the rest, document, add error
handling and remove all methods not in use by current code.
Remove object-style access like f:close() to increase grepability
of the code. Rename methods to their C equivalents.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove all of e2lib.touch() and friends
Tobias Ulmer [Tue, 8 Oct 2013 13:48:05 +0000 (15:48 +0200)]
Remove all of e2lib.touch() and friends

Replace one usage with basic open()/close() to create the chroot marker

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoImprove luafile documentation
Tobias Ulmer [Tue, 8 Oct 2013 13:46:32 +0000 (15:46 +0200)]
Improve luafile documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove chmod the tool.
Tobias Ulmer [Tue, 8 Oct 2013 12:31:33 +0000 (14:31 +0200)]
Remove chmod the tool.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoFixup e2lib.chmod() callers
Tobias Ulmer [Tue, 8 Oct 2013 12:29:30 +0000 (14:29 +0200)]
Fixup e2lib.chmod() callers

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace chmod tool by function call and document it
Tobias Ulmer [Tue, 8 Oct 2013 12:27:52 +0000 (14:27 +0200)]
Replace chmod tool by function call and document it

Swap arguments to be the same as chmod(2)

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUpdate e2lib.parse_mode() doc
Tobias Ulmer [Tue, 8 Oct 2013 12:26:59 +0000 (14:26 +0200)]
Update e2lib.parse_mode() doc

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd chmod function
Tobias Ulmer [Tue, 8 Oct 2013 12:25:40 +0000 (14:25 +0200)]
Add chmod function

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd octal number parsing to parse_mode, sprinkle some comments
Tobias Ulmer [Tue, 8 Oct 2013 12:25:07 +0000 (14:25 +0200)]
Add octal number parsing to parse_mode, sprinkle some comments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove E2_LOCAL_TAG and E2_LOCAL_BRANCH environment variables
Tobias Ulmer [Fri, 27 Sep 2013 16:41:32 +0000 (18:41 +0200)]
Remove E2_LOCAL_TAG and E2_LOCAL_BRANCH environment variables

Looks like these were initially used for automated tests.  The same
settings can now be made in e2.conf.

Nothing that I know of has known or used these environment variables, so
I consider it OK to "break" backwards compat.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove more obsolete tools
Tobias Ulmer [Fri, 27 Sep 2013 16:01:43 +0000 (18:01 +0200)]
Remove more obsolete tools

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDocument 3rd party sources for completeness
Tobias Ulmer [Fri, 27 Sep 2013 15:09:05 +0000 (17:09 +0200)]
Document 3rd party sources for completeness

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove unused mkdir tool entry
Tobias Ulmer [Fri, 27 Sep 2013 14:56:39 +0000 (16:56 +0200)]
Remove unused mkdir tool entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd new mkdir(), mkdir_recursive and parse_mode() functions
Tobias Ulmer [Fri, 27 Sep 2013 14:49:05 +0000 (16:49 +0200)]
Add new mkdir(), mkdir_recursive and parse_mode() functions

Replace all calls to the external mkdir tool with our own mkdir
code.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd errno module
Tobias Ulmer [Fri, 27 Sep 2013 14:24:32 +0000 (16:24 +0200)]
Add errno module

Translates magic errno numbers into sensible strings and back.

Will be used by some C interface functions whose error codes we
have to treat in other ways than just signaling a fatal error.

8 years agoAdd authors of e2factory
Tobias Ulmer [Fri, 27 Sep 2013 14:17:15 +0000 (16:17 +0200)]
Add authors of e2factory

Extracted from git log of the free software version as well as the
previous internal project.

Sorted by last year of contribution and primary contact/volume.
Active developers have an email address.

Sorry to all I forgot, please feel free to contact me to get added.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd basic luafile documentation
Tobias Ulmer [Thu, 29 Aug 2013 17:37:03 +0000 (19:37 +0200)]
Add basic luafile documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace e2lib.get_sys_arch() with uname_machine()
Tobias Ulmer [Thu, 29 Aug 2013 17:16:58 +0000 (19:16 +0200)]
Replace e2lib.get_sys_arch() with uname_machine()

No more parsing of uname output...

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoConsolidate e2util into e2lib, add error reporting and new functions
Tobias Ulmer [Thu, 29 Aug 2013 15:33:17 +0000 (17:33 +0200)]
Consolidate e2util into e2lib, add error reporting and new functions

Remove duplicate and unused functions. Add and verify error handling
on all call-sites of the new or renamed functions.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove all traces of e2lib.bomb
Tobias Ulmer [Fri, 12 Jul 2013 15:42:13 +0000 (17:42 +0200)]
Remove all traces of e2lib.bomb

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove call to e2lib.bomb()
Tobias Ulmer [Fri, 12 Jul 2013 14:56:07 +0000 (16:56 +0200)]
Remove call to e2lib.bomb()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove call to e2lib.bomb()
Tobias Ulmer [Fri, 12 Jul 2013 14:55:26 +0000 (16:55 +0200)]
Remove call to e2lib.bomb()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove calls to e2lib.bomb()
Tobias Ulmer [Fri, 12 Jul 2013 14:52:11 +0000 (16:52 +0200)]
Remove calls to e2lib.bomb()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUpdate e2lib.get_sys_arch() doc
Tobias Ulmer [Fri, 12 Jul 2013 14:34:30 +0000 (16:34 +0200)]
Update e2lib.get_sys_arch() doc

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove unused globals.terminal variable
Tobias Ulmer [Fri, 12 Jul 2013 14:19:47 +0000 (16:19 +0200)]
Remove unused globals.terminal variable

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUpdate e2lib.sha1sum documentation
Tobias Ulmer [Fri, 12 Jul 2013 14:17:58 +0000 (16:17 +0200)]
Update e2lib.sha1sum documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUpdate documentation of e2lib.call_tool
Tobias Ulmer [Fri, 12 Jul 2013 14:11:38 +0000 (16:11 +0200)]
Update documentation of e2lib.call_tool

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd error handling to tools module and all call sites
Tobias Ulmer [Fri, 12 Jul 2013 13:51:54 +0000 (15:51 +0200)]
Add error handling to tools module and all call sites

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace callcmd_capture with callcmd_log
Tobias Ulmer [Thu, 11 Jul 2013 12:54:56 +0000 (14:54 +0200)]
Replace callcmd_capture with callcmd_log

Cleanup and clarify error handling

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoModify callcmd_log() to return an error object
Tobias Ulmer [Thu, 11 Jul 2013 10:50:29 +0000 (12:50 +0200)]
Modify callcmd_log() to return an error object

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoSimplify autocapture()
Tobias Ulmer [Thu, 11 Jul 2013 10:50:00 +0000 (12:50 +0200)]
Simplify autocapture()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove unused global variable 'termwidth'
Tobias Ulmer [Wed, 10 Jul 2013 18:10:12 +0000 (20:10 +0200)]
Remove unused global variable 'termwidth'

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove unused global variable 'last_output'
Tobias Ulmer [Wed, 10 Jul 2013 18:09:19 +0000 (20:09 +0200)]
Remove unused global variable 'last_output'

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove e2lib.callcmd_redirect(), unused
Tobias Ulmer [Mon, 8 Jul 2013 14:11:12 +0000 (16:11 +0200)]
Remove e2lib.callcmd_redirect(), unused

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoMove e2-su-2.2.c in the ldoc config
Tobias Ulmer [Mon, 8 Jul 2013 14:09:19 +0000 (16:09 +0200)]
Move e2-su-2.2.c in the ldoc config

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace string.format with e2lib.join() for paths
Tobias Ulmer [Fri, 28 Jun 2013 14:41:42 +0000 (16:41 +0200)]
Replace string.format with e2lib.join() for paths

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoConvert buildconfig into a new-style module
Tobias Ulmer [Thu, 27 Jun 2013 13:01:58 +0000 (15:01 +0200)]
Convert buildconfig into a new-style module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.callcmd() is for internal use only, mark local
Tobias Ulmer [Wed, 26 Jun 2013 16:15:50 +0000 (18:15 +0200)]
e2lib.callcmd() is for internal use only, mark local

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoCleanup Makefiles, move files in the right place, stop abusing VPATH
Tobias Ulmer [Mon, 24 Jun 2013 15:46:13 +0000 (17:46 +0200)]
Cleanup Makefiles, move files in the right place, stop abusing VPATH

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoLock build_mode table, cleanup and document
Tobias Ulmer [Wed, 5 Jun 2013 17:07:19 +0000 (19:07 +0200)]
Lock build_mode table, cleanup and document

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUpdate result documentation
Tobias Ulmer [Wed, 5 Jun 2013 17:06:19 +0000 (19:06 +0200)]
Update result documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoHandle mkdir() errors in collect_project()
Tobias Ulmer [Thu, 30 May 2013 14:21:00 +0000 (16:21 +0200)]
Handle mkdir() errors in collect_project()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoGenerate Makefile with upper-case initial
Tobias Ulmer [Thu, 30 May 2013 14:14:42 +0000 (16:14 +0200)]
Generate Makefile with upper-case initial

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse e2lib.join() instead of string.format() to construct paths
Tobias Ulmer [Thu, 30 May 2013 14:11:27 +0000 (16:11 +0200)]
Use e2lib.join() instead of string.format() to construct paths

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove outdated phash/bhash documentation
Tobias Ulmer [Wed, 29 May 2013 17:55:07 +0000 (19:55 +0200)]
Remove outdated phash/bhash documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove build_config.env, duplicate data
Tobias Ulmer [Wed, 29 May 2013 17:28:54 +0000 (19:28 +0200)]
Remove build_config.env, duplicate data

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoBuild results without unused indirection via function table
Tobias Ulmer [Wed, 29 May 2013 16:03:19 +0000 (18:03 +0200)]
Build results without unused indirection via function table

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoMove reading chroot config into function, cleanup duplicates
Tobias Ulmer [Wed, 29 May 2013 15:55:14 +0000 (17:55 +0200)]
Move reading chroot config into function, cleanup duplicates

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDocument build_process table
Tobias Ulmer [Wed, 29 May 2013 15:53:56 +0000 (17:53 +0200)]
Document build_process table

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoFix indentation
Tobias Ulmer [Wed, 29 May 2013 14:56:50 +0000 (16:56 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoCleanup build_config() and update documentation
Tobias Ulmer [Wed, 29 May 2013 14:43:15 +0000 (16:43 +0200)]
Cleanup build_config() and update documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse info.project instead
Tobias Ulmer [Tue, 28 May 2013 14:44:17 +0000 (16:44 +0200)]
Use info.project instead

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoDocument and cleanup load_user_config()
Tobias Ulmer [Tue, 28 May 2013 13:19:23 +0000 (15:19 +0200)]
Document and cleanup load_user_config()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRepair, document and simplify gather_{source,result}_paths() functions
Tobias Ulmer [Mon, 27 May 2013 15:38:24 +0000 (17:38 +0200)]
Repair, document and simplify gather_{source,result}_paths() functions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove remnants of build-numbers support
Tobias Ulmer [Wed, 22 May 2013 13:05:06 +0000 (15:05 +0200)]
Remove remnants of build-numbers support

This also removes the E2_BUILD_NUMBER variable

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoFix indentation
Tobias Ulmer [Tue, 21 May 2013 17:19:05 +0000 (19:19 +0200)]
Fix indentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd error checking to directory() loops
Tobias Ulmer [Wed, 15 May 2013 18:03:13 +0000 (20:03 +0200)]
Add error checking to directory() loops

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRework directory() iterator to not use abort()
Tobias Ulmer [Wed, 15 May 2013 17:54:32 +0000 (19:54 +0200)]
Rework directory() iterator to not use abort()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove comments about abort
Tobias Ulmer [Wed, 8 May 2013 17:01:42 +0000 (19:01 +0200)]
Remove comments about abort

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdjust callers of e2lib.callcmd_pipe()
Tobias Ulmer [Wed, 8 May 2013 16:21:10 +0000 (18:21 +0200)]
Adjust callers of e2lib.callcmd_pipe()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRework callcmd_pipe() to not use abort()
Tobias Ulmer [Wed, 8 May 2013 15:43:37 +0000 (17:43 +0200)]
Rework callcmd_pipe() to not use abort()

Rename and restructure it a bit to make it more understandable

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoReplace abort() in guards of dofile2() with error()
Tobias Ulmer [Fri, 3 May 2013 13:08:30 +0000 (15:08 +0200)]
Replace abort() in guards of dofile2() with error()

Here error() is called in a protected environment. We get an error
message back instead of instantly terminating the program.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoCorrect buildid() documentation
Tobias Ulmer [Fri, 3 May 2013 11:20:53 +0000 (13:20 +0200)]
Correct buildid() documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove unused function check_workingcopies()
Tobias Ulmer [Fri, 3 May 2013 11:17:59 +0000 (13:17 +0200)]
Remove unused function check_workingcopies()

Reported by Thomas Brinker

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove unused parameters from e2tool.check_project_info()
Tobias Ulmer [Fri, 3 May 2013 11:16:31 +0000 (13:16 +0200)]
Remove unused parameters from e2tool.check_project_info()

Reported by Thomas Brinker

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove redundant p.server assignment
Tobias Ulmer [Fri, 3 May 2013 11:08:57 +0000 (13:08 +0200)]
Remove redundant p.server assignment

Reported by Thomas Brinker

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