Skip to content

vparse_in#1444

Merged
genedna merged 1 commit into
gitmono-dev:mainfrom
A-Mavericks:small
Sep 12, 2025
Merged

vparse_in#1444
genedna merged 1 commit into
gitmono-dev:mainfrom
A-Mavericks:small

Conversation

@A-Mavericks

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: A-Mavericks <363136637@qq.com>
@vercel

vercel Bot commented Sep 12, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
mega Ready Ready Preview Comment Sep 12, 2025 8:55am

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 adds version parsing functionality to the database utilities by importing the parse function from the packaging.version module as vparse. The change enables semantic version comparison when updating repository sync results.

  • Imports parse function from packaging.version as vparse
  • Enables proper version comparison logic in the update_repo_sync_result function

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

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

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

Comments suppressed due to low confidence (1)

extensions/update/do_utils.py:13

  • The version comparison will fail if version parameter is None or an invalid version string. Add validation to ensure both versions are valid before parsing.
            if record.version is None or vparse(version) > vparse(record.version):

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

@genedna
genedna added this pull request to the merge queue Sep 12, 2025
Merged via the queue into gitmono-dev:main with commit 2dc3c11 Sep 12, 2025
4 checks passed
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