-
Notifications
You must be signed in to change notification settings - Fork 128
Update Gitlab integration readme #278
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
Conversation
- Added link to Gitlab setup to main README file - Actualized Gitlab setup steps
SourceGitlab/README.md
Outdated
|
||
## Mantis repository setup | ||
|
||
- In Mantis administration, create a repository with a unique name and of type "Gitlab". | ||
- URL field is not used by the plugin. | ||
- Gitlab config fields are: | ||
- hub_root: root url of the Gitlab webserver, required to access Web API | ||
- hub_repoid: id of the Gitlab projet, starting from 1 for the first created project (auto-filed if reponame is valid and readable for the user) | ||
- hub_repoid: id of the Gitlab project. Should be auto-filed if reponame is valid and readable for the user. |
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.
auto-filled
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.
done
SourceGitlab/README.md
Outdated
http://mantis.server.intra/plugin.php?page=Source/checkin&api_key=abcdeb8129a4451a35f47881 | ||
- Create a user with (at least) read access to the repository. For a public repository, any user would work. | ||
Login with this user, go to "Profile settings", "Account", and copy the "Private token". | ||
- Login with an Owner (or Adminstrator) of a Project, go to "Settings" -> "Integrations" and |
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.
- Administrator
- Suggest to use MarkDown italics instead of using quotes, e.g.
_Settings -> Integrations_
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.
done
SourceGitlab/README.md
Outdated
- Login with an Owner (or Adminstrator) of a Project, go to "Settings" -> "Integrations" and | ||
add a Push hook to Web Hooks section with Mantis URL and Mantis Source Integration plugin "API Key": | ||
`http://mantis.server.intra/plugin.php?page=Source/checkin&api_key=abcdeb8129a4451a35f47881` | ||
- Go to your user Settings -> "Access Token" -> "Personal Access Tokens" and create a token with at least "api" |
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.
Same as above: _Settings -> Access Token -> Personal Access Tokens_
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.
done
@dregad thanks for feedback, see updated. |
Just set up Gitlab integration and found out that current data is out-of-date. Also there was no link to Gitlab setup from the main readme.