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

Closed
opened 2026-11-24 03:21:38 +00:00 by grahamster2 · 0 comments
grahamster2 commented 2026-11-24 03:21:38 +00:00 (Migrated from github.com)
Contributor

Imported from ivall/xcl. Originally posted by grahamster2 on 2026-11-24T03:21:38Z.


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.

<!-- greyfinch-sync:ivall/xcl:issue:6573875615 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/677). Originally posted by [grahamster2](https://github.com/grahamster2) on 2026-11-24T03:21:38Z. --- `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.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl#672
No description provided.