-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Firstly, very cool project, thanks so much for OS-ing it.
Would love to contribute, tho I am completely unfamiliar with Rust for now, but it does seem like every OSS CLI tool is either rust or go, so might as well learn at some point.
My request:
I'm going to be vague about terminology like "query/installation operations", as I eagerly await #32 and don't want to jinx that decoupling from pacman too soon 😉
- Operations that query packages could (per invocation opt-in, or globally configurable as default etc) "merge" the results of the enabled pms.
2. Realistically, or UX-wise, it would really likely be the equivalent of returning x-many tables/lists of packages, with_x_ == num of pms
- And similarly, ops that install packages would search over the various pms
- With a decent likelihood of overlap, we have diff options for resolution:
- Bork, and echo "so and so conflicts, pls specify amongst these:..."
- Auto proceed to installing via the already-user-or-per-os-configured-default pm
3. if not otherwise opted-out perhaps via new flag
4. maybe consider new config options for just this priority/resolution situation if ppl want it? - Offer a readline-y/fzf-y/gum-y prompt to select amongst whichever ones were found
- With a decent likelihood of overlap, we have diff options for resolution:
- Again similarly, same for upgrading and uninstalling
7. Tho of course, instead of querying the "remote store/repos" and then merging etc, we'd want to query only the locally installed stuff
I don't think this will really be a big value-add for linux, nor likely mac, as my experiences on both reveal few experiences with packages not being the os-default pm but being available on alternatives - eg, I've had like 2 occasions where port
had something brew
didn't.
But on Windows, I juggle so constantly between searching and then installing amongst scoop
, choco
, winget
, that I wrote a pretty shitty/hacky powershell script to kinda do my suggestion above, converting/parsing the returns of each pm into PSCustomObjects
and using gum
to filter/install/confirm etc.
But I'd have to do some more heavy lifting to have that work nicely on mac and linux, which I've started using pwsh
on, and also for supporting operations like uninstalling.
Not opposed to doing that, but I think this project already has significant progress made that might obviate doing that in my own hacky way.
Anyways, thanks again!
Metadata
Metadata
Assignees
Labels
Projects
Status