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

Remove miq specific source #209

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Apr 27, 2023

Fixes broken CI failure

We need to have only one main source in a Gemfile

[DEPRECATED] Your Gemfile contains multiple primary sources.
Using `source` more than once without a block is a security risk, and may result in installing unexpected gems.
To resolve this warning, use a block to indicate which gems should come from the secondary source.
  • We added this source for handsoap dependency in Add rubygems.manageiq.org for handsoap dependency #109 to fix a build failure.
  • I'm not able to find when we removed this dependency, and removing it no longer breaks the build.
  • Also our Gemfile.lock does not mention any manageiq dependencies (besides manageiq-password) so I don't see a way we could inadvertently require handsoap.

We need to have only one source per Gemfile
@miq-bot
Copy link
Member

miq-bot commented Apr 27, 2023

Checked commit kbrock@265e07e with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@Fryguy
Copy link
Member

Fryguy commented Apr 27, 2023

LGTM, but do you know why was it added in the first place?

@kbrock
Copy link
Member Author

kbrock commented Apr 28, 2023

@Fryguy thanks for keeping me honest. I added the notes

@jrafanie
Copy link
Member

jrafanie commented Apr 28, 2023

  • I'm not able to find when we removed this dependency, and removing it no longer breaks the build.
  • Also our Gemfile.lock does not mention any manageiq dependencies (besides manageiq-password) so I don't see a way we could inadvertently require handsoap.

Thanks, I found it after you did most of the work.

At the time, this repo had manageiq-gems-pending in the Gemfile:
https://github.com/ManageIQ/manageiq-appliance_console/pull/109/files

image

manageiq-gems-pending included handsoap until the vmware stuff was extracted: ManageIQ/manageiq-gems-pending#169

Also, we dropped the gems pending dependency from the gemfile in this repo here: #153

Copy link
Member

@jrafanie jrafanie left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for digging in and figuring it out

@jrafanie jrafanie merged commit bb61b83 into ManageIQ:master Apr 28, 2023
@jrafanie jrafanie self-assigned this Apr 28, 2023
@kbrock kbrock deleted the gemfile_source branch April 28, 2023 14:18
Fryguy pushed a commit that referenced this pull request May 3, 2023
Remove miq specific source

(cherry picked from commit bb61b83)
Fryguy added a commit that referenced this pull request May 3, 2023
Fixes:
- Remove MIQ specific gem source [#209]
- Double escape @ in realm to avoid shell interpretation [#211]
Fryguy added a commit that referenced this pull request Feb 7, 2024
Fixed
- Fix sporadic test failure [#204]
- Remove MIQ specific gem source [#209]
- Double escape @ in realm to avoid shell interpretation [#211]
- Move gem name loader to proper namespaced location [#208]
- Separate kerberos from service principal name and use correctly [#215]
- Add manageiq user to allowed_uids for sssd [#220]
- Remove warning about using pg_dump [#221]
- Fix specs where AwesomeSpawn private interface changed [#224]
- Change the Name of the CA from something to ApplianceCA [#228]
- Fix YAML.load_file failing on aliases [#234]

Added
- Make backward compatible changes to work with repmgr13 - version 5.2.1 [#192]
- Support Ruby 3.0 [#206]
- Support Ruby 3.1 [#227]
- Allow rails 7 gems in gemspec [#226]

Changed
- Update to Highline 2.1.0 [#201]
- Clean up test output (highline and stdout messages) [#210]

Removed
- Drop Ruby 2.7 [#223]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants