-
-
Notifications
You must be signed in to change notification settings - Fork 345
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 overriding resources.remote-avc #3451
Allow overriding resources.remote-avc #3451
Conversation
While I agree that it's useful to be able to override the link, somehow it doesn't feel right to give a link under As the remote file completely overrides the contents of the included file, what about allowing to specify its URL in the As the syntax for specifying a path inside the zip is In any case, it should probably be documented in the |
Unfortunately for our purposes here,
And an alternative format for In fact I initially thought about using something like How strongly do you feel about about using another property? I'm willing to compromise, but in the meantime I'll update the spec... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with resources.remote-avc, it doesn't make a difference in practice anyway
Documenting the command to find affected mods for future reference:
Easy editing:
|
Motivation
There are a lot of mods that have remote version files but a bad
URL
property in the version file such that the remote version file isn't found/used. This clutters our warnings list and potentially deprives CKAN of better metadata if any of them have been updated since release:Currently these can only be resolved by submitting a pull request to the mod's repo, having it merged, and then a new release being made.
Background
As of #3259, the
resources.remote-avc
property is set to the URL of the remote version file by the AVC transformer.Changes
Now if the
reources.remote-avc
property is set upstream of the AVC transformer (i.e. in the netkan or by a previous transformer), we use that value to override the remote version file to check. This will allow us to suppress these warnings and get the most accurate compatibility data by setting the correct URL in the netkans.