wbailey / kata

A language for describing and taking code katas
156 stars 10 forks source link

Github repo creation is broken due to Github.com API upgrade #6

Closed jasonnoble closed 10 years ago

jasonnoble commented 12 years ago
$ bundle exec kata setup ../calculator.rb
/Users/jasonn/workspace/kata/lib/kata/setup/base.rb:29:in `create_repo': Unable to determine github api token (Exception)
from /Users/jasonn/workspace/kata/bin/kata:79:in `<top (required)>'
from /Users/jasonn/.rvm/gems/ruby-1.9.3-p194@code_katas/bin/kata:23:in `load'
from /Users/jasonn/.rvm/gems/ruby-1.9.3-p194@code_katas/bin/kata:23:in `<main>'
$
jasonnoble commented 12 years ago

I'm thinking that we should create a Github kata that provides the steps to setup a repo on the github website. It would then walk them through the process of git init/add/commit/push. This would allow the student to practice the git process during a kata. I think that all the katas should have "commit your work" as one of the requirements. Thoughts @wbailey?

jasonnoble commented 12 years ago

Looks like https://github.com/peter-murach/github is the way to do it now-a-days.

lloydchang commented 11 years ago

Hello @jasonnoble and @wbailey,

How about tryGit as a GitHub kata? My intuition says GitHub’s vision is enabling people to socialize remotely across geographies, and gamification of git’s ancillary.

To fix GitHub repo creation, please review https://github.com/wbailey/kata/pull/9 when your time permits. I made a design choice of retaining Ruby scaffolding in lieu of using auto_init. User experience wise, I imagine practitioners of Ruby katas prefer a simple flow from coding to auto-deploying, and avoid complexity of manual git wranglings. Thank you.

jasonnoble commented 11 years ago

@lloydchang You may want to look at https://github.com/wbailey/code_katas and add the tryGit kata there.

lloydchang commented 11 years ago

@jasonnoble @wbailey Please review https://github.com/jasonnoble/code_katas/pull/1/ when your time allows. Thanks!

wbailey commented 10 years ago

This should not be the case with the most recent release that uses octokit.