[RFC] calm: removal of files from release area

Achim Gratz Stromeko@nexgo.de
Sun Nov 5 07:26:00 GMT 2017


The removal of files from the release area is currently rather
complicated as you have to specify the exact filenames to remove and
need to remove all files belonging together, sometimes in multiple
directories, in a single update run.  An additional complication is when
one of the update directories becomes empty, as the directory cannot be
removed before it's empty and calm barfs on an empty directory it didn't
expect.

I suggest that calm gets extended to recognise files (possibly
zero-length so they can be created by touch) of the pattern

remove-${PVR}.hint

that should be placed into the top-level directory of the package in
question.  Calm should then proceed to vault all files belonging to that
version, possibly with no longer needed setup.hint files and then
removing any empty directories created during that process.  The hint
file itself must not get moved to the release area.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada



More information about the Cygwin-apps mailing list