Git migration

Karl Ove Hufthammer karl at huftis.org
Thu Apr 3 20:28:01 BST 2025


Karl Ove Hufthammer skreiv 16.03.2025 17:48:
> We have now successfully completed a *test* conversion for all 
> languages. This means that we now have a Git repo for each language 
> that the KDE software is (or previously has been) translated into.
>
> The Git repos (hopefully) contain the *entire* history of the 
> translation files for each language, from 1997 up to (February) 2025. 
> Many files have changed locations over time, and some languages have 
> also changed their language code. We have tried to handle this properly. 

I have now uploaded the Git repositories for *all* languages to
https://invent.kde.org/users/huftis/projects
so that you can test them.

They were converted from the Subversion repository as of 2025-02-04
and thus don’t include the last month of updates.
(When doing the *final* conversion, we will of course use the
latest version of the Subversion repository.)

Each language is in a separate repository, named ‘kde-l10n-langcode’.
So to download the Git repository for, e.g., Albanian (language code 
‘sq’), type:

   git clone https://invent.kde.org/huftis/kde-l10n-sq.git

For language codes that contain a @, replace the @ with a -.
For example, to download the Git repository for ‘ca at valencia’, type:

   git clone https://invent.kde.org/huftis/kde-l10n-ca-valencia.git

After downloading, you can use normal Git commands.
For example, to see the chronological history, type:

   git log --name-status --reverse

For a list of all authors (committers), type:

   git shortlog -sne

The original Subversion revision numbers are included at the end of each 
log message. To see the log message and changes introduced in a specific 
revision (e.g., 1237406) type:

   git log --grep=revision=1237406 --patch

To browse the revisions/commits from a simple GUI, type:

   gitk

Please report any problems, such as missing files or files that 
*shouldn’t* be present.
For a sorted list of all files (paths) that have ever existed in the 
repository, type:

   git log --name-only --format= | sort -u

-- 
Karl Ove Hufthammer


More information about the kde-i18n-doc mailing list