flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.8k stars 3.21k forks source link

Improve the Flutter SDK archive page #1886

Open chalin opened 5 years ago

chalin commented 5 years ago

Page URL: https://flutter.io/docs/development/tools/sdk/archive.html Page source: https://github.com/flutter/website/tree/master/src/docs/development/tools/sdk/archive.md

Overall, maybe we should just carry over the Dart SDK Archive design and implementation? Thoughts?

cc @kwalrath

cbracken commented 5 years ago

Question is the Ref value really useful for users? @cbracken @Hixie

Assuming the ref value in this case is the commit SHA from the repo, I'm not sure it adds much value. Since we use x.y.z version as the public-facing identification for a flutter version, and our versions are all clearly applied as git tags, users can pretty easily look up the commit SHA associated with the tag if they really need it -- e.g. via git show-ref --tags. Personally, I wouldn't bother including it on our download page.

gspencergoog commented 5 years ago

I've added a SHA256 to the metadata for archives with this PR: https://github.com/flutter/flutter/pull/28472

The motivation isn't to identify the version, it is to allow people to be able to verify the download integrity.

They are in a key called "sha256" for each entry in the archives JSON.

cbracken commented 5 years ago

The motivation isn't to identify the version, it is to allow people to be able to verify the download integrity.

I suspect I somehow misread this issue. I was the one who originally filed the issue requesting shasums precisely for verification: https://github.com/flutter/website/issues/1955.

StephenWithPH commented 2 years ago

I landed here after following the thread from #1955. Although https://docs.flutter.dev/development/tools/sdk/releases still doesn't display checksums, the data is there in the json response from the server:

Screen Shot 2022-07-21 at 11 41 43 AM

It would be nice if these were included on the displayed table of releases.