Skip to content

Parsing of package titles with multiple "-" #365

@scarlhoff

Description

@scarlhoff

When trying to use create a new package from an existing package, I encountered the following error:

trident-conda-linux forge -d /path/ --forgeString "*2023-07-24-duerrnberg*" -o duerrnberg
trident v1.6.7.3 for poseidon v2.5.0, v2.6.0, v2.7.0, v2.7.1
https://poseidon-framework.github.io
option --forgeString: Error when parsing the forge selection (either -f or --forgeFile): 
unexpected "-"
expecting digit

Judging from initial experiments on different machines, different clusters, different trident releases, different test packages with Clemens, this seems to occur when package name contains more than one dash (-). So it's perhaps an issue with the parser? On initial try, multiple dashes in the individual name did not seem to be a problem.

Metadata

Metadata

Assignees

No one assigned

    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