Commit graph

25 commits

Author SHA1 Message Date
5987264890 [WIP] Add steps to build docker image before running process 2024-03-20 15:10:42 -07:00
4fa36f7bde Use black to format the file 2024-03-13 22:16:50 -07:00
b3be74ad3a Add Dockerfile
This sets up the docker container with the necessary dependencies to run the
tasks.
2024-03-07 11:56:34 -08:00
8919ef3dc3 Reorganize assets to match script 2024-03-07 09:56:51 -08:00
21b2e300a2 Add pre-receive hook that blocks binary files
The documentation[1] says that the ‘--numstat’ option for ‘git diff’ will
display ‘-’ for both added and deleted lines for binary files. This script uses
that to detect that binary files are being pushed and will reject them.

This is naive and simplistic. ‘git diff’ shows the same output when binary files
are deleted (or replaced with git-lfs placeholders), so this would prevent us
from fixing errors. But for now it helps us prevent accidental submissions of
binary files.

[1]: man 1 git-diff
2024-02-22 15:48:06 -08:00
bf97e83d24 Add a build script
This script does what was previously done by the git hook script. It takes the
commit before the push and the one after the push and lists the directories that
have been affected in those commits.

This script doesn't yet start an actual process for processing the directories,
it just prints what it thinks a command line might look like.
2023-12-16 23:52:35 -08:00
7f1c755c4e Reduce scope of the git hook script
The git hook script should only extract the necessary information the build
script needs to operate. Right now this is only the commit before the push and
after the push, and the refname is added for future use.

The name of the variables passed to the laminar build are modeled after those
found in the GitLab CI documentation, just for some familiarity.

The functionality of finding the relevant directories has been moved to the
build script.
2023-12-16 23:50:11 -08:00
ae458763ae Add song 2023-12-16 23:46:31 -08:00
eb9f6dc3b1 Add song 2023-12-16 23:46:20 -08:00
72dad84521 Add song 2023-12-16 23:37:06 -08:00
60576fdfe3 Add song 2023-12-16 23:32:18 -08:00
4eb97db9d2 Add song 2023-12-16 23:25:41 -08:00
efd2798f01 Add song 2023-12-16 23:22:45 -08:00
6324734318 Add song 2023-12-16 23:19:49 -08:00
07561cb73f Add song 2023-12-16 23:16:28 -08:00
714382db9f Add song 2023-12-15 14:28:12 -08:00
fff0b171aa Replace git hook with a python script 2023-12-15 12:31:38 -08:00
b02f37cfe4 Add new song 2023-12-15 12:13:00 -08:00
2903951000 Track file with LFS
I think I didn't have git-lfs installed on the machine where I submitted this
file, it seems to be trying to fix that now.
2023-12-15 11:15:54 -08:00
f9b62b2168 Add new song 2023-12-13 14:57:37 -08:00
8db9e084af Move song to more appropriate location 2023-12-13 14:54:31 -08:00
62e1bdf491 Add post-receive script to list modified files 2023-12-13 14:54:05 -08:00
05d545927a Add Guix manifest for development purposes 2023-11-14 16:33:00 -08:00
ba71d9ad30 Add tasks that Emacsen wrote for generating media info 2023-11-14 16:32:54 -08:00
4da84d4012 Add song (CC-BY) 2023-10-13 14:08:05 -07:00