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

[FeatureRequest] Previous Version Alternative using git history #3894

Open
JustinGrote opened this issue Mar 25, 2020 · 3 comments
Open

[FeatureRequest] Previous Version Alternative using git history #3894

JustinGrote opened this issue Mar 25, 2020 · 3 comments

Comments

@JustinGrote
Copy link

Currently if you want to install a previous version, scoop tries to autogenerate a manifest to see if it works, however there may be breaking changes between versions in the manifest that won't allow this.

However, there is a practical alternative:

  1. I specify scoop install zookeeper@3.6.0
  2. scoop does git log -p <manifest>.json and extracts a list of previous versions based on the version.json, since it would have changed every commit
  3. If one of the versions matches, it retrieves that version of the file from the repository and uses that manifest.

It doesn't guarantee the file download would still exist of course, but it would allow a more traditional way of accessing past versions.

@Dabombber
Copy link

The problem with this is if past manifests were broken and the fix also included a version bump.

I think it'd be far simpler and more reliable to have a legacy property similar to how architecture works, but instead of 32bit|64bit you'd have a version(s). But even that has a whole lot of problems to deal with for a fairly limited feature.

Maybe the best solution would be to request its addition to the versions bucket?

@ClassicDarkChocolate
Copy link
Contributor

You might wanna check this. I wrote a custom script letting user installs package for specific version/commit.

#3045 (comment)

@riotrah
Copy link

riotrah commented Sep 25, 2022

I think scoop supporting this would be the closest thing to sadf-vm on windows, something I sorely miss from other OSes. I would highly, highly, request the implementation of this feature. Perhaps it could be considered an experimental or "at your own risk" feature. I don't want to be ungrateful of course, but just wanted to throw a vote into the pool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants