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

Add option to enable manifest update closes #97 #106

Merged
merged 6 commits into from
Oct 3, 2023

Conversation

giginet
Copy link
Owner

@giginet giginet commented Sep 29, 2023

closes #97

Introduce new option --only-use-versions-from-resolved-file.

Enabling this option, SwiftPM never updated Package.resolved automatically.
If Package. resolved and the existing workspace is mismatched, resolving will fail.

Since this PR, the default behavior is changed. The default value becomes false.
Because it's inconvenient to enable this for common use cases.

@giginet giginet requested a review from freddi-kit September 29, 2023 09:11
/// Make DescriptionPackage from a passed package directory
/// - Parameter packageDirectory: A path for the Swift package to build
/// - Parameter mode: A Scipio running mode
/// - Parameter onlyUseVersionsFromResolvedFile: A boolean value indicates disabling force updating of Package.resolved.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain what only means?

@giginet giginet merged commit 1d89d20 into main Oct 3, 2023
2 checks passed
@giginet giginet deleted the add-option-to-enable-manifest-update branch October 3, 2023 06:23
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.

Add option to enable update manifest
2 participants