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

fix: manifest config bootstrapper should include schema field #1670

Merged
merged 3 commits into from
Sep 30, 2022

Conversation

chingor13
Copy link
Contributor

@chingor13 chingor13 commented Sep 30, 2022

Add the $schema field to the bootstrapped manifest config file. This helps IDEs automatically lint the config schema as it's being edited.
Fixes the --dry-run argument for the bootstrap command to output what it would propose as a change

Fixes #1625
Fixes #1617

fix(cli): bootstrap command respects --dry-run argument

@chingor13 chingor13 requested a review from a team as a code owner September 30, 2022 05:19
@chingor13 chingor13 requested a review from a team September 30, 2022 05:19
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Sep 30, 2022
@chingor13 chingor13 changed the title fix: config bootstrapper should include schema field fix: manifest config bootstrapper should include schema field Sep 30, 2022
updates,
{}
);
number: -1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems strange?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This field is marked as required but is actually only populated if it's an existing PR. We can't really remove it without a breaking interface change. It's on the list to clean up in the next SemVer major release.

@chingor13 chingor13 enabled auto-merge (squash) September 30, 2022 21:08
@chingor13 chingor13 merged commit 67fcb19 into main Sep 30, 2022
@chingor13 chingor13 deleted the fix-bootstrapper branch September 30, 2022 21:14
soulfresh added a commit to soulfresh/release-please that referenced this pull request Oct 11, 2022
* commit 'bc995058083b961b314547171495d58e6d5d6f8e': (26 commits)
  chore(main): release 14.11.2 (googleapis#1693)
  fix: add initial-version to allowed properties in manifest schema (googleapis#1691)
  chore(main): release 14.11.1 (googleapis#1688)
  fix: explicitly sort PRs by updated desc (googleapis#1685)
  chore(main): release 14.11.0 (googleapis#1683)
  feat(maven-workspace): update all discovered pom.xml within the components (googleapis#1667)
  chore(main): release 14.10.2 (googleapis#1682)
  fix(maven-workspace): preserve original pom.xml updater when bumping dependencies (googleapis#1680)
  chore(deps): update dependency sinon to v14.0.1 (googleapis#1681)
  chore(main): release 14.10.1 (googleapis#1679)
  fix: put config schema on correct file (googleapis#1678)
  docs: fix grammar and base strategy design href (googleapis#1674)
  chore(main): release 14.10.0 (googleapis#1673)
  feat(cli): add debug command for loading a manifest config (googleapis#1671)
  fix: manifest config bootstrapper should include schema field (googleapis#1670)
  feat: add ability to set extra labels on components (googleapis#1669)
  chore(main): release 14.9.0 (googleapis#1668)
  feat: add initial version to base strategy (googleapis#1665)
  chore(main): release 14.8.0 (googleapis#1663)
  feat: add `group-priority` plugin (googleapis#1660)
  ...
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
2 participants