Repository navigation
docs: fix offline installation cache key description - #53824
MarshallOfSound merged 1 commit into
Conversation
7cf7673 to
f2993fe
Compare
f2993fe to
b53af94
Compare
MarshallOfSound
left a comment
There was a problem hiding this comment.
I don't think we should document this, it becomes some weird "api" instead of an implementation details of the @electron/get cache (which is in a different repo).
I see no benefit in documenting this
|
@MarshallOfSound That's fair — the SHA256/URL-derivation detail is an implementation detail of The original motivation (#48316) was just that the existing text was factually wrong: it called (keeping the example tree below as-is). Happy to trim further, or drop this paragraph altogether if you'd rather the docs not touch on the key's meaning at all. |
Sure |
b53af94 to
eadc42d
Compare
|
Thanks — applied the minimal version (pushed as eadc42d) and updated the description to match. @nikwen @MarshallOfSound could you take another look when you get a chance? |
nikwen
left a comment
There was a problem hiding this comment.
Added backport labels because our website docs are built from the most recent stable branch.
|
Also, please rebase to fix CI errors. |
eadc42d to
210aafe
Compare
|
No Release Notes |
|
I have automatically backported this PR to "44-x-y", please check out #54458 |
|
I have automatically backported this PR to "45-x-y", please check out #54459 |
Description of Change
The offline installation cache section said the on-disk cache key is a checksum of the downloaded zip file, stored as
[checksum]/[filename]. That's not what@electron/getactually does, and the docs' own example hash didn't match the file's checksum, which is what confused the issue reporter.Per review feedback, this change no longer describes how
@electron/getderives the key (that's an implementation detail of the cache, which lives in a different repo). It only stops calling the key a checksum, and replaces the example hash with the real directory name@electron/getproduces forelectron-v15.3.1-darwin-x64.zip.Fixes #48316
Checklist
npm testpassesRelease Notes
Notes: none