Skip to content

Draft: feat(git): allow to only pull commits older than some number of days#2135

Open
AckslD wants to merge 1 commit intofolke:mainfrom
AckslD:older_than
Open

Draft: feat(git): allow to only pull commits older than some number of days#2135
AckslD wants to merge 1 commit intofolke:mainfrom
AckslD:older_than

Conversation

@AckslD
Copy link
Copy Markdown
Contributor

@AckslD AckslD commented Mar 2, 2026

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_than upon checkout/update.

@github-actions github-actions bot added the size/m Medium PR (<50 lines changed) label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m Medium PR (<50 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant