Re:Why I recommend Renovate over any other dependency update...
by keybored on Friday April 12, 2024 @01:44PM
(#40015573)
Patch files? Normal tools change files. If I `sed -i` in my project I just change the files in my project. Then I (separately) can add and commit them. Same for (for example) linting tools. This bot-PR workflow is outside of that normal.
Re:Why I recommend Renovate over any other dependency update...
by zer00eyz on Friday April 12, 2024 @02:12PM
(#40015935)
A PR is easy to automate, hook into, an preserves ownership of the commit.
Yes it bypasses YOUR workflow, but a PR works for everyone who uses GitHub.
If you want something else that works for everyone who uses GitHub it's an issue, or an email with a patch file. Why a patch file. DO you want to own the change the bot suggested? There are a lot of orgs where the ownership matters more than the linting.
You could just make the change yourself, sure, and then run it through your normal workflow... then your the author and commuter of the change...
Re:Why I recommend Renovate over any other dependency update...
by keybored on Saturday April 13, 2024 @03:50PM
(#40025523)
I stepped into the wrong workflow synagogue it seems.
Re:Why I recommend Renovate over any other dependency update...
by partdavid on Friday April 12, 2024 @01:53PM
(#40015695)
You mean on some individual person's laptop when that person remembers to run it?
Re:Why I recommend Renovate over any other dependency update...
by keybored on Friday April 12, 2024 @03:00PM
(#40016448)
Like most things.
Re:Why I recommend Renovate over any other dependency update...
by OJFord on Saturday April 13, 2024 @04:53AM
(#40021597)
But the whole point is not to have to do that. What you're asking for is basically just `npm upgrade` or `cargo upgrade` or whatever? The point of Renovate, Dependabot etc. is exactly the automated/scheduled running of those package manager updates.
Re:Why I recommend Renovate over any other dependency update...
by keybored on Saturday April 13, 2024 @03:49PM
(#40025511)
Sigh. The answer to why they are this way is that it’s the whole point that they are this way.
SO it opens an issue and gives you a patch file... Or emails it to you?
> Why does it seem to these tools have converged on the bot-makes-PR implementation?
Because git and the PR is the common choke point that every one knows and loves. A lot of dev's look down on "patches"... there are tons of people who happily use linux who think that all kernel devs are stupid cause of bugzila/patches and email could not possibly work.