-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[tech debt] default install extension in lib set to false #8889
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
[tech debt] default install extension in lib set to false #8889
Conversation
|
@jonbarlo Thanks! Could you look https://github.com/rubygems/rubygems/actions/runs/16638467937/job/47094377312?pr=8889 and fix it? @deivid-rodriguez I would like to apply this default value change at RubyGems 4.0. It may break the some gems that are relied to locate How do you think about that? |
|
I'm okay to extend this change to RubyGems 4.1 and only warn at RubyGems 4.0. |
|
Yes, I'm good with moving this forward, I just want to have a second look at it and try make this fully backwards compatible, perhaps warning affected gems first about what they should be doing instead of what they are actually doing. |
|
Looking at the current implementation, I think we can improve this by:
let me add some more warning messages in there |
|
hi @hsbt i have removed the extra space so that lint error should be fixed, i already pushed the change, thanks! |
|
@deivid-rodriguez @hsbt hi guys i have added some more warnings, mind checking? not sure if this is too much, and not sure about the exact text but you will get the idea, I am adding more specific message explaining what's deprecated, guidance on what users should do, detecting which gem is being affected, warning only when extensions are actually being installed in lib/ |
|
@jonbarlo While I think explicit deprecation of So my idea was to:
One potential idea I just had is to temporarily keep installing a wrapper file into lib that warns and then loads the extension from the proper location. |
|
@deivid-rodriguez Ah, now I understand... i will check and reserach about the |
|
Cool, let me close this PR then, I think it's premature to deprecate |
What was the end-user or developer problem that led to this PR?
There is a comment asking for this change to take place specially because we already missed to do it for previous versions.
Closes issue mentioned here
What is your fix for the problem, implemented in this PR?
just changing the default value to
falseas requested, i also added deprecation warning message for people using the previous versions to know the default value should not betrueany longer (not sure what exactly to do though)Make sure the following tasks are checked