]> git.e2factory.org Git - e2factory.git/log
e2factory.git
7 years agogeneric_git: fix error handling
Tobias Ulmer [Mon, 22 May 2017 17:00:05 +0000 (19:00 +0200)]
generic_git: fix error handling

found by Anton Hillebrand <ahille@emlix.com>

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agoerr: stop evaluation of debug.traceback() every time
Tobias Ulmer [Tue, 16 May 2017 10:29:57 +0000 (12:29 +0200)]
err: stop evaluation of debug.traceback() every time

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agole2lib: remove do_parse_mode()
Tobias Ulmer [Mon, 15 May 2017 14:02:04 +0000 (16:02 +0200)]
le2lib: remove do_parse_mode()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agoMoved parse_mode code from c to lua.
Anton Hillebrand [Thu, 11 May 2017 10:02:47 +0000 (12:02 +0200)]
Moved parse_mode code from c to lua.

Signed-off-by: Anton Hillebrand <ahille@emlix.com>
7 years agotransport: remove duplicate comment and rmtempfile call
Tobias Ulmer [Wed, 3 May 2017 17:01:45 +0000 (19:01 +0200)]
transport: remove duplicate comment and rmtempfile call

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agoe2lib: implement rename(), use in rotate_log()
Tobias Ulmer [Wed, 3 May 2017 15:06:33 +0000 (17:06 +0200)]
e2lib: implement rename(), use in rotate_log()

This makes it independent of the "mv" command, allowing to open and
rotate the log file before the tools module is initialized.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agole2lib: add implementation of rename(2)
Tobias Ulmer [Wed, 3 May 2017 15:05:11 +0000 (17:05 +0200)]
le2lib: add implementation of rename(2)

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agodigest: allow writing SHA256 digests
Tobias Ulmer [Fri, 10 Mar 2017 19:13:58 +0000 (20:13 +0100)]
digest: allow writing SHA256 digests

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agoe2-build: check for duplicate results in build mode arguments
Tobias Ulmer [Fri, 10 Mar 2017 17:29:44 +0000 (18:29 +0100)]
e2-build: check for duplicate results in build mode arguments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agoadd buildid logging to help with debugging
Tobias Ulmer [Wed, 25 Apr 2018 13:05:42 +0000 (15:05 +0200)]
add buildid logging to help with debugging

Signed-off-by: Tobias Ulmer <tu@emlix.com>
7 years agoe2lib: fix e2lib.wait() for signaled process
Tobias Ulmer [Tue, 24 Apr 2018 12:58:32 +0000 (14:58 +0200)]
e2lib: fix e2lib.wait() for signaled process

wait() returned 0 for a signaled process, expecting the caller to
check the third argument for a signal code.

Most call sites do not observe the signal argument, leading to
"successful" execution of a crashing process.

wait() will now return the exit code or signal + 128 in the first
argument. This is in line with various shells.

Also improve debug logging around wait() and callcmd().

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocreate next changelog entry
Tobias Ulmer [Thu, 9 Mar 2017 14:40:31 +0000 (15:40 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agorelease e2factory-2.3.17 e2factory-2.3.17
Tobias Ulmer [Thu, 9 Mar 2017 14:40:31 +0000 (15:40 +0100)]
release e2factory-2.3.17

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocorrect LDoc comments
Tobias Ulmer [Wed, 8 Mar 2017 16:46:29 +0000 (17:46 +0100)]
correct LDoc comments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-build: allow a mix of result build modi on the command line
Tobias Ulmer [Wed, 8 Mar 2017 14:25:18 +0000 (15:25 +0100)]
e2-build: allow a mix of result build modi on the command line

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomove less interesting messages to log level 4
Tobias Ulmer [Tue, 7 Mar 2017 16:00:27 +0000 (17:00 +0100)]
move less interesting messages to log level 4

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove set_licences()/get_licences()
Tobias Ulmer [Mon, 6 Mar 2017 19:13:53 +0000 (20:13 +0100)]
remove set_licences()/get_licences()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: fix sub-licences default assignment
Tobias Ulmer [Fri, 3 Mar 2017 17:49:35 +0000 (18:49 +0100)]
files: fix sub-licences default assignment

During the initialization of file entries, new licences were added to
the "outer" file licences list.

This lead to file entries without a licences list getting additional
licence entries that shouldn't have been there.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: add licences() method just like file_class
Tobias Ulmer [Fri, 3 Mar 2017 17:35:40 +0000 (18:35 +0100)]
source: add licences() method just like file_class

Saves a lot of string list copying that's better done in an explicit
fashion.  get_licences()/set_licences() stay until all extensions are
updated.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: add --unused option
Tobias Ulmer [Thu, 2 Mar 2017 16:14:05 +0000 (17:14 +0100)]
ls-project: add --unused option

Shows all unused results, sources, licences and chroot groups,
respecting result selection on the command line.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: add LDoc comment
Tobias Ulmer [Thu, 2 Mar 2017 14:36:52 +0000 (15:36 +0100)]
ls-project: add LDoc comment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: long comment markers confuse LDoc, fix
Tobias Ulmer [Thu, 2 Mar 2017 14:31:35 +0000 (15:31 +0100)]
ls-project: long comment markers confuse LDoc, fix

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: log if result has no chroot groups
Tobias Ulmer [Wed, 1 Mar 2017 15:34:07 +0000 (16:34 +0100)]
result: log if result has no chroot groups

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agochroot: remove the default_groups minimum limit
Tobias Ulmer [Tue, 28 Feb 2017 19:47:30 +0000 (20:47 +0100)]
chroot: remove the default_groups minimum limit

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: only show chroot groups for listed results
Tobias Ulmer [Tue, 28 Feb 2017 19:40:57 +0000 (20:40 +0100)]
ls-project: only show chroot groups for listed results

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agolicence: remove empty loop missed in the file class conversion
Tobias Ulmer [Tue, 28 Feb 2017 19:16:33 +0000 (20:16 +0100)]
licence: remove empty loop missed in the file class conversion

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agolicence: remove now unused licences_sorted vector
Tobias Ulmer [Tue, 28 Feb 2017 19:14:42 +0000 (20:14 +0100)]
licence: remove now unused licences_sorted vector

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: only show licences for listed sources
Tobias Ulmer [Tue, 28 Feb 2017 18:59:07 +0000 (19:59 +0100)]
ls-project: only show licences for listed sources

--all continues to show all licences, including unused ones

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agodocument cvs source type for completeness
Tobias Ulmer [Tue, 28 Feb 2017 16:27:35 +0000 (17:27 +0100)]
document cvs source type for completeness

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agolicencesrc: document the licence source
Tobias Ulmer [Mon, 27 Feb 2017 20:00:47 +0000 (21:00 +0100)]
licencesrc: document the licence source

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agolicencesrc: add new source type providing licence info to build
Tobias Ulmer [Mon, 27 Feb 2017 19:59:36 +0000 (20:59 +0100)]
licencesrc: add new source type providing licence info to build

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: make sourceset argument non-optional, add to display()
Tobias Ulmer [Mon, 27 Feb 2017 12:44:30 +0000 (13:44 +0100)]
source: make sourceset argument non-optional, add to display()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: make sure sourceset is always set
Tobias Ulmer [Fri, 24 Feb 2017 15:50:17 +0000 (16:50 +0100)]
files: make sure sourceset is always set

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib.ssh_remote_cmd: use callcmd_stdout_stderr()
Tobias Ulmer [Wed, 15 Feb 2017 14:59:55 +0000 (15:59 +0100)]
e2lib.ssh_remote_cmd: use callcmd_stdout_stderr()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: add callcmd_stdout_stderr() taking two callbacks
Tobias Ulmer [Wed, 15 Feb 2017 14:58:56 +0000 (15:58 +0100)]
e2lib: add callcmd_stdout_stderr() taking two callbacks

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agourl: behave like documented and don't remove port from u.server
Tobias Ulmer [Mon, 13 Feb 2017 17:51:40 +0000 (18:51 +0100)]
url: behave like documented and don't remove port from u.server

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: add resultname error checking to dlist_recursive()
Tobias Ulmer [Mon, 6 Feb 2017 16:13:29 +0000 (17:13 +0100)]
e2tool: add resultname error checking to dlist_recursive()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2option: log the result of parse()
Tobias Ulmer [Mon, 6 Feb 2017 16:04:25 +0000 (17:04 +0100)]
e2option: log the result of parse()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2option: make default for option flags functional
Tobias Ulmer [Mon, 6 Feb 2017 15:51:26 +0000 (16:51 +0100)]
e2option: make default for option flags functional

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agopolicy: make sure --build-mode=release also sets --release shortcut
Tobias Ulmer [Fri, 3 Feb 2017 16:21:55 +0000 (17:21 +0100)]
policy: make sure --build-mode=release also sets --release shortcut

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogeneric_git: remove mostly unused sourceset2ref() helper
Tobias Ulmer [Thu, 2 Feb 2017 14:49:10 +0000 (15:49 +0100)]
generic_git: remove mostly unused sourceset2ref() helper

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-build: --force-rebuild isn't broken
Tobias Ulmer [Tue, 31 Jan 2017 15:55:19 +0000 (16:55 +0100)]
e2-build: --force-rebuild isn't broken

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove deprecated lazytag build mode
Tobias Ulmer [Wed, 25 Jan 2017 19:47:12 +0000 (20:47 +0100)]
Remove deprecated lazytag build mode

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove scm module
Tobias Ulmer [Wed, 25 Jan 2017 16:39:52 +0000 (17:39 +0100)]
Remove scm module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoplugins: remove scm remains, register to_result to collect_project plugin
Tobias Ulmer [Wed, 25 Jan 2017 16:37:32 +0000 (17:37 +0100)]
plugins: remove scm remains, register to_result to collect_project plugin

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoplugin: on init_plugins() error, disable exit_plugins()
Tobias Ulmer [Wed, 25 Jan 2017 16:36:00 +0000 (17:36 +0100)]
plugin: on init_plugins() error, disable exit_plugins()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: switch from scm to source_to_result_fn()
Tobias Ulmer [Wed, 25 Jan 2017 16:32:19 +0000 (17:32 +0100)]
collect_project: switch from scm to source_to_result_fn()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: add static method for adding src to cp-result functions
Tobias Ulmer [Wed, 25 Jan 2017 16:31:10 +0000 (17:31 +0100)]
collect_project: add static method for adding src to cp-result functions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: add function to iterate over result classes
Tobias Ulmer [Wed, 25 Jan 2017 16:28:24 +0000 (17:28 +0100)]
result: add function to iterate over result classes

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: remove git_commit_id() scm interface
Tobias Ulmer [Tue, 24 Jan 2017 18:20:24 +0000 (19:20 +0100)]
git: remove git_commit_id() scm interface

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: move git_commit_id() into git_source
Tobias Ulmer [Tue, 24 Jan 2017 17:53:32 +0000 (18:53 +0100)]
git: move git_commit_id() into git_source

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoscm no longer required
Tobias Ulmer [Tue, 24 Jan 2017 16:49:11 +0000 (17:49 +0100)]
scm no longer required

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoExpand and remove generic_source_check()
Tobias Ulmer [Tue, 24 Jan 2017 16:48:03 +0000 (17:48 +0100)]
Expand and remove generic_source_check()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoscm: remove generic_source_check()
Tobias Ulmer [Tue, 24 Jan 2017 16:35:58 +0000 (17:35 +0100)]
scm: remove generic_source_check()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: separate
Tobias Ulmer [Tue, 24 Jan 2017 16:35:05 +0000 (17:35 +0100)]
source: separate

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogitrepo: use absolute working directory
Tobias Ulmer [Tue, 24 Jan 2017 16:18:32 +0000 (17:18 +0100)]
gitrepo: use absolute working directory

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoMove fetch/update/prepare from scm to source classes
Tobias Ulmer [Tue, 24 Jan 2017 13:40:43 +0000 (14:40 +0100)]
Move fetch/update/prepare from scm to source classes

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoUse basic_source class interface and drop scm
Tobias Ulmer [Tue, 24 Jan 2017 13:39:02 +0000 (14:39 +0100)]
Use basic_source class interface and drop scm

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoscm: remove fetch/update/prepare source from scm
Tobias Ulmer [Tue, 24 Jan 2017 13:33:09 +0000 (14:33 +0100)]
scm: remove fetch/update/prepare source from scm

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: add fetch/update/prepare source to basic_source class
Tobias Ulmer [Tue, 24 Jan 2017 13:32:35 +0000 (14:32 +0100)]
source: add fetch/update/prepare source to basic_source class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocvs: fix undeclared variable access when cvsroot unset
Tobias Ulmer [Mon, 23 Jan 2017 19:35:45 +0000 (20:35 +0100)]
cvs: fix undeclared variable access when cvsroot unset

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoRemove info table throughout factory, only small pieces remain.
Tobias Ulmer [Mon, 23 Jan 2017 17:49:57 +0000 (18:49 +0100)]
Remove info table throughout factory, only small pieces remain.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: remove info.cache
Tobias Ulmer [Mon, 23 Jan 2017 15:24:02 +0000 (16:24 +0100)]
cache: remove info.cache

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: improve syntax and global version checks
Tobias Ulmer [Fri, 20 Jan 2017 19:26:07 +0000 (20:26 +0100)]
e2tool: improve syntax and global version checks

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: eliminate info.config_syntax_compat
Tobias Ulmer [Fri, 20 Jan 2017 17:59:30 +0000 (18:59 +0100)]
e2tool: eliminate info.config_syntax_compat

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: remove last trace of info.root
Tobias Ulmer [Fri, 20 Jan 2017 17:50:43 +0000 (18:50 +0100)]
e2tool: remove last trace of info.root

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomove check_workingcopy() into the source classes
Tobias Ulmer [Fri, 20 Jan 2017 17:23:57 +0000 (18:23 +0100)]
move check_workingcopy() into the source classes

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomove working_copy_available() into the source classes
Tobias Ulmer [Fri, 20 Jan 2017 15:59:03 +0000 (16:59 +0100)]
move working_copy_available() into the source classes

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocscache: use e2tool.root() and e2lib.locate_project_root()
Tobias Ulmer [Fri, 20 Jan 2017 14:32:16 +0000 (15:32 +0100)]
cscache: use e2tool.root() and e2lib.locate_project_root()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agouse e2tool.root()
Tobias Ulmer [Fri, 20 Jan 2017 12:45:20 +0000 (13:45 +0100)]
use e2tool.root()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: add root() as replacement for info.root
Tobias Ulmer [Fri, 20 Jan 2017 12:43:52 +0000 (13:43 +0100)]
e2tool: add root() as replacement for info.root

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoplugins: skip fetch_source if working copy exists
Tobias Ulmer [Thu, 19 Jan 2017 20:17:32 +0000 (21:17 +0100)]
plugins: skip fetch_source if working copy exists

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoscm: remove has_working_copy()
Tobias Ulmer [Thu, 19 Jan 2017 20:14:19 +0000 (21:14 +0100)]
scm: remove has_working_copy()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-sources: plugins handle fetch & update - remove WC checks
Tobias Ulmer [Thu, 19 Jan 2017 20:12:01 +0000 (21:12 +0100)]
e2-fetch-sources: plugins handle fetch & update - remove WC checks

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: merge cache_source() info fetch_source()
Tobias Ulmer [Thu, 19 Jan 2017 19:17:02 +0000 (20:17 +0100)]
files: merge cache_source() info fetch_source()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosvn: register flag, implement is_scm and is_selected
Tobias Ulmer [Thu, 19 Jan 2017 17:18:53 +0000 (18:18 +0100)]
svn: register flag, implement is_scm and is_selected

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogitrepo: register flag, implement is_scm and is_selected
Tobias Ulmer [Thu, 19 Jan 2017 17:18:42 +0000 (18:18 +0100)]
gitrepo: register flag, implement is_scm and is_selected

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: register flag, implement is_scm and is_selected
Tobias Ulmer [Thu, 19 Jan 2017 17:18:32 +0000 (18:18 +0100)]
git: register flag, implement is_scm and is_selected

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: register flag, implement is_scm and is_selected
Tobias Ulmer [Thu, 19 Jan 2017 17:18:20 +0000 (18:18 +0100)]
files: register flag, implement is_scm and is_selected

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocvs: register flag, implement is_scm and is_selected
Tobias Ulmer [Thu, 19 Jan 2017 17:18:05 +0000 (18:18 +0100)]
cvs: register flag, implement is_scm and is_selected

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-sources: remove hardcoded source type selection
Tobias Ulmer [Thu, 19 Jan 2017 16:58:13 +0000 (17:58 +0100)]
e2-fetch-sources: remove hardcoded source type selection

Plugins must implement this functionality on their own.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agobasic_source: add is_scm_source_class() and is_selected_source_class()
Tobias Ulmer [Thu, 19 Jan 2017 16:53:29 +0000 (17:53 +0100)]
basic_source: add is_scm_source_class() and is_selected_source_class()

These will be used to remove hardcoded source types in fetch-sources and
put the functionality into source plugins.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: add iterator over registered source types and classes
Tobias Ulmer [Thu, 19 Jan 2017 16:51:59 +0000 (17:51 +0100)]
source: add iterator over registered source types and classes

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-sources: --all shouldn't cause a scm by default warning
Tobias Ulmer [Thu, 19 Jan 2017 16:10:47 +0000 (17:10 +0100)]
e2-fetch-sources: --all shouldn't cause a scm by default warning

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-sources: remove two verbose warnings
Tobias Ulmer [Thu, 19 Jan 2017 15:22:27 +0000 (16:22 +0100)]
e2-fetch-sources: remove two verbose warnings

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-fetch-sources: fix typos
Tobias Ulmer [Thu, 19 Jan 2017 13:37:14 +0000 (14:37 +0100)]
e2-fetch-sources: fix typos

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: add current_tool(), returns the local tool name
Tobias Ulmer [Wed, 18 Jan 2017 18:33:28 +0000 (19:33 +0100)]
e2tool: add current_tool(), returns the local tool name

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocreate next changelog entry
Tobias Ulmer [Fri, 27 Jan 2017 15:17:12 +0000 (16:17 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agorelease e2factory-2.3.16p0 e2factory-2.3.16p0
Tobias Ulmer [Fri, 27 Jan 2017 15:17:12 +0000 (16:17 +0100)]
release e2factory-2.3.16p0

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocollect_project: include default_result and its deps in BuildID
Tobias Ulmer [Fri, 27 Jan 2017 14:16:32 +0000 (15:16 +0100)]
collect_project: include default_result and its deps in BuildID

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocreate next changelog entry
Tobias Ulmer [Mon, 16 Jan 2017 15:16:06 +0000 (16:16 +0100)]
create next changelog entry

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agorelease e2factory-2.3.16 e2factory-2.3.16
Tobias Ulmer [Mon, 16 Jan 2017 15:16:06 +0000 (16:16 +0100)]
release e2factory-2.3.16

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource plugins: transition has_working_copy() from scm interface to source class
Tobias Ulmer [Fri, 13 Jan 2017 16:25:01 +0000 (17:25 +0100)]
source plugins: transition has_working_copy() from scm interface to source class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: fix broken git config call, always skipping update
Tobias Ulmer [Fri, 13 Jan 2017 13:17:40 +0000 (14:17 +0100)]
git: fix broken git config call, always skipping update

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAdd experimental gitrepo source plugin
Anton Hillebrand [Thu, 12 Jan 2017 17:00:12 +0000 (18:00 +0100)]
Add experimental gitrepo source plugin

Works just like a git source, but provides the entire git repository to
the build environment. This eliminates the need for wrapping a git
repository in a file source. Checkout of the configured branch of tag is
done automatically.

The configuration looks just like a "git" source, except its type must be
"gitrepo".

The plugin is currently experimental and not recommended for production
use.

Massaged heavily by tu@

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoMake sure all working_copy_available() functions return an error on false
Tobias Ulmer [Thu, 12 Jan 2017 14:24:39 +0000 (15:24 +0100)]
Make sure all working_copy_available() functions return an error on false

Behaves more like other functions, reduce potential for bugs in error
path

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: remove duplicate git fetch --tags
Tobias Ulmer [Tue, 10 Jan 2017 17:29:53 +0000 (18:29 +0100)]
git: remove duplicate git fetch --tags

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogit: fix usage of working_copy_available()
Tobias Ulmer [Tue, 10 Jan 2017 17:25:51 +0000 (18:25 +0100)]
git: fix usage of working_copy_available()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoAUTHORS: update copyright year
Tobias Ulmer [Tue, 10 Jan 2017 14:32:42 +0000 (15:32 +0100)]
AUTHORS: update copyright year

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogeneric_git: git_config() allow variable arguments
Tobias Ulmer [Tue, 10 Jan 2017 14:32:07 +0000 (15:32 +0100)]
generic_git: git_config() allow variable arguments

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