Skip to content
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

Adds GitLab formatter #50

Merged
merged 1 commit into from Nov 29, 2014
Merged

Conversation

jeroenj
Copy link
Contributor

@jeroenj jeroenj commented Nov 21, 2014

Closes #25

We've been running this in production for the past few months and it has been working smoothly.

This will be released with GitLat v7.5.0 tomorrow. This does wait on an update on NARKOZ/gitlab#88 so it can not be merged just yet.

Could you review the code and let me know if anything should be changed?

@@ -54,6 +54,42 @@ formatter = Pronto::Formatter::GithubFormatter.new # or GithubPullRequestFormatt
Pronto.run('origin/master', '.', formatter)
```

### GitLab Integration
Copy link
Member

Choose a reason for hiding this comment

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

Could you split changes to the README to a separate pull request? I'll merge it in after releasing a new version. Otherwise, it could get a little confusing with people asking "why doesn't it work if it's in README?" 😄

@mmozuras
Copy link
Member

Please add an entry to the CHANGELOG.

@@ -0,0 +1,29 @@
module Pronto
module Formatter
class GitlabFormatter
Copy link
Member

Choose a reason for hiding this comment

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

There's some duplication between Github/Gitlab formatters/clients. But I can figure out if I want to refactor that in any way myself, don't worry about it 😄

@jeroenj
Copy link
Contributor Author

jeroenj commented Nov 24, 2014

Ok, cleaned up everything. :)

mmozuras added a commit that referenced this pull request Nov 29, 2014
@mmozuras mmozuras merged commit f640800 into prontolabs:master Nov 29, 2014
@mmozuras
Copy link
Member

@jeroenj looks good, thanks! 😄

@jeroenj
Copy link
Contributor Author

jeroenj commented Nov 29, 2014

Just a reminder that this code won't work as long as there isn't a new gitlab gem released. It will work if you set up pronto using bundled and use the master branch for the gitlab gem.

I'll make a PR with the dependency changes as soon as it is released.

@mmozuras
Copy link
Member

@jeroenj 👍

@jeroenj jeroenj deleted the gitlab-formatter branch January 28, 2015 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitLab formatter
2 participants