Proto commits in google/openhtf

These 28 commits are when the Protocol Buffers files have changed:

Commit:cf5600c
Author:Harshit Pawar
Committer:Harshit Pawar

fixed typos and closed open brackets (#807) Update mfg_event.proto fixed typos and closed open brackets (#807) fixed typos and closed open brackets (#807)

The documentation is generated from this commit.

Commit:09bbcf1
Author:Dushyant Bhatnagar
Committer:GitHub

Add google copyright/license notices (#1048)

Commit:c7ab508
Author:Gauthier Dieppedalle
Committer:GitHub

Internal change (#1004) [OpenHTF] Ignore the GitHub Actions config file in *.. [OpenHTF] Add util function for getting the phases from a list of phase nodes and phase node collections. Cleanup (3p) LSC: Remove `Lint as` gpylint comment directives. Cleanup (3p) LSC: Remove `Lint as` gpylint comment directives. Support test-stopping failures with a phase-scoped option. Add an explicit Literal annotation to test_state.INFER_MIMETYPE. Add get_test_measurement_strict() into test api. Cleanup Fix or silence upcoming type errors in Python 3.9. Cleanup LSC: Remove `//net/proto2/python/public:use_pure_python` dep, migrate to protobuf Cleanup Silence type errors generated by enabling a new pytype feature. Cleanup Migrate away from Angular's deprecated `async` symbol to use `waitForAsync` Cleanup Fix or ignore type errors generated by the next release of pytype. Iteratively upload attachments in when partial uploads are in use Give mfg_event_converter access to the existing blobref cache Add a size attribute for Attachments Cleanup Remove all usages of //third_party/py/enum library. Cleanup Silence type errors generated by enabling a new pytype feature. Migrate partial upload code from MfgInspector to * Add a mechanism to profile unit tests. Add case formatting options for phase names in OpenHTF Phase Options. Cleanup Remove unused python binaries + libraries from //third_party/py (as reported dead by sensenmann) Cleanup Fix or ignore type errors generated by the next release of pytype. make the mfg_event_converter to handle datetime objects in JSON conversion. (see cl/396863619 for some context) Cleanup Infer `__init__.py` attributes for Python strict deps. validators.py: Use f-string to format Equals str representation. Enable partial upload of attachments from in progress phases Detect changed attachments (and skip cache) to support OpenHTF_record.json Rollback of changelist 392091102. Reason: Rollforward of cl/391826358: Reuse existing blob refs in partial_upload by caching protos Rollback of changelist 391826358. Reason: Seems that these blobrefs are not the correct values to be using at the moment or at least there are occasional issues. See b/197352227 for details. Reuse existing blob refs in partial_upload by caching protos Add alternative for conf.inject_positional_args. Cleanup Fix or ignore type errors generated by the newest pytype release. Move Configuration (openhtf.conf) class attributes to module attributes Treat openhtf.util.conf as an object instead of a module Move Configuration to its own module instead of living in conf Update typescript web_gui files to remove deprecated bypassSecurityTrustHtml Remove __init__.py file that was left behind in an otherwise empty package. Add a protocol and implementation for conf.declare return value. Cleanup Fix or ignore type errors generated by the next release of pytype. PiperOrigin-RevId: 450548096

Commit:0edf6c9
Author:Gauthier Dieppedalle
Committer:GitHub

Moved over continuous integration and deployment from travis-ci.org to GitHub Actions (#1003) * Added support for marginal test results to the protos. * Added continuous integration and deployment via GitHub Action instead of travis-ci.org

Commit:c497890
Author:Gauthier Dieppedalle
Committer:Arun Sharma

Adding numeric_minimum and numeric_maximum instead of using expected_value and percent_range in measurement using the within_percent validator. (#867)

Commit:b96d659
Author:Gauthier Dieppedalle
Committer:Arun Sharma

Added expected_value and percent_range field to mfg_event measurement when using within_percent validator. (#866)

Commit:9dc5b67
Author:kdsudac
Committer:GitHub

Upstreaming mfg_event proto (#855) * beggining to upstream mfg_event proto and logic to convert from test record * adding in assembly_event.proto but it's proto3 * need to updated to protoc > 3.0 and (python pip) proto > 3.6 * updating travis ci to use proto 3.6 * adding additional travis commands for debugging protoc * adding to path * more debugging * try copying the include files * handle permssions * removing bin from include path * adding correct permission bit (I'm doing too much multi-tasking) * removing debugging print statements * fixing some python2/3 str --> unicode errors * removing extra debug statement from travis ci * fixing unit test * debugging * remove wrahol reference * removing comment * addressing code review comments

Commit:696a3be
Author:Sam Bristow
Committer:Kenneth Schiller

Fix up spelling/typos in codebase (#807) Ran the automated tool [codespell](https://github.com/codespell-project/codespell) over the codebase to fix up minor typos/spelling mistakes. I've left `units.py` alone as it's autogenerated, but it would be good to tidy up the mistakes in the source data at some point.

Commit:d62691d
Author:kdsudac
Committer:GitHub

Merging units.proto into test_runs.proto to streamline copybara (#748) * accessing units_pb2 data via test_runs_pb2 to streamline copybara * using long import directly * adding debugging print for travis ci * more debugging info for travis * removing printing statements, modifying proto to match internal

Commit:b6cb560
Author:wallacbe
Committer:Kenneth Schiller

Merge python3 into master (#679) * python3 WIP (#674) * python3: parens around single-line print statements * python3: subprocess.check_output() => subprocess.getoutput() * python3: 2to3 * python3: don't use relative protos, generate from root and include relative to root. Delete string.decode(), will fix with future unicode_literal later. * Python3: PhaseExecutionOutcome has __new__ and not __init__ since named tuples are immutable * Python3: Initialize TestRecord.start_time_millis to 0. In PlugsTest.test_initialize, only compare the knowable values of the plug_manager dictionary. * Python3: self.join fails with float_info.max, replace with 5 seconds (it seems to be a placeholder value). Encode the test_attachment string as utf-8 * Python3: CodeInfo must derive from HashableRecord since it's held in a dict. * Python3: Don't utf8-encode the unit suffixes * Python3: explicitly encode value_binary fields as utf-8 * Python3: BytesIO instead of StringIO in tests. * Python3: Store attachments as unicode strings containing base64-encoded payloads (used to be byte strings of b64 payloads). Use a StringIO for the test that needs it. * Python3: Remove 2to3 unnecessary double-parentheses around print calls. * Python3: Point Travis at Python 3.6 * Python3: Require protobuf 3.4.0, exploring Travis failures * Python3: Require protobuf package >3, explicitly download + unpack protoc > 3. From Brandon Wallace (wallacbe) * python3 updates to allow examples to run * updates to allow examples to run in python27 * enable pyhon2.7 in travis * add __next__method * update test_json * update long in data test * Update raises regex * travis updates * remove python3 checks * updates based on comments * try to address feedback from fahhem * update test_executor timeout * address additional code review * use hashable record

Commit:67bd82b
Author:Charles Nicholson
Committer:wallacbe

python3 WIP (#674) * python3: parens around single-line print statements * python3: subprocess.check_output() => subprocess.getoutput() * python3: 2to3 * python3: don't use relative protos, generate from root and include relative to root. Delete string.decode(), will fix with future unicode_literal later. * Python3: PhaseExecutionOutcome has __new__ and not __init__ since named tuples are immutable * Python3: Initialize TestRecord.start_time_millis to 0. In PlugsTest.test_initialize, only compare the knowable values of the plug_manager dictionary. * Python3: self.join fails with float_info.max, replace with 5 seconds (it seems to be a placeholder value). Encode the test_attachment string as utf-8 * Python3: CodeInfo must derive from HashableRecord since it's held in a dict. * Python3: Don't utf8-encode the unit suffixes * Python3: explicitly encode value_binary fields as utf-8 * Python3: BytesIO instead of StringIO in tests. * Python3: Store attachments as unicode strings containing base64-encoded payloads (used to be byte strings of b64 payloads). Use a StringIO for the test that needs it. * Python3: Remove 2to3 unnecessary double-parentheses around print calls. * Python3: Point Travis at Python 3.6 * Python3: Require protobuf 3.4.0, exploring Travis failures * Python3: Require protobuf package >3, explicitly download + unpack protoc > 3. From Brandon Wallace (wallacbe)

Commit:c9845da
Author:Joe Ethier
Committer:GitHub

Revise package structure as discussed in issue #314. (#411)

Commit:762dcd9
Author:Fahrzin Hemmati
Committer:Fahrzin Hemmati

Massage the protos to more closely match the internal format This allows updating OpenHTF quicker as internal protos change, as well as allows sync'ing the other way easier. It also updates certain enums and messages that were already out-of-sync.

Commit:0f17bdb
Author:Fahrzin Hemmati

Remove non-followable link

Commit:4b738e2
Author:John Hawley
Committer:John Hawley

Revert "Revert "Output to mfg-inspector.com"" This reverts commit 87b888f17746c446c41da88418b1967213a7fe39.

Commit:87b888f
Author:Joe Ethier

Revert "Output to mfg-inspector.com"

This commit does not contain any .proto files.

Commit:bee4aff
Author:John Hawley

Squash commit for mfg-inspector output

Commit:957d5aa
Author:Joe Ethier
Committer:Joe Ethier

Apply broad housekeeping and lint checking for v1.0 release.

This commit does not contain any .proto files.

Commit:aa260b8
Author:Joe Ethier

Apply major re-structuring and re-naming in preparation for v1.0 release. In the README file we point out four core duties of a hardware testing framework. This change reorganizes the codebase to match those duties and to make naming clearer in general. * Shuffle everything into top-level modules that reflect core duties. * Rename Capabilities as Plugs. * Rename HTFTest to just Test. * Provide aliases for phase decorators in top package level. * Update docstrings and README to reflect the above changes.

Commit:0b1c4f7
Author:Joe Ethier
Committer:Joe Ethier

Some frontend hacking, pylintrc adjustments, and a proto update.

Commit:300d0b2
Author:Joe Ethier

Fixes frontend bugs.

Commit:c68ea32
Author:Joe Ethier

Scrub comments and add license notices.

Commit:2936d6a
Author:Joe Ethier

Renames OpenXTF to OpenHTF.

Commit:79904a4
Author:Joe Ethier
Committer:Joe Ethier

More restructuring. Change-Id: If5b3687a4a5a24a46bc8c4af95d539b4bf2fe1c9

Commit:c175246
Author:Joe Ethier

More restructuring. Change-Id: I6ca64a62213a10aa47b1ea5db6c4edfb608b56c6

Commit:d0e0bb7
Author:Joe Ethier
Committer:Joe Ethier

Restructuring. Change-Id: I3b87a0acc7a781c9a040327237e25303652696bb

Commit:e0204da
Author:Joe Ethier

Rejigger directory structure, update __init__.py files, add example. Change-Id: I7dd18850a2341c2762a1033ead693271fc9f2112

This commit does not contain any .proto files.

Commit:2946a97
Author:Joe Ethier
Committer:Joe Ethier

Initial commit of openxtf Change-Id: Iff88f310d4537f8951510a896be33d56e5aded62