From eb88fbd123437e48021eddb7a0020a7fcc4cfb11 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Tue, 31 Jan 2023 14:05:34 -0800 Subject: [PATCH] Add more logs after executing package() --- build.go | 4 ++++ translations/lure.en.toml | 8 ++++++++ translations/lure.ru.toml | 8 ++++++++ 3 files changed, 20 insertions(+) diff --git a/build.go b/build.go index 8235e81..9efde43 100644 --- a/build.go +++ b/build.go @@ -380,6 +380,8 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager, clean } else { log.Fatal("The package() function is required").Send() } + + log.Info("Building package metadata").Str("name", vars.Name).Send() uniq( &repoDeps, @@ -498,6 +500,8 @@ func buildPackage(ctx context.Context, script string, mgr manager.Manager, clean if err != nil { return nil, nil, err } + + log.Info("Compressing package").Str("name", pkgName).Send() err = packager.Package(pkgInfo, pkgFile) if err != nil { diff --git a/translations/lure.en.toml b/translations/lure.en.toml index 77e4463..46983e5 100644 --- a/translations/lure.en.toml +++ b/translations/lure.en.toml @@ -110,6 +110,14 @@ value = 'Source can be updated, updating if required' id = 21753247 value = 'Source found in cache, linked to destination' +[[translation]] +id = 257354570 +value = 'Compressing package' + +[[translation]] +id = 2952487371 +value = 'Building package metadata' + [[translation]] id = 1579384326 value = 'name' diff --git a/translations/lure.ru.toml b/translations/lure.ru.toml index 8b5681c..e5c03b6 100644 --- a/translations/lure.ru.toml +++ b/translations/lure.ru.toml @@ -106,6 +106,14 @@ value = 'Источник может быть обновлен, если тре id = 21753247 value = 'Источник найден в кэше' +[[translation]] +id = 257354570 +value = 'Сжатие пакета' + +[[translation]] +id = 2952487371 +value = 'Создание метаданных пакета' + [[translation]] id = 1579384326 value = 'название'