Skip to content

Commit

Permalink
Generate TODOs from git://github.com/github/developer.github.com.git
Browse files Browse the repository at this point in the history
Some of them are already covered by issues #65, #67, #68 and #69
  • Loading branch information
jacquev6 committed Sep 7, 2012
1 parent 8f184d9 commit 76c499d
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codegen/generate_reference_of_apis.py
Expand Up @@ -41,6 +41,7 @@
"/repos/:user/:repo/git/trees/:sha?recursive=1",
"/repos/octocat/Hello-World/git/refs/heads/feature-a",
"/repos/octocat/Hello-World/git/refs/tags/v1.0",
"/repos/:user/:repo/git/refs/heads/skunkworkz/featureA",
]:
continue

Expand Down Expand Up @@ -70,6 +71,6 @@
if ( url, verb ) in functionsByUrlVerb:
function = functionsByUrlVerb[ ( url, verb ) ]
else:
function = "(TOTO)"
function = "(TODO)"
print "* " + verb + ": " + function
print
73 changes: 73 additions & 0 deletions doc/ReferenceOfApis.md
Expand Up @@ -123,16 +123,36 @@ API `/orgs/:org/teams`
* GET: `Organization.get_teams`
* POST: `Organization.create_team`

API `/rate_limit`
=================
* GET: (TODO)

API `/repos/:user/:repo`
========================
* GET: `AuthenticatedUser.get_repo`, `NamedUser.get_repo` or `Organization.get_repo`
* PATCH: `Repository.edit`
* DELETE: `Repository.delete`

API `/repos/:user/:repo/:archive_format/:ref`
=============================================
* GET: (TODO)

API `/repos/:user/:repo/assignees`
==================================
* GET: (TODO)

API `/repos/:user/:repo/assignees/:assignee`
============================================
* GET: (TODO)

API `/repos/:user/:repo/branches`
=================================
* GET: `Repository.get_branches`

API `/repos/:user/:repo/branches/:branch`
=========================================
* GET: (TODO)

API `/repos/:user/:repo/collaborators`
======================================
* GET: `Repository.get_collaborators`
Expand Down Expand Up @@ -170,6 +190,10 @@ API `/repos/:user/:repo/compare/:base...:head`
==============================================
* GET: `Repository.compare`

API `/repos/:user/:repo/contents/:path`
=======================================
* GET: (TODO)

API `/repos/:user/:repo/contributors`
=====================================
* GET: `Repository.get_contributors`
Expand Down Expand Up @@ -321,6 +345,10 @@ API `/repos/:user/:repo/languages`
==================================
* GET: `Repository.get_languages`

API `/repos/:user/:repo/merges`
===============================
* POST: (TODO)

API `/repos/:user/:repo/milestones`
===================================
* GET: `Repository.get_milestones`
Expand Down Expand Up @@ -370,6 +398,23 @@ API `/repos/:user/:repo/pulls/comments/:number`
* PATCH: `PullRequestComment.edit`
* DELETE: `PullRequestComment.delete`

API `/repos/:user/:repo/readme`
===============================
* GET: (TODO)

API `/repos/:user/:repo/stargazers`
===================================
* GET: (TODO)

API `/repos/:user/:repo/statuses/:sha`
======================================
* GET: (TODO)
* POST: (TODO)

API `/repos/:user/:repo/subscribers`
====================================
* GET: (TODO)

API `/repos/:user/:repo/tags`
=============================
* GET: `Repository.get_tags`
Expand Down Expand Up @@ -453,6 +498,26 @@ API `/user/repos`
* GET: `AuthenticatedUser.get_repos`
* POST: `AuthenticatedUser.create_repo`

API `/user/starred`
===================
* GET: (TODO)

API `/user/starred/:user/:repo`
===============================
* GET: (TODO)
* PUT: (TODO)
* DELETE: (TODO)

API `/user/subscriptions`
=========================
* GET: (TODO)

API `/user/subscriptions/:user/:repo`
=====================================
* GET: (TODO)
* PUT: (TODO)
* DELETE: (TODO)

API `/user/watched`
===================
* GET: `AuthenticatedUser.get_watched`
Expand Down Expand Up @@ -508,6 +573,14 @@ API `/users/:user/repos`
========================
* GET: `NamedUser.get_repos`

API `/users/:user/starred`
==========================
* GET: (TODO)

API `/users/:user/subscriptions`
================================
* GET: (TODO)

API `/users/:user/watched`
==========================
* GET: `NamedUser.get_watched`
Expand Down

0 comments on commit 76c499d

Please sign in to comment.