Skip to content

Validate full bundle identifier in config#2825

Merged
freakboy3742 merged 5 commits into
beeware:mainfrom
Rjvs:fix-bundle-prefix-validation
May 14, 2026
Merged

Validate full bundle identifier in config#2825
freakboy3742 merged 5 commits into
beeware:mainfrom
Rjvs:fix-bundle-prefix-validation

Conversation

@Rjvs
Copy link
Copy Markdown
Contributor

@Rjvs Rjvs commented May 14, 2026

Validate the full bundle id instead of just the bundle prefix.
This more correctly validates bundle ids, allowing single-dot ids. Fixes #2824

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Assisted-by: Claude Opus 4.7 or perhaps Codex 5.5, I can't remember

Copy link
Copy Markdown
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tweaked the error message and release note a bit, but the approach you've taken here (validating the full ID, not just the prefix) is clever. Thanks for the PR.

Comment thread src/briefcase/config.py Outdated
@freakboy3742 freakboy3742 merged commit 60b2be6 into beeware:main May 14, 2026
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overly aggressive bundle identifier validator rejects valid bundle IDs

2 participants