Skip to content

[FEATURE] Store snapshots in $XDG_DATA_HOME by default #75

@Markus00000

Description

@Markus00000

Is your feature request related to a problem? Please describe.
By default, snapshots are stored in ~/.cache/webchanges/. I expect cache contents to speed up future computations and to be either a copy of data elsewhere or something that can be computed again. However, snapshots do not speed up future runs, the data might not be stored elsewhere any longer and cannot be computed again as web content changes. I see snapshots as user data and not as cached data.

For many jobs I have memorized the content. The next diff makes sense because it is a comparison to the previous snapshot that I have memorized. If I lose the previous snapshot, I have to re-read the content and compare it to my memory. This can be time consuming and difficult.

I exclude ~/.cache/ from most backups as I expect it is not user data. For example, moving to a new computer and not migrating ~/.cache/ would cause me to lose all snapshots.

Describe the solution you'd like.
Store the snapshot database in $XDG_DATA_HOME, which by default is ~/.local/share/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions