Bug 1346025 - Move 'python/compare-locales' documentation and mach command to 'tools/compare-locales', r?Pike
MozReview-Commit-ID: bkrH4YAD7S
--- a/build/mach_bootstrap.py
+++ b/build/mach_bootstrap.py
@@ -38,33 +38,33 @@ MACH_MODULES = [
'build/valgrind/mach_commands.py',
'devtools/shared/css/generated/mach_commands.py',
'dom/bindings/mach_commands.py',
'dom/media/test/external/mach_commands.py',
'layout/tools/reftest/mach_commands.py',
'python/mach_commands.py',
'python/mach/mach/commands/commandinfo.py',
'python/mach/mach/commands/settings.py',
- 'python/compare-locales/mach_commands.py',
'python/mozboot/mozboot/mach_commands.py',
'python/mozbuild/mozbuild/mach_commands.py',
'python/mozbuild/mozbuild/backend/mach_commands.py',
'python/mozbuild/mozbuild/compilation/codecomplete.py',
'python/mozbuild/mozbuild/frontend/mach_commands.py',
'services/common/tests/mach_commands.py',
'taskcluster/mach_commands.py',
'testing/awsy/mach_commands.py',
'testing/firefox-ui/mach_commands.py',
'testing/mach_commands.py',
'testing/marionette/mach_commands.py',
'testing/mochitest/mach_commands.py',
'testing/mozharness/mach_commands.py',
'testing/talos/mach_commands.py',
'testing/web-platform/mach_commands.py',
'testing/xpcshell/mach_commands.py',
+ 'tools/compare-locales/mach_commands.py',
'tools/docs/mach_commands.py',
'tools/lint/mach_commands.py',
'tools/mach_commands.py',
'tools/power/mach_commands.py',
'mobile/android/mach_commands.py',
]
deleted file mode 100644
--- a/python/compare-locales/moz.build
+++ /dev/null
@@ -1,16 +0,0 @@
-# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-with Files('compare_locales/**'):
- BUG_COMPONENT = ('Localization Infrastructure and Tools', 'compare-locales')
-with Files('docs/**'):
- BUG_COMPONENT = ('Mozilla Localizations', 'Documentation')
-
-# SPHINX_PYTHON_PACKAGE_DIRS += [
-# 'compare_locales',
-# ]
-
-SPHINX_TREES['.'] = 'docs'
rename from python/compare-locales/docs/glossary.rst
rename to tools/compare-locales/docs/glossary.rst
rename from python/compare-locales/docs/index.rst
rename to tools/compare-locales/docs/index.rst
rename from python/compare-locales/mach_commands.py
rename to tools/compare-locales/mach_commands.py
--- a/tools/moz.build
+++ b/tools/moz.build
@@ -2,16 +2,22 @@
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Core", "General")
+with Files("compare-locales/docs/**"):
+ BUG_COMPONENT = ('Mozilla Localizations', 'Documentation')
+
+with Files("compare-locales/mach_commands.py"):
+ BUG_COMPONENT = ("Localization Infrastructure and Tools", "compare-locales")
+
with Files("coverity/**"):
BUG_COMPONENT = ("Core", "Rewriting and Analysis")
with Files("docs/**"):
BUG_COMPONENT = ("Core", "Build Config")
with Files("lint/**"):
BUG_COMPONENT = ("Testing", "Lint")
@@ -33,8 +39,9 @@ with Files("rb/**"):
with Files("rewriting/**"):
BUG_COMPONENT = ("Core", "Rewriting and Analysis")
with Files("update-packaging/**"):
BUG_COMPONENT = ("Release Engineering", "Other")
SPHINX_TREES['lint'] = 'lint/docs'
+SPHINX_TREES['compare-locales'] = 'compare-locales/docs'