BSD Ports

devel/regal 0.42.0 NetBSD

Linter for Rego

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
309977eb40
License
apache-2.0
Categories
devel
Package size
17764.4 KiB, 48114.9 KiB installed

Description

Regal is a linter for Rego, with the goal of making your Rego magnificent!

Regal goals are:

  • Identify common mistakes, bugs and inefficiencies in Rego policies, and suggest better approaches
  • Provide advice on best practices, coding style, and tooling
  • Allow users, teams and organizations to enforce custom rules on their policy code

Regal rules are to as large extent as possible written in Rego themselves, using the JSON representation of the Rego abstract syntax tree (AST) as input, a few additional custom built-in functions and some indexed data structures to help with linting.

Install

Binary package:

pkgin install regal

From pkgsrc:

cd /usr/pkgsrc/devel/regal && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.42.0
NetBSD 10.1 aarch640.39.0nb4
SmartOS / illumos x86_640.43.0nb2
macOS 15 arm640.43.0nb1

Dependencies

No port depends on this one.

Commit history 10

DateCommitCreditsLog message
309977eb40 bsiegert Revbump all Go packages after go127 security update
96dc94755d bsiegert Revbump all Go packages after go127 security update
f6d91c6a08 leot regal: Update to 0.43.0
Changes: 0.43.0 This release brings support for OPA's experimental and/or keywords and three new linter rules. - New Rule: idiomatic/prefer-string-interpolation - New Rule: bugs/unconditional-with-conditions - New Rule: performance/repeated-computation - New Feature: Experimental and/or keyword support
8b5bbfe0e9 leot regal: Update to 0.42.0
Changes: 0.42.0 Regal v0.42.0 is here! Bringing a number of improvements to both the linter, language server and debug adapter. 0.41.0 We've been getting a new version of Regal for an exciting summer of high performance Rego development. This release brings automatic Rego test generation, as well as squashing a bunch of issues under the hood with sweeping enhancements to the core language server code. 0.40.0 Today we celebrate Regal who turns v0.40.0 just in time for the GitHub download tracker to report 1 million total downloads. Quite the milestone! Thank you all for the encouragement, support and contributions during these past 3 years. Together we're redefining the policy development experience, and we have a lot more of that planned for the future. Stay tuned! …
3e7e924df6 leot regal: Update to 0.42.0
Changes: 0.42.0 Regal v0.42.0 is here! Bringing a number of improvements to both the linter, language server and debug adapter. 0.41.0 We've been getting a new version of Regal for an exciting summer of high performance Rego development. This release brings automatic Rego test generation, as well as squashing a bunch of issues under the hood with sweeping enhancements to the core language server code. 0.40.0 Today we celebrate Regal who turns v0.40.0 just in time for the GitHub download tracker to report 1 million total downloads. Quite the milestone! Thank you all for the encouragement, support and contributions during these past 3 years. Together we're redefining the policy development experience, and we have a lot more of that planned for the future. Stay tuned! …

The latest 5 of 10 in the history this site was built from.