-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Hosting instrumenta/conftest under OPA #2387
Comments
I can confirm there are no registered trademark or logo assets for Conftest. Just to confirm publicly as well that we've spoken about this and I'm definitely supportive. Conftest is increasingly popular, and it forming part of the main Open Policy Agent project makes lots of sense to me and hopefully to current and future users. |
Awesome, let me know when you want to do the domain transfer dance. I'm excited to see this happen. |
+1 🎉 Excited to see the move! |
+1
I'm unable to comment on the doc, so adding a +1 here :)
It is indeed exciting!
I do have some conceptual nits on the document (nothing that affects the
overall decision, IMO)
- "Conftest produces pass/fail results for data": this is not strictly
true, as in the doc there are at least 3 states: pass/fail/warn, which
impacts this statement: "does not conflict with OPA's domain-agnosticism",
as different result verbs may make sense in different domains. OPA itself
makes no assumptions on rule names. Adding explicit results creates a
coupling (albeit a loose one), with being run on a platform where the
available rules make sense.
- "OPA is intended to be able to consume arbitrary hierarchical
structured data" this may be true in sentiment, but currently everything it
ingests must be expressible as JSON, as that is the internal storage format
OPA uses. I'm not sure how much difference this distinction makes in a
practical sense as I'm unsure if there are data representations that don't
meet this criteria. Ironically JSON schema cannot be processed by OPA as
$ref references can be recursive, but is JSON schema a storage format in
and of itself? Or is it JSON + some third party code that gives it meaning?
Also "$ref" might break the "hierarchical" qualifier. None of this changes
the sentiment that "adding additional representations that are expressible
as JSON" is consistent with OPA's goals.
Like I said, none of this affects whether integration is a good idea, but
the first bullet in particular may be useful in figuring out what exactly
that integration looks like.
…-Max
On Fri, May 8, 2020 at 2:42 PM Rita Zhang ***@***.***> wrote:
+1 🎉
Excited to see the move!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#2387 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNYNZUM3T6ADZA3GLLM3MDRQR4CPANCNFSM4M4BONIA>
.
|
+1 from me too. Looking forward to making this happen!
…On Fri, May 8, 2020 at 4:03 PM Max Smythe ***@***.***> wrote:
+1
I'm unable to comment on the doc, so adding a +1 here :)
It is indeed exciting!
I do have some conceptual nits on the document (nothing that affects the
overall decision, IMO)
- "Conftest produces pass/fail results for data": this is not strictly
true, as in the doc there are at least 3 states: pass/fail/warn, which
impacts this statement: "does not conflict with OPA's domain-agnosticism",
as different result verbs may make sense in different domains. OPA itself
makes no assumptions on rule names. Adding explicit results creates a
coupling (albeit a loose one), with being run on a platform where the
available rules make sense.
- "OPA is intended to be able to consume arbitrary hierarchical
structured data" this may be true in sentiment, but currently everything it
ingests must be expressible as JSON, as that is the internal storage format
OPA uses. I'm not sure how much difference this distinction makes in a
practical sense as I'm unsure if there are data representations that don't
meet this criteria. Ironically JSON schema cannot be processed by OPA as
$ref references can be recursive, but is JSON schema a storage format in
and of itself? Or is it JSON + some third party code that gives it meaning?
Also "$ref" might break the "hierarchical" qualifier. None of this changes
the sentiment that "adding additional representations that are expressible
as JSON" is consistent with OPA's goals.
Like I said, none of this affects whether integration is a good idea, but
the first bullet in particular may be useful in figuring out what exactly
that integration looks like.
-Max
On Fri, May 8, 2020 at 2:42 PM Rita Zhang ***@***.***>
wrote:
> +1 🎉
>
> Excited to see the move!
>
> —
> You are receiving this because you were assigned.
> Reply to this email directly, view it on GitHub
> <
#2387 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABNYNZUM3T6ADZA3GLLM3MDRQR4CPANCNFSM4M4BONIA
>
> .
>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#2387 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMVQK2SFL3FJGUF6VND5U3RQSFUFANCNFSM4M4BONIA>
.
|
As noted on open-policy-agent/opa#2387 we are looking to move Conftest into the OPA project. Tis means some small changes in governance.
The last two items are in open-policy-agent/conftest#302, for the SECURITY and CODE_OF_CONDUCT files. Note I think that means, based on https://github.com/open-policy-agent/opa/blob/master/SECURITY.md#membership-criteria, once we have the |
@caniszczyk I'll drop you a line on Slack. |
As noted on open-policy-agent/opa#2387 we are looking to move Conftest into the OPA project. Tis means some small changes in governance.
When we do the repo transfer github.com/instrumenta/conftest will redirect to github.com/open-policy-agent/conftest. Git operations against github.com/instrumenta/conftest should continue to work though GitHub will return messages that tell you about the move. I guess there are a few things to consider here:
Go modules experimentI have less experience with Go modules so I did a small experiment to see what would happen to users embedding Conftest as a library. It looks like
However, versions created after the transfer are not accessible. I'm not sure there is a way around this:
To obtain the latest version, you can use the
This approach seems to work however it's a bit more complicated for users embedding as a library since they need to use |
@tsandall I would take approach The consumers of
Maintaining backwards compatibility isn't a hard requirement for me in this case, and performing the move/updating paths is going to be the simplest approach. |
I agree with @jpreese on this. |
I think the best approach is probably to prep a PR with the path changes, then move the repo and merge. I probably won't have time to put up the PR but I can test, and then change the various bits of infrastructure over when we tranfer. |
This is part of open-policy-agent/opa#2387. Signed-off-by: Torin Sandall <torinsandall@gmail.com>
@garethr since I had the changes partially made on from last week during that experiment, I just went ahead and finished them off. PTAL. |
I've transferred the repository. https://github.com/open-policy-agent/conftest I'll ping Chris now about the domain name. |
@tsandall for moving over the CircleCI build, I've requested CircleCI access to the open-policy-agent org. The admins for the org should have received an email. |
@garethr fantastic. I've approved the CircleCI app for the org and the DCO check is working. Last thing on the checklist is the domain transfer. |
@garethr @caniszczyk any update on the last outstanding item from the checklist (transfering domain ownership)? |
@tsandall ah! I need to send Chris a code. I'll try and code next week. |
I had to do some domain name juggling, but I've just send @caniszczyk the code. |
@caniszczyk has filed a support ticket with LF to get it done. Hopefully will finished soon. |
@garethr @caniszczyk any movement? I'd love to close this :D |
I believe this is done? I think it's good to close. |
Excellent. 🎉 |
The https://github.com/instrumenta/conftest project was started by @garethr to provide a simple way to test/validate configuration files using OPA/Rego. In the last year, Conftest adoption has grown and the project now has multiple active contributors. Conftest is licensed under ALv2.
Conftest implements several interesting ideas/features on top of OPA. After chatting with @garethr and the other OPA maintainers we felt it made sense to host Conftest as an OPA subproject. Over time, we also expect to extend core OPA with features initially implemented inside of Conftest. For example:
For more information on the thought process here, see this document.
To move forward we need to:
In the short-term @garethr will manage the project infrastructure dependencies (currently these are: Netlify, CircleCI, and GolangCI.) Eventually we will migrate to shared accounts.
@garethr can you confirm that there are no registered trademark or logo assets for Conftest?
@ritazh and @maxsmythe PTAL and share any thougths/comments and indicate your vote in a comment.
The text was updated successfully, but these errors were encountered: