Skip to content

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