Incorrect URL for update JSON file #5

Closed
opened 2023-11-27 08:42:48 +00:00 by BlakeRain · 2 comments
Owner

The URL for the update file, as specified in the updateJSONURL property of the META-INF/mods.toml is incorrect, using the name updates.json rather than update.json.

It's current value, and the value that it should have are as follows:

Current: https://git.blakerain.com/bans-minecraft/utamacraft/raw/branch/main/updates.json
Actual : https://git.blakerain.com/bans-minecraft/utamacraft/raw/branch/main/update.json

There are two options:

  1. Rename the update.json file in this repository to updates.json to match the mod file, or
  2. Change the updateJSONURL in the mod file and issue a new version.
The URL for the update file, as specified in the [`updateJSONURL`](https://git.blakerain.com/bans-minecraft/utamacraft/src/commit/69008c97726629bbe360e6ca880a3a0e34c215c6/src/main/resources/META-INF/mods.toml#L28) property of the `META-INF/mods.toml` is incorrect, using the name `updates.json` rather than [`update.json`](https://git.blakerain.com/bans-minecraft/utamacraft/src/branch/main/update.json). It's current value, and the value that it should have are as follows: ``` Current: https://git.blakerain.com/bans-minecraft/utamacraft/raw/branch/main/updates.json Actual : https://git.blakerain.com/bans-minecraft/utamacraft/raw/branch/main/update.json ``` There are two options: 1. Rename the `update.json` file in this repository to `updates.json` to match the mod file, or 2. Change the `updateJSONURL` in the mod file and issue a new version.
BlakeRain added this to the v0.1.0 milestone 2023-11-27 08:42:48 +00:00
BlakeRain added the
Kind/Bug
Priority
High
labels 2023-11-27 08:42:48 +00:00
BlakeRain added this to the Mod Development project 2023-11-27 08:42:48 +00:00
Author
Owner

Note that this bug does not effect the functionality of the mod, only Forge's ability to check for any updates.

Note that this bug does not effect the functionality of the mod, only Forge's ability to check for any updates.
Owner

Plural I would say is the more appropriate naming convention here methinks 🤔 One or more updates...

Though... often we find non-pluralised names for manifests in JavaScript. For instance package.json, rather than packages.json. But its a convention of theirs rather than any kind of rule.

Plural I would say is the more appropriate naming convention here methinks 🤔 One or more updates... Though... often we find non-pluralised names for manifests in JavaScript. For instance `package.json`, rather than `packages.json`. But its a convention of theirs rather than any kind of rule.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bans-minecraft/utamacraft#5
No description provided.