Draft: feat(git): allow to only pull commits older than some number of days#2135
Open
AckslD wants to merge 1 commit intofolke:mainfrom
Open
Draft: feat(git): allow to only pull commits older than some number of days#2135AckslD wants to merge 1 commit intofolke:mainfrom
AckslD wants to merge 1 commit intofolke:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a draft PR to discuss first if it make sense. There are some things to fix still such as figuring out how to show the correct info in the UI without waiting to long for git.
What this feature aims to achieve is to have an option (global or per plugin) which can specify to only use commits which are older than some number of days. My motivation for this is that I would like to use this on for example my work laptop and not be on the very latest commit of a large number of plugins which I'm not able to review in time. In this way there can be some buffer time between pulling in these changes into a more critical environment (work) where security is more important.
Let me know if this seems reasonable and if there general approach started here seems to make sense. Atm we only try to find the latest commit older than
older_thanuponcheckout/update.