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

Install previous versions of Scoop apps #218

Closed
ppvnf opened this issue Oct 8, 2022 · 9 comments
Closed

Install previous versions of Scoop apps #218

ppvnf opened this issue Oct 8, 2022 · 9 comments
Labels
new-feature A new feature that could be useful in WingetUI not-wingetui This issue is not wingetui's fault scoop

Comments

@ppvnf
Copy link
Contributor

ppvnf commented Oct 8, 2022

It seems this feature is possible on CLI: ScoopInstaller/Scoop#2254

However, this is not possible on WingetUI for package from Scoop source as only the latest version is shown when you click "show more info" .

For example, Firefox on scoop has many versions: https://github.com/ScoopInstaller/Extras/commits/master/bucket/firefox.json

But WingetUI only shows one:
Captura de tela 2022-10-08 102429

@marticliment
Copy link
Owner

Yeah, saw that a few days ago, and i'm gonna work on it,

@marticliment marticliment added new-feature A new feature that could be useful in WingetUI ready-to-go labels Oct 8, 2022
@ppvnf
Copy link
Contributor Author

ppvnf commented Dec 7, 2022

Do you really think this feature is possible? I thought about it and couldn't imagine a way to make it work. I don't think it's feasible to parse the Github manifest history to find older versions like in https://github.com/ScoopInstaller/Extras/commits/master/bucket/firefox.json

Maybe this depends on ScoopInstaller/Scoop#3045

@marticliment
Copy link
Owner

i don't know yet, I want to properly investigate this feature request and see if it can be done or not.

@ppvnf
Copy link
Contributor Author

ppvnf commented Jan 6, 2023

I've asked in ScoopInstaller/Scoop#5320 and it seems this feature will only be possible when ScoopInstaller/Scoop#3045 is implemented

@marticliment marticliment added waiting-for-something This issue depends on something before we can resolve it and removed ready-to-go labels Jan 8, 2023
@marticliment
Copy link
Owner

The last time I installed a specific version of an ap`p i remember having no way to after it update the app, so we'd better wait until this is properly supported

@ppvnf
Copy link
Contributor Author

ppvnf commented May 25, 2023

by comparing the version in the json file with the one installed it should be possible to detect new versions, right?
And I imagine there is a way to read the github history of the json file to find old versions.
I am not sure if such a complicated thing is worth it tho

@marticliment
Copy link
Owner

Not all scoop packages are based on GitHub, so this solution wouldn't work with an important part of the available package

@ppvnf
Copy link
Contributor Author

ppvnf commented May 25, 2023

Not all scoop packages are based on GitHub, so this solution wouldn't work with an important part of the available package

I think it should work as long as the bucket is on Github (and I believe all official ones are), even if the package itself is not, like in ScoopInstaller/Extras@94fa3e9

I was able to successfully install it:
Screenshot 2023-05-25 171330

WingetUI, however, failed to uninstall it: The system cannot find the file specified.
But on terminal scoop uninstall restartar-explorer worked as expected

@marticliment
Copy link
Owner

the issue then is how to get the a list jf the available versions, I have found no way to retrieve this list.

I'm going to close this issue for now since it is scoop's architecture who is not allowing this feature to work, rather than a missing feature in WingetUI

@marticliment marticliment added not-wingetui This issue is not wingetui's fault and removed waiting-for-something This issue depends on something before we can resolve it labels Jun 12, 2023
@marticliment marticliment closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A new feature that could be useful in WingetUI not-wingetui This issue is not wingetui's fault scoop
Projects
None yet
Development

No branches or pull requests

2 participants