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

Replace renovate with dependabot #33

Open
3 tasks done
StefMa opened this issue Mar 7, 2024 · 5 comments
Open
3 tasks done

Replace renovate with dependabot #33

StefMa opened this issue Mar 7, 2024 · 5 comments
Assignees

Comments

@StefMa
Copy link

StefMa commented Mar 7, 2024

Describe the feature

Instead of using renovate, the template should switch to dependabot.

Why?
Because it reduces the configuration of this template.
Users don't have to install anything.
As soon as a .github/dependabot.yml file is present, dependabot is configured and ready to go.

I'm not familar with renovate, however, you might lose the ability to update Gradle itself.
As far as I know renovate can handle Gradle updates while dependabot can't.
But this could also be solved by using e.g. the Wrapper-Gradle-Plugin.

Additional information

  • Would you be willing to help implement this feature?

Final checks

@hartmut-co-uk
Copy link
Contributor

Thanks. Since the project is already tailored for GitHub this might be a good move.
Would you be willing to simply create a repo from this template and make the change to this new repo first? This should allow us to make a direct comparison.

And yes, Renovate also updates the gradle (+wrapper) version.

@hartmut-co-uk hartmut-co-uk self-assigned this Mar 9, 2024
@StefMa
Copy link
Author

StefMa commented Mar 9, 2024

I just added the dependabot config file in the template.
See StefMa@94055c4

It seem that right now all dependencies are up-to-date except of the testcontainer.
See the respective PR: StefMa#1

@StefMa
Copy link
Author

StefMa commented Mar 11, 2024

I have just been thinking about this again and have come to the conclusion that this may not be an exclusive issue.

Using dependabot or renovate is probably a personal preference. One prefers to use one over the other.
There are even pros and cons to using one or the other. Renovate has this dashboard as well as the ability to upgrading gradle (wrapper). Dependabot, on the other hand, is deeply integrated into the github ecosystem and doesn't require any additional setup to run; and so on... ☺.

While you already have your "setup project template github action", we could think about extending this to "want to use dependabot, renovate, or nothing". Depending on the choice, we will create either a renovate or a dependabot config file.

What do you think?

@hartmut-co-uk
Copy link
Contributor

OK, overall, I think dependabot is a good choice and, as mentioned before, would be a good fit for the project.
I like the idea of supporting both options. I believe it could be a straightforward implementation, would you be willing to create a PR with the proposed changes? (If not, I'll take it up myself)

@StefMa
Copy link
Author

StefMa commented Jun 7, 2024

Right now I don't have the capacity to create a PR for this. Feel free to take over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants