Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#652 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Inizia con il plugins.json generato e l’esempio _plugins/DiscordRemote.md, confrontando l’ID pubblicato con il campo id del file. Esamina le issue collegate di DiscordRemote e PrettyGCode per il comportamento interessato e verifica se altri plugin presentano la stessa discrepanza. Il lavoro è completato quando la fonte dell’ID prevista è stata stabilita e gli ID dei plugin interessati sono stati considerati in modo coerente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Less
Stelle
145
Fork
373
Merge medio
3h 37m
PR unite (30g)
5

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OctoPrint/plugins.octoprint.org

Tutte le issue di OctoPrint/plugins.octoprint.org

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.