Closed Bug 660245 Opened 13 years ago Closed 12 years ago

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

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jhford, Assigned: jhford)

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: 12 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.