Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPA 1.0 #1299

Closed
anderseknert opened this issue Dec 13, 2024 · 1 comment
Closed

OPA 1.0 #1299

anderseknert opened this issue Dec 13, 2024 · 1 comment
Labels

Comments

@anderseknert
Copy link
Member

Work has begun integrating what will soon be OPA 1.0. Creating this issue to collect things we'll need to do for Regal to provide the best possible experience for users, no matter what version of OPA they use. To start:

  • How do we determine what version OPA/Rego to lint for?
    • Configuration / flags / auto-detection?
    • Probably all of the above — auto-detection and suggest changing configuration
    • Ideally, no user upgrading should have to do anything ... but we can recommend settings
  • Ensure no obsolete rules (use-rego-v1, use-if, use-contains, more?) are enabled when OPA 1.0 is detected
  • Language server commands need to consider this too
    • Formatting
    • Evaluation
    • Linting
  • Parse bundle manifests and Rego versions from there?

I'm sure there is much more... will add to the list as I work on this.

@anderseknert
Copy link
Member Author

Fixed with #1317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant