Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nelm for openSUSE:Factory checked in at 2025-06-10 09:08:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nelm (Old) and /work/SRC/openSUSE:Factory/.nelm.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nelm" Tue Jun 10 09:08:37 2025 rev:10 rq:1284266 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nelm/nelm.changes 2025-06-05 20:36:17.034144916 +0200 +++ /work/SRC/openSUSE:Factory/.nelm.new.19631/nelm.changes 2025-06-10 09:10:59.525590280 +0200 @@ -1,0 +2,8 @@ +Mon Jun 09 17:30:55 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- Update to version 1.6.0: + * Features + - feat: include_debug/tpl_debug/printf_debug/dump_debug and + detailed template errors + +------------------------------------------------------------------- Old: ---- nelm-1.5.0.obscpio New: ---- nelm-1.6.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nelm.spec ++++++ --- /var/tmp/diff_new_pack.PivJaw/_old 2025-06-10 09:11:00.705639078 +0200 +++ /var/tmp/diff_new_pack.PivJaw/_new 2025-06-10 09:11:00.709639243 +0200 @@ -17,7 +17,7 @@ Name: nelm -Version: 1.5.0 +Version: 1.6.0 Release: 0 Summary: Helm 3 alternative License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PivJaw/_old 2025-06-10 09:11:00.737640401 +0200 +++ /var/tmp/diff_new_pack.PivJaw/_new 2025-06-10 09:11:00.737640401 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/werf/nelm</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.5.0</param> + <param name="revision">v1.6.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.PivJaw/_old 2025-06-10 09:11:00.761641394 +0200 +++ /var/tmp/diff_new_pack.PivJaw/_new 2025-06-10 09:11:00.761641394 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/werf/nelm</param> - <param name="changesrevision">4f74ddbf6ad2a25b34d55158035495acbc4b7711</param></service></servicedata> + <param name="changesrevision">d6850e818c89829d401c760e51c65faa5bf68b3b</param></service></servicedata> (No newline at EOF) ++++++ nelm-1.5.0.obscpio -> nelm-1.6.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nelm-1.5.0/CHANGELOG.md new/nelm-1.6.0/CHANGELOG.md --- old/nelm-1.5.0/CHANGELOG.md 2025-06-04 15:41:58.000000000 +0200 +++ new/nelm-1.6.0/CHANGELOG.md 2025-06-09 18:55:52.000000000 +0200 @@ -1,5 +1,12 @@ # Changelog +## [1.6.0](https://www.github.com/werf/nelm/compare/v1.5.0...v1.6.0) (2025-06-09) + + +### Features + +* include_debug/tpl_debug/printf_debug/dump_debug and detailed template errors ([ee22873](https://www.github.com/werf/nelm/commit/ee228734f5cc48341d3659bc3b32bfc3f6bcea72)) + ## [1.5.0](https://www.github.com/werf/nelm/compare/v1.4.1...v1.5.0) (2025-06-04) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nelm-1.5.0/README.md new/nelm-1.6.0/README.md --- old/nelm-1.5.0/README.md 2025-06-04 15:41:58.000000000 +0200 +++ new/nelm-1.6.0/README.md 2025-06-09 18:55:52.000000000 +0200 @@ -49,6 +49,10 @@ - [Annotation `werf.io/show-logs-only-for-containers`](#annotation-werfioshow-logs-only-for-containers) - [Annotation `werf.io/show-service-messages`](#annotation-werfioshow-service-messages) - [Function `werf_secret_file`](#function-werf_secret_file) + - [Function `dump_debug`](#function-dump_debug) + - [Function `printf_debug`](#function-printf_debug) + - [Function `include_debug`](#function-include_debug) + - [Function `tpl_debug`](#function-tpl_debug) - [Feature gates](#feature-gates) - [Env variable `NELM_FEAT_PREVIEW_V2`](#env-variable-nelm_feat_preview_v2) - [Env variable `NELM_FEAT_REMOTE_CHARTS`](#env-variable-nelm_feat_remote_charts) @@ -510,6 +514,34 @@ Read the specified secret file from the `secret/` directory of the Helm chart. +#### Function `dump_debug` + +Format: `dump_debug "<value of any type>"` \ +Example: `{{ dump_debug $ }}` + +If the log level is `debug`, then pretty-dumps the passed value to the logs. Handles just fine any kind of complex types, including .Values, or event root context. Never prints to the templating output. + +#### Function `printf_debug` + +Format: `printf_debug "<format string>" <args...>` \ +Example: `{{ printf_debug "myval: %s" .Values.myval }}` + +If the log level is `debug`, then prints the result to the logs. Never prints to the templating output. + +#### Function `include_debug` + +Format: `include_debug "<template name>" <context>` \ +Example: `{{ include_debug "mytemplate" . }}` + +Works exactly like the `include` function, but if the log level is `debug`, then also prints various include-related debug information to the logs. Useful for debugging complex includes/defines. + +#### Function `tpl_debug` + +Format: `tpl_debug "<template string>" <context>` \ +Example: `{{ tpl_debug "{{ .Values.myval }}" . }}` + +Works exactly like the `tpl` function, but if the log level is `debug`, then also prints various tpl-related debug information to the logs. Useful for debugging complex tpl templates. + ### Feature gates #### Env variable `NELM_FEAT_PREVIEW_V2` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nelm-1.5.0/go.mod new/nelm-1.6.0/go.mod --- old/nelm-1.5.0/go.mod 2025-06-04 15:41:58.000000000 +0200 +++ new/nelm-1.6.0/go.mod 2025-06-09 18:55:52.000000000 +0200 @@ -34,7 +34,7 @@ github.com/spf13/pflag v1.0.5 github.com/tidwall/sjson v1.2.5 github.com/wI2L/jsondiff v0.5.0 - github.com/werf/3p-helm v0.0.0-20250523104754-b2fc45bbcb87 + github.com/werf/3p-helm v0.0.0-20250609150428-130783e0dc18 github.com/werf/common-go v0.0.0-20250520111308-b0eda28dde0d github.com/werf/kubedog v0.13.1-0.20250411133038-3d8084fab0ec github.com/werf/lockgate v0.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nelm-1.5.0/go.sum new/nelm-1.6.0/go.sum --- old/nelm-1.5.0/go.sum 2025-06-04 15:41:58.000000000 +0200 +++ new/nelm-1.6.0/go.sum 2025-06-09 18:55:52.000000000 +0200 @@ -413,8 +413,8 @@ github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/wI2L/jsondiff v0.5.0 h1:RRMTi/mH+R2aXcPe1VYyvGINJqQfC3R+KSEakuU1Ikw= github.com/wI2L/jsondiff v0.5.0/go.mod h1:qqG6hnK0Lsrz2BpIVCxWiK9ItsBCpIZQiv0izJjOZ9s= -github.com/werf/3p-helm v0.0.0-20250523104754-b2fc45bbcb87 h1:kHySZA0mA/KtaaO8lftbSHbM5FoB29ipvXrG9esUMtY= -github.com/werf/3p-helm v0.0.0-20250523104754-b2fc45bbcb87/go.mod h1:KDjmOsjFiOmj0fB0+q+0gGvlejPMjTgckLC59bX0BLg= +github.com/werf/3p-helm v0.0.0-20250609150428-130783e0dc18 h1:Uq8yeXGMgb4K/PcsLG4SGu19Tonfm7PScsKE/4fW+iY= +github.com/werf/3p-helm v0.0.0-20250609150428-130783e0dc18/go.mod h1:KDjmOsjFiOmj0fB0+q+0gGvlejPMjTgckLC59bX0BLg= github.com/werf/common-go v0.0.0-20250520111308-b0eda28dde0d h1:nVN0E4lQdToFiPty19uwj5TF+bCI/kAp5LLG4stWdO4= github.com/werf/common-go v0.0.0-20250520111308-b0eda28dde0d/go.mod h1:taKDUxKmGfqNOlVx1O0ad5vdV4duKexTLO7Rch9HfeA= github.com/werf/kubedog v0.13.1-0.20250411133038-3d8084fab0ec h1:tyfkagRcJVtfBF4aoxmnE6/idE7YIPo4RqdJQXNoJRg= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nelm-1.5.0/pkg/action/util.go new/nelm-1.6.0/pkg/action/util.go --- old/nelm-1.5.0/pkg/action/util.go 2025-06-04 15:41:58.000000000 +0200 +++ new/nelm-1.6.0/pkg/action/util.go 2025-06-09 18:55:52.000000000 +0200 @@ -16,6 +16,7 @@ "k8s.io/klog" klogv2 "k8s.io/klog/v2" + "github.com/werf/3p-helm/pkg/engine" "github.com/werf/logboek" "github.com/werf/nelm/pkg/log" ) @@ -110,6 +111,8 @@ contdlog.L.Logger.SetOutput(logboek.Context(ctx).OutStream()) contdlog.L.Logger.SetLevel(logrus.DebugLevel) + + engine.Debug = true case TraceLogLevel: stdlog.SetOutput(os.Stdout) @@ -124,6 +127,8 @@ contdlog.L.Logger.SetOutput(logboek.Context(ctx).OutStream()) contdlog.L.Logger.SetLevel(logrus.TraceLevel) + + engine.Debug = true default: panic(fmt.Sprintf("unknown log level %q", logLevel)) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nelm-1.5.0/trdl_channels.yaml new/nelm-1.6.0/trdl_channels.yaml --- old/nelm-1.5.0/trdl_channels.yaml 2025-06-04 15:41:58.000000000 +0200 +++ new/nelm-1.6.0/trdl_channels.yaml 2025-06-09 18:55:52.000000000 +0200 @@ -2,12 +2,12 @@ - name: "1" channels: - name: alpha - version: 1.4.1 + version: 1.5.0 - name: beta version: 1.4.1 - name: ea - version: 1.3.0 + version: 1.4.1 - name: stable - version: 1.2.2 + version: 1.3.0 - name: rock-solid version: 1.2.2 ++++++ nelm.obsinfo ++++++ --- /var/tmp/diff_new_pack.PivJaw/_old 2025-06-10 09:11:00.985650657 +0200 +++ /var/tmp/diff_new_pack.PivJaw/_new 2025-06-10 09:11:00.989650822 +0200 @@ -1,5 +1,5 @@ name: nelm -version: 1.5.0 -mtime: 1749044518 -commit: 4f74ddbf6ad2a25b34d55158035495acbc4b7711 +version: 1.6.0 +mtime: 1749488152 +commit: d6850e818c89829d401c760e51c65faa5bf68b3b ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/nelm/vendor.tar.gz /work/SRC/openSUSE:Factory/.nelm.new.19631/vendor.tar.gz differ: char 13, line 1