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

OpenSUSE Leap Ruby2.6 Package broken #114

Open
Jean-Baptiste-Lasselle opened this issue Mar 2, 2020 · 3 comments
Open

OpenSUSE Leap Ruby2.6 Package broken #114

Jean-Baptiste-Lasselle opened this issue Mar 2, 2020 · 3 comments

Comments

@Jean-Baptiste-Lasselle
Copy link

Jean-Baptiste-Lasselle commented Mar 2, 2020

OpenSUSE package repository

  • The Ruby package I tested is obs://devel:languages:ruby/openSUSE_Leap_15.1 ruby (not obs://devel:languages:ruby/openSUSE_Leap_15.0 ruby)

Details

Hello OpenSUSE Team, I have recently worked a bit on Portus, and :

I'll read with care any anwser / remarks / question, and would appreciate being informed of OpenSUSE Team opinion on that. (I understand there's recently been significant repository migrations going on last months).

Thank you for opening source code of Portus Source Code,

Regards

@Jean-Baptiste-Lasselle Jean-Baptiste-Lasselle changed the title OpenSUSE Leap Ruby Package broken OpenSUSE Leap Ruby2.6 Package broken Mar 2, 2020
@Jean-Baptiste-Lasselle
Copy link
Author

Jean-Baptiste-Lasselle commented Mar 7, 2020

We have news on this, see SUSE/Portus#2279 (comment)

Thanks to @JosuaSR

@Jean-Baptiste-Lasselle
Copy link
Author

Jean-Baptiste-Lasselle commented Mar 7, 2020

what i finally got to with @Josua-SR , After writing my sum up and questions above, I am almost sure that it is the Portus OpenSUSE package that has a bad design :

BUNDLER_VERSION="1.16.0"

And in my fix https://github.com/pokusio/opensuzie-oci-library/releases/tag/0.0.2 , I had to reset bundle version to 1.16.4. At least, we should have :

BUNDLER_VERSION=${BUNDLER_VERSION:-"1.16.0"}
# 
# Instead of 
# BUNDLER_VERSION="1.16.0"

Or it's not worth sharing a file, with an accurate version, if we have to edit it, to use it properly.

@Jean-Baptiste-Lasselle
Copy link
Author

Jean-Baptiste-Lasselle commented Mar 9, 2020

Update

Yet, as of today, we don't have a final explanation for why and how it can happen that running portus requires a specific version of bundler :

  • this behavior does not make sense, since bundling an application, is not running it. Bundling dependencies (even if clumsily managed), should not ever be Runtime dependencies. Any rails app should run without any dependency to a specific version of bundler.
  • We, as of today, have for suspicions towards both the portus zypper package (for it may "pull" undesired old ruby gems, packaged inside the linux opensuse zypper package, see the spec file ), and the portusctl executable: either one, or combination of both is responsible for requiring a specific version of BUNDLER
  • See @Josua-SR comment here : Cannot docker build container image SUSE/Portus#2279 (comment)

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

No branches or pull requests

1 participant