Skip to content

[Commands] Migrate: Group manifest update errors per target #8677

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 2 commits into
base: main
Choose a base branch
from

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 15, 2025

Motivation:

If migrate fails to insert one or more features into the manifest for a target, let's produce a single error that lists all of the features, this makes the logging less noisy.

Modifications:

  • Update SwiftPackageCommand to request manifest to all of the features related to a target and produce a single error if that fails.

Result:

If manifest has some non-standard ways of defining targets or settings that cannot be updated by AddSettting, migration logging is going to be more organized and less noisy.

If migrate fails to insert one or more features into the manifest
for a target, let's produce a single error that lists all of the
features, this makes the logging less noisy.
@xedin
Copy link
Contributor Author

xedin commented May 15, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 15, 2025

@swift-ci please test self hosted Linux

@xedin
Copy link
Contributor Author

xedin commented May 15, 2025

@swift-ci please test self hosted

@xedin
Copy link
Contributor Author

xedin commented May 15, 2025

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented May 16, 2025

@swift-ci please test Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 16, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented May 16, 2025

@swift-ci please test Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 16, 2025

@swift-ci please test self hosted Windows platform

6 similar comments
@xedin
Copy link
Contributor Author

xedin commented May 17, 2025

@swift-ci please test self hosted Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 17, 2025

@swift-ci please test self hosted Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 18, 2025

@swift-ci please test self hosted Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 19, 2025

@swift-ci please test self hosted Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 19, 2025

@swift-ci please test self hosted Windows platform

@xedin
Copy link
Contributor Author

xedin commented May 19, 2025

@swift-ci please test self hosted Windows platform

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.

3 participants