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

Fix support for Heroku style REDIS_URL env variables #413

Merged
merged 2 commits into from
Apr 24, 2018

Conversation

B-Galati
Copy link
Collaborator

@B-Galati B-Galati commented Apr 13, 2018

Basically re-add what was done in #353

fixes #410

I also think that redis profile should not be resolved/interpolated in cache.

@B-Galati B-Galati force-pushed the fix-410 branch 2 times, most recently from 3fc44dc to f3f1bc4 Compare April 13, 2018 12:13
@curry684
Copy link
Collaborator

Can you rebase on current master? It should fix the tests.

@B-Galati B-Galati changed the title Fix support for Heroku style REDIS_URL env variables [WIP] Fix support for Heroku style REDIS_URL env variables Apr 14, 2018
Co-authored-by: Klaus Großmann <kgm@petsdeli.de>
Co-authored-by: Benoit Galati <benoit.galati@gmail.com>
@B-Galati B-Galati changed the title [WIP] Fix support for Heroku style REDIS_URL env variables Fix support for Heroku style REDIS_URL env variables Apr 14, 2018
@B-Galati
Copy link
Collaborator Author

@curry684 Done and also make some changes, thanks ;-)

It looks good overall but I am not sure if it's breaking something else or not.

@curry684
Copy link
Collaborator

I think tests should catch that, and it's going into master not right into stable.

@B-Galati
Copy link
Collaborator Author

Thanks. What should I do to fix 2.1?

@thomasbisignani
Copy link

thomasbisignani commented Apr 17, 2018

Good job @B-Galati ! 🏅 👌

@curry684 curry684 merged commit 355251c into snc:master Apr 24, 2018
@curry684
Copy link
Collaborator

curry684 commented Apr 24, 2018

Thanks @B-Galati 😃

Merged it into master, not bothering with 2.1 anymore as it's pretty invasive and I'm trying to keep that one stable after recent issues, also the behavior has been broken for months already without many complaints.

@curry684
Copy link
Collaborator

Hmm my bad, I thought it was broken before 2.1.0 already. I'll see if I can merge it back into 2.1.

curry684 pushed a commit that referenced this pull request Apr 25, 2018
* Fix support for Heroku style REDIS_URL env variables

Co-authored-by: Klaus Großmann <kgm@petsdeli.de>
Co-authored-by: Benoit Galati <benoit.galati@gmail.com>

* Add one simple test

(cherry picked from commit 355251c)
@curry684
Copy link
Collaborator

See #356, we're reopening up an old issue here.

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

Successfully merging this pull request may close these issues.

[Bug] DSN is not interpolated at runtime with environment variable
3 participants