openwrt / firmware-selector-openwrt-org

This repository is being migrated over from GitLab, ymmv
Creative Commons Zero v1.0 Universal
27 stars 19 forks source link

implement a way to easily add some very comonly used packages #22

Open Lanchon opened 1 month ago

Lanchon commented 1 month ago

there a handful of packages the are added constantly to images because they are key to enable bootstrapping a device to the point where more packages can easily be installed. IMHO, these are:

it'd be great to have an easy (point and click) way to add at least these packages once "Customize installed packages and/or first boot script" is unfolded.

one option would be to have checkboxes to add these packages to the build once the build is requested, but this might be too much work.

the easiest way would be to add a gear icon to the package list text box (just like in the box below it), and when you click it it just adds text to the text box.

this strategy would be enough: for each package to add, regex the package name (full word) in the text of the text box, and if not found add "/n${PACKAGE_NAME}" to the text. the CR is valid whitespace in this text, and the line breaks would clearly show what was added (and let you easily remove what is unwanted).

final note: owut recently replaced auc. IMHO, you can simply add owut be done with it. auc will soon enough go unused, and its name is short enough that typing it is not a problem. however if you really want to nit pick, you can use auc for versions 23.x and lower, and owut for the rest, including snapshot.

mwarning commented 1 week ago

We already have an option to automatically add packages to the package list and it is used to add the luci package: https://github.com/openwrt/firmware-selector-openwrt-org/blob/f38d80f4788dce869d5069b5666b1f10e4653b73/www/config.js#L27

Isn't that already fullfilling your request?

Anyway, thank you for your suggestions! :-)

Lanchon commented 1 week ago

@mwarning

Isn't that already fullfilling your request?

no... :(

what i mean is extending the UI in https://firmware-selector.openwrt.org/ to allow point-and-click adding of the very highly used packages i mentioned above. as said, those packages are key to being able to install other packages later on.

mwarning commented 1 week ago

I have to say that this fine level of detail is probably out of the scope of the firmware selector. But I let @aparcar decide, since this is an ASU related feature. :-)