Hacktoberfest / hacktoberfest-repo-topic-apply

Cmd line tool to add a topic to your github repo, defaults to hacktoberfest
Apache License 2.0
51 stars 43 forks source link

Support for gitlab #29

Closed mariuskimmina closed 3 years ago

mariuskimmina commented 3 years ago

Hey,

Here is a first draft of a Gitlab implementation. As far as I can tell everything works except for --includeCollabs as I'm not yet sure how to do that with the Gitlab API. The Readme also still has to be adjusted, thus I open this PR as a draft. Feel free to give feedback.

28

mariuskimmina commented 3 years ago

I can't seem to get the includeCollabs to work. I have a project on Gitlab where I am listed as Developer but the API never returns this one to me - no matter If I set Membership to true or false or set MinAccessLevel to 30 which should equal Developer - it's just not there.... Aside from that everything else seems to work nicely. I tried to keep the code as similar to yours as I could.

MasonEgger commented 3 years ago

Hey @mariuskimmina I'm finally back so I'll get to reviewing this asap. Thanks for the help!