-
Notifications
You must be signed in to change notification settings - Fork 81
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 gitlab support #193
Add gitlab support #193
Conversation
…ucts - set clients as global var of 'provider' package instead.
…thub.Issue with models.Issue
@tstromberg PR is ready for review. Gitlab works!: But, during integration I had concerns:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is quite the tour de force. I've only given it a cursory review so far, but have some minor comments. Overall idea is solid.
I noticed that the models contain a lot of methods we do not make use of - would it be possible to cull the dead code before merging this? For example: issue.GetNodeID, issue.GetLocked.
0365fbe
to
84ea7bf
Compare
Thank you for your patience. Looks good! |
@tstromberg Hey, I see the master have new changes and there are conflicts here. Does it make sense for me to solve these conflicts? Do you have the intention to merge this PR to master? |
Hey @vavilen84 - sorry for not updating this PR! I did some pre-merge testing last week and discovered that it seemed to break GitHub support:
Do you mind addressing this issue? I can then merge this PR. |
@tstromberg Unwanted provider initiating is fixed - please, review. |
This looks better. Thank you! Please resolve the merge conflicts and we are good to merge. |
@tstromberg Conflicts were resolved. Please, review. |
Thank you! |
@tstromberg Hi! This draft PR is just to sync with you - if I am on the right way.
Main idea of this PR is to separate 'github' via new 'models' layer.
I created new packages:
by design, I plan to support both providers simultaneously, which will be determined by the host github.com/gitlab.com)
Please correct me if you see the implementation differently or you have any wishes. Thanks!
P.S. code doesnt work for now - this PR is just to sync with you.