]>
git.e2factory.org Git - e2factory.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tobias Ulmer [Tue, 10 Jan 2017 14:29:02 +0000 (15:29 +0100)]
git: remove dead display code, fix typo
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jan 2017 11:54:21 +0000 (12:54 +0100)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 10 Jan 2017 11:54:21 +0000 (12:54 +0100)]
release e2factory-2.3.16rc1
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 9 Jan 2017 18:40:59 +0000 (19:40 +0100)]
Fix error message, ignore SIGINT in parent
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 9 Jan 2017 12:41:33 +0000 (13:41 +0100)]
e2lib: add setpgid
currently unused
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 6 Jan 2017 19:01:48 +0000 (20:01 +0100)]
Fix e2factory sometimes ignoring Control-C
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 6 Jan 2017 17:50:43 +0000 (18:50 +0100)]
trace: add several funcs, reduce the amount of output
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 5 Jan 2017 19:05:56 +0000 (20:05 +0100)]
cscache: weed out temporary files and reduce entries
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 5 Jan 2017 18:50:46 +0000 (19:50 +0100)]
licence: remove debug message
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 3 Jan 2017 11:57:11 +0000 (12:57 +0100)]
git: fix unintended modification of the git index in working source
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 2 Jan 2017 19:21:48 +0000 (20:21 +0100)]
e2lib: extend callcmd()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 2 Jan 2017 18:32:58 +0000 (19:32 +0100)]
e2lib: extend callcmd to skip call to wait for setting up pipes
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 2 Jan 2017 15:11:31 +0000 (16:11 +0100)]
tools: add get_tool_flags_argv()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 29 Dec 2016 13:15:52 +0000 (14:15 +0100)]
update email address
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 23 Dec 2016 13:48:49 +0000 (14:48 +0100)]
e2project: document checksums table
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 22 Dec 2016 19:57:14 +0000 (20:57 +0100)]
manual pages: document sha256 attribute
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 22 Dec 2016 18:54:46 +0000 (19:54 +0100)]
files: add sha256 support and use file_class
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 22 Dec 2016 17:36:48 +0000 (18:36 +0100)]
licence: add sha256 support and use file_class
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 22 Dec 2016 16:47:45 +0000 (17:47 +0100)]
chroot: add sha256 support and use file_class
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 22 Dec 2016 16:37:59 +0000 (17:37 +0100)]
e2tool: add sha256 support to file_class
Also introduce common validation methods for server, location, sha1 and
sha256. These will be used by all file_class-using config loaders,
unifying error handling and policy enforcement.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 21 Dec 2016 15:58:43 +0000 (16:58 +0100)]
generic_git: swap arguments to fix error message
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 20 Dec 2016 19:44:49 +0000 (20:44 +0100)]
digest: add helper functions
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 20 Dec 2016 19:43:16 +0000 (20:43 +0100)]
project: add checksum selection to proj/config
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 18:39:22 +0000 (19:39 +0100)]
hash: remove obsolete hashcache from hash module
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 18:24:44 +0000 (19:24 +0100)]
digest: make use of cscache to bring back performance optimizations
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 18:23:11 +0000 (19:23 +0100)]
add cscache module, like hashcache but with multi-digest support
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 17:33:05 +0000 (18:33 +0100)]
e2lib: add possibility of registering cleanup functions on exit
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 17:31:03 +0000 (18:31 +0100)]
hash: remove hash_file functions, replaced by digest
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 17:04:48 +0000 (18:04 +0100)]
Makefile: hook up hash.lua
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 17:03:28 +0000 (18:03 +0100)]
hash: move module into 'local'
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 17:01:17 +0000 (18:01 +0100)]
e2tool: remove loading the hashcache directly
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 9 Dec 2016 16:58:53 +0000 (17:58 +0100)]
e2lib: remove storing the hashcache directly
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 2 Dec 2016 15:54:00 +0000 (16:54 +0100)]
digest: add SHA256 support, remove checksum computation by hash
This disables use of the hash cache temporarily.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 19:28:24 +0000 (20:28 +0100)]
file_class: replace hash_file_once with digest to compute checksum
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 19:23:11 +0000 (20:23 +0100)]
hash: make hash_file() local
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 17:50:17 +0000 (18:50 +0100)]
e2lib: vrfy_dict_exp_keys() erroneously reported only the last error
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 17:33:28 +0000 (18:33 +0100)]
developer doc: remove lsha1.c, add lsha.c sha2.c
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 15:04:26 +0000 (16:04 +0100)]
remove lsha1 and adjust hash module to lsha
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 14:25:33 +0000 (15:25 +0100)]
Makefile: hook up lsha and sha2
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 14:24:49 +0000 (15:24 +0100)]
Add Lua shim providing SHA1 and SHA256
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 1 Dec 2016 13:27:44 +0000 (14:27 +0100)]
Add SHA2 implementation by Aaron D. Gifford
From http://www.aarongifford.com/computers/sha.html
http://www.aarongifford.com/computers/sha2-1.0.1.tgz
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 30 Nov 2016 16:28:32 +0000 (17:28 +0100)]
files: add checksum verification to toresult() / collect_project
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 30 Nov 2016 15:08:11 +0000 (16:08 +0100)]
licence: remove info arg from licenceid()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 29 Nov 2016 18:31:38 +0000 (19:31 +0100)]
e2tool: move checksum verification into file_class
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 29 Nov 2016 15:33:11 +0000 (16:33 +0100)]
environment: rename id() to envid()
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 29 Nov 2016 15:22:53 +0000 (16:22 +0100)]
file_class: change the meaning of FileID to be inclusive of attributes
This is a departure from the previous convention where fileid() returned
the SHA1 sum of the file
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 29 Nov 2016 14:06:20 +0000 (15:06 +0100)]
e2tool: document info.cache field
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 29 Nov 2016 14:05:06 +0000 (15:05 +0100)]
e2tool: improve file_class
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Mon, 28 Nov 2016 11:50:16 +0000 (12:50 +0100)]
e2tool: move fileid() into file_class and adjust e2
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 25 Nov 2016 19:27:00 +0000 (20:27 +0100)]
file_class: add servloc() method
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 25 Nov 2016 18:42:02 +0000 (19:42 +0100)]
files: fix corner-case in SourceID calculation
If either copy, patch or unpack attribute of a file entry is set to the
string "nil" with everything else being equal, the SourceID does not
change.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 25 Nov 2016 18:30:31 +0000 (19:30 +0100)]
e2tool: remove buildid() wrapper
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 25 Nov 2016 18:22:09 +0000 (19:22 +0100)]
replace ad-hoc file table with file_class
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 23 Nov 2016 13:15:16 +0000 (14:15 +0100)]
release.sh: remove 'E'
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 24 Nov 2016 15:08:44 +0000 (16:08 +0100)]
cache: don't show push_permissions warning for dot server
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 24 Nov 2016 14:53:13 +0000 (15:53 +0100)]
cache: remove debug trace logging
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 24 Nov 2016 14:34:52 +0000 (15:34 +0100)]
tools: optional tool missing is not an error
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 22 Nov 2016 19:40:42 +0000 (20:40 +0100)]
create next changelog entry
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 22 Nov 2016 19:40:42 +0000 (20:40 +0100)]
release e2factory-2.3.15
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Tue, 22 Nov 2016 15:03:40 +0000 (16:03 +0100)]
AUTHORS: update copyright
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 18 Nov 2016 18:59:40 +0000 (19:59 +0100)]
tag e2factory-2.3.15rc1
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 18 Nov 2016 14:30:33 +0000 (15:30 +0100)]
e2.conf: clone e2 from git.e2factory.org by default
In addition add writeback = true for new-source and create-project.
Remove the comments about ssh/scp, e2 will warn the user against ssh/scp
transport use at runtime.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 18 Nov 2016 14:27:17 +0000 (15:27 +0100)]
Makefile: cleanup and print success message
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Wed, 16 Nov 2016 18:53:48 +0000 (19:53 +0100)]
digest: don't convert filename to absolute path
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Rolf Eike Beer [Tue, 5 Apr 2016 10:57:25 +0000 (12:57 +0200)]
tools.lua: fix path to e2-su-2.2
This binary is installed into BINDIR, which just happens to be always
PREFIX/bin. Since BINDIR is already written to buildconfig.lua make sure the
location always points to the correct directory.
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Rolf Eike Beer [Tue, 5 Apr 2016 10:56:33 +0000 (12:56 +0200)]
e2lib.lua: fix typo in comment
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Tobias Ulmer [Mon, 14 Nov 2016 16:29:44 +0000 (17:29 +0100)]
e2lib: don't leak writefunc file descriptor into chroot
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Fri, 11 Nov 2016 14:59:36 +0000 (15:59 +0100)]
remove most of the annoying default warnings
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 10 Nov 2016 16:24:51 +0000 (17:24 +0100)]
git source: working doesn't need to be hashed
Signed-off-by: Tobias Ulmer <tu@emlix.com>
Tobias Ulmer [Thu, 10 Nov 2016 16:24:07 +0000 (17:24 +0100)]
source plugins: use self:get_working() instead of private field
Signed-off-by: Tobias Ulmer <tu@emlix.com>