Skip to content

Check the different API version usages#4983

Open
hornokattila wants to merge 1 commit into
Ericsson:masterfrom
hornokattila:issue-3276
Open

Check the different API version usages#4983
hornokattila wants to merge 1 commit into
Ericsson:masterfrom
hornokattila:issue-3276

Conversation

@hornokattila

Copy link
Copy Markdown
Contributor

Fix for #3276: Check the different API version usages

Adds inline documentation explaining the MAJOR.MINOR versioning strategy used across the codebase, and standardizes the one place where version parsing was not explicitly constrained to two components.

Changes

  • web/codechecker_web/shared/version.py — Added module docstring documenting the versioning scheme and how version flows through the system.
  • web/server/codechecker_server/routing.py — Clarified is_supported_version() docstring re: why trailing version components are discarded.
  • web/server/codechecker_server/api/report_server.py — Documented the backward-compat branching logic; changed version parsing to explicitly take only major.minor (prevents accidental 3-part tuple comparisons).
  • web/server/vue-cli/config/webpack.common.js — Added comment explaining why the npm semver patch is stripped.

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.

1 participant