Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tflint for openSUSE:Factory checked 
in at 2024-05-12 22:54:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tflint (Old)
 and      /work/SRC/openSUSE:Factory/.tflint.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tflint"

Sun May 12 22:54:04 2024 rev:3 rq:1173449 version:0.51.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/tflint/tflint.changes    2024-05-05 
12:11:05.976558493 +0200
+++ /work/SRC/openSUSE:Factory/.tflint.new.1880/tflint.changes  2024-05-13 
01:33:56.223039063 +0200
@@ -1,0 +2,19 @@
+Sat May 11 19:48:30 UTC 2024 - [email protected]
+
+- Update to version 0.51.1:
+  * Bump up version to v0.51.1
+  * Introduce Artifact Attestations (#2038)
+  * Fix provider::terraform::* function names (#2046)
+  * build(deps): Bump golang.org/x/net from 0.24.0 to 0.25.0
+    (#2041)
+  * build(deps): Bump golang.org/x/text from 0.14.0 to 0.15.0
+    (#2042)
+  * go: remove loop variable copying (#2044)
+  * gh: update golangci-lint (#2045)
+  * build(deps): Bump golangci/golangci-lint-action from 5.1.0 to
+    5.3.0 (#2039)
+  * build(deps): Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0
+    (#2043)
+  * lint: update config for new schema
+
+-------------------------------------------------------------------

Old:
----
  tflint-0.51.0.obscpio

New:
----
  tflint-0.51.1.obscpio

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

Other differences:
------------------
++++++ tflint.spec ++++++
--- /var/tmp/diff_new_pack.oRAwRo/_old  2024-05-13 01:33:57.315078714 +0200
+++ /var/tmp/diff_new_pack.oRAwRo/_new  2024-05-13 01:33:57.319078859 +0200
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           tflint
-Version:        0.51.0
+Version:        0.51.1
 Release:        0
 Summary:        A Pluggable Terraform Linter
 License:        MPL-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.oRAwRo/_old  2024-05-13 01:33:57.359080311 +0200
+++ /var/tmp/diff_new_pack.oRAwRo/_new  2024-05-13 01:33:57.363080457 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/terraform-linters/tflint</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v0.51.0</param>
+    <param name="revision">v0.51.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.oRAwRo/_old  2024-05-13 01:33:57.387081328 +0200
+++ /var/tmp/diff_new_pack.oRAwRo/_new  2024-05-13 01:33:57.391081474 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/terraform-linters/tflint</param>
-              <param 
name="changesrevision">9f45bb6d624a2917aef8a29fd8a8e84890c506fc</param></service></servicedata>
+              <param 
name="changesrevision">96dce7684ce71844462f0fc725289f85da086639</param></service></servicedata>
 (No newline at EOF)
 

++++++ tflint-0.51.0.obscpio -> tflint-0.51.1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/.github/ISSUE_TEMPLATE/bug.yml 
new/tflint-0.51.1/.github/ISSUE_TEMPLATE/bug.yml
--- old/tflint-0.51.0/.github/ISSUE_TEMPLATE/bug.yml    2024-05-02 
17:43:30.000000000 +0200
+++ new/tflint-0.51.1/.github/ISSUE_TEMPLATE/bug.yml    2024-05-11 
15:30:01.000000000 +0200
@@ -46,7 +46,7 @@
   - type: input
     attributes:
       label: TFLint Version
-      placeholder: '0.51.0'
+      placeholder: '0.51.1'
     validations:
       required: true
   - type: input
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/.github/workflows/lint.yml 
new/tflint-0.51.1/.github/workflows/lint.yml
--- old/tflint-0.51.0/.github/workflows/lint.yml        2024-05-02 
17:43:30.000000000 +0200
+++ new/tflint-0.51.1/.github/workflows/lint.yml        2024-05-11 
15:30:01.000000000 +0200
@@ -23,6 +23,6 @@
       with:
         go-version-file: 'go.mod'
     - name: Run linters
-      uses: golangci/[email protected]
+      uses: golangci/[email protected]
       with:
-        version: v1.54
+        version: v1.58
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/.github/workflows/release.yml 
new/tflint-0.51.1/.github/workflows/release.yml
--- old/tflint-0.51.0/.github/workflows/release.yml     2024-05-02 
17:43:30.000000000 +0200
+++ new/tflint-0.51.1/.github/workflows/release.yml     2024-05-11 
15:30:01.000000000 +0200
@@ -10,6 +10,7 @@
 permissions:
   contents: write
   id-token: write
+  attestations: write
 
 jobs:
   goreleaser:
@@ -32,3 +33,6 @@
         args: release --rm-dist --release-notes tools/release/release-note.md
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+    - uses: actions/attest-build-provenance@v1
+      with:
+        subject-path: 'dist/checksums.txt'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/.golangci.yml 
new/tflint-0.51.1/.golangci.yml
--- old/tflint-0.51.0/.golangci.yml     2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/.golangci.yml     2024-05-11 15:30:01.000000000 +0200
@@ -1,12 +1,13 @@
 run:
   timeout: 5m
-  skip-dirs:
-    - terraform/
 linters:
   enable:
     - gci
     - gofmt
+    - copyloopvar
 issues:
+  exclude-dirs:
+    - terraform/
   exclude-rules:
     - path: terraform/
       linters:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/README.md new/tflint-0.51.1/README.md
--- old/tflint-0.51.0/README.md 2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/README.md 2024-05-11 15:30:01.000000000 +0200
@@ -40,13 +40,24 @@
 
 ### Verification
 
-Releases are signed by [Cosign](https://github.com/sigstore/cosign). `cosign 
verify-blob` ensures that the release was built with this repository's GitHub 
Actions.
+#### Cosign
 
-```
+[Cosign](https://github.com/sigstore/cosign) `verify-blob` command ensures 
that the release was built with GitHub Actions in this repository.
+
+```console
 cosign verify-blob --certificate=checksums.txt.pem 
--signature=checksums.txt.keyless.sig 
--certificate-identity-regexp="^https://github.com/terraform-linters/tflint"; 
--certificate-oidc-issuer=https://token.actions.githubusercontent.com 
checksums.txt
 sha256sum --ignore-missing -c checksums.txt
 ```
 
+#### GitHub CLI (Beta)
+
+[Artifact 
Attestations](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)
 are available that can be verified using the GitHub CLI.
+
+```console
+gh attestation verify checksums.txt -R terraform-linters/tflint
+sha256sum --ignore-missing -c checksums.txt
+```
+
 ### Docker
 
 Instead of installing directly, you can use the Docker image:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/go.mod new/tflint-0.51.1/go.mod
--- old/tflint-0.51.0/go.mod    2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/go.mod    2024-05-11 15:30:01.000000000 +0200
@@ -30,17 +30,16 @@
        github.com/zclconf/go-cty v1.14.4
        github.com/zclconf/go-cty-debug v0.0.0-20240417160409-8c45e122ae1a
        github.com/zclconf/go-cty-yaml v1.0.3
-       golang.org/x/crypto v0.22.0
-       golang.org/x/net v0.24.0
-       golang.org/x/oauth2 v0.19.0
-       golang.org/x/text v0.14.0
+       golang.org/x/crypto v0.23.0
+       golang.org/x/net v0.25.0
+       golang.org/x/oauth2 v0.20.0
+       golang.org/x/text v0.15.0
        google.golang.org/grpc v1.63.2
 )
 
 require (
        cloud.google.com/go v0.112.0 // indirect
-       cloud.google.com/go/compute v1.24.0 // indirect
-       cloud.google.com/go/compute/metadata v0.2.3 // indirect
+       cloud.google.com/go/compute/metadata v0.3.0 // indirect
        cloud.google.com/go/iam v1.1.6 // indirect
        cloud.google.com/go/storage v1.36.0 // indirect
        github.com/Masterminds/semver/v3 v3.2.1 // indirect
@@ -84,7 +83,7 @@
        go.opentelemetry.io/otel/trace v1.22.0 // indirect
        golang.org/x/mod v0.17.0 // indirect
        golang.org/x/sync v0.7.0 // indirect
-       golang.org/x/sys v0.19.0 // indirect
+       golang.org/x/sys v0.20.0 // indirect
        golang.org/x/time v0.5.0 // indirect
        golang.org/x/tools v0.20.0 // indirect
        google.golang.org/api v0.162.0 // indirect
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/go.sum new/tflint-0.51.1/go.sum
--- old/tflint-0.51.0/go.sum    2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/go.sum    2024-05-11 15:30:01.000000000 +0200
@@ -68,10 +68,8 @@
 cloud.google.com/go/compute v1.6.1/go.mod 
h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU=
 cloud.google.com/go/compute v1.7.0/go.mod 
h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U=
 cloud.google.com/go/compute v1.10.0/go.mod 
h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU=
-cloud.google.com/go/compute v1.24.0 
h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg=
-cloud.google.com/go/compute v1.24.0/go.mod 
h1:kw1/T+h/+tK2LJK0wiPPx1intgdAM3j/g3hFDlscY40=
-cloud.google.com/go/compute/metadata v0.2.3 
h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=
-cloud.google.com/go/compute/metadata v0.2.3/go.mod 
h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=
+cloud.google.com/go/compute/metadata v0.3.0 
h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc=
+cloud.google.com/go/compute/metadata v0.3.0/go.mod 
h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=
 cloud.google.com/go/containeranalysis v0.5.1/go.mod 
h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I=
 cloud.google.com/go/containeranalysis v0.6.0/go.mod 
h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4=
 cloud.google.com/go/datacatalog v1.3.0/go.mod 
h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0=
@@ -523,8 +521,8 @@
 golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod 
h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
 golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod 
h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
 golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod 
h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
-golang.org/x/crypto v0.22.0/go.mod 
h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
+golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
+golang.org/x/crypto v0.23.0/go.mod 
h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
 golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod 
h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod 
h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod 
h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -610,8 +608,8 @@
 golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod 
h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
 golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod 
h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
 golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
-golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod 
h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod 
h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
 golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod 
h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -637,8 +635,8 @@
 golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod 
h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
 golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod 
h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
 golang.org/x/oauth2 v0.1.0/go.mod 
h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A=
-golang.org/x/oauth2 v0.19.0 h1:9+E/EZBCbTLNrbN35fHv/a/d/mOBatymz1zbtQrXpIg=
-golang.org/x/oauth2 v0.19.0/go.mod 
h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8=
+golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo=
+golang.org/x/oauth2 v0.20.0/go.mod 
h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod 
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod 
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod 
h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -723,13 +721,13 @@
 golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod 
h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
 golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod 
h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
 golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod 
h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
 golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q=
-golang.org/x/term v0.19.0/go.mod 
h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk=
+golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw=
+golang.org/x/term v0.20.0/go.mod 
h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
 golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod 
h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod 
h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -740,8 +738,8 @@
 golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
 golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
 golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
-golang.org/x/text v0.14.0/go.mod 
h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
+golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod 
h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
 golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tflint-0.51.0/integrationtest/inspection/functions/main.tf 
new/tflint-0.51.1/integrationtest/inspection/functions/main.tf
--- old/tflint-0.51.0/integrationtest/inspection/functions/main.tf      
2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/integrationtest/inspection/functions/main.tf      
2024-05-11 15:30:01.000000000 +0200
@@ -11,5 +11,5 @@
 }
 
 resource "aws_instance" "builtin_provider" {
-  instance_type = provider::terraform::tfvarsencode({ a = 1 })
+  instance_type = provider::terraform::encode_tfvars({ a = 1 })
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tflint-0.51.0/integrationtest/inspection/functions/result.json 
new/tflint-0.51.1/integrationtest/inspection/functions/result.json
--- old/tflint-0.51.0/integrationtest/inspection/functions/result.json  
2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/integrationtest/inspection/functions/result.json  
2024-05-11 15:30:01.000000000 +0200
@@ -55,7 +55,7 @@
         },
         "end": {
           "line": 14,
-          "column": 63
+          "column": 64
         }
       },
       "callers": []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/plugin/install_test.go 
new/tflint-0.51.1/plugin/install_test.go
--- old/tflint-0.51.0/plugin/install_test.go    2024-05-02 17:43:30.000000000 
+0200
+++ new/tflint-0.51.1/plugin/install_test.go    2024-05-11 15:30:01.000000000 
+0200
@@ -70,8 +70,6 @@
        }
 
        for _, tc := range cases {
-               tc := tc
-
                t.Run(tc.name, func(t *testing.T) {
                        client, err := newGitHubClient(context.Background(), 
tc.config)
                        if err != nil {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/terraform/evaluator_test.go 
new/tflint-0.51.1/terraform/evaluator_test.go
--- old/tflint-0.51.0/terraform/evaluator_test.go       2024-05-02 
17:43:30.000000000 +0200
+++ new/tflint-0.51.1/terraform/evaluator_test.go       2024-05-11 
15:30:01.000000000 +0200
@@ -158,7 +158,7 @@
                },
                {
                        name:     "built-in provider-defined functions",
-                       expr:     expr(`provider::terraform::tfvarsdecode("a = 
1")`),
+                       expr:     expr(`provider::terraform::decode_tfvars("a = 
1")`),
                        ty:       cty.Object(map[string]cty.Type{"a": 
cty.Number}),
                        want:     
`cty.ObjectVal(map[string]cty.Value{"a":cty.NumberIntVal(1)})`,
                        errCheck: neverHappend,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tflint-0.51.0/terraform/lang/funcs/terraform/functions.go 
new/tflint-0.51.1/terraform/lang/funcs/terraform/functions.go
--- old/tflint-0.51.0/terraform/lang/funcs/terraform/functions.go       
2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/terraform/lang/funcs/terraform/functions.go       
2024-05-11 15:30:01.000000000 +0200
@@ -15,7 +15,7 @@
        "github.com/zclconf/go-cty/cty/function"
 )
 
-var TFVarsEncodeFunc = function.New(&function.Spec{
+var EncodeTfvarsFunc = function.New(&function.Spec{
        Params: []function.Parameter{
                {
                        Name:             "value",
@@ -88,7 +88,7 @@
        },
 })
 
-var TFVarsDecodeFunc = function.New(&function.Spec{
+var DecodeTfvarsFunc = function.New(&function.Spec{
        Params: []function.Parameter{
                {
                        Name:      "src",
@@ -131,7 +131,7 @@
                // stuff HCL diagnostics into plain string error messages. This 
produces
                // a non-ideal result but is still better than hiding the 
HCL-provided
                // diagnosis altogether.
-               f, hclDiags := hclsyntax.ParseConfig(src, "<tfvarsdecode 
argument>", hcl.InitialPos)
+               f, hclDiags := hclsyntax.ParseConfig(src, "<decode_tfvars 
argument>", hcl.InitialPos)
                if hclDiags.HasErrors() {
                        return cty.NilVal, fmt.Errorf("invalid tfvars syntax: 
%s", hclDiags.Error())
                }
@@ -155,7 +155,7 @@
        },
 })
 
-var ExprEncodeFunc = function.New(&function.Spec{
+var EncodeExprFunc = function.New(&function.Spec{
        Params: []function.Parameter{
                {
                        Name:             "value",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tflint-0.51.0/terraform/lang/funcs/terraform/functions_test.go 
new/tflint-0.51.1/terraform/lang/funcs/terraform/functions_test.go
--- old/tflint-0.51.0/terraform/lang/funcs/terraform/functions_test.go  
2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/terraform/lang/funcs/terraform/functions_test.go  
2024-05-11 15:30:01.000000000 +0200
@@ -11,7 +11,7 @@
        "github.com/zclconf/go-cty/cty"
 )
 
-func TestTFVarsEncode(t *testing.T) {
+func TestEncodeTfvars(t *testing.T) {
        tests := []struct {
                Input   cty.Value
                Want    cty.Value
@@ -128,7 +128,7 @@
 
        for _, test := range tests {
                t.Run(test.Input.GoString(), func(t *testing.T) {
-                       got, err := 
TFVarsEncodeFunc.Call([]cty.Value{test.Input})
+                       got, err := 
EncodeTfvarsFunc.Call([]cty.Value{test.Input})
                        if test.WantErr != "" {
                                if err == nil {
                                        t.Fatalf("unexpected success for %#v; 
want error\ngot: %#v", test.Input, got)
@@ -148,7 +148,7 @@
        }
 }
 
-func TestTFVarsDecode(t *testing.T) {
+func TestDecodeTfvars(t *testing.T) {
        tests := []struct {
                Input   cty.Value
                Want    cty.Value
@@ -179,25 +179,25 @@
                        // This is actually not a very good diagnosis for this 
error,
                        // since we're expecting HCL arguments rather than HCL 
blocks,
                        // but that's something we'd need to address in HCL.
-                       WantErr: `invalid tfvars syntax: <tfvarsdecode 
argument>:1,17-17: Invalid block definition; Either a quoted string block label 
or an opening brace ("{") is expected here.`,
+                       WantErr: `invalid tfvars syntax: <decode_tfvars 
argument>:1,17-17: Invalid block definition; Either a quoted string block label 
or an opening brace ("{") is expected here.`,
                },
                {
                        Input:   cty.StringVal(`foo = not valid syntax`),
-                       WantErr: `invalid tfvars syntax: <tfvarsdecode 
argument>:1,11-16: Missing newline after argument; An argument definition must 
end with a newline.`,
+                       WantErr: `invalid tfvars syntax: <decode_tfvars 
argument>:1,11-16: Missing newline after argument; An argument definition must 
end with a newline.`,
                },
                {
                        Input:   cty.StringVal(`foo = var.whatever`),
-                       WantErr: `invalid expression for variable "foo": 
<tfvarsdecode argument>:1,7-10: Variables not allowed; Variables may not be 
used here.`,
+                       WantErr: `invalid expression for variable "foo": 
<decode_tfvars argument>:1,7-10: Variables not allowed; Variables may not be 
used here.`,
                },
                {
                        Input:   cty.StringVal(`foo = whatever()`),
-                       WantErr: `invalid expression for variable "foo": 
<tfvarsdecode argument>:1,7-17: Function calls not allowed; Functions may not 
be called here.`,
+                       WantErr: `invalid expression for variable "foo": 
<decode_tfvars argument>:1,7-17: Function calls not allowed; Functions may not 
be called here.`,
                },
        }
 
        for _, test := range tests {
                t.Run(test.Input.GoString(), func(t *testing.T) {
-                       got, err := 
TFVarsDecodeFunc.Call([]cty.Value{test.Input})
+                       got, err := 
DecodeTfvarsFunc.Call([]cty.Value{test.Input})
                        if test.WantErr != "" {
                                if err == nil {
                                        t.Fatalf("unexpected success for %#v; 
want error\ngot: %#v", test.Input, got)
@@ -217,7 +217,7 @@
        }
 }
 
-func TestExprEncode(t *testing.T) {
+func TestEncodeExpr(t *testing.T) {
        tests := []struct {
                Input   cty.Value
                Want    cty.Value
@@ -361,7 +361,7 @@
 
        for _, test := range tests {
                t.Run(test.Input.GoString(), func(t *testing.T) {
-                       got, err := ExprEncodeFunc.Call([]cty.Value{test.Input})
+                       got, err := EncodeExprFunc.Call([]cty.Value{test.Input})
                        if test.WantErr != "" {
                                if err == nil {
                                        t.Fatalf("unexpected success for %#v; 
want error\ngot: %#v", test.Input, got)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/terraform/lang/functions.go 
new/tflint-0.51.1/terraform/lang/functions.go
--- old/tflint-0.51.0/terraform/lang/functions.go       2024-05-02 
17:43:30.000000000 +0200
+++ new/tflint-0.51.1/terraform/lang/functions.go       2024-05-11 
15:30:01.000000000 +0200
@@ -178,9 +178,9 @@
 
                // Built-in Terraform provider-defined functions are typically 
obtained dynamically,
                // but given that they are built-ins, they are provided just 
like regular functions.
-               s.funcs["provider::terraform::tfvarsencode"] = 
terraform.TFVarsEncodeFunc
-               s.funcs["provider::terraform::tfvarsdecode"] = 
terraform.TFVarsDecodeFunc
-               s.funcs["provider::terraform::exprencode"] = 
terraform.ExprEncodeFunc
+               s.funcs["provider::terraform::encode_tfvars"] = 
terraform.EncodeTfvarsFunc
+               s.funcs["provider::terraform::decode_tfvars"] = 
terraform.DecodeTfvarsFunc
+               s.funcs["provider::terraform::encode_expr"] = 
terraform.EncodeExprFunc
        }
        s.funcsLock.Unlock()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/tflint/meta.go 
new/tflint-0.51.1/tflint/meta.go
--- old/tflint-0.51.0/tflint/meta.go    2024-05-02 17:43:30.000000000 +0200
+++ new/tflint-0.51.1/tflint/meta.go    2024-05-11 15:30:01.000000000 +0200
@@ -7,7 +7,7 @@
 )
 
 // Version is application version
-var Version *version.Version = version.Must(version.NewVersion("0.51.0"))
+var Version *version.Version = version.Must(version.NewVersion("0.51.1"))
 
 // ReferenceLink returns the rule reference link
 func ReferenceLink(name string) string {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tflint-0.51.0/tools/release/release-note.md 
new/tflint-0.51.1/tools/release/release-note.md
--- old/tflint-0.51.0/tools/release/release-note.md     2024-05-02 
17:43:30.000000000 +0200
+++ new/tflint-0.51.1/tools/release/release-note.md     2024-05-11 
15:30:01.000000000 +0200
@@ -1,60 +1,18 @@
 ## What's Changed
 
-This release includes many new features including parallelization of recursion 
inspection and support for Terraform v1.8.
+### Bug Fixes
 
-Also, please be aware that there are important changes regarding licensing. 
TFLint has updated the embedded Terraform package to the latest version for 
Terraform v1.6+ support. As a result, we will be affected by [Terraform's 
license change to BUSL announced by Hashicorp in August 
2023](https://www.hashicorp.com/blog/hashicorp-adopts-business-source-license).
-
-Most of the code in TFLint is still licensed under MPL 2.0, but some files 
under the Terraform package are now licensed under BUSL 1.1. This means that 
release binaries are bound by both licenses and may be subject to Hashicorp's 
BUSL restrictions. If you have concerns about this change, we recommend 
reviewing the licensing implications before updating. Please note that we 
cannot provide legal advice.
-
-Please refer to the discussion in 
https://github.com/terraform-linters/tflint/discussions/1826 and 
https://github.com/terraform-linters/tflint/issues/1878 for details.
-
-### Enhancements
-
-* config: Add TFLint `required_version` settings by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2027
-  * The `required_version` attribute can now be set in `.tflint.hcl`. This is 
useful for enforcing the version of TFLint that is actually used.
-* plugin: Add support for host-specific GitHub tokens by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2025
-  * Environment variables like `GITHUB_TOKEN_example_com` have been introduced 
for GitHub Enterprise Server support.
-* Recursive inspection in parallel by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2021
-  * The `--recursive` inspection now runs in parallel according to the number 
of CPU cores by default. The number of parallels can be changed with 
`--max-workers`.
-* terraform: Add support for Terraform v1.6/v1.7/v1.8 by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2030
-  * New Terraform features are now supported, including [provider-defined 
functions](https://www.hashicorp.com/blog/terraform-1-8-adds-provider-functions-for-aws-google-cloud-and-kubernetes).
 Please note that support for provider-defined functions requires the latest 
HCL parser, so you may need to update your plugin versions.
-  * Updated embedded Terraform packages to support Terraform v1.6+. As a 
result, TFLint now includes code for Hashicorp's BUSL 1.1.
-
-### Changes
-
-* Add warnings to --module/--no-module and `module` attribute by @wata727 in 
https://github.com/terraform-linters/tflint/pull/1951
-  * If you see a warning, use `--call-module-type` instead. The `--module` is 
equivalent to `--call-module-type=all` and the `--no-module` is equivalent to 
`--call-module-type=none`. This also applies to `.tflint.hcl`.
+* terraform: Fix `provider::terraform::*` function names by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2046
 
 ### Chores
 
-* build: use go1.22 by @chenrui333 in 
https://github.com/terraform-linters/tflint/pull/1977
-* workflows: remove `cache: true` for setup-go (default) by @chenrui333 in 
https://github.com/terraform-linters/tflint/pull/1979
-* install: enable `pipefail` catch `curl` errors by @Ry4an in 
https://github.com/terraform-linters/tflint/pull/1978
-* build(deps): Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 by @dependabot 
in https://github.com/terraform-linters/tflint/pull/1981
-* build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/1980
-* build(deps): Bump google.golang.org/grpc from 1.61.0 to 1.61.1 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/1987
-* sarif: add schema to repo by @bendrucker in 
https://github.com/terraform-linters/tflint/pull/2000
-* build(deps): Bump google.golang.org/grpc from 1.61.1 to 1.62.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/1992
-* build(deps): Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/1999
-* build(deps): Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.3 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/1998
-* build(deps): Bump golang.org/x/crypto from 0.19.0 to 0.21.0 by @dependabot 
in https://github.com/terraform-linters/tflint/pull/2001
-* build(deps): Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 by @dependabot 
in https://github.com/terraform-linters/tflint/pull/2002
-* build(deps): Bump google.golang.org/grpc from 1.62.0 to 1.62.1 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2003
-* build(deps): Bump github.com/zclconf/go-cty from 1.14.3 to 1.14.4 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2009
-* build(deps): Bump github.com/hashicorp/hcl/v2 from 2.20.0 to 2.20.1 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2012
-* build(deps): Bump google.golang.org/grpc from 1.62.1 to 1.63.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2014
-* build(deps): Bump golang.org/x/crypto from 0.21.0 to 0.22.0 by @dependabot 
in https://github.com/terraform-linters/tflint/pull/2016
-* build(deps): Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by @dependabot 
in https://github.com/terraform-linters/tflint/pull/2015
-* build(deps): Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2022
-* build(deps): Bump google.golang.org/grpc from 1.63.0 to 1.63.2 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2023
-* build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in 
https://github.com/terraform-linters/tflint/pull/2024
-* build(deps): Bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.4 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2026
-* build(deps): Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2029
-* Pin Go patch version in go.mod by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2031
-* build(deps): Bump github.com/terraform-linters/tflint-plugin-sdk from 0.18.0 
to 0.20.0 by @dependabot in 
https://github.com/terraform-linters/tflint/pull/2032
-* build(deps): Bump github.com/terraform-linters/tflint-ruleset-terraform from 
0.5.0 to 0.7.0 by @dependabot in 
https://github.com/terraform-linters/tflint/pull/2033
+* build(deps): Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 by @dependabot 
in https://github.com/terraform-linters/tflint/pull/2043
+* build(deps): Bump golangci/golangci-lint-action from 5.1.0 to 5.3.0 by 
@dependabot in https://github.com/terraform-linters/tflint/pull/2039
+* gh: update golangci-lint by @bendrucker in 
https://github.com/terraform-linters/tflint/pull/2045
+* go: remove loop variable copying by @bendrucker in 
https://github.com/terraform-linters/tflint/pull/2044
+* build(deps): Bump golang.org/x/text from 0.14.0 to 0.15.0 by @dependabot in 
https://github.com/terraform-linters/tflint/pull/2042
+* build(deps): Bump golang.org/x/net from 0.24.0 to 0.25.0 by @dependabot in 
https://github.com/terraform-linters/tflint/pull/2041
+* release: Introduce Artifact Attestations by @wata727 in 
https://github.com/terraform-linters/tflint/pull/2038
 
-## New Contributors
-* @Ry4an made their first contribution in 
https://github.com/terraform-linters/tflint/pull/1978
 
-**Full Changelog**: 
https://github.com/terraform-linters/tflint/compare/v0.50.3...v0.51.0
+**Full Changelog**: 
https://github.com/terraform-linters/tflint/compare/v0.51.0...v0.51.1

++++++ tflint.obsinfo ++++++
--- /var/tmp/diff_new_pack.oRAwRo/_old  2024-05-13 01:33:57.775095417 +0200
+++ /var/tmp/diff_new_pack.oRAwRo/_new  2024-05-13 01:33:57.779095562 +0200
@@ -1,5 +1,5 @@
 name: tflint
-version: 0.51.0
-mtime: 1714664610
-commit: 9f45bb6d624a2917aef8a29fd8a8e84890c506fc
+version: 0.51.1
+mtime: 1715434201
+commit: 96dce7684ce71844462f0fc725289f85da086639
 

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/tflint/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.tflint.new.1880/vendor.tar.gz differ: char 5, line 1

Reply via email to