chickadee » tick » add-ticket-attachments

add-ticket-attachments thash attachments clobber?procedure

Add attachments to the ticket identified by thash (a string representing the SHA1 hash of the ticket). Attachments are a list of paths representing the attachment files that will be linked to the ticket. If clobber? is #t ticket attachments will be clobbered by the ones listed in attachments, in case files of the same name exist.

The ticket area for attachments is flat (i.e., no directories).

This procedure copies files to the ticket area for attachments and adds them to the database (i.e., git commit).