Nix-Security-WG / nix-security-tracker

Web service for managing information on vulnerabilities in software distributed through Nixpkgs
33 stars 7 forks source link

feat: history log setup #101

Open alejandrosame opened 11 months ago

alejandrosame commented 11 months ago

The history log is implemented with the package 'django-pghistory', which uses pg triggers.

The summary of changes is as follows:

This constitutes the building blocks for all activity log we want to register.

alejandrosame commented 10 months ago

There are migration errors in main that prevent me from finishing a proper rebase. They should be fixed there first so I can rebase again.

alejandrosame commented 10 months ago

This PR is in a working state again.

After much fiddling with the default admin views of pghistory, I don't find them very usable. Taking this as starting point, I'll now create an Activity Log app to put there usable custom views of the different tables tracking the changes we want to summarise.