Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

chore: refresh upstream distrobox-enter baseline#29

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/update-upstream-distrobox-enter
Open

chore: refresh upstream distrobox-enter baseline#29
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/update-upstream-distrobox-enter

Conversation

@github-actions

Copy link
Copy Markdown

Automated refresh of scripts/upstream/distrobox-enter.upstream from upstream.

Reminder: scripts/devbox-enter is a fork that applies env vars via env after su to preserve XAUTHORITY/GUI vars. Keep that behavior when rebasing onto upstream changes.

@AzemaViator

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +438 to +441
result_command="${result_command}
$(printenv | grep '=' | grep -Ev '"|`|\$' |
grep -Ev '^(CONTAINER_ID|FPATH|HOST|HOSTNAME|HOME|PATH|PROFILEREAD|SHELL|XDG_SEAT|XDG_VTNR|XDG_.*_DIRS|^_)' |
sed 's/ /\ /g' | sed 's/^\(.*\)$/--env=\1/g')"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Env vars with spaces now passed with literal backslashes

The new env-export block escapes spaces with sed 's/ /\\ /g' and then injects the resulting text directly into result_command, but the later assembly loop splits only on newlines, so the backslashes are preserved as part of the argument. If a host variable contains spaces (e.g., MYVAR='foo bar'), the container will now receive MYVAR=foo\ bar instead of MYVAR=foo bar, corrupting the value; previously such vars were simply skipped rather than mis-set.

Useful? React with 👍 / 👎.

@github-actions
github-actions Bot force-pushed the chore/update-upstream-distrobox-enter branch from 8d6251c to e9c78d5 Compare December 1, 2025 09:04
@github-actions
github-actions Bot force-pushed the chore/update-upstream-distrobox-enter branch from e9c78d5 to 6d4f86c Compare January 19, 2026 09:07
@github-actions
github-actions Bot force-pushed the chore/update-upstream-distrobox-enter branch from 6d4f86c to aeeea4f Compare February 9, 2026 09:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant