Closed kazurayam closed 2 years ago
will add List<JobTimestamp> com.kazurayam.materialstore.filesystem.Store#findDifferentiatingJobTimestamps(JobName)
This method will return a list of JobTimestamp which contains indexEntries with "category":"diff". The list will be sorted descending ordoer of timestamp string.
Provided with this method implemented, it is just easy to extend the StoreCleaner
to be able to preserve stuffs as specified.
aimed at ver 0.11.3
done at 0.11.4
At 0.11.2, com.kazurayam.materialstore.manage.StoreCleaner cleans up stuff in the store directory while preseving only 1 latest unit of artifacts (JobTimestamp directories and a report HTML file) per a JobName.
I want more of flexibility. I want the StoreCleaner to be able to preserve 2 or more units of artifacts. I want to specify the preservation range
Once implemented, I would use the StoreClear lightly --- less number of preserves --- for the local store directory; and I would use it heavily --- more number of preserves, say 10, --- for the remote/backup store directory.
Once implemented, the remote store directory will be well-maintained; will be suitable to share the reports by the team.