KNOXDEV / scoop-backup

Backup your entire current scoop installation with one command
The Unlicense
60 stars 6 forks source link

Feature request: Do not reinstall installed applications #15

Open satorope opened 2 years ago

satorope commented 2 years ago

Currently, I mainly use Winget, supplemented by scoop for package management. And I install git and sudo (gsudo) from Winget.

winget install git.git -i

By doing this, you can choose to add a Git bash profile to the Windows terminal.

If git and sudo are installed, I would like the backup script to not include a script to install git and main/sudo from scoop.

KNOXDEV commented 2 years ago

Interesting. Git is installed because it's a prerequisite to installing buckets. I wonder, is scoop's current behavior to not install git if it detects it's already installed via winget? Because otherwise, scoop would most likely not allow scoop-backup to add buckets without it, and if it's not currently implemented, part of this issue might need to be an issue on Scoop's repo instead.

On the topic of Sudo, the scoop version is not only useful for installing global packages, it's actually a hard requirement for some packages that have post-installation behavior that requires sudo (for example, madvr in the extras bucket). In this circumstance, I assume scoop will also install its version of sudo regardless of if you have installed it via Winget.

Given my uncertainty that scoop handles either of these situations gracefully at the moment, I think scoop needs to address these issues on its end before scoop-backup addresses them.

KNOXDEV commented 2 years ago

Somewhat related because you mentioned it, I use Scoop's Git Bash with Windows Terminal as follows: image