A calculation imported by a 9.6.1 build is stamped createdWith 9.6.0

Aberta
#1,323 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C
Estrelas
10
Forks
8
Merge médio
6h 32min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de FriendsofECCE/ECCE

Todas as issues de FriendsofECCE/ECCE

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.