Skip to content

ssh: retrieve all packages (build or cached) from remote create command #18618

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

Open
wants to merge 1 commit into
base: develop2
Choose a base branch
from

Conversation

perseoGI
Copy link
Contributor

Changelog: omit
Docs: omit

Previously, if a package was created remotely, restored to the local cache, and then removed locally, the runner would not retrieve it again. This occurred because only build recipes were compressed.

This PR fix involves always exporting all packages and forcing a local cache refresh, which ensures the package is brought back to the local cache.

In order to reproduce this issue:

  1. Create the package:
$ conan create . -pr:a ssh 
  1. Remove the package:
$ conan remove pkg -c

3. Create the package again with `--build=missing` (**IMPORTANT**)
```sh
$ conan create . -pr:a ssh-old --build=missing

The cache would not be restored. Only the exported recipe will be available, not the package itself:

issue

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.

1 participant