HiveMinds / tw-install

Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Request backup folder size limit from user and determine backup distribution. #36

Open a-t-0 opened 3 years ago

a-t-0 commented 3 years ago
      <p>Ask the user if the user wants to set a file limit, and if yes, set a curve that determines what the time interval is to keep backups, (E.g. higher density near near future, than to past.)</p>

The non-linear distribution is because the difference between 5 years ago, and 5 years and 1 day ago is less important than the difference between today and yesterday for (most) humans. So you don't want to keep track of every small change long ago if your backup size is limited.

Hence to apply the distribution over a varying amount of time, delete backups as time goes along (such that you approximate the chosen distribution closer with every distribution).

TODO: Determine whether this distribution pursuit actually approaches the distribution.