Uh oh!
There was an error while loading. Please reload this page.
Add commits to site.github - #94
Conversation
| end | ||
| def commits | ||
| memoize_value :@commits, Value.new(proc { |c| c.commits(nwo) }) |
There was a problem hiding this comment.
My only concern here is that we limit this to something reasonable like 50 or 100. I believe we may have auto_paginate on which would mean if you have 200,000 commits, we'd try to grab all of them. 😳
There was a problem hiding this comment.
Yeaaa... 200,000 commits are definitely not needed. Are you able to set auto_paginate to false for a specific endpoint?
There was a problem hiding this comment.
We'd have to turn it off for the client while this call is made. Something like: octokit/octokit.rb#554 (comment)
There was a problem hiding this comment.
Okay I see what'll need to happen, but unfortunately I'm not proficient in Ruby. How would I go about implementing this?
I'd like to propose that commits be added to site.github. The main reason for this would be for display your commit history on your generated site.
Currently I am building an internal documentation site and thought it would be great to have a recent activity feed or history feed.