Commit Graph
31 Commits
Author SHA1 Message Date
tcely a487e64550 Raise an error for an unsupported value 2024-12-09 15:40:16 -05:00
tcely 2a63e3a360 Reset tubesync/sync/models.py (#16) 2024-12-09 15:26:12 -05:00
tcely 233d384e25 Removed unnecessary str 2024-12-09 14:56:41 -05:00
tcely a02fd5bde9 maxsplit and quoting 2024-12-09 14:21:55 -05:00
tcely 279a01f9bc directory mode on settings 2024-12-09 14:06:35 -05:00
tcely 8f9bb782a7 Adjusted awk check
It turned out `exit` doesn't work as I thought it did.
2024-11-25 17:00:31 -05:00
tcely 6c7c1c6510 The response headers weren't useful 2024-11-24 08:34:34 -05:00
tcely 073ae73add Merge branch 'meeb:main' into patch-3 2024-11-24 08:17:00 -05:00
tcely 29dfe4570d Used awk to check for correct ffmpeg output 2024-11-24 08:16:34 -05:00
tcely a921adedc0 Test the output for FFMPEG_VERSION exists
The shell used on the build system doesn't support `pipefail` so test for output instead.

It might be incorrect output, but in combination with running the `ffmpeg` binary earlier, this should be enough.
2024-11-24 07:13:19 -05:00
tcely f4a88cf7fa Used the long form for all curl options. 2024-11-24 06:34:28 -05:00
tcely 163fcbeb2a Overwrite the specified file when it already exists 2024-11-24 06:10:30 -05:00
tcely 6b807a8654 Log the server response headers 2024-11-24 05:47:40 -05:00
tcely 3c5641b542 Ignore a curl config file that may exist 2024-11-24 05:44:22 -05:00
tcely 599728d38c Had file inspect the binary from the /init script instead. 2024-11-24 05:33:53 -05:00
tcely 10678afca2 Log what file determined about the extracted files 2024-11-24 00:33:45 -05:00
tcely d4834e427f Failed ffmpeg is now noisier
This should be enough to fail the build when the binary doesn't work.
2024-11-24 00:27:33 -05:00
tcely 908b55c191 Show which directories were created 2024-11-24 00:21:57 -05:00
tcely 401c687725 Adjusted HOME only for pipenv
Nothing later should have been affected, but this is the cleaner way.
2024-11-24 00:18:51 -05:00
tcely a60f68faf3 Used printf consistently
Specifically turn off flags to printf where none are intended.
There are fewer things to keep in mind this way.
2024-11-24 00:15:28 -05:00
tcely 583ebffc58 Spelled firewall correctly
Anyone using this to turn off the healthcheck firewall needs to update the variable that they are using.

Maybe announce this in the UI if the setting is not true?
2024-11-23 08:11:23 -05:00
tcely 304c36d648 Remove value from TARGETARCH
This should be set by the build system. I had stuck that value in while testing from the command line.
2024-11-22 12:55:21 -05:00
tcely 83f2831439 More fixes from testing for download_expected_file
- Used download_expected_file for ffmpeg also
- Updated to a ffmpeg version that could be downloaded
- Optimized tar extraction for ffmpeg
- Preserved the original `/root` using a copy in `/tmp` instead
- DRY'd the file name and expected / URL values
2024-11-22 10:43:00 -05:00
tcely 8885571c5a Fixes from testing for download_expected_file 2024-11-22 06:39:35 -05:00
tcely e654eca107 Used download_expected_file for s6 2024-11-22 05:48:08 -05:00
tcely 17b03e2c69 Moved s6 hashes into build args 2024-11-22 04:24:21 -05:00
tcely 23cf332d02 Record version values in the container
I'm tempted to use a .environment file to set the build argument values so that there is less to change for new versions.

Perhaps later 

Also, I am unsure why we don't just use `ARCH="${TARGET ARCH}"` since we are only using `ARCH` in things we control, as far as I can tell.
2024-11-22 03:31:54 -05:00
tcely 726d128db9 Added YOUTUBE_DL_TEMPDIR 2024-11-19 17:34:58 -05:00
tcely 314f3d874a Enable the yt-dlp tempdir by default 2024-11-19 17:32:07 -05:00
tcely 41e24b82b8 Made DEBUG work for youtube-dl also 2024-11-19 17:29:55 -05:00
tcely 20d631ca78 Use YOUTUBE_DL_TEMPDIR setting
Fixes #218
2024-11-19 17:06:46 -05:00