fix(mods): a folder mod named with punctuation gets the same slug as the builder #414
No reviewers
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!414
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:fix/mod-slug-punctuation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adding a folder mod whose name has punctuation next to a space (a player's
Fierce Deity Armor + Reskins) fails: its id comes out aslocal/fierce-deity-armor---reskins, which the manifest check refuses.pick.rskept its own copy of the builder's old slug rule. It now usesstable::slug, which already writes one separator per run. This matches the builder fix, MagicBeanDev/Longshot#3112; the refusal itself is the builder's, so players need that one.One existing test expected
zelda--n-code, an id the builder refuses; it now expectszelda-n-code.Testing (Linux)
cargo fmt --checkreportssrc/update.rs, andmise run lintfails (gitleaks); neither is expected to come from this change, but themaincomparison is still queued.🤖 Generated with Claude Code
Possibly related, for context:
WIP: fix(mods): a folder mod named with punctuation gets the same slug as the builderto fix(mods): a folder mod named with punctuation gets the same slug as the builder