Skip to content

feat: add Salesforce strategy#1815

Merged
chingor13 merged 7 commits intogoogleapis:mainfrom
scolladon:feat/salesforce-strategy
Jan 24, 2023
Merged

feat: add Salesforce strategy#1815
chingor13 merged 7 commits intogoogleapis:mainfrom
scolladon:feat/salesforce-strategy

Conversation

@scolladon
Copy link
Copy Markdown
Contributor

@scolladon scolladon commented Jan 20, 2023

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 review from a team January 20, 2023 21:54
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Jan 20, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-label product-auto-label Bot added the size: l Pull request size is large. label Jan 20, 2023
@scolladon scolladon force-pushed the feat/salesforce-strategy branch 3 times, most recently from 4fa8035 to 4a24c6d Compare January 20, 2023 21:59
@scolladon scolladon force-pushed the feat/salesforce-strategy branch from 6c50b41 to 61f4fb8 Compare January 21, 2023 11:43
Copy link
Copy Markdown
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 for this! Looks pretty good but is missing a checked in snapshot for the salesforce sfdx-project json updater

@@ -0,0 +1,40 @@
// Copyright 2023 Google LLC
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: can you rename this to be sfdx-project.ts?

It will make the snapshot file named sfdx-project.js and won't collide with a potential snapshot file if we add one for the SalesforceStrategy in the future.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, thanks for the review !

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @chingor13

Does the change I have done is ok for you ?

What are the next steps and how can I help ?

@chingor13
Copy link
Copy Markdown
Contributor

note: the test failures seem to be from weird new Octokit versions and are not related to this PR.

@scolladon scolladon force-pushed the feat/salesforce-strategy branch from f0591af to b5413a2 Compare January 24, 2023 19:28
@chingor13 chingor13 merged commit 25b518f into googleapis:main Jan 24, 2023
@dschach
Copy link
Copy Markdown

dschach commented Feb 17, 2023

@scolladon This does not work for repos with multiple package directories where each needs its own version number. #1856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Salesforce sfdx-project.json version updater

3 participants