User:Dfaure/MovingOnProjectKdeOrg: Difference between revisions

From KDE Community Wiki
m (Dfaure moved page MovingOnProjectKdeOrg to User:MovingOnProjectKdeOrg without leaving a redirect)
m (Dfaure moved page User:MovingOnProjectKdeOrg to User:Dfaure/MovingOnProjectKdeOrg without leaving a redirect)
(No difference)

Revision as of 09:40, 25 April 2014

This page lists all the steps that should be taken when moving a repo in the projects.kde.org structure.

On projects.kde.org

An admin (e.g. David or Ben) is needed to go to the project on http://projects.kde.org, Settings, Information, and change the location in the combobox.

kde-build-metadata

Search/replace from the old location to the new, in all files.

kdesrc-build

Adjust kf5-*-include for the new repo location. Usually this means removing special cases :)

Fixing build.kde.org

The job descriptions on build.kde.org usually have the projects.kde.org full URL in two places, which need to be fixed: description and repository browser further down. Then the project should be rebuilt, in all configurations.

Fixing scripty

If the repo is already translated, you need to fix scripty. Check out svn+ssh://[email protected]/home/kde/branches/stable/l10n-kde4/scripts and svn+ssh://[email protected]/home/kde/trunk/l10n-kde4/scripts

For instance, when moving a repo from a kde4 module to frameworks, it disappears from kde4. The fix for that particular case is to re-add it by hand in the file get_paths, function list_modules, see the lines about kactivities.

If the repo moves between modules that are both listed in get_paths already, then the .pot will move between subdirs of "templates". This is an issue, since existing .po files get disconnected from the new template (.pot). Two solutions: either cheat in get_path to force the template back to where it was before, or move all .po files to the new location. It all depends on which location "makes sense" for this branch of l10n.