这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

add addTeamRepo api to org #161

Merged
merged 3 commits into from
Jan 28, 2015
Merged

add addTeamRepo api to org #161

merged 3 commits into from
Jan 28, 2015

Conversation

nicktesla
Copy link

ghorg.addTeamRepo will add a team to an organization's repo. Pretty straightforward. Would love to see this/something like this merged in soon :)

@pksunkara
Copy link
Owner

Sorry, you need to write this in coffee-script and then generate the javascript.

@nicktesla
Copy link
Author

OK

@pksunkara
Copy link
Owner

And are you sure about having this api in the org.js file? What do you think of team.js?

@nicktesla
Copy link
Author

team.js makes sense as well but its under Organizations on github: https://developer.github.com/v3/orgs/teams/#add-team-repo

Should I move it to team.js?

P.S. cake lib fails for me on OSX (I get an ENOENT error)

@pksunkara
Copy link
Owner

Leave it at org then. Try this command, ./node_modules/.bin/coffee -c -o lib src instead of cake lib

@nicktesla
Copy link
Author

OK done...check it out

@pksunkara
Copy link
Owner

Looks good except for the coffee-script version. Could you please fix those and I will merge this? Thanks.

@nicktesla
Copy link
Author

coffee-script version?

@pksunkara
Copy link
Owner

If you look at the diff, you can see that you are using 1.7.1 instead of 1.8.0

@nicktesla
Copy link
Author

ha ok i think this is good?...P.S. how could you tell the version ...don't see it in the diff?

pksunkara added a commit that referenced this pull request Jan 28, 2015
add addTeamRepo api to org
@pksunkara pksunkara merged commit 408f4e3 into pksunkara:master Jan 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants