Description of problem: Kitty modifies .bahrc and adds # BEGIN_KITTY_SHELL_INTEGRATION if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi # END_KITTY_SHELL_INTEGRATION unless explicitly disabled in kitty.conf (or during build I guess). As I understand it, this is not allowed as per https://docs.fedoraproject.org/en-US/packaging-guidelines/#_no_files_or_directories_under_srv_usrlocal_or_homeuser and very annoying. Version-Release number of selected component (if applicable): kitty-0.24.2-1.fc35.x86_64 How reproducible: always Steps to Reproduce: Update kitty and watch the new entry in .bashrc. https://github.com/kovidgoyal/kitty/blob/b5676a53eeddc208f8ab8bb2008dbdb6c77e4453/docs/shell-integration.rst#configuration
> As I understand it, this is not allowed as per https://docs.fedoraproject.org/en-US/packaging-guidelines/#_no_files_or_directories_under_srv_usrlocal_or_homeuser and very annoying. You understand it wrong - it's about that no package can modify file in user $HOME.
I think we could disable shell_integration by default here: https://github.com/kovidgoyal/kitty/blob/01d866f48298301a8e5f456e1e82fbd876afd7a0/setup.py#L76
FEDORA-2022-f2e2af8179 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f2e2af8179
FEDORA-2022-fe09f16572 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fe09f16572
FEDORA-2022-bc5ae37c04 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bc5ae37c04
FEDORA-2022-f2e2af8179 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-fe09f16572 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-9a18554791 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-9a18554791` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9a18554791 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-cd34d54495 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.