From b98481072f1df47498734150716652bf1ba10c2a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 18 Sep 2016 18:14:56 +0200 Subject: [PATCH] Cleanup translations: Obsolete content ha-guide and operations-guide repos are retired, remove special handling. api-site does not contain api-ref-guides and api-ref anymore, remove handling of these. Change-Id: I3fe19c61ea8fb0e0e7912b03672a15b1738ff762 --- jenkins/scripts/common_translation_update.sh | 2 +- jenkins/scripts/propose_translation_update.sh | 10 +--------- jenkins/scripts/upstream_translation_update.sh | 4 ++-- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/jenkins/scripts/common_translation_update.sh b/jenkins/scripts/common_translation_update.sh index d17399dc4b..0c014843e6 100644 --- a/jenkins/scripts/common_translation_update.sh +++ b/jenkins/scripts/common_translation_update.sh @@ -155,7 +155,7 @@ function init_manuals { } # Setup project manuals projects (api-site, openstack-manuals, -# operations-guide) for Zanata +# security-guide) for Zanata function setup_manuals { local project=$1 local version=${2:-master} diff --git a/jenkins/scripts/propose_translation_update.sh b/jenkins/scripts/propose_translation_update.sh index 39e56da495..e1d7156067 100755 --- a/jenkins/scripts/propose_translation_update.sh +++ b/jenkins/scripts/propose_translation_update.sh @@ -39,19 +39,11 @@ function propose_manuals { compress_manual_po_files "doc" 1 ;; api-site) - cleanup_pot_files "api-ref-guides" - compress_manual_po_files "api-ref-guides" 0 cleanup_pot_files "api-quick-start" compress_manual_po_files "api-quick-start" 0 - cleanup_pot_files "api-ref" - compress_manual_po_files "api-ref" 0 cleanup_pot_files "firstapp" compress_manual_po_files "firstapp" 0 ;; - ha-guide|operations-guide) - cleanup_pot_files "doc" - compress_manual_po_files "doc" 0 - ;; security-doc) cleanup_pot_files "security-guide" compress_manual_po_files "security-guide" 0 @@ -196,7 +188,7 @@ setup_review "$BRANCH" setup_venv case "$PROJECT" in - api-site|ha-guide|openstack-manuals|operations-guide|security-doc) + api-site|openstack-manuals|security-doc) init_manuals "$PROJECT" setup_manuals "$PROJECT" "$ZANATA_VERSION" propose_manuals diff --git a/jenkins/scripts/upstream_translation_update.sh b/jenkins/scripts/upstream_translation_update.sh index 767db68817..a33585c2a0 100755 --- a/jenkins/scripts/upstream_translation_update.sh +++ b/jenkins/scripts/upstream_translation_update.sh @@ -44,13 +44,13 @@ setup_venv # Project setup and updating POT files. case "$PROJECT" in - api-site|ha-guide|openstack-manuals|operations-guide|security-doc) + api-site|openstack-manuals|security-doc) init_manuals "$PROJECT" # POT file extraction is done in setup_manuals. setup_manuals "$PROJECT" "$ZANATA_VERSION" case "$PROJECT" in api-site) - ALL_MODULES="api-quick-start api-ref-guides api-ref firstapp" + ALL_MODULES="api-quick-start firstapp" ;; security-doc) ALL_MODULES="security-guide"