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

[.gemspec] Update activesupport/activerecord #156

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

NickLaMuro
Copy link
Member

Fixes some Hikari warnings (false positives for our use cases here), but also matches the versions found in ManageIQ/manageiq

@NickLaMuro
Copy link
Member Author

@Fryguy thoughts on this one? Will help allow #153 to be fully "green" instead of being considered a broken build because of some improperly flagged dependencies.

@Fryguy
Copy link
Member

Fryguy commented Mar 16, 2021

Lgtm, but it will require a major version update. Even so, that's ok with me

spec.add_runtime_dependency "activerecord", ">= 4.2.2"
spec.add_runtime_dependency "activesupport", ">= 4.2.2"
spec.add_runtime_dependency "activerecord", "~> 6.0.3.5"
spec.add_runtime_dependency "activesupport", "~> 6.0.3.5"
Copy link
Member

Choose a reason for hiding this comment

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

Can we change it to allow something like ~> 6.0.3, >= 6.0.3.5

Copy link
Member Author

Choose a reason for hiding this comment

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

@Fryguy I actually tried that, or at least with this syntax:

  spec.add_runtime_dependency "activerecord",            "~> 6.0.0", ">= 6.0.3.5"
  spec.add_runtime_dependency "activesupport",           "~> 6.0.0", ">= 6.0.3.5"

And hakiri wasn't having it. Might not properly parse multiple version numbers properly.

I can do possibly ">= 6.0.3.5", "~> 6.0.0" and maybe that will work, but unsure. Didn't want to >= 6.0.3.5 on it's own though.

Copy link
Member Author

@NickLaMuro NickLaMuro Mar 16, 2021

Choose a reason for hiding this comment

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

Of note: I had two other attempts at this before the current result, but they have been rebased out.

Here is what I did try:

Attempt #1

"Give me the newest 6.0.X.X release of activerecord/activesupport"

-  spec.add_runtime_dependency "activerecord",            ">= 4.2.2"
-  spec.add_runtime_dependency "activesupport",           ">= 4.2.2"
+  spec.add_runtime_dependency "activerecord",            "~> 6.0.0"
+  spec.add_runtime_dependency "activesupport",           "~> 6.0.0"

Attempt #2

"Give me the newest 6.0.X.X release of activerecord/activesupport that is greater than or equal to 6.0.3.5"

-  spec.add_runtime_dependency "activerecord",            ">= 4.2.2"
-  spec.add_runtime_dependency "activesupport",           ">= 4.2.2"
+  spec.add_runtime_dependency "activerecord",            "~> 6.0.0", ">= 6.0.3.5"
+  spec.add_runtime_dependency "activesupport",           "~> 6.0.0", ">= 6.0.3.5"

Copy link
Member Author

Choose a reason for hiding this comment

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

I can do possibly ">= 6.0.3.5", "~> 6.0.0" and maybe that will work...

Nope, still didn't work. Going to revert.

Copy link
Member

Choose a reason for hiding this comment

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

Hakiri has always been a pain with these.

@NickLaMuro NickLaMuro force-pushed the fix-hikari-errors branch 2 times, most recently from 7ab3fa9 to 5050738 Compare March 16, 2021 19:00
Fixes some Hikari warnings (false positives for our use cases here), but
also matches the versions found in ManageIQ/manageiq
@miq-bot
Copy link
Member

miq-bot commented Mar 16, 2021

Checked commit NickLaMuro@823473c with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 🍰

@Fryguy Fryguy merged commit 71682dd into ManageIQ:master Mar 16, 2021
@Fryguy Fryguy self-assigned this Mar 16, 2021
bdunne added a commit that referenced this pull request Mar 30, 2021
Enhancements:
- Support a configuring the kafka server with the current IPAddr - #159
- Support moving Kafka Persistent data to a dedicated disk - #158
- Inject postgres admin into the appliance console - #157
- [Utilities] Add #disk_usage - #155
- When configuring the kafka client disable the server - #154
- Pass password to the keytool command using stdin - #152
- Support configuring Kafka through the CLI - #151
- Unify kafka client setup - #149
- use attr_reader only for password - #148
- remove duplicate class attr writer - #145
- Toggle Settings.prototype.messaging_type for Kafka support - #137
- Initial commit of kafka server configuration - #130

Bugs:
- Fix Hakiri errors on activesupport/activerecord - #156
- Fix MAC test failures - #150
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.

None yet

3 participants