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

added get_variant_from_uri functionality #886

Merged
merged 1 commit into from
May 12, 2020
Merged

Conversation

nerdvegas
Copy link
Contributor

This is a first step towards #680, which I'm starting to work on now (yay!). The intent here is that you should be able to munge commands together to do useful things fairly easily.

For example, to warm the package cache, you might do this:

> ]$ rez-context --resolve --show-uris | xargs rez-package-cache --add-variant

In a similar vein, perhaps you want to create a local package repo for a context, so you can create a new context using only these variants, and then copy the whole thing to a server (more work is required to make this fully standalone, but I'm keen to see this feature, as is our engineering department, who hate nfs mounts :) ):

> ]$ rez-context --resolve --show-uris | xargs -i rez-cp --variant-uris {} --dest-path /mylocalrepo

@nerdvegas nerdvegas mentioned this pull request May 9, 2020
@nerdvegas nerdvegas merged commit 23bdc45 into master May 12, 2020
@bpabel bpabel deleted the variant-from-uri branch January 19, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant