-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
blockedCannot be implemented until something else happensCannot be implemented until something else happensenhancementNew feature or request thereforNew feature or request thereforlow priorityLess important than other thingsLess important than other thingsneeds researchMore information is requiredMore information is required
Description
labelmaker should gain an --api-url command-line option (defaulting to the value of the GITHUB_API_URL envvar, falling back to https://api.github.com) for specifying what GitHub API to interact with.
A preliminary implementation of this was removed in commit 6702d94.
Problems:
-
The only repository URLs (whether HTTP URLs specified on the command line or SSH URLs retrieved from a local Git repository's remote) that
ghrepocan parse are those that refer to the main GitHub instance. -
Given an API URL, how should the
--hostnamevalue to pass togh auth tokenbe determined?- It seems that, if a token is stored under
example.com, thenghwill return that token for all queries of subdomains underexample.com.
- It seems that, if a token is stored under
As an alternative to --api-url, support could be added for specifying repositories in the form HOST/OWNER/REPO à la gh.
Metadata
Metadata
Assignees
Labels
blockedCannot be implemented until something else happensCannot be implemented until something else happensenhancementNew feature or request thereforNew feature or request thereforlow priorityLess important than other thingsLess important than other thingsneeds researchMore information is requiredMore information is required