-
Notifications
You must be signed in to change notification settings - Fork 516
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
ext_time_quota_acl: remove -l option #1909
Conversation
Supporting logging to a file complicates upgrading helper code to use debugs() because DebugFile code calls commSetCloseOnExec(), and our comm/libminimal does not currently provide a functioning implementation for that API: The existing implementation is an unconditional assert. To save development time while upgrading helpers, we are dropping this feature. It can probably be emulated using shell redirection tricks. ---- Backport of PR squid-cache#1872
Note: after merging this backport we will need to do a followup PR to |
I have adjusted PR description footer to refer to a (more permanent and actually meaningful in some contexts1) branch commit rather than GitHub PR. @kinkie, I recommend adjusting that footer further to also mention why manual changes were necessary in this case and documenting their perceived risks, divergence from master/v7 code, etc. The reader already knows that cherry-picking failed, but does not know what the side effects of those manual changes were. Let's help the reader understand what they are dealing with! Footnotes
|
I also fixed PR description formatting using the original commit message. |
ok to test |
1 similar comment
ok to test |
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.
Just some polish to the release notes that was missed first time around. Not insisting on a change.
Co-authored-by: Amos Jeffries <[email protected]>
Supporting logging to a file complicates upgrading helper code to use debugs() because DebugFile code calls commSetCloseOnExec(), and our comm/libminimal does not currently provide a functioning implementation for that API: The existing implementation is an unconditional assert. To save development time while upgrading helpers, we are dropping this feature. It can probably be emulated using shell redirection tricks. ---- Manual backport of master/v7 commit 2d93cfe.
Supporting logging to a file complicates upgrading helper code to use debugs() because DebugFile code calls commSetCloseOnExec(), and our comm/libminimal does not currently provide a functioning implementation for that API: The existing implementation is an unconditional assert. To save development time while upgrading helpers, we are dropping this feature. It can probably be emulated using shell redirection tricks. ---- Manual backport of master/v7 commit 2d93cfe.
Jenkins failing with Java errors. Re-basing to kick a retest and see if they are gone. |
yeah, it happens sometimes; it's race conditions on temporary commits I think |
FYI, I have not heard anything about Anubis being fixed to handle the vN branch merges yet. So having it test backports is a waste of resources. |
Supporting logging to a file complicates upgrading helper code to use debugs() because DebugFile code calls commSetCloseOnExec(), and our comm/libminimal does not currently provide a functioning implementation for that API: The existing implementation is an unconditional assert. To save development time while upgrading helpers, we are dropping this feature. It can probably be emulated using shell redirection tricks. ---- Manual backport of master/v7 commit 2d93cfe.
FWIW, I am not aware of any Anubis bugs in this context. IIRC, Anubis treats all target branches the same -- it does not treat the master branch specially. If you want to use Anubis for merging vN PRs and need Anubis to treat master and those branches differently, please let me know what different treatment you would like to see or file/update the corresponding issue. Maintainers are in the driving seat for these activities.
Even if a PR is merged manually, testing of staged commits (created by Anubis) may be valuable: Jenkins and GitHub test PR merge commits which are often slightly different from staged commits. Besides testing, staged commits offer correct commit message (that can be edited by editing PR title/description) and correct code tree changes. Squid vN branches have bad commits (e.g., commit b4addc2, commits 5f6a24f..23b3ee0, and commit 94bdd49) that would not exist if staged commits were merged (manually or automatically). |
Supporting logging to a file complicates upgrading helper code to use
debugs() because DebugFile code calls commSetCloseOnExec(), and our
comm/libminimal does not currently provide a functioning implementation
for that API: The existing implementation is an unconditional assert.
To save development time while upgrading helpers, we are dropping this
feature. It can probably be emulated using shell redirection tricks.
Manual backport of master/v7 commit 2d93cfe.