Scripts: smoke blocks print the game folder's name #677

Closed
opened 2026-11-26 04:29:09 +00:00 by github-bot · 0 comments
Owner

@⁠grahamster2 on GitHub · 2026-11-24 03:21 UTC · original

scripts/smoke.ps1 prints the game folder's name on the title: line of every xcl-smoke block (title: $(Split-Path $Game -Leaf)). Folder names are whatever people called their copy, so open PR descriptions now carry the retail title's name 58 times, and about 20 of them carry a scene release tag. That's public text on the repo tying contributors to specific copies of a commercial game, which is the kind of thing a takedown notice quotes.

Proposal: print a short, stable hash of the folder name instead, e.g. title: 3f9a1c2e (first 8 hex chars of SHA-256 of the leaf name, lowercased). pr_check.py only needs the main and PR blocks to have the same title: (line 97), so a hash keeps that check working and still tells two different games apart. An optional -Title <label> parameter would let someone name it something readable if they want.

For the existing PRs, I can replace each block's title: value with the same hash the new script would print, so main/PR pairs keep matching and the check result doesn't change. I've already renamed the issue and PR titles that named the game to "retail title".

Okay to send the smoke.ps1 change as a PR? Happy to do it differently if you'd prefer something else.

**@⁠grahamster2** on GitHub · 2026-11-24 03:21 UTC · [original](https://github.com/xcl-dev/xcl/issues/677) `scripts/smoke.ps1` prints the game folder's name on the `title:` line of every `xcl-smoke` block (`title: $(Split-Path $Game -Leaf)`). Folder names are whatever people called their copy, so open PR descriptions now carry the retail title's name 58 times, and about 20 of them carry a scene release tag. That's public text on the repo tying contributors to specific copies of a commercial game, which is the kind of thing a takedown notice quotes. Proposal: print a short, stable hash of the folder name instead, e.g. `title: 3f9a1c2e` (first 8 hex chars of SHA-256 of the leaf name, lowercased). `pr_check.py` only needs the main and PR blocks to have the *same* `title:` (line 97), so a hash keeps that check working and still tells two different games apart. An optional `-Title <label>` parameter would let someone name it something readable if they want. For the existing PRs, I can replace each block's `title:` value with the same hash the new script would print, so main/PR pairs keep matching and the check result doesn't change. I've already renamed the issue and PR titles that named the game to "retail title". Okay to send the smoke.ps1 change as a PR? Happy to do it differently if you'd prefer something else.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:29:09 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.