-
Notifications
You must be signed in to change notification settings - Fork 979
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
Include rewrite-tag-filter plugin for fluentd #155
Conversation
Signed-off-by: naiduarvind <[email protected]>
I created a new clean PR that passes the checks. If you could review and let me know if there is anything else that needs to be fixed. cc: @errm @repeatedly |
templates/Gemfile.erb
Outdated
@@ -12,6 +12,9 @@ gem "oj", "3.5.1" | |||
<% if !is_v1 %> | |||
gem "fluent-plugin-secure-forward" | |||
gem "fluent-plugin-record-reformer" | |||
gem "fluent-plugin-rewrite-tag-filter", "<2.0.0" | |||
<% else %> |
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.
I don't think we need these version constraints here, the version constraints seem fine on the gem ...
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.
Also it might be nicer to bump the versions up for all the other gems in a separate commit from adding fluent-plugin-rewrite-tag-filter
, it will make the history cleaner ...
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.
If I remove the version constraint, I don't think v0.12 gets the correct version. On top of that, I don't see v.1.1 being updated.
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.
Also it might be nicer to bump the versions up for all the other gems in a separate commit from adding fluent-plugin-rewrite-tag-filter, it will make the history cleaner ...
I have done this by forking the latest version of the master repo before making changes. Am I missing something in order to keep the history cleaner?
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.
With bundler, correct version is installed because bundler uses different algorithm for resolving version dependency.
You can check the behaviour with following Gemfile.
source 'https://rubygems.org/'
#gem 'fluentd', '~> 1' # install rewrite-tag-filter v2
gem 'fluentd', '~> 0.12.0' # install rewrite-tag-filter v1
gem 'fluent-plugin-rewrite-tag-filter'
Signed-off-by: naiduarvind <[email protected]>
I have removed the version constraints. Do have a look at the generated files. Is there anything else that needs to be done for this PR to be merged? cc: @errm @repeatedly |
Thanks! |
Signed-off-by: naiduarvind [email protected]