Philip Schatz

Results 35 comments of Philip Schatz

For what it's worth, you can do caching to `localStorage` "relatively" easily. The `Octokat` constructor takes a `cacheHandler` field (_undocumented_) that needs to implement `get(method, path)` and `add(method, path, eTag,...

Thanks for the feedback! Sorry it took so long to respond. #81 splits octokat into smaller pieces so users can opt-in to different features (like `fetchAll`, `camelCase`, Hypermedia, sending binary...

It seems like https://developer.github.com/v3/git/blobs/#get-a-blob allows you to retrieve larger files. In order to get the sha for the blob, https://developer.github.com/v3/git/ might be useful. I have not had to use Blobs...

Unfortunately, octokat does not perform throttling but it does provide the following which may be useful: - eTag caching and you can provide your own cache handler to save to...

Thanks for submitting the issue! Getting the total number of results (or pages) is unfortunately not exposed in GitHub's API directly. However, #31 describes a "One Weird Trick™" that might...

Thanks for using `octokat`! You can write many files using `octokat`, just not directly... yet (see below). To commit multiple files now, you will need to go through these steps:...

Thank you for noting the attempts! I'll try to add more documentation and then either add errors for some of the options or actually, maybe just support at least the...

Thanks for the nudge! Before moving to 1.0 I'd like to: - [ ] re-generate the test fixture files - [ ] add some more tests RE the fixture files:...

Yes. It's not "officially" supported but you should be able to do something like the following: ``` options = { emitter: { emit: function(eventType, method, path, data, options) { console.log(arguments);...

Do you get an exception or does the promise fail? The following seems to work for me: ```js var Octokat = require('octokat') var octo = new Octokat() function onResolve(resp) {...