Skip to content

extract_version: engine-jar regex also matches -tests/-sources classifier jars #8

Closed

Description

@robfrank

ENGINE_JAR_PATTERN = re.compile(r"^arcadedb-engine-(.+)\.jar$") (scripts/extract_version.py:176) also matches arcadedb-engine-26.11.1-SNAPSHOT-tests.jar and -sources.jar, capturing 26.11.1-SNAPSHOT-tests as a version. If one of those jars ends up in the jars directory, the "multiple engine versions" error fires. That error is clear, but the jar set itself is valid.

Proposed fix: exclude classifier jars, for example with a negative lookahead for -(tests|sources|javadoc)\.jar$, and add a test.

Found in the final review of the move from ArcadeData/arcadedb (#1).

🤖 Generated with Claude Code

Activity

  1. added
    in progressThe team is actively working on this issue
    bugSomething isn't working
    on Oct 22, 2026
  2. self-assigned this
    on Oct 22, 2026
  3. added a commit that references this issue on Oct 23, 2026
  4. removed
    in progressThe team is actively working on this issue
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions