Configure additional download updaters #18

Closed
opened 2024-10-04 12:41:53 +02:00 by belka · 0 comments
Owner

The configuration supports updating only the main download. Some packages consist of multiple downloads that should be updated to the latest version.

Properties needed for the main and additional download updaters are the same. Only the meaning of the name is different. Name of the main download updater is the package name, the name of the additional download updater is the variable prefix used in the SlackBuild, e.g. DUB_VERSION, where DUB is the name.

The download updater configuration could be a hashmap with the name as key and other properties as value, but hashmaps aren't ordered, and it would cause a random order in the .info file. Therefore the name should be a property. Download updaters are represented as a list then.

The configuration supports updating only the main download. Some packages consist of multiple downloads that should be updated to the latest version. Properties needed for the main and additional download updaters are the same. Only the meaning of the `name` is different. Name of the main download updater is the package name, the name of the additional download updater is the variable prefix used in the SlackBuild, e.g. `DUB_VERSION`, where `DUB` is the name. The download updater configuration could be a hashmap with the name as key and other properties as value, but hashmaps aren't ordered, and it would cause a random order in the .info file. Therefore the name should be a property. Download updaters are represented as a list then.
belka added the
Kind
enhancement
label 2024-10-04 12:41:53 +02:00
belka added the
Status
fixed
label 2024-11-25 16:16:44 +01:00
belka closed this issue 2024-11-25 16:16:46 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 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: OSS/slackbuilder#18
No description provided.