Multiple directories with same name
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Review the linked fork branch and the existing add_package implementation, then inspect tests under tests/unit/ to find where package discovery is covered. First reproduce the duplicate directory name case and check how the proposed path argument selects a vunit_pkg.toml. Done means the behavior and its tests are clear and the unit test suite runs; the issue reports that pytest currently fails on both master and the branch.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have a problem with directories with the same name, and proposed a solution.
Our directory structure:
project_root
├── generallib
│ ├── rtl
│ ├── sim
│ └── tb
└── specific
├── comp1
│ ├── rtl
│ ├── sim
│ └── tb
└── comp2
├── rtl
├── sim
└── tb
The issue is regarding directories containg vunit_pkg.toml.
rtlandtbfolders containsvunit_pkg.toml.simfolders containsrun.py
Normal python import handles __init__.py fine via:
import comp1
import comp1.rtl
import comp1.tb
I have created a branch (on my forked repo):
https://github.com/VUnit/vunit/compare/master...mrlogic-dk:vunit:feature-add_package-via_path
Problem solved by this patch:
- Multiple packages with the same directory name, e.g.
rtl/tb.- Original
add_package("package_name")will just insert the first found. - Enhanced package, with `path` argument,
add_package(path"../../general-lib/tb")= will insert that
specific package viavunit_pkg.toml
- Original
Whot do you think about the change with respect to functionality and implementation?
I can't run the test `pytest tests/unit/` neither on `master` or with my changes.
I don't know where to add test to test the behaviour.
I can't push to VUnit/vunit.
- Ngôn ngữ chính
- VHDL
- Star
- 850
- Fork
- 305
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 7
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 VUnit/vunit
-
KeyError in test scheduler when using TestBench.scan_tests_from_file()Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
GHDL: generics leak between configurations when `ghdl.sim_flags` is setCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
VUnit/vunit#1223 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
AXI slave VCs have identical stalling behaviorCó thể đã có người làm @Lay007 đã nhận 27 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
VUnit/vunit#1219 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
type/test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
SaltedTan/virgil-language-server#218 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mcp good first issue priority: p2 status: accepted status: design-approved type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Okohedeki/scroll-studio#87 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
code-yeongyu/oh-my-openagent#11113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P2: misleading
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
jeffknupp/association#531 ·
-
area: export enhancement good first issue size: S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Raihan-009/prettier-excalidraw#70 ·
Maintainer thường phản hồi trong vòng 1 ngày