A calculation imported by a 9.6.1 build is stamped createdWith 9.6.0

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
backend

Hướng nghiên cứu

Read src/util/genutil/Ecce.C around lines 66 and 164, then inspect src/dsm/edsiimpl/EDSIFactory.C around lines 853–858, where both metadata properties are set. The report says regeneration with tools/examples/preparse.py produced 9.6.0 despite the version files and rebuilt library showing 9.6.1, but the cause is not reproduced. Trace how Ecce::ecceVersion() gets its value and reproduce the generation; done when the cause is identified and both properties record the release version.

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

Mô tả

bug

Regenerating the shipped example sets with tools/examples/preparse.py from a tree whose data/client/config/Version is 9.6.1 wrote, into every stored copy's .ecce-meta:

ecce:createdWith      9.6.0
ecce:currentVersion   9.6.0

Checked at the time: data/client/config/Version in both the source tree and the install read 9.6.1, the compiled ECCE_VERSION in libecceutil.a read 9.6.1 (object rebuilt in the same run), and there is no second version file under data/client/config/. So Ecce::ecceVersion() (src/util/genutil/Ecce.C:66,164) should return 9.6.1, yet EDSIFactory.C:853-858, which sets both properties from it, recorded 9.6.0.

Not reproduced in isolation and the mechanism is not established — the above is what a single regeneration run produced.

Low impact: both properties are in StoredCalcCopy's kSkip (src/dsm/edsiimpl/StoredCalcCopy.C:32-38), so they are not part of what a stored copy must match and no test compares them. It is wrong provenance rather than wrong data, but a calculation made with a release should name that release.

Ngôn ngữ chính
C
Star
10
Fork
8
Merge trung bình
6 giờ 32 phút
Pull request đã merge (30 ngày)
1

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 FriendsofECCE/ECCE

Tất cả issue của FriendsofECCE/ECCE

Issue tương tự

Thêm issue về C

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.