Commit Graph

971 Commits

Author SHA1 Message Date
13bc98d7ef Further enhancments to load-branch. Better output and branch choices. 2025-10-15 06:06:05 -07:00
d916637798 Complete the conditional branches. 2025-10-15 05:53:48 -07:00
71d236d0ba Add aliases to roll branches back to main, AKA the last official pull request. 2025-10-15 05:48:18 -07:00
d81c424878 Allow using load-prod and load-stage with any branch, and default to dev if nothing is provided. 2025-10-15 05:47:01 -07:00
73e527640f Add heads back onto the ls-remote command. 2025-10-15 05:41:12 -07:00
aa3075a9fc Do not do switch back to sender if did not switch to receiver. 2025-10-15 05:33:17 -07:00
89cdf8157f Add other missing then. 2025-10-15 05:19:57 -07:00
4e0ff86295 Add missing then. 2025-10-15 05:19:21 -07:00
305b8df6ff Ensure user is on dev branch if it exists. 2025-10-15 05:09:56 -07:00
6a78933875 Add helper for reorienting a git branch. 2025-10-15 04:52:15 -07:00
7095636915 Remove trailing s. 2025-10-14 15:03:43 -07:00
80bba3b21b Merge pull request 'Fixes & Enhancements' (#6) from dev into main
Reviewed-on: #6
2025-10-14 15:01:20 -07:00
d98bbb02a9 Quote the backup contents with an * so that backups get ignored properly. 2025-10-14 12:21:38 -07:00
00c87328ab Don't back up backup files. 2025-10-14 11:16:52 -07:00
b4cdea984e Add sleep to ansible-pull commands. Change weekly force to daily. Use explicit command rather than rarely used file. 2025-10-14 11:09:24 -07:00
4651726268 Do a full truncate of backup directory so that partial zips with weird hash names and no file extension get deleted as well. 2025-10-14 08:36:53 -07:00
3410cf4426 Ensure backup's TRASH folder gets created and used properly. 2025-10-14 08:35:21 -07:00
d5393f60f3 Add cleanup for backups. 2025-10-14 08:34:33 -07:00
5f882df33f Add ability to use aliases with sudo. 2025-10-14 08:22:16 -07:00
0dfbd0bd68 Add ls alias for only showing size, not all the file data. 2025-10-14 08:18:20 -07:00
0d5b095ad6 Remove directory from basename variable. 2025-10-14 08:14:47 -07:00
07e32decf8 Fixes and enhancements for system backups. 2025-10-14 08:12:19 -07:00
afc3b20785 Reference script version of backup with function and add aliases. 2025-10-14 07:44:52 -07:00
ed160da316 Move backup function into script so that cron can access it. 2025-10-14 07:44:26 -07:00
2f08b1414e Use more standardized backup directory, outside of RAM. 2025-10-14 07:07:28 -07:00
c279884da2 Fix extra '. Really need to permanently turn off autocompletion type stuff, it keeps coming back on. 2025-10-09 13:30:06 -07:00
df8b330893 Add and use functions for simpler and more readable logging. 2025-10-09 12:38:56 -07:00
08a7a22dde Add to TBD. 2025-10-09 12:27:46 -07:00
57243f65e3 Do not use OR, .list file was not getting changed. 2025-10-09 11:12:29 -07:00
35469851b3 Fix find command to use OR when checking for multiple extensions. Fix sources extension to be plural. 2025-10-09 11:08:08 -07:00
2cf4a348c3 Fix backup function not removing old files. 2025-10-09 10:41:40 -07:00
4a33adf073 Add TBD for timezones. 2025-10-09 10:41:27 -07:00
fb00d3e6bc Separate file sections with periods. 2025-10-09 07:49:24 -07:00
267a260e90 Use hyphen not underscore for timestamp. 2025-10-09 07:48:52 -07:00
03b9f7e1b2 Add function for just the date. 2025-10-09 07:48:27 -07:00
57dc62a74a Change filename to match new Docker format. 2025-10-09 07:47:09 -07:00
f7c321bf23 Sort the cleanup by filesize. 2025-10-09 06:59:41 -07:00
130b243be3 Add method to clean up hidden trashed files, usually from Android. 2025-10-09 06:54:36 -07:00
400ef8400c Change what clean does to be much safer. 2025-10-06 18:35:20 -07:00
d35d9ccdd2 Add cleaning of generated PDF files. 2025-10-06 18:21:24 -07:00
a730919b43 Purge existing PDFs first so that old names get removed. 2025-10-04 14:10:31 -07:00
4e9e714504 Add comment! 2025-10-04 06:56:22 -07:00
c0ba27e782 Add command to regenerate all ebooks. 2025-10-04 06:55:42 -07:00
6d2a822323 Add System to local system backup file. 2025-10-04 06:33:37 -07:00
a8e6e0b6c6 Ensure that debian.source files also get modified by debian-upgrade. 2025-10-04 06:32:37 -07:00
93b919f48b Remove bool filter where it does not always makes sense. Should fix swap files from not getting created. 2025-10-03 18:53:20 -07:00
215e7dee69 Add more eBooks to the reseed list. 2025-09-30 14:04:34 -07:00
70ac7bff94 Merge pull request 'General Improvements & Fixes' (#5) from dev into main
Reviewed-on: #5
2025-09-19 13:31:52 -07:00
54589ca033 Add verbosity to ansible-pull command. 2025-09-16 12:28:32 -07:00
2dd0303176 Change URL for HTTP to include the S so that ansible-pull can correctly detect the changes to the repo. 2025-09-16 12:23:38 -07:00