-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
apache2_mod_proxy: big revamp #9457
apache2_mod_proxy: big revamp #9457
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How intensively did you test this module? There are unfortunately no tests for this module around...
I did not test it. The logic is relatively simple and it was maintained to the best of my ability. |
8655d8c
to
67cafa8
Compare
67cafa8
to
c00405d
Compare
6124e55
to
c25e6b1
Compare
c25e6b1
to
19d1106
Compare
4f210c9
to
31af30c
Compare
hi @felixfontein I suppose you won't have a lot of time in the next few days, but whenever you can, please take a look at this one ;-) TIA |
My first tries to test this basically didn't work because the module is Python 2 only. Its sole requirement - BeautifulSoup - only runs on Python 2. Upgrading to BeautifulSoup 4 and adjusting the import results in While looking for that, I found #4167 and #7455. I'm currently working on getting the module running on Python 3 with bs4, and adding basic tests. |
#9762 fixes the module to make it work with Python 3 and half-way modern Apache 2 releases (basically all that still are around nowadays, I'd guess). Sorry for getting you to rebase this again, but at least with that PR the module will be known to work due to having tests ;-) |
26d0b11
to
6ac825e
Compare
hi @felixfontein , local tests failed miserably - I do recall you mentioning going through hoops to get it to work. Could you please wirte a README.md for this test target explaining what is needed? Otherwise that knowledge is likely to fade away from your memory over time. TIA |
@russoz the tests should "just run" with any of the platforms that run in CI. Something like |
Backport to stable-10: 💚 backport PR created✅ Backport PR branch: Backported as #9806 🤖 @patchback |
* apache2_mod_proxy: big revamp * fix case when state=null * fix logic for change detection (cherry picked from commit 98b328c)
@russoz thanks! |
SUMMARY
Simplified the module, but keeping the exact same logic
ISSUE TYPE
COMPONENT NAME
apache2_mod_proxy