greenkeeperio / greenkeeper

:robot: :palm_tree: Real-time automated dependency updates for npm and GitHub
https://greenkeeper.io/
Apache License 2.0
1.6k stars 95 forks source link

Is it possible to specify update strategy (e.g. x days since update)? #915

Open goldbergyoni opened 6 years ago

goldbergyoni commented 6 years ago

Hello and thanks for the great work.

We want to define our update policy, something simple like:

Package must be updated if there were more than Y patches since local version Package must be updated only if X days passed since the author updated the repo (to avoid updating too fast and catch early bugs) Is this possible?

janl commented 6 years ago

Hi @i0natan thanks for these suggestions. This is currently not possible, but I’ll put it on our queue for feature requests to analyse.

You can already avoid updating too fast by maintaining lockfiles, that way, you opt into versions you know are potentially a few days old. Greenkeeper makes it really easy to upgrade very specific versions of a dependency:

pinning_passing_and_failing_updates-1

See https://greenkeeper.io/docs.html for details :)