Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contents API #59

Merged
merged 12 commits into from
Jan 1, 2014
Merged

Contents API #59

merged 12 commits into from
Jan 1, 2014

Conversation

farmdawgnation
Copy link
Contributor

Hat tip to @acollign for the work that he did on this to start. I took what he did and essentially added the ability to mutate content using the content API. This still needs some tests added, I think, but I had issues getting them to run? (I think something was screwy with my network connection?)

Anyway, I'm more than happy to add the tests, but I wanted to go ahead and start getting feedback on how this looks. :-)

This would resolve #46

@buildhive
Copy link

Kohsuke Kawaguchi » github-api #115 SUCCESS
This pull request looks good
(what's this?)

@acollign
Copy link
Contributor

Thanks for creating this pull request @farmdawgnation!

The create and update API calls don't send back the content you just
sent, so that field is null. If this GHContent was instantiated from one
of those calls, we want to make sure we can retrieve the content (and
updated sha, etc) on the fly.
@buildhive
Copy link

Kohsuke Kawaguchi » github-api #116 SUCCESS
This pull request looks good
(what's this?)

@buildhive
Copy link

Kohsuke Kawaguchi » github-api #117 SUCCESS
This pull request looks good
(what's this?)

@farmdawgnation
Copy link
Contributor Author

Ok, I think we're at the point where adding any more would be venturing outside the scope of just the contents api, so I think this one is ready for review/merge. :)

kohsuke added a commit that referenced this pull request Jan 1, 2014
@kohsuke kohsuke merged commit 4e8e28d into hub4j:master Jan 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Contents API
4 participants