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,
|
# Setup project manuals projects (api-site, openstack-manuals,
|
||||||
# operations-guide) for Zanata
|
# security-guide) for Zanata
|
||||||
function setup_manuals {
|
function setup_manuals {
|
||||||
local project=$1
|
local project=$1
|
||||||
local version=${2:-master}
|
local version=${2:-master}
|
||||||
|
@ -39,19 +39,11 @@ function propose_manuals {
|
|||||||
compress_manual_po_files "doc" 1
|
compress_manual_po_files "doc" 1
|
||||||
;;
|
;;
|
||||||
api-site)
|
api-site)
|
||||||
cleanup_pot_files "api-ref-guides"
|
|
||||||
compress_manual_po_files "api-ref-guides" 0
|
|
||||||
cleanup_pot_files "api-quick-start"
|
cleanup_pot_files "api-quick-start"
|
||||||
compress_manual_po_files "api-quick-start" 0
|
compress_manual_po_files "api-quick-start" 0
|
||||||
cleanup_pot_files "api-ref"
|
|
||||||
compress_manual_po_files "api-ref" 0
|
|
||||||
cleanup_pot_files "firstapp"
|
cleanup_pot_files "firstapp"
|
||||||
compress_manual_po_files "firstapp" 0
|
compress_manual_po_files "firstapp" 0
|
||||||
;;
|
;;
|
||||||
ha-guide|operations-guide)
|
|
||||||
cleanup_pot_files "doc"
|
|
||||||
compress_manual_po_files "doc" 0
|
|
||||||
;;
|
|
||||||
security-doc)
|
security-doc)
|
||||||
cleanup_pot_files "security-guide"
|
cleanup_pot_files "security-guide"
|
||||||
compress_manual_po_files "security-guide" 0
|
compress_manual_po_files "security-guide" 0
|
||||||
@ -196,7 +188,7 @@ setup_review "$BRANCH"
|
|||||||
setup_venv
|
setup_venv
|
||||||
|
|
||||||
case "$PROJECT" in
|
case "$PROJECT" in
|
||||||
api-site|ha-guide|openstack-manuals|operations-guide|security-doc)
|
api-site|openstack-manuals|security-doc)
|
||||||
init_manuals "$PROJECT"
|
init_manuals "$PROJECT"
|
||||||
setup_manuals "$PROJECT" "$ZANATA_VERSION"
|
setup_manuals "$PROJECT" "$ZANATA_VERSION"
|
||||||
propose_manuals
|
propose_manuals
|
||||||
|
@ -44,13 +44,13 @@ setup_venv
|
|||||||
|
|
||||||
# Project setup and updating POT files.
|
# Project setup and updating POT files.
|
||||||
case "$PROJECT" in
|
case "$PROJECT" in
|
||||||
api-site|ha-guide|openstack-manuals|operations-guide|security-doc)
|
api-site|openstack-manuals|security-doc)
|
||||||
init_manuals "$PROJECT"
|
init_manuals "$PROJECT"
|
||||||
# POT file extraction is done in setup_manuals.
|
# POT file extraction is done in setup_manuals.
|
||||||
setup_manuals "$PROJECT" "$ZANATA_VERSION"
|
setup_manuals "$PROJECT" "$ZANATA_VERSION"
|
||||||
case "$PROJECT" in
|
case "$PROJECT" in
|
||||||
api-site)
|
api-site)
|
||||||
ALL_MODULES="api-quick-start api-ref-guides api-ref firstapp"
|
ALL_MODULES="api-quick-start firstapp"
|
||||||
;;
|
;;
|
||||||
security-doc)
|
security-doc)
|
||||||
ALL_MODULES="security-guide"
|
ALL_MODULES="security-guide"
|
||||||
|
Loading…
Reference in New Issue
Block a user