Mark jobs as "auto-deletable" #99403

Open
opened 2022-07-04 15:02:04 +02:00 by Sybren A. Stüvel · 2 comments

It should be possible to mark jobs as "auto-deletable", such that they are cleaned up (i.e. deleted as per #99401 (Support deleting jobs, with Shaman checkout dir)) once no longer necessary.

This could be implemented as a field AutoDeleteAt *time.Time (that thus can be nil to never auto-delete). Flamenco Manager would then automatically delete the job at that time.

This timestamp should be settable from the add-on, when submitting the job. A reasonable default for this is yet to be determined ;-)

This AutoDeleteAt field should also be updatable from the web interface. This could be of the form of a few buttons, like:

  • "delay deletion by 1 week" (if the field is not nil)
  • "keep indefinitely" (to set the field to nil).
  • "auto-delete after 1 week" (if the field is nil)
It should be possible to mark jobs as "auto-deletable", such that they are cleaned up (i.e. deleted as per #99401 (Support deleting jobs, with Shaman checkout dir)) once no longer necessary. This could be implemented as a field `AutoDeleteAt *time.Time` (that thus can be `nil` to never auto-delete). Flamenco Manager would then automatically delete the job at that time. This timestamp should be settable from the add-on, when submitting the job. A reasonable default for this is yet to be determined ;-) This `AutoDeleteAt` field should also be updatable from the web interface. This could be of the form of a few buttons, like: - "delay deletion by 1 week" (if the field is not `nil`) - "keep indefinitely" (to set the field to `nil`). - "auto-delete after 1 week" (if the field is `nil`)
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Sybren A. Stüvel added
Type
Design
and removed
Type
Report
labels 2023-02-17 11:17:22 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#99403
No description provided.