Skip to content

max_bot_version from info.json is ignored, if min_bot_version is not specified #6718

@Jackenmen

Description

@Jackenmen

What Red version are you using?

3.5.24

What were you trying to do?

I tried to install a cog from a specific revision, which had "max_bot_version": "3.4.99" specified in info.json, but did not specify the min_bot_version key.

What did you expect to happen?

I expected the install to fail.

What actually happened?

The install succeeded.

How can we reproduce this error?

load downloader
repo add aika-repro https://github.com/aikaterna/aikaterna-cogs v3.4
cog install aika-repro reminder

You'll see that it successfully installs despite max_bot_version being set in info.json:
https://github.com/aikaterna/aikaterna-cogs/blob/e7bf1f22e656fd991ca3b13fc02aae23e34d7445/reminder/info.json#L9

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Category: Core - DownloaderThis is related to the internal Downloader APIs.Status: In ProgressThere's a PR open to deal with this, or an org member is working on this internallyType: BugUnexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions