Conversation
- Add ``include-optional`` for INI configuration files that may be absent, skipping missing local files and HTTP 404 responses while preserving mandatory includes. This allows projects to define an optional include for client-specific customizations. - Fix HTTP error logging during INI inclusion and preserve the original exception. - Fix relative INI includes from URLs with a directory path. Co-authored-by: Codex <noreply@openai.com>
thet
force-pushed
the
thet/include-optional
branch
from
September 28, 2026 10:36
aca2d40 to
a7eb181
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
include-optionalfor INI configuration files that may be absent, skipping missing local files and HTTP 404 responses while preserving mandatory includes. This allows projects to define an optional include for client-specific customizations.Fix HTTP error logging during INI inclusion and preserve the original exception.
Fix relative INI includes from URLs with a directory path.
What this PR solves
In my coredev buildout I have added a
include = ... mx-custom.iniFile to add my own customizations but keep the changes in git-managed files minimal.
Still, I need to do a
git stash; git pull; git stash popwhen syncing with upstream.We do have something similar in buildout.coredev:
optional-extends./cc @mauritsvanrees @jensens @rnixx