]> git.e2factory.org Git - e2factory.git/commit
Add source module and refactor e2source config handling.
authorTobias Ulmer <tu@emlix.com>
Tue, 24 Jun 2014 17:23:56 +0000 (19:23 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:18 +0000 (15:41 +0100)
commit05f3c3f3a633440afd9285e0ba173f7556dc5809
tree960e9ed7350d14bcd95b87f567f185b72df40973
parentcc2d2e5881b8a4c727ddbc91e0513c70235e2a8b
Add source module and refactor e2source config handling.

* Introduce a source module with a basic_source class, which all source
  plugins have to implement.
* Move info.sources to source module.
* Turn e2source config tables into defined objects with clear interface.
* Convert all source plugins to class interface, cleaning source
  validation up.
* Improve error checking and detect typos in source configs.
* Add a stringlist module providing a ADT for the common case of dealing
  with arrays of strings.
* Fix files plugin calculation of sourceid when using per-file licences
  entries
* Many small fixes...

Signed-off-by: Tobias Ulmer <tu@emlix.com>
12 files changed:
generic/e2lib.lua
local/Makefile
local/e2-fetch-sources.lua
local/e2-ls-project.lua
local/e2tool.lua
local/scm.lua
local/sl.lua [new file with mode: 0644]
local/source.lua [new file with mode: 0644]
plugins/cvs.lua
plugins/files.lua
plugins/git.lua
plugins/svn.lua