A calculation imported by a 9.6.1 build is stamped createdWith 9.6.0

Abierto
#1,323 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C
Estrellas
10
Forks
8
Merge medio
6 h 32 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FriendsofECCE/ECCE

Todos los issues de FriendsofECCE/ECCE

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.