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
Support "git maintenance" #11593
Comments
What "support" do you expect?
Should git-maintenance be unregister when closing the repo? This will not be safe to handle. |
I can imagine a toggle button for the repo, maybe in a menu or on a toolbar.
I would enable that option if it were available. However I don't know what downside there is if you have very many repos on your machine.
If by "closing" you mean unloading it in GE, then I don't think that fits the expected usage of the feature. Behind the scenes,
Also sounds good, though I think the defaults seem pretty sensible to me. I think most of the value would come from making it easy to turn this feature on. The benefit would be faster git operations without having to think about it. |
A dialog that supports https://git-scm.com/docs/git-maintenance#Documentation/git-maintenance.txt-run letting user pick the tasks. What if I don't want it to automatically run but still run when I chose. |
I work with about 100 application repos each with 2-10 submodules. Some are seldom opened, but I open about 50 repos (superprojects or submodules) in a week (that is how long recently used is kept). So there are many options on the action when opening a PR, like run once, enable schedule, just status. Just a status icon with a option to start/schedule is a good start. |
I do share the noted concerns about git uncontrollably scheduling background work when a user switching between repos (e.g., I do that a lot). Whilst running maintenance tasks could be beneficial, it is something, I think, the user should run consciously/purposefully.
👍 |
Feature description
git maintenance
is a new-ish feature of git that periodically runs various operations in the background to speed up day-to-day use of a git repo.It'd be great if GE allowed this feature to be enabed or disabled on a repo via the UI.
Potentially it'd make sense to have a feature that caused GE to enable it on all repos automatically.
There are probably other ideas here too. It's a new feature and something to explore. See #11592 for one such consideration.
Environment
The text was updated successfully, but these errors were encountered: