Closed Bug 703080 Opened 13 years ago Closed 13 years ago

we need a way to determine the appname from the apk

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: blassey)

References

Details

(Whiteboard: [android_tier_1])

Attachments

(1 file)

This might be solved already; maybe not. Remote talos and remote unit tests require us to know what the appname of Fennec is. This covers all Android testing at the moment. I haven't been able to figure out how to determine what the appname is from an apk (1. download apk, 2. figure out if it's org.mozilla.fennec or org.mozilla.fennec_aurora or ...) This is ok for the most part, as branding is consistent per branch. However, this is not true for Try; if you push an aurora or beta changeset to Try without changing the in-tree mozconfig, the appname will change. I think Try tegras are assuming the appname will be org.mozilla.fennec, so Aurora changesets pushed to Try fail tests. This brings me back to the summary: we need a way to determine the appname from the apk. Could we add this to the application.ini or something?
Flagging for triage.
Whiteboard: [android_tier_1]
Attached patch patchSplinter Review
so, as I understand it, you want to be able to get the package name given an apk file. If so, this should let you do that with something like this: unzip -p fennec-11.0a1.en-US.android-arm.apk package-name.txt
Assignee: nobody → blassey.bugs
Attachment #575048 - Flags: review?(doug.turner)
Attachment #575048 - Flags: review?(aki)
Comment on attachment 575048 [details] [diff] [review] patch Thanks!
Attachment #575048 - Flags: review?(aki) → review+
Comment on attachment 575048 [details] [diff] [review] patch Review of attachment 575048 [details] [diff] [review]: ----------------------------------------------------------------- ooc, why not add this to the application.ini?
Attachment #575048 - Flags: review?(doug.turner) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 725703
Blocks: 836861
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: