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

refactor: rename Salesforce to sfdx #1829

Merged
merged 6 commits into from
Mar 14, 2023

Conversation

scolladon
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #1814 🦕

@scolladon scolladon requested a review from a team as a code owner January 26, 2023 08:26
@scolladon scolladon requested a review from a team January 26, 2023 08:26
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Jan 26, 2023
@scolladon
Copy link
Contributor Author

Hi @chingor13 !

I don't know why the tests are failing.
It does not seems to be related to my PR.

Should I do something on my end ?

@scolladon scolladon requested a review from a team as a code owner February 12, 2023 17:55
Copy link
Contributor

@chingor13 chingor13 left a comment

Choose a reason for hiding this comment

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

We can't really take this now, because it'd be a breaking change for users. It'd be possible to rename the class while keeping an alias for users' configuration that could specify salesforce or sfdx as the release-type.

@scolladon scolladon force-pushed the refactor/salesforce-to-sfdx branch from 50201e6 to 3771b4a Compare March 7, 2023 17:40
@scolladon
Copy link
Contributor Author

scolladon commented Mar 7, 2023

We can't really take this now, because it'd be a breaking change for users. It'd be possible to rename the class while keeping an alias for users' configuration that could specify salesforce or sfdx as the release-type.

I have added back the salesforce release-type mapper @chingor13
But I have not added it back in the documentation
This way, previous user of the salesforce release type will be able to keep using it without breaking changes
And new comers will be able to use sfdx instead

@scolladon scolladon requested a review from chingor13 March 7, 2023 17:43
Copy link
Contributor

@chingor13 chingor13 left a comment

Choose a reason for hiding this comment

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

Thanks, almost there.

Also, is there an issue driving the need for this rename?

@@ -42,7 +42,7 @@ Options:
[choices: "dart", "dotnet-yoshi", "elixir", "expo", "go", "go-yoshi", "helm",
"java", "java-backport", "java-bom", "java-lts", "java-yoshi",
"java-yoshi-mono-repo", "krm-blueprint", "maven", "node", "ocaml", "php",
"php-yoshi", "python", "ruby", "ruby-yoshi", "rust", "salesforce", "simple",
"php-yoshi", "python", "ruby", "ruby-yoshi", "rust", "sfdx", "simple",
Copy link
Contributor

Choose a reason for hiding this comment

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

Please leave both salesforce and sfdx as options for the CLI in case those are being used

@@ -241,7 +241,7 @@ Options:
[choices: "dart", "dotnet-yoshi", "elixir", "expo", "go", "go-yoshi", "helm",
"java", "java-backport", "java-bom", "java-lts", "java-yoshi",
"java-yoshi-mono-repo", "krm-blueprint", "maven", "node", "ocaml", "php",
"php-yoshi", "python", "ruby", "ruby-yoshi", "rust", "salesforce", "simple",
"php-yoshi", "python", "ruby", "ruby-yoshi", "rust", "sfdx", "simple",
Copy link
Contributor

Choose a reason for hiding this comment

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

Please leave both salesforce and sfdx as options for the CLI in case those are being used

@scolladon
Copy link
Contributor Author

Thanks, almost there.

Also, is there an issue driving the need for this rename?

I have not created a new issue, I reused the first one

@chingor13 chingor13 merged commit 122820d into googleapis:main Mar 14, 2023
@dschach
Copy link

dschach commented Mar 16, 2023

This is a good PR. Thank you, @scolladon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Salesforce sfdx-project.json version updater
3 participants