-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove dependency on OpenPolicyAgent_jll (#17)
* feat: remove dependency on OpenPolicyAgent_jll Removing hard dependency on `OpenPolicyAgent_jll`. Since we allow caller to specify an opa executable, not having a tight dependency will allow calling code to avoid installing the jll at all. So that it will not be affected if the jll is not updated/outdated. * require opa command to be supplied explicitly * do not generate CLI code that uses `opa` from path * remove kwdef constructor for CommandLine * add convenience constructor for MonitoredOPAServer * Update src/server/server.jl Co-authored-by: Morten Piibeleht <[email protected]> --------- Co-authored-by: Morten Piibeleht <[email protected]>
- Loading branch information
Showing
8 changed files
with
43 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
name = "OpenPolicyAgent" | ||
uuid = "8f257efb-743c-4ebc-8197-d291a1f743b4" | ||
authors = ["JuliaHub Inc.", "Tanmay Mohapatra <[email protected]>"] | ||
version = "0.3.3" | ||
version = "0.4.0" | ||
|
||
[deps] | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
OpenAPI = "d5e62ea6-ddf3-4d43-8e4c-ad5e6c8bfd7d" | ||
OpenPolicyAgent_jll = "6ea5c882-2ec3-5826-84d1-aff636352c13" | ||
TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53" | ||
|
||
[compat] | ||
Dates = "1.6" | ||
OpenAPI = "0.1" | ||
TimeZones = "1" | ||
julia = "1.6" | ||
OpenPolicyAgent_jll = "0.69" | ||
|
||
[extras] | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | ||
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" | ||
OpenPolicyAgent_jll = "6ea5c882-2ec3-5826-84d1-aff636352c13" | ||
|
||
[targets] | ||
test = ["Test", "JSON", "HTTP"] | ||
test = ["Test", "JSON", "HTTP", "OpenPolicyAgent_jll"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
792c578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
792c578
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/118279
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: