Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

[Settings] Allow temporarily overriding settings in-memory #4917

Merged
merged 1 commit into from
Aug 30, 2016

Conversation

segiddins
Copy link
Member

No description provided.

@indirect
Copy link
Member

Can you explain the rationale for this?

@segiddins
Copy link
Member Author

Sure! We use settings in two ways -- one is user preferences, stored via bundle config, and the other is as global internal configuration. When attempting to refactor out --frozen for 2.0, I ran into issues getting rid of the auto-saved config for Bundler.settings[:frozen] because it's used in places where injecting the configuration value isn't really possible

@indirect
Copy link
Member

@homu r+

That's a good point about these being two separate things—maybe we will want to make them explicitly different in the future?

@homu
Copy link
Contributor

homu commented Aug 28, 2016

📌 Commit 3b6dd37 has been approved by indirect

homu added a commit that referenced this pull request Aug 28, 2016
[Settings] Allow temporarily overriding settings in-memory
@homu
Copy link
Contributor

homu commented Aug 28, 2016

⌛ Testing commit 3b6dd37 with merge 7213a6b...

@homu
Copy link
Contributor

homu commented Aug 28, 2016

💔 Test failed - status

@segiddins
Copy link
Member Author

Blocked on #4928

@segiddins
Copy link
Member Author

@homu retry

homu added a commit that referenced this pull request Aug 29, 2016
[Settings] Allow temporarily overriding settings in-memory
@homu
Copy link
Contributor

homu commented Aug 29, 2016

⌛ Testing commit 3b6dd37 with merge 138dde7...

@homu
Copy link
Contributor

homu commented Aug 30, 2016

☀️ Test successful - status

@homu homu merged commit 3b6dd37 into master Aug 30, 2016
@segiddins segiddins deleted the seg-settings-temporary branch August 30, 2016 03:27
homu added a commit that referenced this pull request Aug 31, 2016
Add some specs for Bundler::Settings#temporary

This PR adds a spec and moved an alias in Settings class.

followup of #4917.
@coilysiren coilysiren modified the milestone: Release Archive Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants