From: Tobias Ulmer Date: Wed, 24 Apr 2019 16:54:55 +0000 (+0200) Subject: fetch-sources: more consistent logging X-Git-Tag: e2factory-2.3.18rc1~8 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=b8ed5543f89aa8b460a18f361c02f7ba42303a97;p=e2factory.git fetch-sources: more consistent logging Signed-off-by: Tobias Ulmer --- diff --git a/local/e2-fetch-sources.lua b/local/e2-fetch-sources.lua index 93db678..cedd736 100644 --- a/local/e2-fetch-sources.lua +++ b/local/e2-fetch-sources.lua @@ -117,7 +117,7 @@ local function e2_fetch_source(arg) -- fetch for sourcename, src in pairs(source.sources) do if opts.fetch and sel[sourcename] then - e2lib.logf(1, "fetching working copy for source %s", sourcename) + e2lib.logf(1, "%s: fetching working copy", sourcename) rc, re = src:fetch_source() if not rc then e:cat(re) @@ -128,7 +128,7 @@ local function e2_fetch_source(arg) -- update for sourcename, src in pairs(source.sources) do if opts.update and sel[sourcename] then - e2lib.logf(1, "updating working copy for %s", sourcename) + e2lib.logf(1, "%s: updating working copy", sourcename) rc, re = src:update_source() if not rc then e:cat(re) @@ -200,7 +200,7 @@ local function e2_fetch_source(arg) end if next(sel) ~= nil then - e2lib.log(2, "fetching sources...") + -- e2lib.log(2, "fetching sources...") local rc, re = fetch_sources(e2project:info(), opts, sel) if not rc then e:cat(re)