Refactor config.sh, purge legacy devices

NEW
Assigned to

Status

Firefox OS
GonkIntegration
2 years ago
2 years ago

People

(Reporter: adfad666, Assigned: adfad666)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

43 bytes, text/x-github-pull-request
Details | Review | Splinter Review
(Assignee)

Description

2 years ago
The device list in config.sh has become wild, unmaintained and unloved. We have a plethora of legacy devices in this list, when all we care about right now are emulators, nexuses, flames and Xperias.

Move the legacy devices to legacy-config.sh if anyone really wants to work on them (Some of these devices can be brought back to life with a bit of love), and simplify some of the cases that remain in config.sh

Also sort the devices by AOSP base. This will make it relatively clear for everyone to see exactly how old a device port is, as this generally correlates with the age of the AOSP base.
(Assignee)

Comment 1

2 years ago
Created attachment 8696214 [details] [review]
B2G PR
(Assignee)

Updated

2 years ago
Assignee: nobody → afarden
It would be nice if the config.sh script would refer to the legacy-config.sh script when the user tries to configure for an older device. Something along the lines:

"The device <device> is not supported any more and Firefox OS may not build correctly. If you want to try it anyway please use the legacy-config.sh script instead."
(Assignee)

Comment 3

2 years ago
Good point. I added a case with all legacy devices, it will echo a warning message and how to continue.
You need to log in before you can comment on or make changes to this bug.