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

Update the message for client migration #17751

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conans/client/graph/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _should_migrate_file(file_path):

if _should_migrate_file(compatibility_file) and _should_migrate_file(cppstd_compat_file):
if os.path.exists(compatibility_file) and load(compatibility_file) != _default_compat:
ConanOutput().success("Migration: Successfully updated compatibility.py}")
ConanOutput().success("Migration: Successfully updated compatibility.py")
save(compatibility_file, _default_compat)
if os.path.exists(cppstd_compat_file):
os.remove(cppstd_compat_file)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_migration_profile_checker_plugin(plugin_path, string_replace, new_strin
# Trigger the migrations
t2.run("list")
assert "WARN: Running 2.0.14 Cache DB migration to add LRU column" in t2.out
assert f"Migration: Successfully updated" not in t2.out
assert "Migration: Successfully updated" not in t2.out
contents = load(profile_plugin_path2)
# Our Changes are kept!
assert "This file is from ACME corp, " in contents
Expand Down
Loading