Skip to content

Add KONSOLE_VERSION to the list of preserved env vars#1453

Merged
debarshiray merged 1 commit intocontainers:mainfrom
notfirefox:fix-nvim-undercurl
Feb 27, 2024
Merged

Add KONSOLE_VERSION to the list of preserved env vars#1453
debarshiray merged 1 commit intocontainers:mainfrom
notfirefox:fix-nvim-undercurl

Conversation

@notfirefox
Copy link
Contributor

As discussed here.

  • Adds KONSOLE_VERSION to the list of preserved environment variables

Closes #1449

@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/304c3f25c4504232a58dc1ed911a7838

✔️ unit-test SUCCESS in 4m 37s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 10s
✔️ unit-test-restricted SUCCESS in 3m 50s
✔️ system-test-fedora-rawhide SUCCESS in 35m 29s
✔️ system-test-fedora-39 SUCCESS in 34m 02s
✔️ system-test-fedora-38 SUCCESS in 36m 12s

Copy link
Member

@debarshiray debarshiray left a comment

Choose a reason for hiding this comment

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

Thanks for figuring this out, @notfirefox ! Could you please correct your Git authorship information with your full name and a real email address, unless you are worried about privacy?

@notfirefox
Copy link
Contributor Author

Thanks for figuring this out, @notfirefox ! Could you please correct your Git authorship information with your full name and a real email address, unless you are worried about privacy?

I'd prefer to keep the authorship information as it is because of privacy concerns.

@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/4aa2991cdfa4460697734c222c3470c5

✔️ unit-test SUCCESS in 4m 45s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 35s
✔️ unit-test-restricted SUCCESS in 3m 51s
✔️ system-test-fedora-rawhide SUCCESS in 34m 18s
✔️ system-test-fedora-39 SUCCESS in 34m 45s
✔️ system-test-fedora-38 SUCCESS in 36m 06s

@debarshiray
Copy link
Member

Thanks for figuring this out, @notfirefox ! Could you please correct your Git authorship information with your full name and a real email address, unless you are worried about privacy?

I'd prefer to keep the authorship information as it is because of privacy concerns.

I see. A few things:

The Signed-off-by trailer has no meaning without a real full name and email address.

I could have made an exception for a one line change, like adding an environment variable, because it would be legally insignificant. However, that's no longer the case with this pull request after the addition of the tests. :)

We need a real full name and email address for tracking copyright holders in case a licensing issue crops up. Note how projects as diverse as GCC, GnuPG, Linux and Podman don't allow anonymous or pseudonymous contributions.

@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/0b967ea5ea934a229f9a6d3104faaa61

✔️ unit-test SUCCESS in 4m 36s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 29s
✔️ unit-test-restricted SUCCESS in 3m 49s
✔️ system-test-fedora-rawhide SUCCESS in 33m 15s
✔️ system-test-fedora-39 SUCCESS in 34m 46s
✔️ system-test-fedora-38 SUCCESS in 33m 18s

@notfirefox
Copy link
Contributor Author

@debarshiray DCO related issues should be resolved now.

Copy link
Member

@debarshiray debarshiray left a comment

Choose a reason for hiding this comment

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

Thanks for updating the pull request, @notfirefox ! Let me rebase it against main.

@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/ff1aaee80def465b8062db370657f522

✔️ unit-test SUCCESS in 5m 33s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 48s
✔️ unit-test-restricted SUCCESS in 4m 01s
✔️ system-test-fedora-rawhide SUCCESS in 31m 52s
✔️ system-test-fedora-39 SUCCESS in 36m 07s
✔️ system-test-fedora-38 SUCCESS in 34m 04s

@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/ea7231e82c1f497b866bf231a2ad9aec

✔️ unit-test SUCCESS in 4m 47s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 47s
✔️ unit-test-restricted SUCCESS in 3m 45s
✔️ system-test-fedora-rawhide SUCCESS in 34m 30s
✔️ system-test-fedora-39 SUCCESS in 35m 30s
✔️ system-test-fedora-38 SUCCESS in 35m 02s

Konsole injects its version into the process running inside it through
the KONSOLE_VERSION environment variable [1].  This is used by programs
like Neovim to detect the terminal features supported by Konsole [2].
This is just like VTE and its VTE_VERSION environment variable.

The KONSOLE_VERSION environment variable is not meant to be set by the
shell's start-up scripts, but directly by Konsole, and hence needs to be
preserved across the host operating system and Toolbx container.

[1] Konsole commit b0d3d83eca4f523a
    https://invent.kde.org/utilities/konsole/-/commit/b0d3d83eca4f523a
    https://phabricator.kde.org/D12621
    https://bugs.kde.org/show_bug.cgi?id=347323

[2] Neovim commit c16529afa5c8eb03
    neovim/neovim@c16529afa5c8eb03
    neovim/neovim#8300

#1449

Signed-off-by: Dominique Polek <dominique.polek@mailbox.org>
@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/275ec937e21046a7a59802396d0aacef

✔️ unit-test SUCCESS in 4m 39s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 36s
✔️ unit-test-restricted SUCCESS in 3m 51s
✔️ system-test-fedora-rawhide SUCCESS in 55m 46s
✔️ system-test-fedora-39 SUCCESS in 55m 30s
✔️ system-test-fedora-38 SUCCESS in 56m 22s

@debarshiray debarshiray merged commit 11f3802 into containers:main Feb 27, 2024
@debarshiray
Copy link
Member

Thanks for working on this, @notfirefox ; and for reconsidering the privacy issues! Much appreciated.

@notfirefox notfirefox deleted the fix-nvim-undercurl branch February 27, 2024 10:00
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.

Curly underline ("undercurl") not working in Neovim + Konsole

2 participants