Build outputs shared by several languages are reported under one of them; outputs of a build system hide the language-wide ones

Đang mở
#145 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
40/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
elixir, erlang, java, kotlin, python
Lĩnh vực
build-system, tooling

Hướng nghiên cứu

Start by reading outputs_of in facts/outputs.py and tracing how CommittedOutput facts are grouped for reporting. Compare the BEAM and JVM cases described in the issue, including tests/fixtures/bare_beam. Decide whether shared outputs should be reported under each owning language or once per ecosystem, and whether build system outputs should add to language wide outputs; done means both behaviors are covered by clear, consistent results.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

committed-artifacts and vcs-ignore answer per language, and a BuildOutput of several languages is reported under one of them. BEAM's _build/ and erl_crash.dump are outputs of both Elixir and Erlang; in tests/fixtures/bare_beam (both languages) the check says

Elixir: no build outputs are committed; Erlang: 2 build outputs are committed

although the committed _build/ is Elixir's too (JVM's shared outputs behave the same for Java and Kotlin). The CommittedOutput fact carries every language; it is the answer's grouping that picks one. An output shared by the languages of one ecosystem would read better reported once, under the ecosystem, or under every language that owns it.

Related: outputs_of (facts/outputs.py) returns the outputs tied to the build systems in use or, only when none is, the language-wide ones. A profile that ties one output to a build system therefore hides its language-wide outputs for that build system (BEAM had to leave deps/ untied so _build/ still counted for Elixir; JVM's *.class output is hidden whenever Maven or Gradle is used). Is that precedence intended, or should the two sets add up?

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Ngôn ngữ chính
Python
Star
4
Fork
1
Merge trung bình
10 giờ 41 phút
Pull request đã merge (30 ngày)
79

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cpp-best-practices/project_validator

Tất cả issue của cpp-best-practices/project_validator

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.