Skip to content

'use_variant_shortlinks' config entry ignore by rez-cp #1701

Open
@wbpa-garrett

Description

@wbpa-garrett

Hello,

I've disabled variant shortlinks for my windows machine using a rez config json file. I went to rez-cp a package to my repository and noticed that rez-cp was still trying to create a _v shortlink folder. It fails due to permissions, but rez-cp continues on and copies the full variant folder anwyay.

Environment

  • OS Windows
  • Rez version 3.0.0
  • Rez python version 3.9.13

To Reproduce

  1. set 'use_variant_shortlinks=false' in a rez config file
  2. rez-cp a package into a repository and see that a shortlink folder is still created.

Expected behavior
I expect rez-cp to skip the shortlink creation when the config specifies to do so.

Actual behavior
A _v folder is created even though my config is disabling them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions