latestText versionPicker #17
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OSS/slackbuilder#17
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
latestText
downloads a page and looks for latest version information on this page. To filter the versions on the page it uses a function. This function cannot be transformed to configuration because it is Haskell code. So the API should be made more configuration friendly here.The solution could be a command that accepts the page contents on stdin and outputs the version if it can find one. The big advantage of a command compared to a regex is that an extern command can handle any format like json, xml and so on.
One thing to decide whether the output of the command is the selected version or it can output multiple versions, that can be filtered in the next step with a version expression, same as git tags.