generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: address comments from PR#873 (#913)
This PR aims to address the remaining comments from PR#873. - Generate API documents for modified and new code. - Make the repository verification check generic. - Fix repo verification fact parameter docs. Signed-off-by: Mohammad Abdollahpour <[email protected]> Co-authored-by: Behnaz Hassanshahi <[email protected]>
- Loading branch information
1 parent
3854a85
commit 7d3c63e
Showing
12 changed files
with
115 additions
and
56 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
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
42 changes: 42 additions & 0 deletions
42
docs/source/pages/developers_guide/apidoc/macaron.repo_verifier.rst
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
macaron.repo\_verifier package | ||
============================== | ||
|
||
.. automodule:: macaron.repo_verifier | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Submodules | ||
---------- | ||
|
||
macaron.repo\_verifier.repo\_verifier module | ||
-------------------------------------------- | ||
|
||
.. automodule:: macaron.repo_verifier.repo_verifier | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
macaron.repo\_verifier.repo\_verifier\_base module | ||
-------------------------------------------------- | ||
|
||
.. automodule:: macaron.repo_verifier.repo_verifier_base | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
macaron.repo\_verifier.repo\_verifier\_gradle module | ||
---------------------------------------------------- | ||
|
||
.. automodule:: macaron.repo_verifier.repo_verifier_gradle | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
macaron.repo\_verifier.repo\_verifier\_maven module | ||
--------------------------------------------------- | ||
|
||
.. automodule:: macaron.repo_verifier.repo_verifier_maven | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
[analysis.checks] | ||
exclude = | ||
include = mcn_maven_repo_verification_1 | ||
include = mcn_scm_authenticity_1 |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#include "prelude.dl" | ||
|
||
Policy("test_policy", component_id, "") :- | ||
check_failed(component_id, "mcn_maven_repo_verification_1"). | ||
check_failed(component_id, "mcn_scm_authenticity_1"). | ||
|
||
apply_policy_to("test_policy", component_id) :- | ||
is_component(component_id, "pkg:maven/com.alibaba.ververica/[email protected]"). |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#include "prelude.dl" | ||
|
||
Policy("test_policy", component_id, "") :- | ||
check_passed(component_id, "mcn_maven_repo_verification_1"). | ||
check_passed(component_id, "mcn_scm_authenticity_1"). | ||
|
||
apply_policy_to("test_policy", component_id) :- | ||
is_component(component_id, "pkg:maven/org.antlr/[email protected]"). |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#include "prelude.dl" | ||
|
||
Policy("test_policy", component_id, "") :- | ||
check_passed(component_id, "mcn_maven_repo_verification_1"). | ||
check_passed(component_id, "mcn_scm_authenticity_1"). | ||
|
||
apply_policy_to("test_policy", component_id) :- | ||
is_component(component_id, "pkg:maven/org.neo4j/[email protected]"). |
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