Script to update SUTAgent.ini

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: mcote, Assigned: mcote)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

6 years ago
I seem to have to update SUTAgent.ini on devices very frequently.  Autophone has a script that writes a local SUTAgent.ini to the correct place on a remote device, but I'd love a script that automatically fetches SUTAgent.ini, prompts for changes (defaulting to current values), and uploads the new file (if changed).
(Assignee)

Comment 1

6 years ago
Created attachment 713278 [details] [diff] [review]
Interactive script to update SUTAgent.ini on remote device

Straightforward, hope it's useful to others as well.
Attachment #713278 - Flags: review?(bclary)
Attachment #713278 - Flags: feedback?(wlachance)

Comment 2

6 years ago
Comment on attachment 713278 [details] [diff] [review]
Interactive script to update SUTAgent.ini on remote device

r+, nice for real this time.
Attachment #713278 - Flags: review?(bclary) → review+
Comment on attachment 713278 [details] [diff] [review]
Interactive script to update SUTAgent.ini on remote device

nice
Attachment #713278 - Flags: feedback?(wlachance) → feedback+
(Assignee)

Comment 4

6 years ago
https://github.com/mozilla/mozbase/commit/719c25ffa3a0b9685f52d1fb33298962beb084dc

I will add support for network settings before closing this, since I believe I'll have to update them on the phones from haxxor.

Comment 5

6 years ago
yeah, i realized that while unpacking the haxxor phones. :-( sorry for not catching it sooner.
(Assignee)

Comment 6

6 years ago
Created attachment 713663 [details] [diff] [review]
Add ability to update Network Settings section

Hummed and hawed a bit about this one, but in the end decided to keep it simple.  I also added the ability to delete sections.

Looking at the SUTAgent code, it seems that the Network Settings options are really limited.  Seems it was rewritten at some point, and some of the old settings are now ignored.  I'll update https://wiki.mozilla.org/Auto-tools/Projects/SUTAgent accordingly.
Attachment #713663 - Flags: review?(bclary)

Comment 7

6 years ago
Comment on attachment 713663 [details] [diff] [review]
Add ability to update Network Settings section

wfm.

Do we have docs on the meaning of the SUTAgent.ini settings?
Attachment #713663 - Flags: review?(bclary) → review+

Comment 8

6 years ago
Actually, we need to add some more to the network section:

http://dxr.mozilla.org/mozilla-central/build/mobile/sutagent/android/SUTAgentAndroid.java#l509

we need key an adhoc whatever they are.

ctalbert, do you know the meaning of these values?
(Assignee)

Comment 9

6 years ago
As discussed a lot of those options don't actually do anything anymore.  I'll update the SUTAgent wiki page presently.

https://github.com/mozilla/mozbase/commit/9459b2beaa1eca59ad10aa8e9281afe966a5684e
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.