]> git.e2factory.org Git - e2factory.git/log
e2factory.git
8 years agohash: make hash_file() local
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>
8 years agoe2lib: vrfy_dict_exp_keys() erroneously reported only the last error
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>
8 years agodeveloper doc: remove lsha1.c, add lsha.c sha2.c
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>
8 years agoremove lsha1 and adjust hash module to lsha
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>
8 years agoMakefile: hook up lsha and sha2
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>
8 years agoAdd Lua shim providing SHA1 and SHA256
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>
8 years agoAdd SHA2 implementation by Aaron D. Gifford
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>
8 years agofiles: add checksum verification to toresult() / collect_project
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>
8 years agolicence: remove info arg from licenceid()
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>
8 years agoe2tool: move checksum verification into file_class
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>
8 years agoenvironment: rename id() to envid()
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>
8 years agofile_class: change the meaning of FileID to be inclusive of attributes
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>
8 years agoe2tool: document info.cache field
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>
8 years agoe2tool: improve file_class
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>
8 years agoe2tool: move fileid() into file_class and adjust e2
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>
8 years agofile_class: add servloc() method
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>
8 years agofiles: fix corner-case in SourceID calculation
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>
8 years agoe2tool: remove buildid() wrapper
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>
8 years agoreplace ad-hoc file table with file_class
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>
8 years agorelease.sh: remove 'E'
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>
8 years agocache: don't show push_permissions warning for dot server
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>
8 years agocache: remove debug trace logging
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>
8 years agotools: optional tool missing is not an error
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>
8 years agocreate next changelog entry
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>
8 years agorelease e2factory-2.3.15 e2factory-2.3.15
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>
8 years agoAUTHORS: update copyright
Tobias Ulmer [Tue, 22 Nov 2016 15:03:40 +0000 (16:03 +0100)]
AUTHORS: update copyright

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotag e2factory-2.3.15rc1 e2factory-2.3.15rc1
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>
8 years agoe2.conf: clone e2 from git.e2factory.org by default
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>
8 years agoMakefile: cleanup and print success message
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>
8 years agodigest: don't convert filename to absolute path
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>
8 years agotools.lua: fix path to e2-su-2.2
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>
8 years agoe2lib.lua: fix typo in comment
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>
8 years agoe2lib: don't leak writefunc file descriptor into chroot
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>
8 years agoremove most of the annoying default warnings
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>
8 years agogit source: working doesn't need to be hashed
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>
8 years agosource plugins: use self:get_working() instead of private field
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>
8 years agoproject: no need for duplicate checks
Tobias Ulmer [Wed, 9 Nov 2016 18:05:15 +0000 (19:05 +0100)]
project: no need for duplicate checks

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: add extensive error checking to read_extension_config()
Tobias Ulmer [Wed, 9 Nov 2016 18:03:51 +0000 (19:03 +0100)]
e2lib: add extensive error checking to read_extension_config()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-install-e2: cleanup ref variable
Tobias Ulmer [Wed, 9 Nov 2016 17:41:10 +0000 (18:41 +0100)]
e2-install-e2: cleanup ref variable

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: include extension name and tag in ProjectID
Tobias Ulmer [Wed, 9 Nov 2016 14:51:37 +0000 (15:51 +0100)]
project: include extension name and tag in ProjectID

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoman: move enable-writeback description to global options
Tobias Ulmer [Fri, 4 Nov 2016 14:27:27 +0000 (15:27 +0100)]
man: move enable-writeback description to global options

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agonew-source: print checksum of file
Tobias Ulmer [Fri, 4 Nov 2016 13:44:15 +0000 (14:44 +0100)]
new-source: print checksum of file

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agonew-source: if required, enable writeback and warn about it
Tobias Ulmer [Fri, 4 Nov 2016 13:14:36 +0000 (14:14 +0100)]
new-source: if required, enable writeback and warn about it

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: repair hardlink optimization
Tobias Ulmer [Thu, 3 Nov 2016 17:52:20 +0000 (18:52 +0100)]
e2build: repair hardlink optimization

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocreate-project: if required, enable writeback and warn about it
Tobias Ulmer [Thu, 3 Nov 2016 17:11:22 +0000 (18:11 +0100)]
create-project: if required, enable writeback and warn about it

It should deny working at all, but for now just have a warning.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotransport: warn about scp/ssh uploads, and ignoring push_permissions
Tobias Ulmer [Thu, 3 Nov 2016 17:08:16 +0000 (18:08 +0100)]
transport: warn about scp/ssh uploads, and ignoring push_permissions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: warn about missing push_permissions
Tobias Ulmer [Thu, 3 Nov 2016 17:06:16 +0000 (18:06 +0100)]
cache: warn about missing push_permissions

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: reduce stack of errors, add more information
Tobias Ulmer [Thu, 3 Nov 2016 17:05:21 +0000 (18:05 +0100)]
cache: reduce stack of errors, add more information

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: writeback flag is true or false, not nil meaning true
Tobias Ulmer [Thu, 3 Nov 2016 17:00:39 +0000 (18:00 +0100)]
cache: writeback flag is true or false, not nil meaning true

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agotransport: improve error message signal ratio
Tobias Ulmer [Wed, 2 Nov 2016 18:00:34 +0000 (19:00 +0100)]
transport: improve error message signal ratio

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: turn enable-writeback into a global commandline option
Tobias Ulmer [Wed, 2 Nov 2016 15:54:12 +0000 (16:54 +0100)]
cache: turn enable-writeback into a global commandline option

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agocache: writeback() doesn't need to be visible
Tobias Ulmer [Wed, 2 Nov 2016 15:06:44 +0000 (16:06 +0100)]
cache: writeback() doesn't need to be visible

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2option: remove unused optionlist
Tobias Ulmer [Wed, 2 Nov 2016 14:25:15 +0000 (15:25 +0100)]
e2option: remove unused optionlist

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoenvironment: quote environment vars to allow expansion
Tobias Ulmer [Tue, 1 Nov 2016 17:51:37 +0000 (18:51 +0100)]
environment: quote environment vars to allow expansion

shquote() breaks backwards compat

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoupdate copyright year
Tobias Ulmer [Tue, 1 Nov 2016 15:18:26 +0000 (16:18 +0100)]
update copyright year

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoupdate developer documentation
Tobias Ulmer [Tue, 1 Nov 2016 15:17:44 +0000 (16:17 +0100)]
update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: remove unused info table
Tobias Ulmer [Tue, 1 Nov 2016 15:05:23 +0000 (16:05 +0100)]
project: remove unused info table

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: add license
Tobias Ulmer [Mon, 31 Oct 2016 17:52:37 +0000 (18:52 +0100)]
projenv: add license

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoassrt: show functions in developer doc
Tobias Ulmer [Mon, 31 Oct 2016 17:18:30 +0000 (18:18 +0100)]
assrt: show functions in developer doc

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoassrt: add license blurp
Tobias Ulmer [Mon, 31 Oct 2016 17:16:00 +0000 (18:16 +0100)]
assrt: add license blurp

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agodocument 3rd party code in assrt.lua
Tobias Ulmer [Mon, 31 Oct 2016 17:13:07 +0000 (18:13 +0100)]
document 3rd party code in assrt.lua

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: remove comment
Tobias Ulmer [Mon, 31 Oct 2016 16:54:01 +0000 (17:54 +0100)]
result: remove comment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: update developer documentation
Tobias Ulmer [Mon, 31 Oct 2016 16:52:50 +0000 (17:52 +0100)]
result: update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: update developer documentation
Tobias Ulmer [Mon, 31 Oct 2016 16:45:08 +0000 (17:45 +0100)]
e2tool: update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2build: update developer documentation
Tobias Ulmer [Mon, 31 Oct 2016 16:44:12 +0000 (17:44 +0100)]
e2build: update developer documentation

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: remove unused todot()
Tobias Ulmer [Mon, 31 Oct 2016 13:23:06 +0000 (14:23 +0100)]
result: remove unused todot()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: report the real error, not misleading follow up
Tobias Ulmer [Fri, 28 Oct 2016 14:25:39 +0000 (16:25 +0200)]
projenv: report the real error, not misleading follow up

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agomanpage: document 'env' a little better
Tobias Ulmer [Thu, 27 Oct 2016 17:46:42 +0000 (19:46 +0200)]
manpage: document 'env' a little better

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoprojenv: warn when a key lookup returns nil
Tobias Ulmer [Thu, 27 Oct 2016 16:52:47 +0000 (18:52 +0200)]
projenv: warn when a key lookup returns nil

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove _sorted suffix
Tobias Ulmer [Thu, 27 Oct 2016 15:42:13 +0000 (17:42 +0200)]
sl: remove _sorted suffix

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: fix sourceid calculation in rare licences configuration
Tobias Ulmer [Wed, 26 Oct 2016 18:42:33 +0000 (20:42 +0200)]
files: fix sourceid calculation in rare licences configuration

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: for sources, display overall licenses and per file licences
Tobias Ulmer [Wed, 26 Oct 2016 18:40:56 +0000 (20:40 +0200)]
files: for sources, display overall licenses and per file licences

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: merging duplicates is the default now
Tobias Ulmer [Wed, 26 Oct 2016 18:28:26 +0000 (20:28 +0200)]
sl: merging duplicates is the default now

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove merge option and make it the default
Tobias Ulmer [Wed, 26 Oct 2016 17:49:50 +0000 (19:49 +0200)]
sl: remove merge option and make it the default

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosl: remove the now unused 'unique' feature
Tobias Ulmer [Wed, 26 Oct 2016 16:08:11 +0000 (18:08 +0200)]
sl: remove the now unused 'unique' feature

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agosource: auto merge licence names
Tobias Ulmer [Wed, 26 Oct 2016 15:44:42 +0000 (17:44 +0200)]
source: auto merge licence names

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: chroot and source list should merge entries
Tobias Ulmer [Wed, 26 Oct 2016 15:43:54 +0000 (17:43 +0200)]
result: chroot and source list should merge entries

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: turn on mergeing in file licence lists
Tobias Ulmer [Wed, 26 Oct 2016 15:43:00 +0000 (17:43 +0200)]
files: turn on mergeing in file licence lists

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: get_licences() already returns a copy
Tobias Ulmer [Wed, 26 Oct 2016 15:34:20 +0000 (17:34 +0200)]
files: get_licences() already returns a copy

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-build: warn about left out deploy results in release mode
Tobias Ulmer [Tue, 25 Oct 2016 19:37:43 +0000 (21:37 +0200)]
e2-build: warn about left out deploy results in release mode

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2option: repair userdefaultoptions() processing
Tobias Ulmer [Tue, 25 Oct 2016 14:27:27 +0000 (16:27 +0200)]
e2option: repair userdefaultoptions() processing

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: don't just register, handle cmd line options
Tobias Ulmer [Mon, 24 Oct 2016 18:20:25 +0000 (20:20 +0200)]
ls-project: don't just register, handle cmd line options

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agols-project: remove description of marginally useful global options
Tobias Ulmer [Mon, 24 Oct 2016 17:25:08 +0000 (19:25 +0200)]
ls-project: remove description of marginally useful global options

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2-ls-project: fix and add two options
Tobias Ulmer [Mon, 24 Oct 2016 14:54:51 +0000 (16:54 +0200)]
e2-ls-project: fix and add two options

--chroot shows all chroot groups
--env shows the result environment

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoproject: move config verify into project module
Tobias Ulmer [Fri, 21 Oct 2016 16:53:06 +0000 (18:53 +0200)]
project: move config verify into project module

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: check return value of verify_result_envs()
Tobias Ulmer [Fri, 21 Oct 2016 16:35:57 +0000 (18:35 +0200)]
e2tool: check return value of verify_result_envs()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: rename to sources_list()
Tobias Ulmer [Fri, 21 Oct 2016 16:05:45 +0000 (18:05 +0200)]
result: rename to sources_list()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: rename to chroot_list()
Tobias Ulmer [Fri, 21 Oct 2016 15:45:54 +0000 (17:45 +0200)]
result: rename to chroot_list()

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move build_settings() implementation into result_class
Tobias Ulmer [Fri, 21 Oct 2016 15:35:21 +0000 (17:35 +0200)]
result: move build_settings() implementation into result_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move build_mode implementation into result_class
Tobias Ulmer [Fri, 21 Oct 2016 14:49:56 +0000 (16:49 +0200)]
result: move build_mode implementation into result_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: move buildconfig implementation into result_class
Tobias Ulmer [Fri, 21 Oct 2016 14:12:55 +0000 (16:12 +0200)]
result: move buildconfig implementation into result_class

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoresult: buildconfig() -> build_config() for consistency
Tobias Ulmer [Fri, 21 Oct 2016 12:39:32 +0000 (14:39 +0200)]
result: buildconfig() -> build_config() for consistency

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoupdate e2factory license and author information for consistency
Tobias Ulmer [Thu, 20 Oct 2016 19:10:08 +0000 (21:10 +0200)]
update e2factory license and author information for consistency

No license change.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoremove outdated document
Tobias Ulmer [Thu, 20 Oct 2016 16:12:01 +0000 (18:12 +0200)]
remove outdated document

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agogitignore: ignore e2config, it shouldn't be checked in
Tobias Ulmer [Tue, 11 Oct 2016 16:51:06 +0000 (18:51 +0200)]
gitignore: ignore e2config, it shouldn't be checked in

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2tool: remove dead code
Tobias Ulmer [Tue, 11 Oct 2016 16:17:46 +0000 (18:17 +0200)]
e2tool: remove dead code

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoe2lib: split up stat() into lstat() and remove inconsistencies
Tobias Ulmer [Tue, 11 Oct 2016 16:08:33 +0000 (18:08 +0200)]
e2lib: split up stat() into lstat() and remove inconsistencies

This allows symlinks (not encouraged!) to work more consistently.

It also fixes a bug where we cached the symlink information instead of
the real file.

Prior to this change stat(foo, true) worked like posix stat(), while
stat(foo) or stat(foo, false) worked like lstat. This change undoes the
confusion, both functions work like their posix namesakes.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agoerr: extent cat() to take a format string plus arguments
Tobias Ulmer [Mon, 10 Oct 2016 17:27:50 +0000 (19:27 +0200)]
err: extent cat() to take a format string plus arguments

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: error out when at risk of overwriting files in toresult()
Tobias Ulmer [Mon, 10 Oct 2016 17:15:52 +0000 (19:15 +0200)]
files: error out when at risk of overwriting files in toresult()

Due to flattening the file tree for collect project, each file in a
source needs an unique file name. Changing the code to accommodate for
anything else is quite involved. For now lets just make sure it's not
possible to generate a broken collect_project result and error out.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
8 years agofiles: fix typo
Tobias Ulmer [Mon, 10 Oct 2016 15:51:59 +0000 (17:51 +0200)]
files: fix typo

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