Conversation
|
I requested to enable Renovate on this repository: https://issues.apache.org/jira/browse/INFRA-27255 Per the GitHub Actions Policy, Dependabot is a requirement when running GitHub Actions. However, per ChatGPT Dependabot doesn't meet our needs (for example, it doesn't support any way to update dependencies per Mend Renovate is a more configurable alternative. However, it does take a bit of effort to get the configuration into shape. It can be configured a number of ways, but this is called Forking Renovate, which has a handy configuration dashboard here: https://developer.mend.io/github/apache/lucenenet ConfigurationI found that installing the local Node app (which can be installed via NPM) is a good way to rapidly try different configuration options. npm install -g renovate@41.113.2Note The tool is upgraded frequently and configuration options have changed pretty rapidly over time. So, it is important to use the same version that the bot uses. However, I tested this using a GitHub Action, so I have not yet explored how to figure out which version the bot is running. Using the latest and updating the local copy frequently is probably the safest bet. It can then be run with local scope and verbose logging to check whether the config options and packages are being detected. renovate --platform=local --repository-cache=reset > F:\renovate-log.txtIt doen't provide any info on what a PR it would generate would look like, though. AFAIK, that test has to be done on a real repository (although it could be a fork so we don't pollute this one with PR spam). Although ChatGPT is helpful, it often suggests outdated configuration options that may or may not still function. I found these blog posts very helpful when doing custom regex matching:
While we could configure it to detect the versions from We also have to consider that we don't want some of these packages to be upgraded (or at least not to the latest version) in certain cases and whether to group dependencies together in a single PR vs getting a PR for every one. I think for the time being, it probably makes sense to group all GitHub Actions tasks into a single PR, for example. The official configuration docs are here: https://docs.renovatebot.com/configuration-options/ I created a configuration for repo here: https://github.com/NightOwl888/lucenenet-codeanalysis-dev/blob/e9d5a3f24cb95f0a4dc3534c3e11337cd9497e9e/renovate.json, which can be used as a starting point for this one. However, do note that configuration is for a GitHub workflow, so there is no schedule set up. We definitely don't want to use the default configuation, as certain packages (for example the Let me know if interested in helping out on getting the initial configuration set up. |
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
.github/workflows/EditorConfig-Rules-Check.yml(github-actions).github/workflows/Lucene-Net-Documentation.yml(github-actions).github/workflows/Lucene-Net-Tests-AllProjects.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-Common.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml(github-actions).github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml(github-actions).github/workflows/Lucene-Net-Tests-Benchmark.yml(github-actions).github/workflows/Lucene-Net-Tests-Classification.yml(github-actions).github/workflows/Lucene-Net-Tests-Cli.yml(github-actions).github/workflows/Lucene-Net-Tests-CodeAnalysis.yml(github-actions).github/workflows/Lucene-Net-Tests-Codecs.yml(github-actions).github/workflows/Lucene-Net-Tests-Demo.yml(github-actions).github/workflows/Lucene-Net-Tests-Expressions.yml(github-actions).github/workflows/Lucene-Net-Tests-Facet.yml(github-actions).github/workflows/Lucene-Net-Tests-Grouping.yml(github-actions).github/workflows/Lucene-Net-Tests-Highlighter.yml(github-actions).github/workflows/Lucene-Net-Tests-ICU.yml(github-actions).github/workflows/Lucene-Net-Tests-Join.yml(github-actions).github/workflows/Lucene-Net-Tests-Memory.yml(github-actions).github/workflows/Lucene-Net-Tests-Misc.yml(github-actions).github/workflows/Lucene-Net-Tests-Queries.yml(github-actions).github/workflows/Lucene-Net-Tests-QueryParser.yml(github-actions).github/workflows/Lucene-Net-Tests-Replicator.yml(github-actions).github/workflows/Lucene-Net-Tests-Sandbox.yml(github-actions).github/workflows/Lucene-Net-Tests-Spatial.yml(github-actions).github/workflows/Lucene-Net-Tests-Suggest.yml(github-actions).github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml(github-actions).github/workflows/Lucene-Net-Tests-TestFramework-NUnitExtensions.yml(github-actions).github/workflows/Lucene-Net-Tests-TestFramework.yml(github-actions).github/workflows/Lucene-Net-Tests-_A-D.yml(github-actions).github/workflows/Lucene-Net-Tests-_E-I.yml(github-actions).github/workflows/Lucene-Net-Tests-_I-J.yml(github-actions).github/workflows/Lucene-Net-Tests-_J-S.yml(github-actions).github/workflows/Lucene-Net-Tests-_T-Z.yml(github-actions).github/workflows/Lucene-Net-Util-Packed-Python-Scripts.yml(github-actions).github/workflows/Lucene-Net-Website.yml(github-actions).github/workflows/sonar.yml(github-actions).build/TestReferences.Common.targets(nuget).config/dotnet-tools.json(nuget)Directory.Build.targets(nuget)global.json(nuget)src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj(nuget)src/Lucene.Net.Analysis.Kuromoji/Lucene.Net.Analysis.Kuromoji.csproj(nuget)src/Lucene.Net.Analysis.Morfologik/Lucene.Net.Analysis.Morfologik.csproj(nuget)src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj(nuget)src/Lucene.Net.Analysis.SmartCn/Lucene.Net.Analysis.SmartCn.csproj(nuget)src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj(nuget)src/Lucene.Net.Benchmark/Lucene.Net.Benchmark.csproj(nuget)src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj(nuget)src/Lucene.Net.Facet/Lucene.Net.Facet.csproj(nuget)src/Lucene.Net.Replicator/Lucene.Net.Replicator.csproj(nuget)src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj(nuget)src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj(nuget)src/Lucene.Net.Tests.Analysis.Kuromoji/Lucene.Net.Tests.Analysis.Kuromoji.csproj(nuget)src/Lucene.Net.Tests.Analysis.SmartCn/Lucene.Net.Tests.Analysis.SmartCn.csproj(nuget)src/Lucene.Net.Tests.Benchmark/Lucene.Net.Tests.Benchmark.csproj(nuget)src/Lucene.Net.Tests.QueryParser/Lucene.Net.Tests.QueryParser.csproj(nuget)src/Lucene.Net.Tests.Replicator/Lucene.Net.Tests.Replicator.csproj(nuget)src/Lucene.Net.Tests.Spatial/Lucene.Net.Tests.Spatial.csproj(nuget)src/Lucene.Net.Tests.TestFramework.DependencyInjection/Lucene.Net.Tests.TestFramework.DependencyInjection.csproj(nuget)src/Lucene.Net.Tests._A-D/Lucene.Net.Tests._A-D.csproj(nuget)src/Lucene.Net.Tests._J-S/Lucene.Net.Tests._J-S.csproj(nuget)src/Lucene.Net.Tests._T-Z/Lucene.Net.Tests._T-Z.csproj(nuget)src/Lucene.Net/Lucene.Net.csproj(nuget)src/docs/LuceneDocsPlugins/LuceneDocsPlugins.csproj(nuget)src/dotnet/Lucene.Net.CodeAnalysis.CSharp/Lucene.Net.CodeAnalysis.CSharp.csproj(nuget)src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene.Net.CodeAnalysis.VisualBasic.csproj(nuget)src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj(nuget)src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj(nuget)src/dotnet/Lucene.Net.TestFramework.TestData.NUnit/Lucene.Net.TestFramework.TestData.NUnit.csproj(nuget)src/dotnet/Lucene.Net.Tests.CodeAnalysis/Lucene.Net.Tests.CodeAnalysis.csproj(nuget)src/dotnet/Lucene.Net.Tests.ICU/Lucene.Net.Tests.ICU.csproj(nuget)src/dotnet/tools/lucene-cli/lucene-cli.csproj(nuget)Configuration Summary
Based on the default config's presets, Renovate will:
fixfor dependencies andchorefor all others if semantic commits are in use.node_modules,bower_components,vendorand various test/tests (except for nuget) directories.🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to
renovate.jsonin this branch. Renovate will update the Pull Request description the next time it runs.What to Expect
With your current configuration, Renovate will create 8 Pull Requests:
Update dependency Microsoft.Build.NoTargets to 3.7.134
renovate/microsoft.build.notargets-3.xmaster3.7.134Update peter-evans/create-pull-request action to v7.0.11
renovate/peter-evans-create-pull-request-7.xmasterv7.0.11Update dependency docfx to v2.78.5
renovate/docfx-2.xmaster2.78.5Update dependency Docfx.Common to 2.78.5
renovate/docfx.common-2.xmaster2.78.5Update dependency Docfx.Plugins to 2.78.5
renovate/docfx.plugins-2.xmaster2.78.5Update actions/upload-artifact action to v7
renovate/major-github-artifact-actionsmasterv7Update dependency System.Composition to v10
renovate/major-dotnet-monorepomaster10.0.5Update peter-evans/create-pull-request action to v8
renovate/peter-evans-create-pull-request-8.xmasterv8.1.0🚸 PR creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for
prHourlyLimitfor 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 was generated by Mend Renovate. View the repository job log.