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

Add exemple with private github #3

Open
kosssi opened this issue Jan 19, 2015 · 2 comments · May be fixed by #6
Open

Add exemple with private github #3

kosssi opened this issue Jan 19, 2015 · 2 comments · May be fixed by #6

Comments

@kosssi
Copy link

kosssi commented Jan 19, 2015

Thanks for this project.

I test it now but I have question it's possible to use it with a private github ?

@azproduction
Copy link
Member

In current implementation plato-as-service downloads zip using public url. But that could be updated to use API V3: https://developer.github.com/v3/repos/contents/#get-archive-link

$ curl -H "Authorization: token ab499f3b..." \
-L https://api.github.com/repos/godzilla/my_priv_repo/zipball > wut.zip

This implementation requires OAuth token from service consumer.

Url schema could be:

/:user/:repo/:branch/?oauth_token=ab499f3b...

@azproduction azproduction linked a pull request Jan 19, 2015 that will close this issue
@azproduction
Copy link
Member

@kosssi PR is pending

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 a pull request may close this issue.

2 participants