Pacman menu logic #4527#4537
Conversation
|
According to @Torxed #3897 (reply in thread) the parallel option should not be shown by default. I'm not sure renaming the mirror main entry is user friendly. It is very clear what the mirror/region config refers to but putting that behind a I think it makes sense to potentially move parallel downloads option (behind the --advanced) into the mirrrors config as it is related to the downloads. The pacman config color option however doesn't make much sense in there but I agree that it's a bit odd to have that as a global namespace with a single entry for color. So we can find a new home for that. I haven't looked at the code at all yet, but be aware that any of these changes will require backwards compability with config parsing. Also it'd be great to have this as iterative, smaller PRs to make reviewing easier and faster. |
|
Right sorry about the large blast to be honest don't expect it to be merged, was just showing that these things SHOULD be grouped. A full entry for Color = True is wild, idk how that ended up in master. And yes Generally using |
I fully agree with this, the parallel thing can move as suggested:) |
This PR moves
ColorandParallel DownloadsintoPacman Configuration(renamed fromMirrors and repositories).This aligns better 3 menus that essentially interact with the same exact subject. Also removes the
--advancedgate forParallel Downloadssince its already a sane default if unchanged.A bit of a large blast radius (search and replace mostly, less code tho net -99 lines) but is much cleaner/logical in my opinion for long term options that might get added.