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
This commit is contained in:
parent
5cfec57f4e
commit
b98481072f
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user