Subject: CVS commit: pkgsrc/devel/regal
From: Leonardo Taccari
Date: 2023-10-03 22:27:11
Message id: 20231003202711.47997FBDB@cvs.NetBSD.org

Log Message:
regal: Update to 0.10.0

Changes:
0.10.0
------
This release brings a new type of linter rule to Regal - aggregate
rules. v0.10.0 also brings a number of new rules, new features,
performance improvements and bug fixes.

## New rules
- `prefer-package-imports` (Category: `imports`)
- `no-defined-entrypoint` (Category: `idiomatic`)
- `default-over-else` (Category: `style`)
- `rule-length` (Category: `style`)

## Features and improvements
- `regal lint --enable-print`: `regal lint` command now
  accepts an `--enable-print` flag to simply allow `print` statements
  without printing other debugging information.
- `regal lint --profile`: similarly to the profiling
  capabilities in OPA, Regal now provides a `--profile` flag to help
  collect and report profiling data, helping policy authors and Regal
  developers to see where most of the time is spent in evaluation.
- Performance improvements

## Other improvements
- The `regal new rule` command now adds both a documentation page and
  an entry in the README table.
- A `non-breakable-word-threshold` option has been added to the
  `line-length` rule, which allows tolerating single words that exceed
  the line length if they can't be broken up into several parts, like
  URLs.
- The `top-level-iteration` incorrectly identified constants and other
  parameters as iteration.

Files:
RevisionActionfile
1.6modifypkgsrc/devel/regal/Makefile
1.4modifypkgsrc/devel/regal/distinfo
1.4modifypkgsrc/devel/regal/go-modules.mk