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

[rush] Relocate subspace parameter parsing to SelectionParameterSet #4689

Closed

Conversation

william2958
Copy link
Contributor

@william2958 william2958 commented May 9, 2024

Summary

This MR addresses an issue where currently when the "--subspace" parameter is passed to the install or update action, i.e. rush install --subspace my_subspace, all projects in the entire monorepo will be selected to be installed.

Details

This issue was resolved by moving the "--subspace" cli parameter processing from BaseInstallAction to the SelectionParameterSet, so that the install and update actions are able to receive the correct projects for the filter parameters.

How it was tested

Impacted documentation

@william2958 william2958 marked this pull request as ready for review May 10, 2024 17:42
@iclanton iclanton changed the title Relocate subspace parameter parsing to SelectionParameterSet [rush] Relocate subspace parameter parsing to SelectionParameterSet May 13, 2024
@william2958 william2958 requested a review from iclanton May 13, 2024 19:09
[--from-version-policy VERSION_POLICY_NAME] [-v] [-c]
[--ignore-hooks] [-s] [-m]
[--from-version-policy VERSION_POLICY_NAME]
[--subspace SUBSPACE_NAME] [-v] [-c] [--ignore-hooks] [-s]
Copy link
Collaborator

@octogonz octogonz May 13, 2024

Choose a reason for hiding this comment

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

@william2958 Why does rush build specify a Rush subspace to be installed? That seems incorrect

@octogonz
Copy link
Collaborator

Let's close this PR. I think it is superseded by #4700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

None yet

3 participants