Skip to content

[Improvement] Project tagging improvement #136

@timdegroot1996

Description

@timdegroot1996

Currently we use project_ to define projects. There have been discussions about moving this to a separate flag in the CLI.
As can be seen at this comment and some earlier comments.

This issue is discuss the desired solution.

Additional notes from other threads

project_tag:
I would keep the project_ logic in, regardless of what --projectname does, to preserve current functionality (also not worth the refactor effort imo)

--projectname:
Option 1: override the root suite name in the xml with the --projectname flag value (without project_)

# runs table column "name" would be api
robotdashboard -o output1.xml -o output2.xml --projectname api

Option 2: add separate runs table column for --project name values

robotdashboard -o output1.xml -o output2.xml --projectname api,webserver,someOtherProject

Both of these options would not allow to set the projectname value seperately for each xml to db push,
but I think that is okay, people can just run it multiple times if they want to specify differing projectNames for xmls.

How pressing of an issue do you think this feature is? For me it would be fine to add it as low priority to the backlog.

Mentioned for inspiration and possible good solution (consistency) for project as well

Regarding project version
To me, having to rerun robotdashboard for each project version seems fine, but if you want,
I can add the option to have a version_ project version tag. My preferred behaviour would be this:

# keep existing behaviour
robotdashboard -o output1.xml -o output2.xml --projectversion 1.0.0  # set 1.0.0 for all outputs in this command
# rerun for differing project versions
robotdashboard -o output3.xml  --projectversion 1.2.3
robotdashboard -o output4.xml --projectversion 7.4.2

# version_ tags
# set project_version column to value after version_ (and do not store version_ as tag (or maybe do, no hard preference))
robotdashboard -o output1.xml:version_1.0.0 -o output4.xml:version_1.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions