Hi in many submodules I see url = scm.trinitydesktop.org/scm/git/tde-common-admin or url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
However when I change it to url = https://mirror.git.trinitydesktop.org/gitea/TDE/tde-common-admin
I am told that the .gitmodules file was changed and has to be checked in or stashed.
I wouldn't bother touching it, but 1. scm.trinitydesktop.org is not usable for me 2. it is not working from time to time
What do you have at your end and how is it working for you?
On 2026/04/15 03:52 AM, deloptes via tde-devels wrote:
Hi in many submodules I see url = scm.trinitydesktop.org/scm/git/tde-common-admin or url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
However when I change it to url = https://mirror.git.trinitydesktop.org/gitea/TDE/tde-common-admin
I am told that the .gitmodules file was changed and has to be checked in or stashed.
I wouldn't bother touching it, but 1. scm.trinitydesktop.org is not usable for me 2. it is not working from time to time
What do you have at your end and how is it working for you?
Hi Emanoil, this is the entry in my file for the common admin module for example:
[submodule "main/common/admin"] path = main/common/admin url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
but you need to change the remote origin for all repos like that:
$ git re --v origin gitea@mirror.git.trinitydesktop.org:TDE/tde-common-admin.git (fetch) origin gitea@mirror.git.trinitydesktop.org:TDE/tde-common-admin.git (push)
so you work out of TGW on VPS.
cheers Michele
Michele Calgaro via tde-devels wrote:
git re --v
I have this here
$ git remote --v origin https://mirror.git.trinitydesktop.org/gitea/TDE/tde (fetch) origin https://mirror.git.trinitydesktop.org/gitea/TDE/tde (push)
but the admin module points to scm.trinitydesktop.org, so I get following
Fetching submodule admin warning: redirecting to https://scm.trinitydesktop.org/gitea/TDE/tde-common-admin/
On 2026/04/16 07:37 AM, deloptes via tde-devels wrote:
Michele Calgaro via tde-devels wrote:
git re --v
I have this here
$ git remote --v origin https://mirror.git.trinitydesktop.org/gitea/TDE/tde (fetch) origin https://mirror.git.trinitydesktop.org/gitea/TDE/tde (push)
but the admin module points to scm.trinitydesktop.org, so I get following
Fetching submodule admin warning: redirecting to https://scm.trinitydesktop.org/gitea/TDE/tde-common-admin/
Hi Emanoil, you need to replace the remote origin of every submodule, not only TDE/tde. Then you should be good. Cheers Michele
Michele Calgaro via tde-devels wrote:
Hi Emanoil, you need to replace the remote origin of every submodule, not only TDE/tde. Then you should be good.
Hi Michele, I did git submodule sync which seems to update the url, but this affects .gitmodules and I have a new state
repo-master/tde/1_git/tde$ git status On branch master Your branch is up to date with 'origin/master'.
Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules) modified: main/applications/development/kscope (untracked content) modified: main/applications/development/ktechlab (untracked content) modified: main/applications/development/kxmleditor (untracked content) modified: main/applications/development/piklab (untracked content) modified: main/applications/development/tdesvn (untracked content) modified: main/applications/graphics/digikam (untracked content) modified: main/applications/graphics/gwenview (untracked content) modified: main/applications/graphics/gwenview-i18n (untracked content) modified: main/applications/graphics/ksquirrel (untracked content) modified: main/applications/internet/kftpgrabber (untracked content) modified: main/applications/internet/konversation (untracked content) etc.
On 2026/04/17 08:40 PM, deloptes via tde-devels wrote:
Michele Calgaro via tde-devels wrote:
Hi Emanoil, you need to replace the remote origin of every submodule, not only TDE/tde. Then you should be good.
Hi Michele, I did git submodule sync which seems to update the url, but this affects .gitmodules and I have a new state
Hi Emanoil, you need to change the origin individually for every module. You can do a small script that extract the module name and location from .gitmodules, then execute the required git remote commands to remove the current origin and replace that with the new TGW origin. Or you can tediously do that one by one manually. Cheers Michele
On Friday 17 of April 2026 14:16:12 Michele Calgaro via tde-devels wrote:
On 2026/04/17 08:40 PM, deloptes via tde-devels wrote:
Michele Calgaro via tde-devels wrote:
Hi Emanoil, you need to replace the remote origin of every submodule, not only TDE/tde. Then you should be good.
Hi Michele, I did git submodule sync which seems to update the url, but this affects .gitmodules and I have a new state
Hi Emanoil, you need to change the origin individually for every module. You can do a small script that extract the module name and location from .gitmodules, then execute the required git remote commands to remove the current origin and replace that with the new TGW origin. Or you can tediously do that one by one manually. Cheers Michele
Hi Emanoil,
the script "switch_all_submodules_to_head_and_clean", which is in the "scripts" repository, does exactly that, to ensure that when cloning the entire tree, the submodules have the same "origin" as was used when cloning the umbrella "tde" module.
Cheers Slávek --
Slávek Banko via tde-devels wrote:
the script "switch_all_submodules_to_head_and_clean", which is in the "scripts" repository, does exactly that, to ensure that when cloning the entire tree, the submodules have the same "origin" as was used when cloning the umbrella "tde" module.
Thank you, Slavek!
Michele Calgaro via tde-devels wrote:
Hi Emanoil, you need to change the origin individually for every module. You can do a small script that extract the module name and location from .gitmodules, then execute the required git remote commands to remove the current origin and replace that with the new TGW origin. Or you can tediously do that one by one manually.
Ok I understood. Thank you!
what is with following
main/applications/misc/fusion-icon/ main/applications/multimedia/kaffeine-mozilla/ main/applications/settings/knetworkmanager8/ main/applications/system/kpowersave/ main/common/cmake/ main/dependencies/dbus-tqt/ main/dependencies/python-tqt/
are they not used anymore?? it looks like.
BR
what is with following
main/applications/misc/fusion-icon/ main/applications/multimedia/kaffeine-mozilla/ main/applications/settings/knetworkmanager8/ main/applications/system/kpowersave/ main/common/cmake/ main/dependencies/dbus-tqt/ main/dependencies/python-tqt/are they not used anymore?? it looks like.
No longer used or renamed or replaced. Cheers Michele
On 2026/04/19 05:59 AM, deloptes via tde-devels wrote:
Michele Calgaro via tde-devels wrote:
No longer used or renamed or replaced.
OK, thank you, so it is safe to remove them
Sure, and in any case they are still available in TGW, just not linked to the TDE main repo since they are no longer used. Cheers Michele
Michele Calgaro via tde-devels wrote:
Sure, and in any case they are still available in TGW, just not linked to the TDE main repo since they are no longer used.
Thank you for the advise and instruction. I had a script that would change the remote url, but it was looking only in the submodules of tde and I did not know there are submodules of the submodules. So now I fixed it all and it is working like a charm. No more time outs because of scm.trinitydesktop.org
... and good that I took a backup first :-) it payed off :-) BR