Skip to content

Commit

Permalink
docs: update todos for archguard rule system
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 5, 2023
1 parent 25e5445 commit 5cefd3c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ AutoDev [#54](https://github.com/unit-mesh/auto-dev/issues/56)
- [x] Long Parameters, Long Method, LARGE_CLASS
- [ ] Todo: Rewrite If, Switch logic
- [x] Estimation from [ArchGuard](https://github.com/archguard/archguard)
- [ ] ArchGuard CodeDB metrics: [CodeDB](https://github.com/archguard/codedb)

- [ ] ArchGuard Governance: [Rule Linter](https://archguard.org/governance)
- [ ] SQL
- [ ] Test SQL
- [ ] ArchGuard CodeDB OO Metrics: [CodeDB](https://github.com/archguard/codedb)

### Code Picker

Expand Down
3 changes: 3 additions & 0 deletions code-quality/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ dependencies {
implementation(libs.archguard.scanner.core)
implementation(libs.archguard.analyser.estimate)

implementation(libs.archguard.rule.sql)
implementation(libs.archguard.rule.webapi)

// checkout
implementation(libs.codedb.checkout)

Expand Down
13 changes: 9 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ slf4j = "2.0.9"

clikt = "4.2.1"

chocolate-factory="0.4.3"
chocolate-factory = "0.4.3"

chapi = "2.1.3"
archguard="2.0.7"
codedb="0.1.2"
archguard = "2.0.7"
codedb = "0.1.2"

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
Expand Down Expand Up @@ -59,9 +59,14 @@ chapi-kotlin = { group = "com.phodal.chapi", name = "chapi-ast-kotlin", version.
# ArchGurad
archguard-scanner-core = { group = "org.archguard.scanner", name = "scanner_core", version.ref = "archguard" }
archguard-lang-kotlin = { group = "org.archguard.scanner", name = "lang_kotlin", version.ref = "archguard" }
archguard-rule-core = { group = "org.archguard.scanner", name = "rule_core", version.ref = "archguard" }
archguard-analyser-estimate = { group = "org.archguard.scanner", name = "analyser_estimate", version.ref = "archguard" }

# ArchGuard Rule Linter
archguard-rule-core = { group = "org.archguard.scanner", name = "rule-core", version.ref = "archguard" }
archguard-rule-sql = { group = "org.archguard.scanner", name = "rule-sql", version.ref = "archguard" }
archguard-rule-webapi = { group = "org.archguard.scanner", name = "rule-webapi", version.ref = "archguard" }
archguard-rule-test = { group = "org.archguard.scanner", name = "rule-test", version.ref = "archguard" }

codedb-checkout = { group = "org.archguard.codedb", name = "checkout", version.ref = "codedb" }

# cf => chocolate-factory
Expand Down

0 comments on commit 5cefd3c

Please sign in to comment.