Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7E27684F22 for ; Tue, 19 Sep 2023 18:50:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id VCeLUAAu1pfm for ; Tue, 19 Sep 2023 18:50:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 96E6284D24 for ; Tue, 19 Sep 2023 18:50:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8F6C3FBDB; Tue, 19 Sep 2023 18:50:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1695149440184550" MIME-Version: 1.0 Date: Tue, 19 Sep 2023 18:50:40 +0000 From: "Leonardo Taccari" Subject: CVS commit: pkgsrc/devel/regal To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: leot@netbsd.org X-Mailer: log_accum Message-Id: <20230919185040.8F6C3FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1695149440184550 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: leot Date: Tue Sep 19 18:50:40 UTC 2023 Modified Files: pkgsrc/devel/regal: Makefile distinfo go-modules.mk Log Message: regal: Update to 0.9.0 Changes: 0.9.0 ----- This release brings three new rules to Regal, a new Rego-based build system, and improvements to the Go API. Plus a number of improvements, features and bugfixes. The v0.9.0 release also coincides with some exciting news from our community — users of the Rego Playground now experience Regal integrated in the tool, and have linter violations reported directly in the UI! ## New rule: `dubious-print-sprintf` (Category: `testing`) This new rule will flag the use of `print` together with `sprintf` in it's argument list. The `print` function takes any number of arguments as it is, and using `sprintf` negates the benefits of the `print` functions special handling of undefined values. ## New rule: `forbidden-function-call` (Category: `custom`) In the custom category, the new `forbidden-function-call` rule will allow you to configure a list of built-in functions that should be flagged by Regal if encountered. This could for example be `http.send` calls, or JWT decoding using HMAC rather than assymetric crypto. ## New rule: `chained-rule-body` (Category: `style`) The new chained-rule-body rule will have Regal flag rules where the body is "chained", as this style isn't recommended any more. ## Go API (experimental) While integrations using the Go API is still not recommended, several steps were taken in this release in order to move it closer to a stable state. This work was done in order to get Regal integrated into the Rego Playground. ## Other improvements and fixes - Custom configuration for a rule is no longer required to provide a `level` attribute. If not provided, the level will be inherited from the default configuration for that rule. - The `walk` built-in function is now by default excepted by the `function-arg-return` rule. - The `regal lint` command now accepts a `--metrics` flag, which will provide helpful information on where Regal spends most of the time evaluating a project. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/regal/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/regal/distinfo \ pkgsrc/devel/regal/go-modules.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1695149440184550 Content-Disposition: inline Content-Length: 2997 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/regal/Makefile diff -u pkgsrc/devel/regal/Makefile:1.4 pkgsrc/devel/regal/Makefile:1.5 --- pkgsrc/devel/regal/Makefile:1.4 Fri Sep 8 19:06:03 2023 +++ pkgsrc/devel/regal/Makefile Tue Sep 19 18:50:40 2023 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2023/09/08 19:06:03 bsiegert Exp $ +# $NetBSD: Makefile,v 1.5 2023/09/19 18:50:40 leot Exp $ -DISTNAME= regal-0.8.0 -PKGREVISION= 1 +DISTNAME= regal-0.9.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=StyraInc/} GITHUB_TAG= v${PKGVERSION_NOREV} Index: pkgsrc/devel/regal/distinfo diff -u pkgsrc/devel/regal/distinfo:1.2 pkgsrc/devel/regal/distinfo:1.3 --- pkgsrc/devel/regal/distinfo:1.2 Wed Sep 6 09:42:55 2023 +++ pkgsrc/devel/regal/distinfo Tue Sep 19 18:50:40 2023 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2023/09/06 09:42:55 leot Exp $ +$NetBSD: distinfo,v 1.3 2023/09/19 18:50:40 leot Exp $ BLAKE2s (dario.cat_mergo_@v_v1.0.0.mod) = 0af2e8f4417b8a004650a071a3fcd9716e3bb01ac60f24dc579155e301d2911f SHA512 (dario.cat_mergo_@v_v1.0.0.mod) = 706f0038b07866385f4d91a8a28e4b9648c1bd45f0f7124f97069bfa1af16ce6ea77fadd0585c050996c9a36001151b68bdd1d6a6c44fd8645865ef76a7c0c57 @@ -375,9 +375,9 @@ Size (gopkg.in_yaml.v3_@v_v3.0.1.mod) = BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 2e80fa896e65b1ae160400012c71aeac70e22a31cac82ec4921c85a93d65774c SHA512 (gopkg.in_yaml.v3_@v_v3.0.1.zip) = d57b0d42c71ad6503415e42979b51b0dc7f6344072c728ab2e3d4bab88da7b7d775e7f261868909f990f6b44aed6c533966c97bbe333a0acd65fc8bac9d1d4ff Size (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 104623 bytes -BLAKE2s (regal-0.8.0.tar.gz) = 04b7671f9a68d268a9686d67b09b1c717b7658fd55c3ab84f77d002901ad5eee -SHA512 (regal-0.8.0.tar.gz) = a16185aeb4877f7e4bd63ce852f24b700b85cd9fb2f96390fd29faaf2de27d8586399f014749027640b413ac4d58eb9b2e1363a0364470381b106c4819026460 -Size (regal-0.8.0.tar.gz) = 814043 bytes +BLAKE2s (regal-0.9.0.tar.gz) = a7fbbe579bfc786c40adddb9cb8932febac0c1aab1b9c427a3be59d46b76b6a0 +SHA512 (regal-0.9.0.tar.gz) = 49dad5867e8984c3bae4637c88471755780c1a5ad5b7befe481a20326558f0bb821593477b39f207dd87c4bb4628fbded91983f367aa623ef35cd03dc872e87e +Size (regal-0.9.0.tar.gz) = 823763 bytes BLAKE2s (sigs.k8s.io_yaml_@v_v1.3.0.mod) = aa0c3388e6785a71e2976185852f7f1ce47bfacefb57d3f19a31598b57eac39d SHA512 (sigs.k8s.io_yaml_@v_v1.3.0.mod) = b855d3080f64a72df53099560050601007d3f62c8108c6f7e948d6e7e9e681761c1433824653092f06f2f23c74a6933088a421d647c6d445ed8628b762960020 Size (sigs.k8s.io_yaml_@v_v1.3.0.mod) = 106 bytes Index: pkgsrc/devel/regal/go-modules.mk diff -u pkgsrc/devel/regal/go-modules.mk:1.2 pkgsrc/devel/regal/go-modules.mk:1.3 --- pkgsrc/devel/regal/go-modules.mk:1.2 Wed Sep 6 09:42:55 2023 +++ pkgsrc/devel/regal/go-modules.mk Tue Sep 19 18:50:40 2023 @@ -1,4 +1,4 @@ -# $NetBSD: go-modules.mk,v 1.2 2023/09/06 09:42:55 leot Exp $ +# $NetBSD: go-modules.mk,v 1.3 2023/09/19 18:50:40 leot Exp $ GO_MODULE_FILES+= dario.cat/mergo/@v/v1.0.0.mod GO_MODULE_FILES+= dario.cat/mergo/@v/v1.0.0.zip --_----------=_1695149440184550--