Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package helm-docs for openSUSE:Factory 
checked in at 2022-04-04 19:26:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/helm-docs (Old)
 and      /work/SRC/openSUSE:Factory/.helm-docs.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "helm-docs"

Mon Apr  4 19:26:38 2022 rev:2 rq:966750 version:1.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/helm-docs/helm-docs.changes      2022-03-16 
20:21:07.940998970 +0100
+++ /work/SRC/openSUSE:Factory/.helm-docs.new.1900/helm-docs.changes    
2022-04-04 19:27:08.528021531 +0200
@@ -1,0 +2,16 @@
+Mon Apr 04 07:00:38 UTC 2022 - ka...@b1-systems.de
+
+- Update to version 1.8.1:
+  * Don't print angle brackets for URL/email if not present
+
+-------------------------------------------------------------------
+Mon Apr 04 06:59:15 UTC 2022 - ka...@b1-systems.de
+
+- Update to version 1.8.0:
+  * Updgrades sprig to v3
+  * Updgrades golang/x/sys to fix #131
+  * Add option for a values file named other than `values.yaml`.
+  * feat: make the badge style from shields.io configurable
+  * Avoid raw URLs in maintainer tables
+
+-------------------------------------------------------------------

Old:
----
  helm-docs-1.6.0.tar.gz

New:
----
  helm-docs-1.8.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ helm-docs.spec ++++++
--- /var/tmp/diff_new_pack.gNsxNR/_old  2022-04-04 19:27:09.332012313 +0200
+++ /var/tmp/diff_new_pack.gNsxNR/_new  2022-04-04 19:27:09.336012267 +0200
@@ -15,13 +15,14 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           helm-docs
-Version:        1.6.0
+Version:        1.8.1
 Release:        0
 Summary:        A tool for automatically generating markdown documentation for 
helm charts
-License:        GPL-3.0
+License:        GPL-3.0-only
 URL:            https://github.com/norwoodj/helm-docs
 Source:         helm-docs-%{version}.tar.gz
 Source1:        vendor.tar.gz

++++++ _service ++++++
--- /var/tmp/diff_new_pack.gNsxNR/_old  2022-04-04 19:27:09.368011900 +0200
+++ /var/tmp/diff_new_pack.gNsxNR/_new  2022-04-04 19:27:09.368011900 +0200
@@ -3,10 +3,11 @@
     <param name="url">https://github.com/norwoodj/helm-docs</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v1.6.0</param>
+    <param name="revision">v1.8.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>
+    <param name="match-tag">v1.8.1</param>
   </service>
   <service name="set_version" mode="disabled">
     <param name="basename">helm-docs</param>
@@ -16,7 +17,7 @@
     <param name="compression">gz</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">helm-docs-1.6.0.tar.gz</param>
+    <param name="archive">helm-docs-1.8.1.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.gNsxNR/_old  2022-04-04 19:27:09.388011671 +0200
+++ /var/tmp/diff_new_pack.gNsxNR/_new  2022-04-04 19:27:09.388011671 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/norwoodj/helm-docs</param>
-              <param 
name="changesrevision">98159732c7610f627f0e21aa1d71583f753ceb2d</param></service></servicedata>
+              <param 
name="changesrevision">e91c4c3337d3bf3fdad8de1763999a5c3325567f</param></service></servicedata>
 (No newline at EOF)
 

++++++ helm-docs-1.6.0.tar.gz -> helm-docs-1.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/.github/workflows/build.yml 
new/helm-docs-1.8.1/.github/workflows/build.yml
--- old/helm-docs-1.6.0/.github/workflows/build.yml     2022-01-19 
22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/.github/workflows/build.yml     2022-04-03 
17:31:26.000000000 +0200
@@ -22,7 +22,7 @@
     - uses: docker/setup-buildx-action@v1
     - uses: actions/setup-go@v2
       with:
-        go-version: '^1.16.3'
+        go-version: '^1.18.0'
     - uses: actions/cache@v1
       with:
         path: /home/runner/go/pkg/mod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/.github/workflows/release.yml 
new/helm-docs-1.8.1/.github/workflows/release.yml
--- old/helm-docs-1.6.0/.github/workflows/release.yml   2022-01-19 
22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/.github/workflows/release.yml   2022-04-03 
17:31:26.000000000 +0200
@@ -18,7 +18,7 @@
     - uses: docker/setup-buildx-action@v1
     - uses: actions/setup-go@v2
       with:
-        go-version: '^1.16.3'
+        go-version: '^1.18.0'
     - uses: actions/cache@v1
       with:
         path: /home/runner/go/pkg/mod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/cmd/helm-docs/command_line.go 
new/helm-docs-1.8.1/cmd/helm-docs/command_line.go
--- old/helm-docs-1.6.0/cmd/helm-docs/command_line.go   2022-01-19 
22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/cmd/helm-docs/command_line.go   2022-04-03 
17:31:26.000000000 +0200
@@ -51,6 +51,8 @@
        command.PersistentFlags().StringP("output-file", "o", "README.md", 
"markdown file path relative to each chart directory to which rendered 
documentation will be written")
        command.PersistentFlags().StringP("sort-values-order", "s", 
document.AlphaNumSortOrder, fmt.Sprintf("order in which to sort the values 
table (\"%s\" or \"%s\")", document.AlphaNumSortOrder, document.FileSortOrder))
        command.PersistentFlags().StringSliceP("template-files", "t", 
[]string{"README.md.gotmpl"}, "gotemplate file paths relative to each chart 
directory from which documentation will be generated")
+       command.PersistentFlags().StringP("badge-style", "b", "flat-square", 
"badge style to use for charts")
+       command.PersistentFlags().StringP("values-file", "f", "values.yaml", 
"Path to values file")
 
        viper.AutomaticEnv()
        viper.SetEnvPrefix("HELM_DOCS")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/cmd/helm-docs/main.go 
new/helm-docs-1.8.1/cmd/helm-docs/main.go
--- old/helm-docs-1.6.0/cmd/helm-docs/main.go   2022-01-19 22:39:31.000000000 
+0100
+++ new/helm-docs-1.8.1/cmd/helm-docs/main.go   2022-04-03 17:31:26.000000000 
+0200
@@ -14,7 +14,7 @@
        "github.com/norwoodj/helm-docs/pkg/helm"
 )
 
-func retrieveInfoAndPrintDocumentation(chartDirectory string, chartSearchRoot 
string, templateFiles []string, waitGroup *sync.WaitGroup, dryRun bool) {
+func retrieveInfoAndPrintDocumentation(chartDirectory string, chartSearchRoot 
string, templateFiles []string, waitGroup *sync.WaitGroup, badgeStyle string, 
dryRun bool) {
        defer waitGroup.Done()
        chartDocumentationInfo, err := 
helm.ParseChartInformation(path.Join(chartSearchRoot, chartDirectory))
 
@@ -23,11 +23,11 @@
                return
        }
 
-       document.PrintDocumentation(chartDocumentationInfo, chartSearchRoot, 
templateFiles, dryRun, version)
+       document.PrintDocumentation(chartDocumentationInfo, chartSearchRoot, 
templateFiles, dryRun, version, badgeStyle)
 
 }
 
-func helmDocs(cmd *cobra.Command, _ []string) {
+func helmDocs(_ *cobra.Command, _ []string) {
        initializeCli()
 
        chartSearchRoot := viper.GetString("chart-search-root")
@@ -56,6 +56,8 @@
        templateFiles := viper.GetStringSlice("template-files")
        log.Debugf("Rendering from optional template files [%s]", 
strings.Join(templateFiles, ", "))
 
+       badgeStyle := viper.GetString("badge-style")
+
        dryRun := viper.GetBool("dry-run")
        waitGroup := sync.WaitGroup{}
 
@@ -64,9 +66,9 @@
 
                // On dry runs all output goes to stdout, and so as to not 
jumble things, generate serially
                if dryRun {
-                       retrieveInfoAndPrintDocumentation(c, 
fullChartSearchRoot, templateFiles, &waitGroup, dryRun)
+                       retrieveInfoAndPrintDocumentation(c, 
fullChartSearchRoot, templateFiles, &waitGroup, badgeStyle, dryRun)
                } else {
-                       go retrieveInfoAndPrintDocumentation(c, 
fullChartSearchRoot, templateFiles, &waitGroup, dryRun)
+                       go retrieveInfoAndPrintDocumentation(c, 
fullChartSearchRoot, templateFiles, &waitGroup, badgeStyle, dryRun)
                }
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/go.mod new/helm-docs-1.8.1/go.mod
--- old/helm-docs-1.6.0/go.mod  2022-01-19 22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/go.mod  2022-04-03 17:31:26.000000000 +0200
@@ -3,16 +3,12 @@
 go 1.14
 
 require (
-       github.com/Masterminds/goutils v1.1.0 // indirect
-       github.com/Masterminds/semver v1.4.2 // indirect
-       github.com/Masterminds/sprig v2.20.0+incompatible
-       github.com/google/uuid v1.1.1 // indirect
-       github.com/huandu/xstrings v1.2.0 // indirect
-       github.com/imdario/mergo v0.3.7 // indirect
+       github.com/Masterminds/sprig/v3 v3.2.2
        github.com/sirupsen/logrus v1.2.0
        github.com/spf13/cobra v0.0.5
        github.com/spf13/viper v1.4.0
-       github.com/stretchr/testify v1.2.2
+       github.com/stretchr/testify v1.5.1
+       golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f // indirect
        gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
        k8s.io/helm v2.14.3+incompatible
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/go.sum new/helm-docs-1.8.1/go.sum
--- old/helm-docs-1.6.0/go.sum  2022-01-19 22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/go.sum  2022-04-03 17:31:26.000000000 +0200
@@ -1,12 +1,12 @@
 cloud.google.com/go v0.26.0/go.mod 
h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
 github.com/BurntSushi/toml v0.3.1 
h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
 github.com/BurntSushi/toml v0.3.1/go.mod 
h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/Masterminds/goutils v1.1.0 
h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg=
-github.com/Masterminds/goutils v1.1.0/go.mod 
h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
-github.com/Masterminds/semver v1.4.2 
h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc=
-github.com/Masterminds/semver v1.4.2/go.mod 
h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
-github.com/Masterminds/sprig v2.20.0+incompatible 
h1:dJTKKuUkYW3RMFdQFXPU/s6hg10RgctmTjRcbZ98Ap8=
-github.com/Masterminds/sprig v2.20.0+incompatible/go.mod 
h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
+github.com/Masterminds/goutils v1.1.1 
h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
+github.com/Masterminds/goutils v1.1.1/go.mod 
h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
+github.com/Masterminds/semver/v3 v3.1.1 
h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
+github.com/Masterminds/semver/v3 v3.1.1/go.mod 
h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
+github.com/Masterminds/sprig/v3 v3.2.2 
h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8=
+github.com/Masterminds/sprig/v3 v3.2.2/go.mod 
h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk=
 github.com/OneOfOne/xxhash v1.2.2/go.mod 
h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
 github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod 
h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
 github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod 
h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -22,6 +22,7 @@
 github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod 
h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
 github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod 
h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
 github.com/cpuguy83/go-md2man v1.0.10/go.mod 
h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
+github.com/davecgh/go-spew v1.1.0/go.mod 
h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/davecgh/go-spew v1.1.1 
h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 github.com/davecgh/go-spew v1.1.1/go.mod 
h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod 
h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
@@ -50,10 +51,10 @@
 github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod 
h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
 github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
 github.com/hashicorp/hcl v1.0.0/go.mod 
h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
-github.com/huandu/xstrings v1.2.0 
h1:yPeWdRnmynF7p+lLYz0H2tthW9lqhMJrQV/U7yy4wX0=
-github.com/huandu/xstrings v1.2.0/go.mod 
h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4=
-github.com/imdario/mergo v0.3.7 h1:Y+UAYTZ7gDEuOfhxKWy+dvb5dRQ6rJjFSdX2HZY1/gI=
-github.com/imdario/mergo v0.3.7/go.mod 
h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
+github.com/huandu/xstrings v1.3.1 
h1:4jgBlKK6tLKFvO8u5pmYjG91cqytmDCDvGh7ECVFfFs=
+github.com/huandu/xstrings v1.3.1/go.mod 
h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
+github.com/imdario/mergo v0.3.11 
h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA=
+github.com/imdario/mergo v0.3.11/go.mod 
h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
 github.com/inconshreveable/mousetrap v1.0.0 
h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
 github.com/inconshreveable/mousetrap v1.0.0/go.mod 
h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
 github.com/jonboulle/clockwork v0.1.0/go.mod 
h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
@@ -71,9 +72,13 @@
 github.com/magiconair/properties v1.8.0 
h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
 github.com/magiconair/properties v1.8.0/go.mod 
h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
 github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod 
h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
+github.com/mitchellh/copystructure v1.0.0 
h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ=
+github.com/mitchellh/copystructure v1.0.0/go.mod 
h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw=
 github.com/mitchellh/go-homedir v1.1.0/go.mod 
h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
 github.com/mitchellh/mapstructure v1.1.2 
h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
 github.com/mitchellh/mapstructure v1.1.2/go.mod 
h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/reflectwalk v1.0.0 
h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY=
+github.com/mitchellh/reflectwalk v1.0.0/go.mod 
h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
 github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod 
h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
 github.com/oklog/ulid v1.3.1/go.mod 
h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
 github.com/pelletier/go-toml v1.2.0 
h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
@@ -92,14 +97,17 @@
 github.com/prometheus/tsdb v0.7.1/go.mod 
h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
 github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod 
h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
 github.com/russross/blackfriday v1.5.2/go.mod 
h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
+github.com/shopspring/decimal v1.2.0 
h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
+github.com/shopspring/decimal v1.2.0/go.mod 
h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
 github.com/sirupsen/logrus v1.2.0 
h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=
 github.com/sirupsen/logrus v1.2.0/go.mod 
h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
 github.com/soheilhy/cmux v0.1.4/go.mod 
h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
 github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod 
h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
 github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI=
 github.com/spf13/afero v1.1.2/go.mod 
h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
-github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=
 github.com/spf13/cast v1.3.0/go.mod 
h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
+github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng=
+github.com/spf13/cast v1.3.1/go.mod 
h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
 github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s=
 github.com/spf13/cobra v0.0.5/go.mod 
h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU=
 github.com/spf13/jwalterweatherman v1.0.0 
h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=
@@ -109,9 +117,11 @@
 github.com/spf13/viper v1.3.2/go.mod 
h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
 github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU=
 github.com/spf13/viper v1.4.0/go.mod 
h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
+github.com/stretchr/objx v0.1.0/go.mod 
h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 github.com/stretchr/objx v0.1.1/go.mod 
h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.2.2 
h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
 github.com/stretchr/testify v1.2.2/go.mod 
h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+github.com/stretchr/testify v1.5.1 
h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
+github.com/stretchr/testify v1.5.1/go.mod 
h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
 github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod 
h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
 github.com/ugorji/go v1.1.4/go.mod 
h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
 github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod 
h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
@@ -123,14 +133,16 @@
 go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
 golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod 
h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod 
h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 
h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod 
h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 
h1:bXoxMPcSLOq08zI3/c5dEBT6lE4eh+jOh886GHrn6V8=
+golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod 
h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
 golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod 
h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
 golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod 
h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
 golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod 
h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod 
h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod 
h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod 
h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod 
h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
 golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod 
h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod 
h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod 
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -141,8 +153,10 @@
 golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod 
h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod 
h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod 
h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 
h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod 
h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod 
h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f 
h1:rlezHXNlxYWvBCzNses9Dlc7nGFaNMJeqLolcmQSSZY=
+golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f/go.mod 
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -154,15 +168,15 @@
 google.golang.org/grpc v1.19.0/go.mod 
h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
 google.golang.org/grpc v1.21.0/go.mod 
h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
 gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod 
h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 
h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod 
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 
h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod 
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/resty.v1 v1.12.0/go.mod 
h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
 gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod 
h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
 gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
 gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
+gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
 gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 
h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ=
 gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod 
h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
 honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod 
h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/pkg/document/generate.go 
new/helm-docs-1.8.1/pkg/document/generate.go
--- old/helm-docs-1.6.0/pkg/document/generate.go        2022-01-19 
22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/pkg/document/generate.go        2022-04-03 
17:31:26.000000000 +0200
@@ -27,13 +27,14 @@
        return f, err
 }
 
-func PrintDocumentation(chartDocumentationInfo helm.ChartDocumentationInfo, 
chartSearchRoot string, templateFiles []string, dryRun bool, helmDocsVersion 
string) {
+func PrintDocumentation(chartDocumentationInfo helm.ChartDocumentationInfo, 
chartSearchRoot string, templateFiles []string, dryRun bool, helmDocsVersion 
string, badgeStyle string) {
        log.Infof("Generating README Documentation for chart %s", 
chartDocumentationInfo.ChartDirectory)
 
        chartDocumentationTemplate, err := newChartDocumentationTemplate(
                chartDocumentationInfo,
                chartSearchRoot,
                templateFiles,
+               badgeStyle,
        )
 
        if err != nil {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/pkg/document/template.go 
new/helm-docs-1.8.1/pkg/document/template.go
--- old/helm-docs-1.6.0/pkg/document/template.go        2022-01-19 
22:39:31.000000000 +0100
+++ new/helm-docs-1.8.1/pkg/document/template.go        2022-04-03 
17:31:26.000000000 +0200
@@ -1,6 +1,7 @@
 package document
 
 import (
+       "fmt"
        "io/ioutil"
        "os"
        "path"
@@ -9,7 +10,7 @@
 
        "github.com/norwoodj/helm-docs/pkg/util"
 
-       "github.com/Masterminds/sprig"
+       "github.com/Masterminds/sprig/v3"
        log "github.com/sirupsen/logrus"
 
        "github.com/norwoodj/helm-docs/pkg/helm"
@@ -62,31 +63,31 @@
        return deprecatedTemplateBuilder.String()
 }
 
-func getVersionTemplates() string {
+func getVersionTemplates(badgeStyle string) string {
        versionBuilder := strings.Builder{}
        versionBuilder.WriteString(`{{ define "chart.version" }}{{ .Version 
}}{{ end }}\n`)
        versionBuilder.WriteString(`{{ define "chart.versionBadge" }}`)
-       versionBuilder.WriteString(`![Version: {{ .Version 
}}](https://img.shields.io/badge/Version-{{ .Version | replace "-" "--" 
}}-informational?style=flat-square) `)
+       versionBuilder.WriteString(fmt.Sprintf(`![Version: {{ .Version 
}}](https://img.shields.io/badge/Version-{{ .Version | replace "-" "--" 
}}-informational?style=%s) `, badgeStyle))
        versionBuilder.WriteString("{{ end }}")
 
        return versionBuilder.String()
 }
 
-func getTypeTemplate() string {
+func getTypeTemplate(badgeStyle string) string {
        typeBuilder := strings.Builder{}
        typeBuilder.WriteString(`{{ define "chart.type" }}{{ .Type }}{{ end 
}}\n`)
        typeBuilder.WriteString(`{{ define "chart.typeBadge" }}`)
-       typeBuilder.WriteString("{{ if .Type }}![Type: {{ .Type 
}}](https://img.shields.io/badge/Type-{{ .Type 
}}-informational?style=flat-square) {{ end }}")
+       typeBuilder.WriteString(fmt.Sprintf("{{ if .Type }}![Type: {{ .Type 
}}](https://img.shields.io/badge/Type-{{ .Type }}-informational?style=%s) {{ 
end }}", badgeStyle))
        typeBuilder.WriteString("{{ end }}")
 
        return typeBuilder.String()
 }
 
-func getAppVersionTemplate() string {
+func getAppVersionTemplate(badgeStyle string) string {
        appVersionBuilder := strings.Builder{}
        appVersionBuilder.WriteString(`{{ define "chart.appVersion" }}{{ 
.AppVersion }}{{ end }}\n`)
        appVersionBuilder.WriteString(`{{ define "chart.appVersionBadge" }}`)
-       appVersionBuilder.WriteString(`{{ if .AppVersion }}![AppVersion: {{ 
.AppVersion }}](https://img.shields.io/badge/AppVersion-{{ .AppVersion | 
replace "-" "--" }}-informational?style=flat-square) {{ end }}`)
+       appVersionBuilder.WriteString(fmt.Sprintf(`{{ if .AppVersion 
}}![AppVersion: {{ .AppVersion }}](https://img.shields.io/badge/AppVersion-{{ 
.AppVersion | replace "-" "--" }}-informational?style=%s) {{ end }}`, 
badgeStyle))
        appVersionBuilder.WriteString("{{ end }}")
 
        return appVersionBuilder.String()
@@ -128,7 +129,7 @@
        maintainerBuilder.WriteString("| Name | Email | Url |\n")
        maintainerBuilder.WriteString("| ---- | ------ | --- |\n")
        maintainerBuilder.WriteString("  {{- range .Maintainers }}")
-       maintainerBuilder.WriteString("\n| {{ .Name }} | {{ .Email }} | {{ .Url 
}} |")
+       maintainerBuilder.WriteString("\n| {{ .Name }} | {{ if .Email }}<{{ 
.Email }}>{{ end }} | {{ if .Url }}<{{ .Url }}>{{ end }} |")
        maintainerBuilder.WriteString("  {{- end }}")
        maintainerBuilder.WriteString("{{ end }}")
 
@@ -281,7 +282,7 @@
        return string(allTemplateContents), nil
 }
 
-func getDocumentationTemplates(chartDirectory string, chartSearchRoot string, 
templateFiles []string) ([]string, error) {
+func getDocumentationTemplates(chartDirectory string, chartSearchRoot string, 
templateFiles []string, badgeStyle string) ([]string, error) {
        documentationTemplate, err := getDocumentationTemplate(chartDirectory, 
chartSearchRoot, templateFiles)
 
        if err != nil {
@@ -293,11 +294,11 @@
                getNameTemplate(),
                getHeaderTemplate(),
                getDeprecatedTemplate(),
-               getAppVersionTemplate(),
+               getAppVersionTemplate(badgeStyle),
                getBadgesTemplates(),
                getDescriptionTemplate(),
-               getVersionTemplates(),
-               getTypeTemplate(),
+               getVersionTemplates(badgeStyle),
+               getTypeTemplate(badgeStyle),
                getSourceLinkTemplates(),
                getRequirementsTableTemplates(),
                getValuesTableTemplates(),
@@ -308,10 +309,10 @@
        }, nil
 }
 
-func newChartDocumentationTemplate(chartDocumentationInfo 
helm.ChartDocumentationInfo, chartSearchRoot string, templateFiles []string) 
(*template.Template, error) {
+func newChartDocumentationTemplate(chartDocumentationInfo 
helm.ChartDocumentationInfo, chartSearchRoot string, templateFiles []string, 
badgeStyle string) (*template.Template, error) {
        documentationTemplate := 
template.New(chartDocumentationInfo.ChartDirectory)
        documentationTemplate.Funcs(sprig.TxtFuncMap())
-       goTemplateList, err := 
getDocumentationTemplates(chartDocumentationInfo.ChartDirectory, 
chartSearchRoot, templateFiles)
+       goTemplateList, err := 
getDocumentationTemplates(chartDocumentationInfo.ChartDirectory, 
chartSearchRoot, templateFiles, badgeStyle)
 
        if err != nil {
                return nil, err
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/pkg/helm/chart_info.go 
new/helm-docs-1.8.1/pkg/helm/chart_info.go
--- old/helm-docs-1.6.0/pkg/helm/chart_info.go  2022-01-19 22:39:31.000000000 
+0100
+++ new/helm-docs-1.8.1/pkg/helm/chart_info.go  2022-04-03 17:31:26.000000000 
+0200
@@ -11,6 +11,7 @@
        "strings"
 
        log "github.com/sirupsen/logrus"
+       "github.com/spf13/viper"
        "gopkg.in/yaml.v3"
 )
 
@@ -141,7 +142,7 @@
 }
 
 func parseChartValuesFile(chartDirectory string) (yaml.Node, error) {
-       valuesPath := path.Join(chartDirectory, "values.yaml")
+       valuesPath := path.Join(chartDirectory, viper.GetString("values-file"))
        yamlFileContents, err := getYamlFileContents(valuesPath)
 
        var values yaml.Node
@@ -154,7 +155,7 @@
 }
 
 func parseChartValuesFileComments(chartDirectory string) 
(map[string]ChartValueDescription, error) {
-       valuesPath := path.Join(chartDirectory, "values.yaml")
+       valuesPath := path.Join(chartDirectory, viper.GetString("values-file"))
        valuesFile, err := os.Open(valuesPath)
 
        if isErrorInReadingNecessaryFile(valuesPath, err) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-docs-1.6.0/pkg/util/ignore.go 
new/helm-docs-1.8.1/pkg/util/ignore.go
--- old/helm-docs-1.6.0/pkg/util/ignore.go      2022-01-19 22:39:31.000000000 
+0100
+++ new/helm-docs-1.8.1/pkg/util/ignore.go      2022-04-03 17:31:26.000000000 
+0200
@@ -36,6 +36,7 @@
                return nil, fmt.Errorf("failed to parse ignore rules from file 
%s: %s", filename, err)
        }
 
+       log.Debugf("Found ignore file at %s, using those ignore rules", 
filename)
        return ignoreRules, nil
 }
 

++++++ vendor.tar.gz ++++++
++++ 225203 lines of diff (skipped)

Reply via email to