Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Potential Bug] Plugin ID generated in plugins.json is not using the 'id' field (and instead the name of the file)

Abierto
#652 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

Comienza con el plugins.json generado y el ejemplo _plugins/DiscordRemote.md, comparando el ID publicado con el campo id del archivo. Revisa las issues vinculadas de DiscordRemote y PrettyGCode para identificar el comportamiento afectado y comprueba si otros plugins presentan la misma discrepancia. Se considera terminado cuando se haya establecido la fuente de ID prevista y los IDs de los plugins afectados se hayan tenido en cuenta de forma coherente.

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

Descripción

help wanted
Problem

Seems that the file plugins.json is grabbing its plugin ID from the name of the file under _plugins/, rather than the id: field in the data at the top of the file. If this is intended, it should be documented and the id field removed.

This causes a problem with:

  • the built in backup & restore
  • Upgrade to Python 3

since they look to compare the internal ID with the repository, and don't find a match.

Example

https://plugins.octoprint.org/plugins/DiscordRemote/

The internal ID is discordremote, which is in the file _plugins/DiscordRemote.md correctly - however, in the plugins.json file, the ID is wrong

Linking https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/141, and first noticed with https://github.com/Kragrathea/OctoPrint-PrettyGCode/issues/68#issuecomment-691246463

One issue with changing it

Might need to check that no plugins are adversely affected (ie. wrong ID inside the file, but filename is right), but this is probably not a problem since it says that the ID should be correct

Lenguaje dominante
Less
Estrellas
145
Forks
374
Merge medio
3 h 37 min
PR fusionados (30 d)
5

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 OctoPrint/plugins.octoprint.org

Todos los issues de OctoPrint/plugins.octoprint.org

Issues similares

Más issues de DevTools

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.