Consider `import-linter` or another way to document the overall architecture
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- developer-experience, documentation
Hướng nghiên cứu
Trước tiên, hãy xem xét cấu trúc package pins và các layer import-linter được đề xuất. Được xem là hoàn tất khi đã chọn và lập tài liệu về một cách tiếp cận kiến trúc, trong đó các quan hệ phụ thuộc либо được import-linter và pre-commit thực thi, hoặc được ghi lại trong một sơ đồ hay tài liệu thay thế.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
For new contributors, having some documentation of the overall pins-python package structure could be helpful.
In particular, it is helpful to get an idea of the dependency relationships between modules. import-linter allows you to declare and enforce a layered architecture; for example for pins-python, the configuration could be declared as:
[tool.importlinter]
root_packages = ["pins"]
[[tool.importlinter.contracts]]
name = "pins Modular Design"
type = "layers"
layers = [
"constructors",
"boards",
"drivers",
"meta | cache | rsconnect",
"versions | utils",
"config | errors | _types | data",
]
containers = "pins"
exhaustive = true
The idea is that that higher layers in the list can import from lower layers in the list, but not vice versa; and modules in the same level separated by | cannot import each other either.
Alternatively, I think having a diagram or other form of documentation would be quite helpful. However, import-linter has the advantage of enforcing the structure (potentially via pre-commit); whereas documentation can become out of date.
- Ngôn ngữ chính
- Python
- Star
- 59
- Fork
- 11
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rstudio/pins-python
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rstudio/pins-python#367 ·
-
.maint
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
rstudio/pins-python#280 ·
-
Test board github with a tokenĐang mởtesting
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
rstudio/pins-python#196 ·
-
.enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
rstudio/pins-python#363 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
rstudio/pins-python#354 ·
Tất cả issue của rstudio/pins-python
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày