Open syntacticvexation opened 7 years ago
Hey there @syntacticvexation,
Interesting idea but I'm a bit concerned that the deletion ends up as a side-effect of uploading a new box. It also requires you to know what is the "oldest".
Is it the oldest file on disk (which could be incorrect if you're copying the files around)?
Is it the version? If its the version then is it the semantic version? What if you have a stable 3.0.0 release of boxes but you are building new 4.0.X versions continuously and uploading them? You could quite easily (and accidentally) delete your 3.X.X stable boxes by uploading new 4.X.X versions.
I think the safest way has to be for the client to get the list of boxes and the selectively delete the ones that are not wanted.
Thanks for the input!
Is it possible to include a config option to enable only the latest X number of box builds for a particular artifact type?