com.github.gist¶
com.github.gist is the identifier for the package provider of GitHub Gists.
This provider enables sourcing files from a GitHub Gist.
Why is there a repo_ref field?
GitHub Gists are technically Git repositories, so instdat uses the same field names as the providers for other Git forges.
instdat.repo_owner¶
The owner of the target Gist.
instdat.repo_name¶
The identifier of the target Gist. (This is named this way for consistency with com.github and because Gists are technically repositories.)
instdat.repo_ref¶
The Git reference (a commit) of the target repository.
This can be determined by clicking the “raw” button on any file in the Gist. The commit identifier is the second hexadecimal string in the URL.
instdat.filemaps¶
A table which contains mappings for files on GitHub and their local counterparts.
The key for each item in the table should correspond to the full path on the GitHub Gist, and the value should be the local destination.