A calculation imported by a 9.6.1 build is stamped createdWith 9.6.0

オープン
#1,323 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
10
フォーク
8
平均マージ
6時間 32分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。