Skip to content

Commit e1cfd16

Browse files
authored
Update README.md
1 parent 67abc06 commit e1cfd16

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Deploy
22

3-
## Dependency Analysis
3+
## Overview
44

5-
The DependencyAnalyzer provides a method for analyzing dependencies between Gno packages. It calculates coupling metrics to help identify highly coupled or unstable packages, which is essential for maintaining a healthy codebase. The analyzer works by:
5+
Deploy (working title) is a tool used for deploying packages implemented in gno. This tool functions by sorting packages according to their dependencies and generating deployment scripts.
6+
7+
### Dependency Analysis
8+
9+
The Dependency Analyzer provides a method for analyzing dependencies between Gno packages. The analyzer works by:
610

711
1. Parsing Go-like grammar source files to extract package declarations and import statements
812
2. Building a dependency graph between packages
@@ -15,7 +19,7 @@ $$I = C_e/(C_a+C_e)$$
1519

1620
Once analyzed, you can generate deployment orders based on topological sorting, ensuring dependencies are deployed before dependent packages. The analyzer gracefully handles cyclic dependencies when they occur. Results can be exported in both JSON and text formats, with options for detailed metrics that include coupling scores and all import relationships.
1721

18-
I'll translate your text from Korean to English.
22+
For dependency analysis, the code is parsed using tree-sitter. It is designed to recognize both single and block import statements.
1923

2024
## Why Do We Sort?
2125

@@ -26,3 +30,4 @@ Therefore, a sorting function is necessary to prevent such situations in advance
2630
## TODO
2731

2832
- codegen with maketx query format
33+
- CLI commands

0 commit comments

Comments
 (0)