2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00
Commit graph

11 commits

Author SHA1 Message Date
Christopher Baines
47af6c9661 Attempt to speed up derivation deletion
Stop querying for the file-name, as it's unused. Rather than fetching all ids,
then looking at each to see if it can be deleted, do some imperfect but not
too slow checks in the initial query.
2020-09-30 19:38:56 +01:00
Christopher Baines
02681d7e7a Fix delete builds for derivation output details set 2020-09-27 16:21:51 +01:00
Christopher Baines
5b13ee2251 Delete builds for unreferenced derivations 2020-09-27 11:11:02 +01:00
Christopher Baines
52a23a5333 Further data deletion improvements 2020-09-27 11:10:47 +01:00
Christopher Baines
65e8bf3f8d Add delete-revisions-from-branch-except-most-recent-n 2020-09-26 19:38:56 +01:00
Christopher Baines
992a0af63e Split off delete-revisions-from-branch from delete-data-for-branch
To support not deleting all of the revisions.
2020-09-26 18:23:21 +01:00
Christopher Baines
f11421824d Add a helper procedure to delete data for deleted branches 2020-05-23 21:05:44 +01:00
Christopher Baines
ca0d3ee754 Stop using package_versions_by_guix_revision_range
It's been replaced by the package_derivations_by_guix_revision_range table.
2020-03-24 20:44:57 +00:00
Christopher Baines
9178bd51a9 Add a function to delete unreferenced derivations 2020-02-16 22:29:25 +00:00
Christopher Baines
b087cfca67 Define the code to delete data from non-master branches properly 2020-02-16 10:59:38 +00:00
Christopher Baines
773e5a9c38 Add a module to handle deleting data
This, along with the way of specifying which branches are processed is a way
to manage the data stored within the Guix Data Service.

This only goes so far, it doesn't delete derivations, but it does delete some
of the information related to a revision.
2020-02-15 11:36:31 +00:00