move scp, hash and buildid parsing logic to build/tools/lib/python libraries and write tests for them

RESOLVED INCOMPLETE

Status

defect
P2
normal
RESOLVED INCOMPLETE
8 years ago
6 years ago

People

(Reporter: jhford, Assigned: jhford)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [simple])

A couple of useful functions were implemented in android_snippet.py during the work on 557260.  These functions should be moved out of this script and into the standard library that we are building up in build/tools/lib/python.

The functions from this file that should be moved are:

-hashFile, function that given a filename and string with a hash type returns a hash string
  -should be renamed hash_file
-_scp+_scp_file+scp_in+scp_out, functions that abstract scp logic
-a small section of code that understands how to parse a buildids
  -should be changed to generate a standard python time tuple from a buildid

These functions should have tests written for them and android_snippet.py reworking should be included in this patch.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.