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

Get Older Versions of Standalone Tarball #2196

Open
WammKD opened this issue Dec 24, 2022 · 4 comments
Open

Get Older Versions of Standalone Tarball #2196

WammKD opened this issue Dec 24, 2022 · 4 comments

Comments

@WammKD
Copy link

WammKD commented Dec 24, 2022

Is there a way to get specific versions of the standalone tarball? I'd love to package this for Guix but package management, there, tries to be deterministic and I can't guarantee that if I can't guarantee what I'm downloading is the exact same thing I downloaded from a URL as last time.

I've managed to get it run so, with being able to point at a particular version number to download, I could create a package of this and make it easier for other users to download and use, as well.

@sbosio
Copy link
Contributor

sbosio commented May 3, 2024

@WammKD, we apologize for the belated response here.

Can you let us know if this still relevant and what will you need from us? Do you need to be able to download specific versions of the tarball and not the last one available on the stable channel?

@WammKD
Copy link
Author

WammKD commented May 4, 2024

Thanks for getting back!

I was trying to package the Heroku CLI for the Linux distribution GNU Guix as its non-standard file structure makes the binary need a little tweaking before it'll work (while a package could do that for whomever's downloading it); ideally, I'd do a package that builds from source but Guix doesn't, yet, have enough JS support in place to work with Yarn or Lerna, yet.

I think I have a package which can build from the binary Tarball but it's basically a constantly moving target, if I'm always pointing to the latest version. If I could specify which version, I could make available a stable package of the Heroku CLI for Guix, I think.

So, in terms of what I need, basically what you said: being able to download specific versions of the Tarball. Ideally, just a URL I can link to, and download from, to ready the binary (similarly to how I can do that, now, with the latest CLI version).

@sbosio
Copy link
Contributor

sbosio commented May 6, 2024

There's a JSON file always located at https://cli-assets.heroku.com/versions/heroku-linux-x64-tar-gz.json that contains a list of versions and download URLs for the tarballs. Do you think that would be helpful to get you started?

@WammKD
Copy link
Author

WammKD commented May 8, 2024

Thanks! I suspect yes (sounds like the type of thing I was looking for but, for the life of me, couldn't seem to find it) but my laptop just bit the dust a few days ago so I can't thoroughly check, quite yet.

Once I've got a working computer again, I'll check for sure and report back here.

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