Recalculate history when the power of a model or the category of a type changes
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 56/100
Línea de trabajo
Issue #213 already handles recalculation when lifespan changes; read that implementation first to find the relevant entry points. Then trace how model power changes affect existing usage rows and how type category changes affect embodied impacts. Done means both changes trigger recalculation for existing history, without manual data updates.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Changing the power of a computer model or type does not affect the days already calculated: only new days use the new value. Changing the category of a computer type does not mark the embodied impacts for recalculation either.
We replaced the power of several server models (it was the PSU rating) with measured values. We had to rescale the existing usage rows ourselves and set recalculate = 1 by hand on the embodied impacts.
#213 already does this when the lifespan changes. Doing the same for power and category would keep the history consistent with the current settings.
Laurent Tison, Afnic
- Lenguaje dominante
- PHP
- Estrellas
- 5
- Forks
- 7
- Merge medio
- 2 h 26 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pluginsGLPI/carbon
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
pluginsGLPI/carbon#396 ·
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
pluginsGLPI/carbon#239 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
pluginsGLPI/carbon#395 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
pluginsGLPI/carbon#392 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
pluginsGLPI/carbon#391 ·
Todos los issues de pluginsGLPI/carbon
Issues similares
-
[BUG] Bundle products lose their price in RSS feeds: getPrices() was removedPosiblemente ocupada @pcvelz la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
OpenMage/magento-lts#5869 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
modelcontextprotocol/php-sdk#746 ·
Los mantenedores suelen responder en 1 día
-
Map Info Window ButtonsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
OpenGIS/waymark-wp#82 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
claude
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
sprain/sprainocchio#39 ·
Los mantenedores suelen responder en 1 día