-
Notifications
You must be signed in to change notification settings - Fork 125
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
[1.8.3] Versionless: .jarv prevents updating .jar if getdown.txt is replaced with fresh stub and digests, .jar and .jarv are remaining #211
Comments
It seems this is by design - apparently versionless mode doesn't update at all after creating the .jarv file, despite downloading the new digest files? Is there a way to force Getdown to always check the .jar file against the updated digest, regardless of the presence of a .jarv file? |
If the |
If you have a log file that shows Getdown downloading a new |
I've pinned down the specific scenario under which this happens. I have a stub A workaround is to have the installer delete getdown files on install and uninstall, so the app always redownloads fresh after reinstalling. If you need, I can try and prepare a minimal example. |
Ah, I see. When Getdown notices that the So when you overwrite I have been considering moving the validation files into a special subdirectory (or maybe just a file), and doing this would enable Getdown to clear out all validation files at once without having to know what resources previously existed. I'll leave this issue open as a reminder to do so, but you should probably stick with your workaround for now if you need to support a scenario where you reinstall a stub getdown.txt over a previously operational getdown.txt file. |
This is reasonable. However, when Getdown uses the stub But going forward, a separate directory for validation files seems good to me — for architectural cleanness if nothing else, so Getdown can tell its own files from the application's files. |
That's a fair point. I'll look into whether it might be easy to ensure that it uses the newly downloaded getdown.txt to enumerate the resources that need to be invalidated. |
I had a getdown installation that downloaded the digests, but didn't update
appname.jar
despite it being outdated. After inspecting the directory, I saw an emptyappname.jarv
file with an old date (same date as the outdared jar). After I deleted the jarv file, the jar got redownloaded and updated, but then the jarv file got recreated.I'm not sure why the existence of the jarv file prevented the jar file from being updated.
There is also an empty
gettingdown.lock
file with an old creation date. It's not being deleted when getdown launches the application.The text was updated successfully, but these errors were encountered: