repo-create: allow creation from a GitHub template repository #56
Labels
severity: 7 (wishlist)
status:acknowledged
type:feature
Adds a new capability or behavioral property
Background reading
GitHub v3 API endpoint:
Feature description
The
ads-github-repo-create
program could support a--from-tempalte=TMPL_REPO_NAME
option to allow for the creation of a new repository from a GitHub "template repository".Notes
At the time of writing (2020-10), v3 API support for template repo features requires that the following HTTP header be provided (as the developer's acknowledgement that the features are experimental):
The user would be specifying the template repository to use in the
TMPL_REPO_NAME
argument. As noted in the GH v3 API docs, that value can be sanity checked to confirm that it really does represent a "template repository" by checking the repo'sis_template
property.Some notes based on some empirical testing in the GitHub web UI:
private
parameter to explicitly set this in the API)The text was updated successfully, but these errors were encountered: