Skip to content

sort firmware versions by name if same count exists#173

Merged
skorpy2009 merged 1 commit intofreifunk:mainfrom
maurerle:sort_version_count
Jun 23, 2025
Merged

sort firmware versions by name if same count exists#173
skorpy2009 merged 1 commit intofreifunk:mainfrom
maurerle:sort_version_count

Conversation

@maurerle
Copy link
Member

Description

Before, the firmware were not sorted if the count is the same.

This is fixed with this PR.
Furthermore, a leading v is stripped of the version string when comparing to fix wrong orders.

Motivation and Context

closes #90

How Has This Been Tested?

Screenshots/links:

Checklist:

  • My code follows the code style of this project. (CI will test it anyway and also needs approval)
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

@maurerle maurerle force-pushed the sort_version_count branch from 1b4e608 to 8a3b00b Compare June 20, 2025 12:32
@maurerle maurerle force-pushed the sort_version_count branch from 8a3b00b to 9ed7366 Compare June 23, 2025 05:51
@skorpy2009 skorpy2009 merged commit e6f1d6e into freifunk:main Jun 23, 2025
2 checks passed
@maurerle maurerle deleted the sort_version_count branch June 23, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sort firmware version by autoupdater/opkg specification

2 participants