feat: migrate changelog fetching from Deadlock forums to Steam API#401
Draft
LVL1024 wants to merge 14 commits into
Draft
feat: migrate changelog fetching from Deadlock forums to Steam API#401LVL1024 wants to merge 14 commits into
LVL1024 wants to merge 14 commits into
Conversation
Open
… subheaders, and hotfix preservation
… ability subheaders, and hotfix preservation" This reverts commit b7dd29c.
Reverts the 3 commits since 26fe3d9: - b1994dc feat: exclude Hero Lab entries from reprocessing - 9b8de0e TEST: Delete existing notes - 7f2e144 feat: enhance changelog processing with pending ID support Preserves the DRY_RUN env var forwarding fix in docker-compose.yml, which fixes a pre-existing bug where the variable was set by the CI workflow but silently dropped at the container boundary.
6363402 to
e20047a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changed from using the forums to the Steam API since the devs don't post patch notes on
the forums anymore, they moved to Steam posts. Also removed hero labs code.
What changed:
fetch_forum_changelogs()→fetch_steam_changelogs(), reads fromsteam_community_announcementsfiltered topatchnotes-tagged posts_bbcode_to_text()converts Steam BBCode to plain text (paragraphs, lists, links,images, embeds, plus a catch-all for unknown tags)
steam_hash) detects when Valve edits a post after publishing, if itchanges, the entry gets flagged
was_edited: trueand wiki upload is skipped for manual reviewSTEAM_MIGRATION_DATEcut-off (2026-06-04) keeps all historical forum-sourced data intactforum_id→source_idinchangelog_configs.json;title,steam_hash,was_editedfields addedfeedparserandbs4dropped frompyproject.tomlget_gamefile_changelogs()pipeline (~130 lines) parsedcitadel_patch_notes_english.jsoninto_HeroLabentries. Devs haven't used Hero Labs in forever.Parsed data in deadlock-data PR - Reopen deadbot PR or run deploy workflow for this branch here to reparse the data