Closed Bug 584218 Opened 14 years ago Closed 14 years ago

Android sutagent needs ability to update itself

Categories

(Testing :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cmtalbert, Assigned: cmtalbert)

Details

Attachments

(1 file, 2 obsolete files)

It would be really awesome if the sutagent could update itself with a new copy.  Additionally, we'd also like to be able to update any application on the phone.  This way we have a mechanism to reinstall fennec easily as well as the agent.
Attachment #462550 - Flags: review?(bmoss)
Comment on attachment 462550 [details] [diff] [review]
This is a patch that achieves this.  It also adds some images for error messages.  Still needs some makefile love.

This looks good, remember to change the makefiles to pick up the graphics.
Attachment #462550 - Flags: review?(bmoss) → review+
Attached patch Patch v2 (obsolete) — Splinter Review
This patch adds in a command to get the version of the sutAgent.  Joel and I could have sworn that we had all already done this, but I couldn't find it in any of the code either in this patch, m-c, or in remote-testing.  So, I went ahead and added it.  

This patch also includes the make file changes to pick up the graphics.
Assignee: nobody → ctalbert
Attachment #462550 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #467221 - Flags: review?(bmoss)
Ok, so I had the wrong version of Bob's code, which did not have the version bit.  This new bit is based off Bob's real version code, plus his fix to update the agent in place, with a couple of cleanup patches to the help file.  I've r+'d Bmoss's code, and thrown out my own version of this patch. 

Bob, please double check, and make sure we have the issues sorted out now.
Attachment #467221 - Attachment is obsolete: true
Attachment #468550 - Flags: review+
Attachment #468550 - Flags: feedback?(bmoss)
Attachment #467221 - Flags: review?(bmoss)
Good to go.
Landed: http://hg.mozilla.org/mozilla-central/rev/fa73e81c1e87
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You added rejects:
build/mobile/sutagent/android/res/drawable/ateamlogo.png.rej
build/mobile/sutagent/android/res/drawable/ic_stat_first.png.rej
build/mobile/sutagent/android/res/drawable/ic_stat_neterror.png.rej
build/mobile/sutagent/android/res/drawable/ic_stat_second.png.rej
build/mobile/sutagent/android/res/drawable/ic_stat_warning.png.rej

Please back these out.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #6)
> You added rejects:
> build/mobile/sutagent/android/res/drawable/ateamlogo.png.rej
> build/mobile/sutagent/android/res/drawable/ic_stat_first.png.rej
> build/mobile/sutagent/android/res/drawable/ic_stat_neterror.png.rej
> build/mobile/sutagent/android/res/drawable/ic_stat_second.png.rej
> build/mobile/sutagent/android/res/drawable/ic_stat_warning.png.rej
> 
> Please back these out.
Sure thing.  I thought I'd deleted these before finishing the patch.

I have another patch I'm landing today, so I'll co land this removal with that to save on infrastructure impact. 

Thanks for letting me know, and I apologize for that!
Ok, that landing stuck, those rej files are a thing of the past.  Sorry about that.

http://hg.mozilla.org/mozilla-central/rev/2a539b9317e2
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Attachment #468550 - Flags: feedback?(bmoss)
Shouldn't the 'updt' command be added to the help output?
This will be part of the next patch to address the 'clok' command.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: