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

Configure Renovate #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Configure Renovate #1

wants to merge 3 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 12, 2021

WhiteSource Renovate

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


Detected Package Files

  • Dockerfile (dockerfile)
  • .github/workflows/accurics.yaml (github-actions)
  • .github/workflows/gh-pages.yml (github-actions)
  • package.json (npm)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Start dependency updates only once this onboarding PR is merged
  • Enable Renovate Dependency Dashboard creation
  • If semantic commits detected, use semantic commit type fix for dependencies and chore for all others
  • Ignore node_modules, bower_components, vendor and various test/tests directories
  • Autodetect whether to pin dependencies or maintain ranges
  • Rate limit PR creation to a maximum of two per hour
  • Limit to maximum 10 open PRs at any time
  • Group known monorepo packages together
  • Use curated list of recommended non-monorepo package groupings
  • Fix some problems with very old Maven commons versions
  • Ignore spring cloud 1.x releases
  • Ignore http4s digest-based 1.x milestones
  • Use node versioning for @types/node
  • Limit concurrent requests to reduce load on Repology servers until we can fix this properly, see issue 10133

🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


What to Expect

With your current configuration, Renovate will create 20 Pull Requests:

Pin dependencies
Update dependency axios to v0.21.2 [SECURITY]
  • Branch name: renovate/npm-axios-vulnerability
  • Merge into: master
  • Upgrade axios to 0.21.2
Update dependency amis-editor to v3.3.11
  • Schedule: ["at any time"]
  • Branch name: renovate/amis-editor-3.x
  • Merge into: master
  • Upgrade amis-editor to 3.3.11
Update Node.js to v14.18.2
  • Schedule: ["at any time"]
  • Branch name: renovate/node-14.x
  • Merge into: master
  • Upgrade node to 14.18.2-alpine3.12
Update dependency amis to v1.5.3
  • Schedule: ["at any time"]
  • Branch name: renovate/amis-1.x
  • Merge into: master
  • Upgrade amis to 1.5.3
Update dependency qs to v6.10.2
  • Schedule: ["at any time"]
  • Branch name: renovate/qs-6.x
  • Merge into: master
  • Upgrade qs to 6.10.2
Update react-router monorepo
  • Schedule: ["at any time"]
  • Branch name: renovate/react-router-monorepo
  • Merge into: master
  • Upgrade react-router to 5.2.1
  • Upgrade react-router-dom to 5.3.0
Update JamesIves/github-pages-deploy-action action to v4
Update Node.js to v17
  • Schedule: ["at any time"]
  • Branch name: renovate/node-17.x
  • Merge into: master
  • Upgrade node to 17.2.0-alpine3.12
Update actions/setup-node action to v2
  • Schedule: ["at any time"]
  • Branch name: renovate/actions-setup-node-2.x
  • Merge into: master
  • Upgrade actions/setup-node to v2
Update dependency @​types/node to v16
  • Schedule: ["at any time"]
  • Branch name: renovate/node-16.x
  • Merge into: master
  • Upgrade @types/node to 16.11.12
Update dependency @​types/react to v17
  • Schedule: ["at any time"]
  • Branch name: renovate/react-17.x
  • Merge into: master
  • Upgrade @types/react to 17.0.37
Update dependency @​types/react-dom to v17
  • Schedule: ["at any time"]
  • Branch name: renovate/react-dom-17.x
  • Merge into: master
  • Upgrade @types/react-dom to 17.0.11
Update dependency @​types/react-router-dom to v5
  • Schedule: ["at any time"]
  • Branch name: renovate/react-router-dom-5.x
  • Merge into: master
  • Upgrade @types/react-router-dom to 5.3.2
Update dependency bootstrap to v5
  • Schedule: ["at any time"]
  • Branch name: renovate/bootstrap-5.x
  • Merge into: master
  • Upgrade bootstrap to 5.1.3
Update dependency mobx to v6
  • Schedule: ["at any time"]
  • Branch name: renovate/mobx-6.x
  • Merge into: master
  • Upgrade mobx to ^6.0.0
Update dependency mobx-react to v7
  • Schedule: ["at any time"]
  • Branch name: renovate/mobx-react-7.x
  • Merge into: master
  • Upgrade mobx-react to ^7.0.0
Update dependency mobx-state-tree to v5
  • Schedule: ["at any time"]
  • Branch name: renovate/mobx-state-tree-5.x
  • Merge into: master
  • Upgrade mobx-state-tree to ^5.0.0
Update react monorepo to v17 (major)
  • Schedule: ["at any time"]
  • Branch name: renovate/major-react-monorepo
  • Merge into: master
  • Upgrade react to ^17.0.0
  • Upgrade react-dom to ^17.0.0
Update react-router monorepo to v6 (major)
  • Schedule: ["at any time"]
  • Branch name: renovate/major-react-router-monorepo
  • Merge into: master
  • Upgrade react-router to 6.1.1
  • Upgrade react-router-dom to 6.1.1

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.


This PR has been generated by WhiteSource Renovate. View repository job log here.

@pull-request-quantifier-deprecated

This PR has 3 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

Label      : Extra Small
Size       : +3 -0
Percentile : 1.2%

Total files changed: 1

Change summary by file extension:
.json : +3 -0

Change counts above are quantified counts, based on the PullRequestQuantifier customizations.

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a
balance between between PR complexity and PR review overhead. PRs within the
optimal size (typical small, or medium sized PRs) mean:

  • Fast and predictable releases to production:
    • Optimal size changes are more likely to be reviewed faster with fewer
      iterations.
    • Similarity in low PR complexity drives similar review times.
  • Review quality is likely higher as complexity is lower:
    • Bugs are more likely to be detected.
    • Code inconsistencies are more likely to be detetcted.
  • Knowledge sharing is improved within the participants:
    • Small portions can be assimilated better.
  • Better engineering practices are exercised:
    • Solving big problems by dividing them in well contained, smaller problems.
    • Exercising separation of concerns within the code changes.

What can I do to optimize my changes

  • Use the PullRequestQuantifier to quantify your PR accurately
    • Create a context profile for your repo using the context generator
    • Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the Excluded section from your prquantifier.yaml context profile.
    • Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your prquantifier.yaml context profile.
    • Only use the labels that matter to you, see context specification to customize your prquantifier.yaml context profile.
  • Change your engineering behaviors
    • For PRs that fall outside of the desired spectrum, review the details and check if:
      • Your PR could be split in smaller, self-contained PRs instead
      • Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).

How to interpret the change counts in git diff output

  • One line was added: +1 -0
  • One line was deleted: +0 -1
  • One line was modified: +1 -1 (git diff doesn't know about modified, it will
    interpret that line like one addition plus one deletion)
  • Change percentiles: Change characteristics (addition, deletion, modification)
    of this PR in relation to all other PRs within the repository.


Was this comment helpful? 👍  :ok_hand:  :thumbsdown: (Email)
Customize PullRequestQuantifier for this repository.

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.

2 participants