Replace kf5 with kf6.
This commit is contained in:
parent
4ada4a5786
commit
df9c64376f
8
backport
8
backport
|
@ -14,10 +14,10 @@ function jobidfromstring()
|
||||||
}
|
}
|
||||||
|
|
||||||
echo -e "${BLUE}Running poupdate...${ENDCOLOR}"
|
echo -e "${BLUE}Running poupdate...${ENDCOLOR}"
|
||||||
./poupdate -NS --silent trunk-kf5/$lcode/messages stable-kf5/$lcode/messages stable-kf5/templates/messages &
|
./poupdate -NS --silent trunk-kf6/$lcode/messages stable-kf6/$lcode/messages stable-kf6/templates/messages &
|
||||||
LASTJOB=$(jobidfromstring "$(jobs %%)")
|
LASTJOB=$(jobidfromstring "$(jobs %%)")
|
||||||
JOBLIST="$LASTJOB"
|
JOBLIST="$LASTJOB"
|
||||||
./poupdate -NS --silent trunk-kf5/$lcode/docmessages stable-kf5/$lcode/docmessages stable-kf5/templates/docmessages &
|
./poupdate -NS --silent trunk-kf6/$lcode/docmessages stable-kf6/$lcode/docmessages stable-kf6/templates/docmessages &
|
||||||
LASTJOB=$(jobidfromstring "$(jobs %%)")
|
LASTJOB=$(jobidfromstring "$(jobs %%)")
|
||||||
JOBLIST="$JOBLIST $LASTJOB"
|
JOBLIST="$JOBLIST $LASTJOB"
|
||||||
|
|
||||||
|
@ -25,5 +25,5 @@ for JOB in $JOBLIST ; do
|
||||||
wait %"$JOB"
|
wait %"$JOB"
|
||||||
done
|
done
|
||||||
echo -e "${BLUE}Removing obsolete entries...${ENDCOLOR}"
|
echo -e "${BLUE}Removing obsolete entries...${ENDCOLOR}"
|
||||||
./obsolete stable-kf5/$lcode/messages
|
./obsolete stable-kf6/$lcode/messages
|
||||||
./obsolete stable-kf5/$lcode/docmessages
|
./obsolete stable-kf6/$lcode/docmessages
|
||||||
|
|
30
checkout
30
checkout
|
@ -35,24 +35,24 @@ if [ ! -f ".ths" ]; then
|
||||||
echo svnwrite="$svnwrite" >> ".ths"
|
echo svnwrite="$svnwrite" >> ".ths"
|
||||||
|
|
||||||
# Checkout repositories.
|
# Checkout repositories.
|
||||||
mkdir trunk-kf5 stable-kf5
|
mkdir trunk-kf6 stable-kf6
|
||||||
if [ "$svnwrite" = "y" ]; then
|
if [ "$svnwrite" = "y" ]; then
|
||||||
cd trunk-kf5
|
cd trunk-kf6
|
||||||
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf5/templates
|
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf6/templates
|
||||||
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf5/$lcode
|
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf6/$lcode
|
||||||
cd ../stable-kf5
|
cd ../stable-kf6
|
||||||
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf5/templates
|
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf6/templates
|
||||||
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf5/$lcode
|
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf6/$lcode
|
||||||
else
|
else
|
||||||
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/templates
|
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf6/templates
|
||||||
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/$lcode
|
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf6/$lcode
|
||||||
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf5/templates
|
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf6/templates
|
||||||
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf5/$lcode
|
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf6/$lcode
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
source ".ths"
|
source ".ths"
|
||||||
svn up trunk-kf5/templates
|
svn up trunk-kf6/templates
|
||||||
svn up trunk-kf5/$lcode
|
svn up trunk-kf6/$lcode
|
||||||
svn up stable-kf5/templates
|
svn up stable-kf6/templates
|
||||||
svn up stable-kf5/$lcode
|
svn up stable-kf6/$lcode
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -26,8 +26,8 @@ if [ $# -eq 2 ]; then
|
||||||
messages="$1"
|
messages="$1"
|
||||||
pot="$2"
|
pot="$2"
|
||||||
else
|
else
|
||||||
messages="trunk-kf5/$lcode/messages"
|
messages="trunk-kf6/$lcode/messages"
|
||||||
pot="trunk-kf5/templates/messages"
|
pot="trunk-kf6/templates/messages"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wdir=$PWD
|
wdir=$PWD
|
||||||
|
|
2
obsolete
2
obsolete
|
@ -23,7 +23,7 @@ source ".ths"
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
folder="$1"
|
folder="$1"
|
||||||
else
|
else
|
||||||
folder="trunk-kf5/$lcode/messages"
|
folder="trunk-kf6/$lcode/messages"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
posieve remove-obsolete "$folder"
|
posieve remove-obsolete "$folder"
|
||||||
|
|
|
@ -16,5 +16,5 @@
|
||||||
|
|
||||||
source ".ths"
|
source ".ths"
|
||||||
|
|
||||||
tar cfvj trunk.tar.bz2 "$(svn status trunk-kf5/$lcode | awk '{print $2}')"
|
tar cfvj trunk.tar.bz2 "$(svn status trunk-kf6/$lcode | awk '{print $2}')"
|
||||||
tar cfvj stable.tar.bz2 "$(svn status trunk-kf5/$lcode | awk '{print $2}')"
|
tar cfvj stable.tar.bz2 "$(svn status trunk-kf6/$lcode | awk '{print $2}')"
|
||||||
|
|
Loading…
Reference in New Issue