-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Feature] Compare downloaded hash of nightly with installed version's hash #5266
Comments
But the file is downloaded to compute the hash, right? So why we need compare these hashes and decide to not copy the file? Could you give me some usages? I couldn't understand the request here. |
the feature you want in fact: the Excavator checks the nightly manifest and updates from:
to:
but the |
So even if the file changes on another intervall than daily, a new date folder is created and symlinked. Maybe I am just trying to use latest as nightly, but it is convenient for downloads that doesn't contain a unique identifier in the url for each version. |
No, I this is not about excavator, but instead the installer logic. We don't want to put hashes in nightly manifest files. |
I think it already exists, just not perfect.
|
It works well if it is not forced to be updated several times in same day.
p.s. emmm, I executed version control? or manage of manifests/apps: we can:
cannot be done with scoop command:
|
a.json: nightly cron job builds the artifact, and the manifest url is https://example.com/nightly/a.7z Every time Now, as @HUMORCE points out, |
So what you need is not recreate the junction? Or you just need a persist version folder? |
If we could save the hash after a successful install phase of a nightly manifest, we could compare it with the hash calculated after the download phase the next time |
Feature Request
Is your feature request related to a problem? Please describe.
Nightly versions are not always updated, eg it's the same hash of the downloaded file as the one that is installed. With the new
update_nightly
Boolean set to true, this just creates copy after copy of the same files.Describe the solution you'd like
A simple check of the downloaded hash, and the installed hash. For this to work, either add the hash attribute and value to the manifest file (
manifest.json
) in the installation directory, or to theinstall.json
file with aif nightly read hash from install.json
check.Describe alternatives you've considered
None comes to mind.
The text was updated successfully, but these errors were encountered: