Index: branches/stable/l10n-kf5/scripts/get_paths =================================================================== --- branches/stable/l10n-kf5/scripts/get_paths (revision 1569908) +++ branches/stable/l10n-kf5/scripts/get_paths (revision 1569909) @@ -1,218 +1,218 @@ KDE_PROJECTS_API_URL="https://projects.kde.org/api/v1" I18N_BRANCH='stableKF5' function list_modules { # --retry 5 is a safeguard local all_modules=$(curl --retry 5 -s ${KDE_PROJECTS_API_URL}/identifiers?active=true | jq -r '.[]' 2>/dev/null) if [ $? -ne 0 ]; then all_modules="" fi modules="" # most of the code which follows should and wll be replaced # by proper filtering on the API side for M in ${all_modules}; do local project_details=$(curl --retry 5 -s ${KDE_PROJECTS_API_URL}/identifier/${M} 2>/dev/null) local found_repo=$(echo "${project_details}" | jq -r '.repo' 2>/dev/null) [[ "${found_repo}" =~ (unmaintained|historical|sysadmin)/ ]] && continue local found_branch=$(echo "${project_details}" | jq -r ".i18n.${I18N_BRANCH}" 2>/dev/null) expected_branch=$(get_branch ${M}) if [ -z "${expected_branch}" ] || [ "${expected_branch}" = "get_branch_none" ]; then expected_branch="none" fi if [ "${found_branch}" != "${expected_branch}" ]; then printf "Warning: '%s' has different branches in get_paths (%s) than in XML file (%s)\n" ${M} ${expected_branch} ${found_branch} >&2 fi if [ "${expected_branch}" != "none" ]; then modules="${modules} ${M}" fi done echo $modules } function get_path { # kde-dev-scripts, kconfigwidgets and kdoctools are not # part of stable kf5, just here for update_translations needs case "$1" in kde-dev-scripts) echo git-stable/$1 ;; kconfigwidgets|kdoctools) echo git-unstable-kf5/$1 ;; l10n) echo branches/stable/l10n-kf5 ;; *) echo git-stable-kf5/$1 ;; esac } function get_po_path { echo $1 } function get_vcs { case "$1" in l10n) echo svn ;; *) echo git ;; esac } function get_branch { case "$1" in phonon-vlc) echo "0.11" ;; phonon-gstreamer) echo "4.10" ;; phonon) echo "4.11" ;; kdialog|keditbookmarks|kfind|konqueror|kate|khelpcenter|konsole|yakuake|dolphin|analitza|artikulate|blinken|cantor|kalgebra|kalzium|kanagram|kbruch|kdeedu-data|kgeography|khangman|kig|kiten|klettres|kmplot|kqtquickcharts|ktouch|kturtle|kwordquiz|libkeduvocdocument|marble|minuet|parley|rocs|step|gwenview|kamera|kcolorchooser|kdegraphics-mobipocket|kdegraphics-thumbnailers|kolourpaint|kruler|spectacle|libkdcraw|libkexiv2|libkgeomap|libkipi|libksane|okular|svgpart|ark|filelight|kcalc|kcharselect|kdebugsettings|kdf|kfloppy|kgpg|ktimer|kwalletmanager|print-manager|sweeper|kmag|kmousetool|kmouth|audiocd-kio|dragon|ffmpegthumbs|juk|k3b|kdenlive|kmix|kwave|libkcddb|libkcompactdisc|bomber|bovo|granatier|kajongg|kapman|katomic|kblackbox|kblocks|kbounce|kbreakout|kdiamond|kfourinline|kgoldrunner|kigo|killbots|kiriki|kjumpingcube|klickety|klines|kmahjongg|kmines|knavalbattle|knetwalk|knights|kolf|kollision|konquest|kpat|kreversi|kshisen|ksirk|ksnakeduel|kspaceduel|ksquares|ksudoku|ktuberling|kubrick|libkdegames|libkmahjongg|lskat|palapeli|picmi|cervisia|dolphin-plugins|kapptemplate|kcachegrind|kde-dev-utils|kde-dev-scripts|kdesdk-kioslaves|kdesdk-thumbnailers|kompare|libkomparediff2|lokalize|poxml|umbrello|kteatime|kcron|ksystemlog|kdenetwork-filesharing|zeroconf-ioslave|kget|kio-extras|kopete|krdc|krfb|ktp-accounts-kcm|ktp-approver|ktp-auth-handler|ktp-call-ui|ktp-common-internals|ktp-contact-list|ktp-contact-runner|ktp-desktop-applets|ktp-filetransfer-handler|ktp-kded-module|ktp-send-file|ktp-text-ui|kaccounts-integration|kaccounts-providers|signon-kwallet-extension|kross-interpreters|baloo-widgets|akonadi|akonadi-search|kalarmcal|kblog|kcalutils|kidentitymanagement|kimap|kldap|kleopatra|kmailtransport|kmbox|kmime|kontactinterface|kpimtextedit|ktnef|akonadi-calendar|akonadi-contacts|akonadi-notes|akonadi-mime|akonadi-calendar-tools|akonadiconsole|akonadi-import-wizard|akregator|grantlee-editor|kaddressbook|kalarm|kmail|kmail-account-wizard|knotes|kontact|korganizer|mbox-importer|pim-data-exporter|pim-sieve-editor|kdepim-runtime|kdepim-addons|calendarsupport|eventviews|grantleetheme|incidenceeditor|kdepim-apps-libs|libgravatar|libkdepim|libkgapi|libkleo|libksieve|mailcommon|mailimporter|messagelib|pimcommon|kdav|kpkpass|kitinerary|ksmtp|kimagemapeditor|kbackup|kamoso|kirigami-gallery|kipi-plugins|elisa|kdeconnect-kde) echo "release/20.04" ;; wacomtablet) echo "3.2" ;; kdiagram) echo "2.7" ;; krita) echo "krita/4.3" ;; calligra) echo "calligra/3.2" ;; calligraplan) echo "3.2" ;; gcompris) echo "KDE/0.97" ;; kdiff3) echo "1.8" ;; krename) echo "5.0" ;; kronometer) echo "2.2" ;; krusader) echo "stable" ;; okteta) echo "0.26" ;; symboleditor) echo "release-2.1.0" ;; kxstitch) echo "release-2.2.0" ;; atcore) echo "1.0" ;; latte-dock|liblatte) echo "v0.9" ;; qtcurve) echo "1.9" ;; # kdevplatform was merged into kdevelop, so it's not here kdevelop|kdev-php|kdev-python) echo "5.5" ;; kdevelop-pg-qt) echo "2.2" ;; kmplayer) echo "0.12" ;; falkon) echo "Falkon/3.1" ;; kio-gdrive) echo "1.3" ;; konversation) echo "1.7" ;; libktorrent) echo "2.1" ;; ktorrent) echo "5.1" ;; smb4k) echo "3.0" ;; kexi|kdb|kproperty|kreport) echo "3.2" ;; alkimia) echo "8.0" ;; kbibtex) echo "kbibtex/0.9" ;; kmymoney) - echo "5.0" + echo "5.1" ;; tellico) echo "3.3" ;; kdesvn) echo "2.1" ;; massif-visualizer) echo "0.7" ;; heaptrack) echo "1.2" ;; ikona) echo "1.0" ;; bluedevil|breeze|breeze-grub|breeze-gtk|breeze-plymouth|discover|drkonqi|kactivitymanagerd|kde-cli-tools|kdecoration|kde-gtk-config|kdeplasma-addons|kgamma5|khotkeys|kinfocenter|kmenuedit|kscreen|kscreenlocker|ksshaskpass|ksysguard|kwallet-pam|kwayland-integration|kwayland-server|kwin|kwrited|libkscreen|libksysguard|milou|oxygen|plasma-browser-integration|plasma-desktop|plasma-integration|plasma-nano|plasma-nm|plasma-pa|plasma-phone-components|plasma-sdk|plasma-tests|plasma-thunderbolt|plasma-vault|plasma-workspace|plasma-workspace-wallpapers|plymouth-kcm|polkit-kde-agent-1|powerdevil|sddm-kcm|systemsettings|user-manager|xdg-desktop-portal-kde) echo "Plasma/5.19" ;; *) echo "get_branch_none" exit 1 ;; esac } function get_repo_name { echo $(get_po_path $1) } function get_url { local repo_full_path=$(curl --retry 5 -s ${KDE_PROJECTS_API_URL}/identifier/$1 | jq -r '.repo' 2>/dev/null) res=$? if [ ${res} -eq 0 ] && [ -n "${repo_full_path}" ]; then echo "kdep:${repo_full_path}.git" else echo "ERROR: url not found for $1" exit 1 fi }