kdesrc-build issueshttps://invent.kde.org/sdk/kdesrc-build/-/issues2024-03-24T16:07:15Zhttps://invent.kde.org/sdk/kdesrc-build/-/issues/155How to --run without fetching repo metadat everytime2024-03-24T16:07:15ZWaqar AhmedHow to --run without fetching repo metadat everytimeWhenever I run kdesrc-build --run kate I get:
```
Fetching remote changes to sysadmin-repo-metadata
Merging sysadmin-repo-metadata changes from branch master
```
It slows down the startup and is really annoying. Is there a way to disab...Whenever I run kdesrc-build --run kate I get:
```
Fetching remote changes to sysadmin-repo-metadata
Merging sysadmin-repo-metadata changes from branch master
```
It slows down the startup and is really annoying. Is there a way to disable this?https://invent.kde.org/sdk/kdesrc-build/-/issues/153Bring back the automation to add kdesrc-build to the path2024-03-07T23:02:15ZThiago Suetoherzenschein@gmail.comBring back the automation to add kdesrc-build to the pathThis commit (which by the way was not reviewed in an MR) removed `update-shellrc`, which added kdesrc-build to the path in bash, zsh and fish:
Remove update-shellrc step: https://invent.kde.org/sdk/kdesrc-build/-/commit/5d7dcacee6fd89fe...This commit (which by the way was not reviewed in an MR) removed `update-shellrc`, which added kdesrc-build to the path in bash, zsh and fish:
Remove update-shellrc step: https://invent.kde.org/sdk/kdesrc-build/-/commit/5d7dcacee6fd89feae01f197e278f61a1ddead8b
> It basically just added to the shellrc the path to the running script. That is not handled correctly in all cases.
>
> Also, it tried to add kdesrc-run bash autocompletion, but the code was not handling all cases correctly anyway.
>
> Instead, we will offer to install the file in the correct place in the first place.
Regarding PATH, that should be in user's control.
This unnecessarily creates one extra step for new users.
The functionality doesn't necessarily need to have the same implementation. As shown in the new method nmariusp found: https://community.kde.org/Get_Involved/development/Set_up_a_development_environment#Set_up_kdesrc-build
A symlink to the well specified `~/.local/bin` directory would work universally with all shells and in distros that care about the XDG spec. This can be done directly in kdesrc-build so the user doesn't have to do the symlinking themselves.
I don't know whether FreeBSD follows the XDG spec.
An acceptable minimum should be to display a message telling the user to symlink (and the right command to do so) themselves, ideally this process would be invisible to the user and they'd just get a message telling them what happened.