Skip to content

Update Gitlab integration readme#278

Merged
dregad merged 2 commits into
mantisbt-plugins:masterfrom
okainov:gitlab-update
Aug 21, 2018
Merged

Update Gitlab integration readme#278
dregad merged 2 commits into
mantisbt-plugins:masterfrom
okainov:gitlab-update

Conversation

@okainov

@okainov okainov commented Aug 16, 2018

Copy link
Copy Markdown
Contributor

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.

  • Added link to Gitlab setup to main README file
  • Actualized Gitlab setup steps

- Added link to Gitlab setup to main README file
- Actualized Gitlab setup steps
Comment thread SourceGitlab/README.md Outdated
- 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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

auto-filled

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Comment thread 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

Copy link
Copy Markdown
Member

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_

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Comment thread 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"

Copy link
Copy Markdown
Member

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_

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@okainov

okainov commented Aug 21, 2018

Copy link
Copy Markdown
Contributor Author

@dregad thanks for feedback, see updated.

@dregad dregad merged commit ebc3688 into mantisbt-plugins:master Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants