Repository navigation
chore: remove the retired rule language from hypatia #1185
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
base: main
Are you sure you want to change the base?
Changes from all commits
af77cee
755b9b0
22a7b56
d4ee5bc
25e4ed3
d2cd890
4469e83
fa59506
4231d76
79e8dff
c5e8b46
9da9b96
fa76712
da8a943
f459f63
10207b8
c619380
a73cc2d
9f569c2
79a8d71
42a329e
e8d90c9
cdebb3d
3dc7849
2765dac
f922fbf
650a336
0709bcd
98b709b
e185531
1741ba1
cf07198
dae910e
b3c38ba
c1499d2
1fea3f4
adce04d
5f38edb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -153,32 +153,29 @@ WORKDIR /src/czech-file-knife | |
| RUN cargo +nightly fuzz build | ||
| ---- | ||
|
|
||
| ''''' | ||
|
|
||
| === Prevention Rules (historical Logtalk — superseded) | ||
|
|
||
| NOTE: Historical source of record only (2025-12-29), retained so the transcription can be audited. These are rules AP003–AP004; the canonical Elixir form is `Hypatia.Rules.AuditPrevention` plus the live checkers named in `docs/rules/logtalk-migration.adoc`. Do not treat the block below as an active rule source. | ||
| NOTE: Historical source of record only (2025-12-29), retained so the transcription can be audited. These are rules AP005–AP006; the canonical Elixir form is `Hypatia.Rules.AuditPrevention` plus the live checkers named in `docs/rules/logtalk-migration.adoc`. Do not treat the block below as an active rule source. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This relabels the czech-file-knife report as the source of AP005–AP006 and replaces its AP003–AP004 records with copies from the deleted gitvisor report, but Useful? React with 👍 / 👎. |
||
|
|
||
| [source,logtalk] | ||
| ---- | ||
| % Require cargo audit in Rust CI | ||
| rust_rule(missing_audit, preventive, | ||
| "Rust repos must run cargo audit in CI", | ||
| % Require CI tests for all repos | ||
| project_rule(missing_ci_tests, preventive, | ||
| "Repos must have automated test workflow", | ||
|
hyperpolymath marked this conversation as resolved.
Resolved
|
||
| [ | ||
| file_exists("Cargo.toml"), | ||
| not(workflow_contains("cargo audit")) | ||
| not(file_exists(".github/workflows/*test*.yml")), | ||
| has_source_code | ||
| ], | ||
| block_release). | ||
|
|
||
| % Workspace-aware dependency check | ||
| rust_rule(workspace_vuln, curative, | ||
| "Check all workspace members for vulnerabilities", | ||
| % Require SAST for multi-language repos | ||
| project_rule(missing_sast, preventive, | ||
| "Multi-language repos must have SAST configured", | ||
| [ | ||
| file_exists("Cargo.toml"), | ||
| contains("[workspace]"), | ||
| any_member_has_vuln | ||
| language_count > 1, | ||
| not(file_exists(".github/workflows/codeql.yml")) | ||
| ], | ||
| alert_maintainer). | ||
| warn_maintainer). | ||
| ---- | ||
|
|
||
| ''''' | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.