Bug 1346025 - Move 'python/compare-locales' documentation and mach command to 'tools/compare-locales', r=Pike
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 06 Jun 2017 10:00:51 -0400
changeset 413282 5413302a24e6099faa510ce21546958c3cd9f591
parent 413281 568c208a0531436946515bcc377222fd460bb76e
child 413283 34b11112f0e3b342c149295ea8e8eac01cdf646c
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPike
bugs1346025
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1346025 - Move 'python/compare-locales' documentation and mach command to 'tools/compare-locales', r=Pike MozReview-Commit-ID: bkrH4YAD7S
build/mach_bootstrap.py
python/compare-locales/docs/glossary.rst
python/compare-locales/docs/index.rst
python/compare-locales/mach_commands.py
python/compare-locales/moz.build
tools/compare-locales/docs/glossary.rst
tools/compare-locales/docs/index.rst
tools/compare-locales/mach_commands.py
tools/moz.build
--- 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'