Closed Bug 1151955 Opened 9 years ago Closed 7 years ago

push_apk.py should use the future get_apk.py from bug 1151954

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Sylvestre, Unassigned, Mentored)

References

Details

(Whiteboard: [good first bug][lang=Python])

Attachments

(1 file, 2 obsolete files)

Once bug #1151954 is implemented, we should use this script from mozharness push_apk.py to automatically download the apk from our ftp + upload it to Google play.

Most of the work can be tested without the Google play access.
Attached file Change to be made to code (obsolete) —
I'm a newbie, and so not sure if the change made is correct or complete. Please help.
This is not enough. First, bug 1151954 has to be implemented.
I would like to work on this once Bug 1151954 lands.
With pleasure!
Thinking a bit more about this:
After get_apk.py and before calling push_apk.py, we probably want:
* a summary of the download (size, version, build 1, locale)
* a manual confirmation (Are you sure you want to upload that to Google play?)
Would this be the only way to push an APK to the play store or would the old way of manually pushing a local file still be available?
Sylvestre, my friend Josh would be interested in working on this.  Could I co-mentor this?
Assignee: nobody → rowlison.josh
Status: NEW → ASSIGNED
Flags: needinfo?(sledru)
> Would this be the only way to push an APK to the play store or would the old way of manually pushing a
> local file still be available?
I think we want to keep both options.


Sure, enjoy Josh!
Flags: needinfo?(sledru)
Mentor: me
Thanks!
Attached patch push_apk.py (obsolete) — Splinter Review
for Bug 1151955 
 get_apk is used from Bug 1151954
(In reply to Tridev from comment #11)
> Created attachment 8712127 [details] [diff] [review]
> push_apk.py
> 
> for Bug 1151955 
>  get_apk is used from Bug 1151954

Please submit a valid diff patch.  Also, just adding a get_apk.py action isn't sufficient.
Attachment #8605644 - Attachment is obsolete: true
Attachment #8712127 - Attachment is obsolete: true
by the way, don't hesitate to use mozreview - http://reviewboard.mozilla.org/
I've been looking at this for a little while, and I'm puzzled as to how I'll acquire the variables for locale etc as required by get_apk. I could prompt for the values but I'd prefer to acquire them without that. Is there a form for the filepath that I could parse for these variables? I wasn't able to locate a document defining the form.
Flags: needinfo?(sledru)
Also, should we put this in mozinbound with get_apk.py?
josh, here, we only care about the default locale code (multi). Hope this helps!
Flags: needinfo?(sledru)
(In reply to Alex Johnson (:alex_johnson) from comment #15)
> Also, should we put this in mozinbound with get_apk.py?
When reviewed, yes
Attached patch mozPatch.patchSplinter Review
Think this should meet the basic goals. Let me know if I missed anything.
Attachment #8719618 - Flags: review?(sledru)
Comment on attachment 8719618 [details] [diff] [review]
mozPatch.patch

Sorry about the lag, shame on me.
How this should be used? 
Looks like tests are missing, right?
Besides that, it looks great
Attachment #8719618 - Flags: review?(sledru)
I'm a little fuzzy on which tests are missing but I'll be in person with Alex on Monday so we'll clear that up.
Josh, we need to make some progress on this, are you still interested to help? Thanks
I am not going to be able to finish this,

My apologies, things got busy and I forgot to ever come back and note that I wasn't going to be able to finish it.
No worries, thanks for taking the time to get back to me :)
Assignee: rowlison.josh → nobody
Status: ASSIGNED → NEW
(In reply to Sylvestre Ledru [:sylvestre] from comment #23)
> No worries, thanks for taking the time to get back to me :)

Hello, I would like to fix this bug but am new to contributing. This is my first bug, could you show me the path please? Thanks!
Hello, I would like to help fix this bug. I am completely new contributing. If I am assigned this bug, could you guide me. Thanks!
Hello, can I work on this bug?
I am new to open source, very interested in contribution. Need help how to get started.
I know python lang
Hi, this bug is 2 years old, looks like repository is also changes (moved to github?).
If it is not solved yet, can you please give new location for the push_apk.py file and explain a bit what is currently missing?

It problem is already solved, it would be better to close bug.

Thanks
Flags: needinfo?(sledru)
yeah, sorry, we moved that into our CI, I don't think it makes sense anymore.
sorry :(

Don't hesitate to drop me an email if you want to do python or C/C++ contribution.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(sledru)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: