doctr icon indicating copy to clipboard operation
doctr copied to clipboard

Suggest the --branch-whitelist

Open asmeurer opened this issue 5 years ago • 2 comments

If the default branch is set to something other than master, we should suggest the --branch-whitelist flag in configure. See https://github.com/drdoctr/doctr/issues/314 and https://github.com/drdoctr/doctr/pull/315.

This is assuming that this information is accessible from the GitHub API.

asmeurer avatar Aug 17 '18 18:08 asmeurer

It's the default_branch key in the repo object, which we already get in check_repo_exists.

asmeurer avatar Aug 17 '18 18:08 asmeurer

We should also detect if we are in master on a .github.io repo and print some warning in that case.

asmeurer avatar Aug 17 '18 22:08 asmeurer