]>
git.e2factory.org Git - e2factory.git/log
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Wed, 5 Jun 2013 17:06:19 +0000 (19:06 +0200)]
Update result documentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Wed, 29 May 2013 14:56:50 +0000 (16:56 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
Tobias Ulmer [Tue, 21 May 2013 17:19:05 +0000 (19:19 +0200)]
Fix indentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Fri, 3 May 2013 11:20:53 +0000 (13:20 +0200)]
Correct buildid() documentation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
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>
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>
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>
Tobias Ulmer [Fri, 3 May 2013 11:07:03 +0000 (13:07 +0200)]
Merge dofile_protected() into dofile2()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 29 Apr 2013 17:11:55 +0000 (19:11 +0200)]
remove unused e2lib.parse_versionfile()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 26 Apr 2013 14:46:01 +0000 (16:46 +0200)]
Add error handling to e2lib.mktempfile()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 26 Apr 2013 14:05:16 +0000 (16:05 +0200)]
Add error handling to e2lib.mktempdir()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 25 Apr 2013 16:47:16 +0000 (18:47 +0200)]
Rework error handling in parse_e2versionfile()
Remove e2_has_fixed_tag() its return values conflict with error
reporting and we can just inline the single use (minus the messages)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 25 Apr 2013 14:27:51 +0000 (16:27 +0200)]
Add error handling to e2lib.get_global_config()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 25 Apr 2013 14:12:41 +0000 (16:12 +0200)]
Add error handling to e2lib.init2()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 25 Apr 2013 13:14:59 +0000 (15:14 +0200)]
Make use_global_config() local and remove calls to abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 24 Apr 2013 15:44:45 +0000 (17:44 +0200)]
e2lib.init() can now return errors
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 22 Apr 2013 14:18:07 +0000 (16:18 +0200)]
Handle errors from e2option.parse()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 22 Apr 2013 14:14:17 +0000 (16:14 +0200)]
e2option: remove abort() wherever possible
Remaining calls to finish() and abort() should only affect command
arguments that are expected to exit the process immediately.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 17 Apr 2013 16:30:36 +0000 (18:30 +0200)]
generic_git: remove all calls to abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 17 Apr 2013 15:41:05 +0000 (17:41 +0200)]
plugin: remove call to abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 17 Apr 2013 14:22:20 +0000 (16:22 +0200)]
e2tool: select_result() now returns error instead of calling abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 17 Apr 2013 13:24:42 +0000 (15:24 +0200)]
e2tool: buildid() now returns error instead of calling abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 16 Apr 2013 14:37:26 +0000 (16:37 +0200)]
e2tool: remove abort() from projid() and pbuildid()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 16 Apr 2013 14:12:54 +0000 (16:12 +0200)]
e2tool: remove abort() from collect_project_info()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 16 Apr 2013 12:36:49 +0000 (14:36 +0200)]
cvs: remove e2lib.abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 16 Apr 2013 12:34:50 +0000 (14:34 +0200)]
files: remove elib.abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 16 Apr 2013 10:09:10 +0000 (12:09 +0200)]
policy: remove e2lib.abort()
handle_commandline_options() now return an err object
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 15 Apr 2013 17:35:36 +0000 (19:35 +0200)]
git: remove e2lib.abort()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 15 Apr 2013 17:30:52 +0000 (19:30 +0200)]
svn: remove e2lib.abort()
Tobias Ulmer [Mon, 15 Apr 2013 15:38:54 +0000 (17:38 +0200)]
Remove calls to e2lib.abort() in global tools
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 15 Apr 2013 13:55:58 +0000 (15:55 +0200)]
Remove calls to e2lib.abort() in local tools
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 12 Apr 2013 16:12:02 +0000 (18:12 +0200)]
Put local tools code into functions
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 11 Apr 2013 17:46:23 +0000 (19:46 +0200)]
Put global tool code into functions
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 12 Apr 2013 14:31:12 +0000 (16:31 +0200)]
Fix dsort module name
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 11 Apr 2013 16:50:15 +0000 (18:50 +0200)]
Format and remove log messages
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 19 Feb 2016 14:18:11 +0000 (15:18 +0100)]
git: fetch tags and pull ff-only
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 13 Oct 2015 17:34:00 +0000 (19:34 +0200)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 13 Oct 2015 17:34:00 +0000 (19:34 +0200)]
release e2factory-2.3.14p1
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 13 Oct 2015 17:30:46 +0000 (19:30 +0200)]
Document .e2/e2config
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Oct 2015 17:16:17 +0000 (19:16 +0200)]
add unoffical E2_TRACE env var, for debugging only
Not documented, may go away or change without notice
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Oct 2015 11:57:41 +0000 (13:57 +0200)]
chroot template: don't point to internal resources
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 18:53:24 +0000 (20:53 +0200)]
init: wrap io.open/popen with variants setting FD_CLOEXEC
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 18:51:12 +0000 (20:51 +0200)]
init: close everything but stdin, stdout and stderr
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 18:44:44 +0000 (20:44 +0200)]
check whether open(/dev/null) succeeded
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 18:41:14 +0000 (20:41 +0200)]
plug a number of file descriptor leaks
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Oct 2015 17:17:47 +0000 (19:17 +0200)]
set FD_CLOEXEC on dup'ed file descriptors in child
Be careful not to close the descriptor we want to pass on (0, 1, 2)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 16:37:42 +0000 (18:37 +0200)]
luafile: new function cloexec() to set FD_CLOEXEC on file
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 16:30:58 +0000 (18:30 +0200)]
luafile: open now sets FD_CLOEXEC by default
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 7 Oct 2015 16:21:05 +0000 (18:21 +0200)]
e2util: implement closefrom()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 6 Oct 2015 12:21:58 +0000 (14:21 +0200)]
e2build: fix wrong use of shquote(), makes x86_64 chroot work
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Oct 2015 14:44:45 +0000 (16:44 +0200)]
chroot arch: fix regression, make x86_64 work again
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Oct 2015 12:34:48 +0000 (14:34 +0200)]
Makefile: stop exporting so many environment variables
This export business is annoying while testing e2factory during
development . It's also difficult to reason about the origin of a
variable value, since they show up by including make.vars as well as
being inherited through the environment. The only obvious user has been
converted (GENSCRIPT)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Oct 2015 12:31:46 +0000 (14:31 +0200)]
Makefile: explicitly pass build variables to genscript.sh
Use $(GENSCRIPT) to call the script from any Makefile
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Oct 2015 09:43:54 +0000 (11:43 +0200)]
Makefile: remove 'tags' target
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 30 Sep 2015 12:53:23 +0000 (14:53 +0200)]
Makefile: remove unused 'check' target
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 16 Sep 2015 19:33:11 +0000 (21:33 +0200)]
hashcache: prevent erroneous same-second cache hits
One second resolution is clearly not enough. Compare nanosecond mtime
and ctime as well as size to prevent accidental cache hits.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 16 Sep 2015 18:50:41 +0000 (20:50 +0200)]
e2util.stat(): provide nanosecond precision
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 29 Jul 2015 10:31:50 +0000 (12:31 +0200)]
Reset all signal handlers to their defaults
bz#147
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 18 Jun 2014 13:10:05 +0000 (15:10 +0200)]
Fix rotating logs when the result name contains a dash
Do not rotate log if not required. General cleanup.
bz#140
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 19 Aug 2014 13:36:06 +0000 (15:36 +0200)]
Handle fetching/pushing symlinks instead of creating empty files
This makes symlinks in proj/init work, and should also fix the use of
symlinks in other place. Also, the code should now detect other
non-regular files being fetched and return an error message in this case.
Fixes bz#141
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Rolf Eike Beer [Fri, 10 Jan 2014 10:59:45 +0000 (11:59 +0100)]
mention curl as requirement
Tobias Ulmer [Tue, 25 Mar 2014 17:23:53 +0000 (18:23 +0100)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 25 Mar 2014 17:23:53 +0000 (18:23 +0100)]
release e2factory-2.3.14p0
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 25 Mar 2014 16:47:06 +0000 (17:47 +0100)]
Unbreak --wc-mode and make it work with intermediary deps
Adds a partially random buildid to scratch results, triggering a rebuild
of any result that has a scratch result in its dependency chain.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 25 Mar 2014 16:34:07 +0000 (17:34 +0100)]
Forbid --all with results and --wc-mode without results
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 25 Mar 2014 16:19:38 +0000 (17:19 +0100)]
Fix svn.sourceid(), include SVN revision in sourceid
Previously the svn plugin would not notice moving tags and branch mode
was broken. Also fixes licenseid calculation for svn sources.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 3 Mar 2014 13:30:43 +0000 (14:30 +0100)]
Add e2lib.call_tool_argv_capture()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 29 Jan 2014 14:00:37 +0000 (15:00 +0100)]
Fix operator precedence in licence validation
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 29 Jan 2014 13:40:34 +0000 (14:40 +0100)]
Fix operator precedence in cvs and svn source validation
"not" binds higher, turning these expressions into false == "string" on
errors.
src.tag not being set causes a stack trace later on.
A regression test has been added.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 22 Jan 2014 19:23:18 +0000 (20:23 +0100)]
Fix error in tartype_by_suffix()
Found by Wolfgang Gehrhardt
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 20 Sep 2013 15:26:54 +0000 (17:26 +0200)]
Fix collect_project regression
Make collect_project work with init files again. A regression test
has been added.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Jun 2013 13:51:58 +0000 (15:51 +0200)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 13 Jun 2013 13:51:58 +0000 (15:51 +0200)]
release e2factory-2.3.14
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 11 Jun 2013 17:38:48 +0000 (19:38 +0200)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 11 Jun 2013 17:38:48 +0000 (19:38 +0200)]
release e2factory-2.3.14rc1
Signed-off-by: Tobias Ulmer <tu@emlix.com>