-
-
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
Allow disabling checkver/autoupdate #4506
Comments
i am not sure of the performance differences between them, FYI. <main bucket>\excavator_skip.list
|
On a related topic, can we somehow define a custom version that won't be overwritten automatically by a lower, older (newest-on-Github) one? For example, if I edit a manifest's "version":, and then run checkver.ps1 -app , it'll want to "update" to something lower (and presumably older). |
It will not update to something lower. You can check the comparison function here - Line 107 in 1dbab1f
|
Unless you set |
I have read the function several times, but the logic it expresses is ignored – at least as far as checkver is concerned. Line 305 in 5602083
checkver will consider newer whatever release it finds, as long as it's not the one it already has. I'm asking this because, in a bucket, we wanted to have a custom version number as a placeholder until upstream updates. However, the github actions bot immediately undid it, downgrading to upstream's version. I tried to work around this in the manifest, but ultimately gave up when I realised the whole version logic doesn't affect this part of scoop. Excavator also doesn't pay any attention to versions, as for example https://github.com/Calinou/scoop-games/search?q=betterjoy&type=commits shows ( https://scoop.r15.ch/games/mud-20211226-003001.log ) – seemingly a completely random downgrade to a year old release. As an actually unrelated topic, it's seemingly true (I didn't know it beforehand) that Shovel just force-updates to whatever the available .json version in a bucket is, even if that's an older lower version, but that's scoop installer |
The reason is, sometime software developers try to roll back their app version, and we need to decide whether to force users to update. Scoop GitHub Actions tries to update all manifests to LATEST version, but for some websites that use CDN or A-B test, it may extract wrong version, and that's what we maintainers' responsibility to correct it (by temporally remove |
I don't think we would need this. The only property that is checked during autoupdate is Lines 91 to 93 in 7967905
|
We should allow adding a particular boolean variable using which we can temporarily disable checkver/autoupdate instead of deleting it manually and then bringing it back after fixes have been made.
The text was updated successfully, but these errors were encountered: