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

Let a user resolve shadow a tool lockfile of the same name #18481

Merged
merged 2 commits into from Mar 14, 2023

Conversation

benjyw
Copy link
Sponsor Contributor

@benjyw benjyw commented Mar 12, 2023

This is necessary for the transition to named resolves - as the tool name will be an obvious choice for many people for the user resolve.

Also, change the name of the synthetic target used for the lockfile. Currently it's squatting on the resolve name, meaning you can't name your python_requirements target for your tool by that name. Now we use a less obtrusive name, that is unlkely to collide with a user-selected one.

…ame.

This is necessary for the transition to named resolves - as the tool name
will be an obvious choice for many people for the user resolve.

Also, change the name of the synthetic target used for the lockfile.
Currently it's squatting on the resolve name, meaning you can't name your
python_requirements target for your tool by that name. Now we use
a less obtrusive name, that is unlkely to collide with a user-selected one.
@benjyw
Copy link
Sponsor Contributor Author

benjyw commented Mar 14, 2023

ping

@benjyw benjyw merged commit e82f330 into pantsbuild:main Mar 14, 2023
17 checks passed
@benjyw benjyw deleted the allow_resolve_shadowing branch March 14, 2023 05:34
benjyw added a commit to benjyw/pants that referenced this pull request Mar 14, 2023
…d#18481)

This is necessary for the transition to named resolves - as the tool
name will be an obvious choice for many people for the user resolve.

Also, change the name of the synthetic target used for the lockfile.
Currently it's squatting on the resolve name, meaning you can't name
your python_requirements target for your tool by that name. Now we use a
less obtrusive name, that is unlkely to collide with a user-selected
one.
benjyw added a commit that referenced this pull request Mar 14, 2023
…ck of #18481) (#18493)

This is necessary for the transition to named resolves - as the tool
name will be an obvious choice for many people for the user resolve.

Also, change the name of the synthetic target used for the lockfile.
Currently it's squatting on the resolve name, meaning you can't name
your python_requirements target for your tool by that name. Now we use a
less obtrusive name, that is unlkely to collide with a user-selected
one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants