I am currently trying to use the gitlab module to connect to my gitlab repository but I find the documentation of gitlab too vague to reproduce. The documentation is provided here:
First of all, they say to connect to gitlab you have to do the following:
gitlab = (require 'gitlab')
url: 'http://example.com'
token: 'abcdefghij123456'
I dont understand the purpose of this url at all. As for the token what I believe is that the token is used to identify which gitlab account we want to connect to. Am I right here?
My second confusion is a bit more general. They show further in the documentation that you can use this module to listen to 'users' and 'projects'. What exactly are the users here? I understand that the projects are the projects that are hosted by my gitlab account but whats the purpose of the users? Can one account (which I'm assuming we connect to via the token) have multiple users? This is really confusing.
Please explain how to implement this gitlab module. I am looking forward to any insight provided on these queries. Thank you.
I think your question has more to do with the node package than Gitlab itself, you should report issues to their issuetracker.
To answer some of your questions: