Skip to content

Support depots of depth > 1 #12

@parnic-sks

Description

@parnic-sks

Our Perforce depots use a 4-depth system to help organize branches. RUGS doesn't seem to recognize this format as it's not reporting badges for our builds made in other streams.

Docker logs look like this:

2024-04-11T15:39:10.763075Z  INFO rugs::handlers: Creating new project for stream //project/mainline, project name main/core/projectgame
2024-06-03T15:19:06.683648Z  INFO rugs::handlers: Creating new project for stream //project/mainline, project name release/demo/projectgame

When I'd expect to see something like this instead:

2024-04-11T15:39:10.763075Z  INFO rugs::handlers: Creating new project for stream //project/mainline/main/core, project name projectgame
2024-06-03T15:19:06.683648Z  INFO rugs::handlers: Creating new project for stream //project/mainline/release/demo, project name projectgame

We are seeing badges in mainline properly, and I'm assuming that's because it was the first branch/stream for the entire depot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions