Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

`exportlegends` export of `historical_event_relationship_supplements` is wrong

Offen
#5,720 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cpp, xml
Bereich
tooling

Rechercherichtung

Start by locating the exportlegends code that serializes historical_event_relationship_supplements and checking how circumstance and circumstance_id are represented. Determine which circumstances have a valid ID and what XML element fits each referenced type; evaluate compatibility with downstream tools before changing the export. Done when the output represents these fields correctly and downstream impact has been assessed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

exportlegends exports objects of type historical_event_relationship_supplements using XML elements of occasion_type and site for DF's circumstance and circumstance_id fields. In reality, the field being exported as site is only valid for certain circumstances and is never a site.

The script should, realistically, only export the circumstance_id field for the circumstances for which it is valid, and should use an XML element appropriate for the specific type of thing the circumstance_id is referring to. It should probably also call tghe event a circumstance (instead of an occasion_type).

All this needs to be evaluated for the potential impact on downstream tools.

Vorherrschende Sprache
C++
Sterne
2.1k
Forks
509
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DFHack/dfhack

Alle Issues in DFHack/dfhack

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.