Skip to content

fix: correct versions comparison - #223

Merged
itdoginfo merged 1 commit into
mainfrom
fix/version-check
Oct 23, 2025
Merged

itdoginfo merged 1 commit into
mainfrom
fix/version-check

Conversation

@divocat

@divocat divocat commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings October 23, 2025 13:19
@divocat
divocat requested a review from itdoginfo as a code owner October 23, 2025 13:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a version comparison issue in the Podkop diagnostic system information widget. The current version was being compared directly against podkop_latest_version, but the comparison was failing because the local version includes a "v" prefix while the latest version from the API does not.

Key Changes:

  • Updated version comparison logic to prepend "v" to the latest version string before comparison

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js Fixed version comparison by adding "v" prefix to latest version
fe-app-podkop/src/podkop/tabs/diagnostic/initController.ts Fixed version comparison by adding "v" prefix to latest version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@itdoginfo
itdoginfo merged commit 0f77867 into main Oct 23, 2025
1 check passed
@divocat
divocat deleted the fix/version-check branch October 23, 2025 13:22
Dushnilin referenced this pull request in Dushnilin/tachyon Jul 17, 2026
Screamshow pushed a commit to Screamshow/forkop-x that referenced this pull request Sep 3, 2026
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.

3 participants