-
Notifications
You must be signed in to change notification settings - Fork 989
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
SSH Runner: Fix several issues and refactor code #17357
base: develop2
Are you sure you want to change the base?
Conversation
cf0893c
to
6c7b1b8
Compare
conan/api/subapi/cache.py
Outdated
@@ -214,7 +214,7 @@ def restore(self, path): | |||
unzipped_metadata_folder = pref_bundle.get("metadata_folder") | |||
if unzipped_metadata_folder: | |||
# FIXME: Restore metadata is not incremental, but destructive | |||
out.info(f"Restore: {pref} metadata in {unzipped_metadata_folder}") | |||
out.info(f"Restore: {pref} metadata from {unzipped_metadata_folder}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not restoring from, it is restoring in, the folder is the destination folder
conan/api/subapi/cache.py
Outdated
@@ -199,7 +199,7 @@ def restore(self, path): | |||
pkg_layout = cache.create_pkg_layout(pref) # DB Folder entry | |||
# FIXME: This is not taking into account the existence of previous package | |||
unzipped_pkg_folder = pref_bundle["package_folder"] | |||
out.info(f"Restore: {pref} in {unzipped_pkg_folder}") | |||
out.info(f"Restore: {pref} from {unzipped_pkg_folder}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not restoring from, it is restoring in, the folder is the destination folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, unrelated to the PR?
def __init__(self, conan_api, command, host_profile, build_profile, args, raw_args): | ||
from paramiko.config import SSHConfig | ||
from paramiko.client import SSHClient | ||
def __init__( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid formatting and typing changes, it makes difficult to read the changelog and check if some new argument was added to the constructor
ff37095
to
5032b3c
Compare
Changelog: Feature: Finish
SSH Runner
by removing several bugsDocs: TODO
Changes:
jinja2
templates intact to allow remote runner to render them locallybuild
recipes. Solved by always exporting all the packages and forcing a local cache refresh&
and*
during ssh remote invoquesdevelop
branch, documenting this one.