KubeNow icon indicating copy to clipboard operation
KubeNow copied to clipboard

Evaluate a strategy to delete old dev branches

Open mcapuccini opened this issue 6 years ago • 5 comments

We need for an automation delete old dev branches, and old dev Docker images.

@carmat88 @andersla ideas 🙂 ?

mcapuccini avatar Apr 12 '18 13:04 mcapuccini

Howdy! I reckon that first step would be to agree upon what would be considered as "old". How would you define and old branch for example?

carmat88 avatar Apr 12 '18 13:04 carmat88

One way would be via inactivity. Let's say if something wasn't touched in 4 months we just delete it.

mcapuccini avatar Apr 12 '18 13:04 mcapuccini

Then branches can always be restored via GitHub, for a certain period of time.

mcapuccini avatar Apr 12 '18 13:04 mcapuccini

I usually delete my old branches every once in a while. It is easy since you can see only your branches. If you think more branches should be deleted, then I guess I still have them locally. I use git as a place to store Ideas that I test and might not be used until much later when I tackle the problem again.

andersla avatar Apr 12 '18 20:04 andersla

Oh, I see. So in many cases old branches could still be useful.

mcapuccini avatar Apr 13 '18 07:04 mcapuccini