Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose "skip_payload" to rez-cp cli tool #1699

Open
garrett-wbpa opened this issue Mar 27, 2024 · 5 comments
Open

Expose "skip_payload" to rez-cp cli tool #1699

garrett-wbpa opened this issue Mar 27, 2024 · 5 comments

Comments

@garrett-wbpa
Copy link

Hello! I'm working around an issue I have where the hardlink lockfile created during package_copy() is failing due to our cross-platform samba mounts not allowing hardlinks. I was thinking it would be nice to find a way to force makedir lockfiles, but then realized I could also use rez-cp as-is if I had a --skip_payload option that would simply install the variant into the package.py and allow me to use rsync/cp/shutil to copy the payload myself.

Is this something the team is interested in supporting?

Motivation
It seems like a small thing to add, and allows for a cli way to interact with the repositories that mimics the python API.

@JeanChristopheMorinPerso
Copy link
Member

Hi @garrett-wbpa, can you give us a little bit more information on what problems you are trying to work around please?

Also, did you take a look at the file_lock_type setting?

plugins = {
    "package_repository": {
        "filesystem": {
            "file_lock_type": "mkdir",
        },
    },
}```

From what I understand from the description, that would do what you need, but more details would help us to give you a better answer.

Thanks.

@garrett-wbpa
Copy link
Author

Sure, I detailed my original issue in a bug report. #1700

@garrett-wbpa
Copy link
Author

I'll take a look at the rez-config setup now, thank you!

@JeanChristopheMorinPerso
Copy link
Member

@garrett-wbpa is this issue still needed?

@garrett-wbpa
Copy link
Author

Not needed for me, no. Maybe helpful if someone else has a reason to install a variant without the payload and wants to use cli?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants