You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitHub plugin's extraRepos setting silently discards any entry that is not exactly owner/repo. I set it to MPIV-AI/* expecting the org's repos to be tracked, and nothing happened: no error in the settings form, no warning in the log, no change in bb github repos. The setting stored my value and the plugin ignored it, which is indistinguishable from a setting that worked but found nothing.
I expected either the wildcard to be honored or, failing that, to be told it was not.
Versions and environment
bb from source at ad79bbb5e, run with scripts/bb-dev-app current.
Also reproduced on the packaged desktop app 0.39.0 (github@0.2.1).
Low effort. Hits anyone who guesses at the setting's syntax, and the failure is silent, so the time lost is spent wondering whether the plugin is broken. Workaround is to list every repo explicitly.
Summary
The GitHub plugin's
extraRepossetting silently discards any entry that is not exactlyowner/repo. I set it toMPIV-AI/*expecting the org's repos to be tracked, and nothing happened: no error in the settings form, no warning in the log, no change inbb github repos. The setting stored my value and the plugin ignored it, which is indistinguishable from a setting that worked but found nothing.I expected either the wildcard to be honored or, failing that, to be told it was not.
Versions and environment
ad79bbb5e, run withscripts/bb-dev-app current.github@0.2.1).gh2.86.0, authenticated to github.com.Steps to reproduce
Any string that fails
/^[\w.-]+\/[\w.-]+$/reproduces it. A bare typo does too:What does not reproduce it: a well-formed
owner/repoentry, which tracks correctly.Expected vs actual
bb plugin config githubconfirms the value is stored:Actual,
bb github repos— only the repos discovered from BB project checkouts, with no mention of the setting:Nothing appears in the server log for the discarded entry. Expected: a warning naming the entry and the shape the setting wants.
Evidence
The parse keeps only entries that pass
isRepoNameand drops the rest with noelsebranch:isRepoNameis the filter: https://github.com/get-bb/bb/blob/ad79bbb5e/plugins/github/server.ts#L344-L346*is not in[\w.-], soMPIV-AI/*fails the test and the loop body never runs for it.What you ruled out
ghauth problem: valid entries in the same setting track fine, andgh repo list MPIV-AIreturns 26 repos for this account.mainatad79bbb5e.Suggested priority and effort
Low effort. Hits anyone who guesses at the setting's syntax, and the failure is silent, so the time lost is spent wondering whether the plugin is broken. Workaround is to list every repo explicitly.