Skip to content

Conversation

@smacker
Copy link
Contributor

@smacker smacker commented Jun 20, 2019

Fix: #59

It's the simplest possible implementation that is good enough for now
and easy to remove later.

Signed-off-by: Maxim Sukharev [email protected]

@smacker smacker requested a review from a team June 20, 2019 16:29
@carlosms
Copy link
Contributor

Is there any downside if we used the regular go-github lib?

@smacker
Copy link
Contributor Author

smacker commented Jun 20, 2019

I didn't use go-github here on purpose to accent that this code is a temporary solution. I truly believe cli shouldn't talk directly to github for orgs and token validation.

Copy link
Contributor

@carlosms carlosms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not too happy redoing the code that go-github already does, even if it's a small part.
But we can use it as it is and discuss later how to improve.

@smacker
Copy link
Contributor Author

smacker commented Jun 21, 2019

I'm glad you don't like it so we can remove it after release :)

Fix: #59

It's the simplest possible implementation that is good enough for now
and easy to remove later.

Signed-off-by: Maxim Sukharev <[email protected]>
@smacker
Copy link
Contributor Author

smacker commented Jun 21, 2019

rebased on master. merge after CI pass.

@smacker smacker merged commit 7d17561 into src-d:master Jun 21, 2019
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.

Add github token and orgs validation

2 participants