-
Notifications
You must be signed in to change notification settings - Fork 28
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
Broken Builds after 0.0.20 #48
Comments
I believe that this is being caused by the Plugin API 2.0. Perhaps instead of tagging as 0.0.20, tag 0.1.0 instead ? |
good catch. this gem should have an explicit dependency on logstash-core-plugin-api and maybe also logstash-core |
Is this going to be reversed or fixed anytime soon ? |
I suggest yanking this gem and releasing another with the constraint. in what situation did this error occur? for now you can set in the Gemfile/gemspec the constraint to use logstash-devutils 0.0.19 |
@jsvd, it started to occur in our CI Server. I was able to trace the error to this situation. The thing is it uses the latest minor-version Thats why i suggested to re-tag this gem with 0.1.0 in the Plugin API v2.0 changes, so that the CI Servers do not start to break. See source |
Somewhat related to elastic/logstash/issues/5273 - we should also include this devutils issue. As @jsvd suggested I think adding an explicit dependency on Ultimately we should get rid of devutils altogether. |
@driverpt @jsvd @colinsurprenant I think the best path would be the following.
@colinsurprenant I don't think it can be handled by if we want If this gem is not set as a development dependency, I believe its a bug and we should fix that |
I am not sure why you say:
Am I missing something? |
@colinsurprenant take the following case.
bundle install will not pick up when its declared as a dev dependency. But I have a better solution. We can release |
A quick search on all the plugins from
|
Yes, this is exactly what I was saying (twice) ^^ : add specific |
@colinsurprenant lets do that and update the 2 plugins that required relaxed dependency in their |
Make sure we depends on logtash-core-api when the event api changes. Fixes elastic#48
@ph just to make sure we are ont he same page :P you mean to remove the version constraint on devutils in input-beats and input-file ? |
The right version for logstash-devutils will be selected on the logstash-core-plugin-api constraints Related to elastic/logstash-devutils#48
The right version for logstash-devutils will be selected on the logstash-core-plugin-api constraints Related to elastic/logstash-devutils#48
@colinsurprenant exact |
The right version for logstash-devutils will be selected on the logstash-core-plugin-api constraints Related to elastic/logstash-devutils#48
@driverpt I have yanked the .20 gems, so you can remove the constraints. |
thanks @ph ! |
@ph @colinsurprenant , tks for all your support. If you allow me, i have a small suggestion, to use Semantic Versioning (semver.org) to prevent these issues from happening. |
@driverpt We try to respect it, this was an honest mistake sorry for the inconvenience. |
The right version for logstash-devutils will be selected on the logstash-core-plugin-api constraints Related to elastic/logstash-devutils#48 Fixes #126
The right version for logstash-devutils will be selected on the logstash-core-plugin-api constraints Related to elastic/logstash-devutils#48 Fixes #86
As title says:
The text was updated successfully, but these errors were encountered: