Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Scoop import shall reset installed apps #5525

Open
xxthunder opened this issue Jun 2, 2023 · 3 comments
Open

[Feature] Scoop import shall reset installed apps #5525

xxthunder opened this issue Jun 2, 2023 · 3 comments

Comments

@xxthunder
Copy link

xxthunder commented Jun 2, 2023

Feature Request

Problem

I use scoopfiles a lot in my daily work to define a working and tested build environment in my repositories. But when my repositories use different versions of the same package (e.g., mingw-llvm or python) builds might still fail because an import does not reset the packages (which are all already installed). E.g., when a repo needs python 3.11 when python 3.10 and python 3.11 are already installed and python 3.10 was installed after 3.11 I need to reset 3.11 manually after the import.

Solution

When scoop import is intended to produce a reproducible environment it should reset the packages, too.

What do the scoop experts think about this? I would be happy to implement this by the way.

@HUMORCE
Copy link
Member

HUMORCE commented Jun 4, 2023

Scoop does not exports the anything about shims, so this is as expected. scoop-export/import is imperfect features for now.

Any Improvements for them are welcome.

@xxthunder
Copy link
Author

@HUMORCE Hi, I created a PR for this. Works like a charm in my daily work. Maybe you could have a look and provide me some feedback?

@HUMORCE
Copy link
Member

HUMORCE commented Jul 19, 2023

I will test it over weekend.

xxthunder added a commit to xxthunder/Scoop that referenced this issue Oct 16, 2023
xxthunder added a commit to xxthunder/Scoop that referenced this issue Oct 19, 2023
xxthunder added a commit to xxthunder/Scoop that referenced this issue Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants