Release UI Automator 0.0.0 PiperOrigin-RevId: 571667347
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..6e4e0be --- /dev/null +++ b/CONTRIBUTING.md
@@ -0,0 +1,50 @@ +# How to Contribute to Google Home UI Automator + +We'd love to accept your patches and contributions to Google Home UI Automator. + +## Table of contents + +* [General information](#general-information) + * [Contributor License Agreement](#contributor-license-agreement) + * [Code reviews](#code-reviews) + * [Community guidelines](#community-guidelines) +* [Contributor workflow](#contributor-workflow) + +## General information + +### Contributor License Agreement + +Contributions to this project must be accompanied by a Contributor License +Agreement. You (or your employer) retain the copyright to your contribution; +this simply gives us permission to use and redistribute your contributions as +part of the project. Head over to <https://cla.developers.google.com/> to see +your current agreements on file or to sign a new one. + +You generally only need to submit a CLA once, so if you've already submitted one +(even if it was for a different project), you probably don't need to do it +again. + +### Code reviews + +All submissions, including submissions by project members, require review. We +use GitHub pull requests for this purpose. Consult +[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more +information on using pull requests. + +### Community guidelines + +This project follows [Google's Open Source Community Guidelines](https://opensource.google/conduct/). + +## Contributor workflow + +We are happy to accept contributions and guide you through the process. \ +The contributor workflow has not been fully ironed out yet, so make sure to +start by sending an email to google-home-testsuite+ui-automator@google.com +with an outline of your planned change. \ +We will review your proposal and advise on the next steps you will need to take. + +1. [Sign a Contributor License Agreement](https://cla.developers.google.com/) + if you haven't done so already. This only needs to be done once. +1. Open a pull request and add [timmatt-lee](https://github.com/timmatt-lee) + as a reviewer. +
diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..7b74127 --- /dev/null +++ b/MANIFEST.in
@@ -0,0 +1,3 @@ +include LICENSE +include README.md +include requirements.txt
diff --git a/setup.py b/setup.py index 9289c66..06ff8fa 100644 --- a/setup.py +++ b/setup.py
@@ -1,3 +1,17 @@ +# Copyright 2023 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Build the google_home_ui_automator Python package.""" import os
diff --git a/ui_automator/__init__.py b/ui_automator/__init__.py index e69de29..7ba50f9 100644 --- a/ui_automator/__init__.py +++ b/ui_automator/__init__.py
@@ -0,0 +1,13 @@ +# Copyright 2023 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License.
diff --git a/ui_automator/errors.py b/ui_automator/errors.py index 33ce1cc..0eb76b5 100644 --- a/ui_automator/errors.py +++ b/ui_automator/errors.py
@@ -1,3 +1,17 @@ +# Copyright 2023 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Module for UI Automator related errors. The error subclasses are intended to make it easier to distinguish between and
diff --git a/ui_automator/ui_automator.py b/ui_automator/ui_automator.py index 6fe4335..fef9fea 100644 --- a/ui_automator/ui_automator.py +++ b/ui_automator/ui_automator.py
@@ -1,3 +1,17 @@ +# Copyright 2023 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """UI Automator controller in python layer. A python controller that can trigger mobly UI automator snippet to achieve some
diff --git a/ui_automator/ui_automator_test.py b/ui_automator/ui_automator_test.py index b8224e5..74617a2 100644 --- a/ui_automator/ui_automator_test.py +++ b/ui_automator/ui_automator_test.py
@@ -1,3 +1,17 @@ +# Copyright 2023 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Unittest Lab exercise to test implementation of "Synonym Dictionary".""" import os import subprocess
diff --git a/ui_automator/version.py b/ui_automator/version.py index 1f0068e..e16c465 100644 --- a/ui_automator/version.py +++ b/ui_automator/version.py
@@ -1,3 +1,17 @@ +# Copyright 2023 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Get semantic version.""" import time from typing import Optional