]> git.e2factory.org Git - e2factory.git/log
e2factory.git
8 years agoMerge dofile_protected() into dofile2()
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>
8 years agoremove unused e2lib.parse_versionfile()
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>
8 years agoAdd error handling to e2lib.mktempfile()
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>
8 years agoAdd error handling to e2lib.mktempdir()
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>
8 years agoRework error handling in parse_e2versionfile()
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>
8 years agoAdd error handling to e2lib.get_global_config()
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>
8 years agoAdd error handling to e2lib.init2()
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>
8 years agoMake use_global_config() local and remove calls to abort()
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>
8 years agoe2lib.init() can now return errors
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>
8 years agoHandle errors from e2option.parse()
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>
8 years agoe2option: remove abort() wherever possible
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>
8 years agogeneric_git: remove all calls to abort()
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>
8 years agoplugin: remove call to abort()
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>
8 years agoe2tool: select_result() now returns error instead of calling abort()
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>
8 years agoe2tool: buildid() now returns error instead of calling abort()
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>
8 years agoe2tool: remove abort() from projid() and pbuildid()
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>
8 years agoe2tool: remove abort() from collect_project_info()
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>
8 years agocvs: remove e2lib.abort()
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>
8 years agofiles: remove elib.abort()
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>
8 years agopolicy: remove e2lib.abort()
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>
8 years agogit: remove e2lib.abort()
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>
8 years agosvn: remove e2lib.abort()
Tobias Ulmer [Mon, 15 Apr 2013 17:30:52 +0000 (19:30 +0200)]
svn: remove e2lib.abort()

8 years agoRemove calls to e2lib.abort() in global tools
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>
8 years agoRemove calls to e2lib.abort() in local tools
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>
8 years agoPut local tools code into functions
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>
8 years agoPut global tool code into functions
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>
8 years agoFix dsort module name
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>
8 years agoFormat and remove log messages
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>
9 years agogit: fetch tags and pull ff-only
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>
9 years agocreate next changelog entry
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>
9 years agorelease e2factory-2.3.14p1 e2factory-2.3.14p1
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>
9 years agoDocument .e2/e2config
Tobias Ulmer [Tue, 13 Oct 2015 17:30:46 +0000 (19:30 +0200)]
Document .e2/e2config

Signed-off-by: Tobias Ulmer <tu@emlix.com>
9 years agoadd unoffical E2_TRACE env var, for debugging only
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>
9 years agochroot template: don't point to internal resources
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>
9 years agoinit: wrap io.open/popen with variants setting FD_CLOEXEC
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>
9 years agoinit: close everything but stdin, stdout and stderr
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>
9 years agocheck whether open(/dev/null) succeeded
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>
9 years agoplug a number of file descriptor leaks
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>
9 years agoset FD_CLOEXEC on dup'ed file descriptors in child
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>
9 years agoluafile: new function cloexec() to set FD_CLOEXEC on file
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>
9 years agoluafile: open now sets FD_CLOEXEC by default
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>
9 years agoe2util: implement closefrom()
Tobias Ulmer [Wed, 7 Oct 2015 16:21:05 +0000 (18:21 +0200)]
e2util: implement closefrom()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
9 years agoe2build: fix wrong use of shquote(), makes x86_64 chroot work
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>
9 years agochroot arch: fix regression, make x86_64 work again
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>
9 years agoMakefile: stop exporting so many environment variables
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>
9 years agoMakefile: explicitly pass build variables to genscript.sh
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>
9 years agoMakefile: remove 'tags' target
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>
9 years agoMakefile: remove unused 'check' target
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>
9 years agohashcache: prevent erroneous same-second cache hits
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>
9 years agoe2util.stat(): provide nanosecond precision
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>
9 years agoReset all signal handlers to their defaults
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>
9 years agoFix rotating logs when the result name contains a dash
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>
9 years agoHandle fetching/pushing symlinks instead of creating empty files
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>
10 years agomention curl as requirement
Rolf Eike Beer [Fri, 10 Jan 2014 10:59:45 +0000 (11:59 +0100)]
mention curl as requirement

11 years agocreate next changelog entry
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>
11 years agorelease e2factory-2.3.14p0 e2factory-2.3.14p0
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>
11 years agoUnbreak --wc-mode and make it work with intermediary deps
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>
11 years agoForbid --all with results and --wc-mode without results
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>
11 years agoFix svn.sourceid(), include SVN revision in sourceid
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>
11 years agoAdd e2lib.call_tool_argv_capture()
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>
11 years agoFix operator precedence in licence validation
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>
11 years agoFix operator precedence in cvs and svn source validation
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>
11 years agoFix error in tartype_by_suffix()
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>
11 years agoFix collect_project regression
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>
11 years agocreate next changelog entry
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>
11 years agorelease e2factory-2.3.14 e2factory-2.3.14
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>
11 years agocreate next changelog entry
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>
11 years agorelease e2factory-2.3.14rc1 e2factory-2.3.14rc1
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>
11 years agoHash the result name.
Tobias Ulmer [Tue, 11 Jun 2013 16:21:21 +0000 (18:21 +0200)]
Hash the result name.

The result name is passed into the build chroot as environment variable.
To prevent the same build ids for results that are equal in all but the
name, the name must be considered when calculating the build id.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
11 years agoRemove hardcoded base chroot group from collect_project
Tobias Ulmer [Thu, 30 May 2013 16:34:03 +0000 (18:34 +0200)]
Remove hardcoded base chroot group from collect_project

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRequire tools module, fixes trace building in wc-mode
Tobias Ulmer [Tue, 9 Apr 2013 15:54:32 +0000 (17:54 +0200)]
Require tools module, fixes trace building in wc-mode

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Tue, 19 Mar 2013 16:26:47 +0000 (17:26 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.13 e2factory-2.3.13
Tobias Ulmer [Tue, 19 Mar 2013 16:26:46 +0000 (17:26 +0100)]
release e2factory-2.3.13

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Mon, 18 Mar 2013 17:20:19 +0000 (18:20 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.13rc5 e2factory-2.3.13rc5
Tobias Ulmer [Mon, 18 Mar 2013 17:20:19 +0000 (18:20 +0100)]
release e2factory-2.3.13rc5

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRepair e2lib.islocaltool(), look at the right place
Tobias Ulmer [Mon, 18 Mar 2013 13:54:37 +0000 (14:54 +0100)]
Repair e2lib.islocaltool(), look at the right place

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove regexp matching for manpages
Tobias Ulmer [Mon, 18 Mar 2013 13:01:18 +0000 (14:01 +0100)]
Remove regexp matching for manpages

Pretty silly, seems to be a left-over from a previous iteration of the
code.

In addition, don't mention anything about sections as there is no
support for matching them (yet). We do not have manpages with the same
name in both sections, so it's not a problem for now.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agomanpages: bug-fixes
Thomas Brinker [Mon, 11 Mar 2013 12:56:09 +0000 (13:56 +0100)]
manpages: bug-fixes

12 years agocreate next changelog entry
Tobias Ulmer [Fri, 8 Mar 2013 17:22:35 +0000 (18:22 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.13rc4 e2factory-2.3.13rc4
Tobias Ulmer [Fri, 8 Mar 2013 17:22:35 +0000 (18:22 +0100)]
release e2factory-2.3.13rc4

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRepair interrupt_hook() call from signal handler
Tobias Ulmer [Fri, 8 Mar 2013 12:35:31 +0000 (13:35 +0100)]
Repair interrupt_hook() call from signal handler

Also ignore signal while interrupt_hook() is running, to prevent
cleanup from being interrupted.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Thu, 7 Mar 2013 17:25:59 +0000 (18:25 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.13rc3 e2factory-2.3.13rc3
Tobias Ulmer [Thu, 7 Mar 2013 17:25:59 +0000 (18:25 +0100)]
release e2factory-2.3.13rc3

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRespect $EDITOR
Tobias Ulmer [Thu, 7 Mar 2013 17:22:23 +0000 (18:22 +0100)]
Respect $EDITOR

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAdd git url support to git plugin
Tobias Ulmer [Wed, 6 Mar 2013 18:56:35 +0000 (19:56 +0100)]
Add git url support to git plugin

Suggested by patch from CADCON

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAdd http, https and svn url support to svn plugin
Tobias Ulmer [Wed, 6 Mar 2013 18:20:04 +0000 (19:20 +0100)]
Add http, https and svn url support to svn plugin

Suggested by a patch from CADCON

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRevert "use the tools module instead of hardcoding chown"
Tobias Ulmer [Wed, 6 Mar 2013 17:15:55 +0000 (18:15 +0100)]
Revert "use the tools module instead of hardcoding chown"

This reverts commit 52571c840e035bf9abc4e724b453001ce7abca8d.

External tools and tools inside the chroot are different beasts. Revert
my commit as this was plain wrong.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Wed, 6 Mar 2013 16:35:11 +0000 (17:35 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agorelease e2factory-2.3.13rc2 e2factory-2.3.13rc2
Tobias Ulmer [Wed, 6 Mar 2013 16:35:11 +0000 (17:35 +0100)]
release e2factory-2.3.13rc2

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoAdd XZ support for sources
Tobias Ulmer [Mon, 4 Mar 2013 19:04:02 +0000 (20:04 +0100)]
Add XZ support for sources

This depends on a tar version in the chroot that supports xz archives.

The code has been restructured such that we don't play guessing games
based on the magic number in the file header anmore, and just go by
extension. Also, since all this extraction business is only relevant to
file sources, move it into the files plugin instead of cluttering e2lib.

To be clear, this change removes the questionable feature of detecting
that a .tar.bz2 tarball was really a .tar.gz and will instead return an
error message by he way of tar failing.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoCleanup templates, fix formating, add modelines
Tobias Ulmer [Fri, 1 Mar 2013 15:57:27 +0000 (16:57 +0100)]
Cleanup templates, fix formating, add modelines

Also remove a few lesser used keys, they can be looked up in the manual.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove outdated comment
Tobias Ulmer [Fri, 1 Mar 2013 15:26:15 +0000 (16:26 +0100)]
Remove outdated comment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoRemove outdated bits about the documentation
Tobias Ulmer [Fri, 1 Mar 2013 15:14:21 +0000 (16:14 +0100)]
Remove outdated bits about the documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoCleanup release process information a bit.
Tobias Ulmer [Fri, 1 Mar 2013 15:08:05 +0000 (16:08 +0100)]
Cleanup release process information a bit.

These days it's pretty much streamlined into release.sh

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoPolish the extensions README a bit
Tobias Ulmer [Fri, 1 Mar 2013 15:00:32 +0000 (16:00 +0100)]
Polish the extensions README a bit

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoPoint to an existing manual page
Tobias Ulmer [Fri, 1 Mar 2013 14:50:18 +0000 (15:50 +0100)]
Point to an existing manual page

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoOn glibc, strerror_r does not do what you think it does...
Tobias Ulmer [Fri, 1 Mar 2013 14:18:52 +0000 (15:18 +0100)]
On glibc, strerror_r does not do what you think it does...

Fixes empty error messages in various places.

glibc will use the GNU version of strerror_r by default, which does not
fill the buffer but rather uses it as a temporary storage space. It
returns a pointer to the error string, which was never used.

Since e2 is not multithreaded, replace it with the simpler strerror()
and remove pointless casts.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoExport licenceid() function
Tobias Ulmer [Thu, 28 Feb 2013 19:45:37 +0000 (20:45 +0100)]
Export licenceid() function

Required by files plugin.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agoMove check_licence() so it is declared on use
Tobias Ulmer [Thu, 28 Feb 2013 19:42:01 +0000 (20:42 +0100)]
Move check_licence() so it is declared on use

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 years agocreate next changelog entry
Tobias Ulmer [Thu, 28 Feb 2013 18:13:03 +0000 (19:13 +0100)]
create next changelog entry

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