-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Adding --v1-compatible
flag to opa build
and opa eval
#6478
Adding --v1-compatible
flag to opa build
and opa eval
#6478
Commits on Dec 19, 2023
-
ast+cmd+rego: Adding
--rego-v1
flag toopa eval
Fixes: open-policy-agent#6463 Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 6808e80 - Browse repository at this point
Copy the full SHA 6808e80View commit details -
Adding
--rego-v1
flag toopa build
Fixes: open-policy-agent#6463 Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 56b1e54 - Browse repository at this point
Copy the full SHA 56b1e54View commit details -
Formatting PE support modules to comply with rego-v1 when required
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 45e5fdb - Browse repository at this point
Copy the full SHA 45e5fdbView commit details -
Removing rego.v1 import when formatting for rego-v1 (not rego-v0-comp…
…at-v1) Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 44e6772 - Browse repository at this point
Copy the full SHA 44e6772View commit details -
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 3da495e - Browse repository at this point
Copy the full SHA 3da495eView commit details -
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for e38eb8a - Browse repository at this point
Copy the full SHA e38eb8aView commit details -
Consolidating
Bundle.FormatModules()
and `Bundle.FormatModulesForRe……goVersion()` Suggested by @ashutosh-narkar Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 46db9c2 - Browse repository at this point
Copy the full SHA 46db9c2View commit details -
Adding descriptions to
RegoVersion
Requested by @ashutosh-narkar Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 1b2e632 - Browse repository at this point
Copy the full SHA 1b2e632View commit details -
Using
--v1-compatible
flag instead of--rego-v1
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for a8e033b - Browse repository at this point
Copy the full SHA a8e033bView commit details -
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for b811b7b - Browse repository at this point
Copy the full SHA b811b7bView commit details -
Reintroducing
ParserOptions.RegoV1Compatible
to avoid breaking changeSigned-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for b9559ad - Browse repository at this point
Copy the full SHA b9559adView commit details -
Adding `--v1-compatible` flag to `opa test` Fixes: open-policy-agent#6463 Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 326e873 - Browse repository at this point
Copy the full SHA 326e873View commit details -
Adding
--v1-compatible
flag toopa fmt
Fixes: open-policy-agent#6463 Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for d818bd7 - Browse repository at this point
Copy the full SHA d818bd7View commit details -
Adding
--v1-compatible
flag toopa check
Fixes: open-policy-agent#6463 Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for fdc4db6 - Browse repository at this point
Copy the full SHA fdc4db6View commit details -
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 93462a9 - Browse repository at this point
Copy the full SHA 93462a9View commit details
Commits on Dec 20, 2023
-
Review modifications suggested by @ashutosh-narkar
* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion` * Fixing comment in test * Updating `fmt --rego-v1` CLI description Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for d248201 - Browse repository at this point
Copy the full SHA d248201View commit details -
Review modifications suggested by @ashutosh-narkar
* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion` * Fixing comment in test * Updating `fmt --rego-v1` CLI description * Adding back `Opts.RegoV1` and deprecating. * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion` Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 1e63193 - Browse repository at this point
Copy the full SHA 1e63193View commit details -
Review modifications suggested by @ashutosh-narkar
* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion` * Fixing comment in test * Updating `fmt --rego-v1` CLI description * Adding back `Opts.RegoV1` and deprecating. * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion` * `TestPartialWitRegoV1` -> `TestPartialWithRegoV1` Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for c5cde1d - Browse repository at this point
Copy the full SHA c5cde1dView commit details -
Review modifications suggested by @ashutosh-narkar
* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion` * Fixing comment in test * Updating `fmt --rego-v1` CLI description * Adding back `Opts.RegoV1` and deprecating. * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion` * `TestPartialWitRegoV1` -> `TestPartialWithRegoV1` * removing `Println` in test Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for e9ff76c - Browse repository at this point
Copy the full SHA e9ff76cView commit details -
Review modifications suggested by @ashutosh-narkar
* Changing `ParserOptions.RegoV1Compatible` take precedence over `ParserOptions.RegoVersion` * Fixing comment in test * Updating `fmt --rego-v1` CLI description * Adding back `Opts.RegoV1` and deprecating. * Making `Opts.RegoV1` take precedence over `Opts.RegoVersion` * `TestPartialWitRegoV1` -> `TestPartialWithRegoV1` * removing `Println` in test * Updating docs with per-command behavioural descriptions for `--v1-compatible`. Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Configuration menu - View commit details
-
Copy full SHA for 839fe01 - Browse repository at this point
Copy the full SHA 839fe01View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5a5558 - Browse repository at this point
Copy the full SHA e5a5558View commit details