computercraft-github
computercraft-github copied to clipboard
A readonly github repository client for computercraft
It would be very nice if instead of always downloading everything this program could only download the files that changed. So I think this can be achieved by storing the...
Update local function `encodeURI` (which doesn't handle all necessary substitutions) to use built-in `textutils.urlEncode`.
Based on #27; can rebase if/when that is merged. This uses the `recursive` parameter on the [GitHub trees API](https://developer.github.com/v3/git/trees/#get-a-tree) to eliminate all subtree API requests - a clone operation now...
Closes #29. This is based on #27 since it depends on the lazy loading behavior, so there are a bunch of extra commits in here, but I can rebase this...
Forever is a long time. There should be an automatic or manual way to flush the `Repository.tree` cache. Options: 1. Check the SHA of the provided commit-ish on GitHub. If...
Closes #26. This PR necessarily introduces a small breaking change - `Tree.size` no longer represents the total size of all files in the tree, only the total size of the...
Closes #30. Adds a new `Commit` class and a `Tree:getCommit` method. Technically, a Git commit owns/references a Git tree rather than vice-versa, but the GitHub API doesn't quite work that...
I thought this code was already in `master`, but when I rebased my fork recently it disappeared. Was the code deleted from `master`? Or was this part of my fork...
It would be awesome to have a tag on the current master so as to reference this version of computercraft-github when calling the pastebin install script.
The current eager fetching approach works fine for smaller repositories, but has disastrous performance for even medium-sized repositories when you don't need to clone the entire repository. I needed this...