Commit Graph

551 Commits

Author SHA1 Message Date
Michael Stanclift
be4a4de247
Merge pull request #28 from vmstan:development
1.7.4
2020-05-30 23:26:14 -05:00
Michael Stanclift
5e3b06e9cf Less bold 2020-05-30 23:22:37 -05:00
Michael Stanclift
50e0996f20 NC 2020-05-30 23:20:34 -05:00
Michael Stanclift
9778318e66 Make the entire info block yellow 2020-05-30 23:17:36 -05:00
Michael Stanclift
cd443f1306 Verbs 2020-05-30 23:14:29 -05:00
Michael Stanclift
3f4c0ee754 Yellow status 2020-05-30 23:09:21 -05:00
Michael Stanclift
b549f7d891 sudo 2020-05-30 23:02:21 -05:00
Michael Stanclift
7ea83a607b Fix restore of custom.list 2020-05-30 22:59:03 -05:00
Michael Stanclift
6015bb1972 Exit with change 2020-05-30 22:47:03 -05:00
Michael Stanclift
e16a3c4d84 No warning 2020-05-30 22:46:22 -05:00
Michael Stanclift
f8d6c0021b Remove beta function 2020-05-30 22:44:57 -05:00
Michael Stanclift
1e85db3bd0 Comment out might break 2020-05-30 22:44:30 -05:00
Michael Stanclift
00ee682b0b Quotes 2020-05-30 22:43:59 -05:00
Michael Stanclift
b29a53b238 Applying update 2020-05-30 22:42:57 -05:00
Michael Stanclift
ad72568e35 Validate Git completion 2020-05-30 22:42:37 -05:00
Michael Stanclift
5055366bc2 AND THEN 2020-05-30 22:37:36 -05:00
Michael Stanclift
df42d91c8b Check git status before update 2020-05-30 22:37:06 -05:00
Michael Stanclift
cfd49f7566 Clean up, clean up, everybody cleanup 2020-05-30 22:28:57 -05:00
Michael Stanclift
e1a7b9329c Tighten up verbage 2020-05-30 22:16:42 -05:00
Michael Stanclift
01ff343fba Bold! 2020-05-30 22:08:47 -05:00
Michael Stanclift
a9975d0630 Slightly less verbose 2020-05-30 22:06:31 -05:00
Michael Stanclift
b70aa3ad3d OK instead of GOOD 2020-05-30 21:58:25 -05:00
Michael Stanclift
4aaeda32f4 2>/dev/null 2020-05-30 21:35:23 -05:00
Michael Stanclift
7ac49933b4 distrocheck 2020-05-30 21:33:54 -05:00
Michael Stanclift
210cd53a1c Another try 2020-05-30 21:29:01 -05:00
Michael Stanclift
b8359ae505 apt install quieter 2020-05-30 21:23:02 -05:00
Michael Stanclift
385ef3812c Attempt to install ssh and rsync 2020-05-30 21:01:24 -05:00
Michael Stanclift
c63507c6c3 HOSTNAME 2020-05-30 20:52:01 -05:00
Michael Stanclift
028fee30dd Check for rsync too 2020-05-30 20:42:55 -05:00
Michael Stanclift
cf80241c9e Else in wrong place 2020-05-30 20:40:33 -05:00
Michael Stanclift
21f25e00a2 Adds SSH detection 2020-05-30 20:39:28 -05:00
Michael Stanclift
67df5dd266 Look for SSH 2020-05-30 20:37:59 -05:00
Michael Stanclift
d71b901e58 sudo 2020-05-30 20:26:43 -05:00
Michael Stanclift
d7817aa3e4 hashycorp 2020-05-30 20:25:02 -05:00
Michael Stanclift
b52423cba7 AND THEN 2020-05-30 20:22:59 -05:00
Michael Stanclift
d767b4bd81 and THEN 2020-05-30 20:21:24 -05:00
Michael Stanclift
7e64129e49 Detect SSH-Keygen method 2020-05-30 20:20:06 -05:00
Michael Stanclift
e54a01ecb6 1.7.4 2020-05-30 16:39:19 -05:00
Michael Stanclift
0ee951503a flip it 2020-05-30 16:28:22 -05:00
Michael Stanclift
99cc5428eb Add dev mode 2020-05-30 16:23:02 -05:00
Michael Stanclift
30cb6a8b03
Merge pull request #27 from vmstan/development
1.7.3
2020-05-30 09:24:52 -05:00
Michael Stanclift
d2ddd1b05a Cleaning up argument list output 2020-05-30 00:06:54 -05:00
Michael Stanclift
bde9b3b673
Merge pull request #25 from vmstan/development
1.7.2
2020-05-29 21:40:18 -05:00
Michael Stanclift
ebab06dcd7 1.7.2(1) 2020-05-29 21:39:01 -05:00
Michael Stanclift
4ec550026b 1.7.2 2020-05-29 21:38:00 -05:00
Michael Stanclift
dc9696c5ac Different method of updating with developer settings 2020-05-29 21:28:22 -05:00
Michael Stanclift
4cb6370436
Update gravity-sync.sh 2020-05-29 21:16:42 -05:00
Michael Stanclift
9c95116ee7 1.7.1 2020-05-29 21:13:52 -05:00
Michael Stanclift
69cda511aa Make it BOLD 2020-05-29 21:09:37 -05:00
Michael Stanclift
e4ee005953 Border 2020-05-29 21:06:07 -05:00
Michael Stanclift
8d1789613d Add website 2020-05-29 21:04:11 -05:00
Michael Stanclift
55d443f37b Colors for version IDs 2020-05-29 21:01:52 -05:00
Michael Stanclift
7b92b90580 Testing failure conditions 2020-05-29 20:54:09 -05:00
Michael Stanclift
0b3653fe2d Failure detection for curl 2020-05-29 20:53:28 -05:00
Michael Stanclift
46784159e3 master version check 2020-05-29 18:20:33 -05:00
Michael Stanclift
c51753d388 Updated show version 2020-05-29 18:09:48 -05:00
Michael Stanclift
b813d21492 Output version on Git 2020-05-29 18:07:38 -05:00
Michael Stanclift
2bf3d0b8ba 1.7.0 2020-05-29 14:43:36 -05:00
Michael Stanclift
6157889ac4 Add references to custom.list 2020-05-29 14:39:54 -05:00
Michael Stanclift
9c6a8bfa8d "" 2020-05-29 14:20:24 -05:00
Michael Stanclift
affe98e82a Fineto 2020-05-29 14:19:07 -05:00
Michael Stanclift
711ad97979 space 2020-05-29 14:15:04 -05:00
Michael Stanclift
c35642e5e7 Adding custom.list to restore function 2020-05-29 14:08:56 -05:00
Michael Stanclift
45fd9ed58b Add custom.list to push 2020-05-29 14:03:18 -05:00
Michael Stanclift
3816e14173 == 2020-05-29 13:51:59 -05:00
Michael Stanclift
569bce284e Fix permission validation 2020-05-29 13:51:12 -05:00
Michael Stanclift
810e28aa0e Add custom.list bypass to pull function 2020-05-29 13:46:23 -05:00
Michael Stanclift
a6e3fd89a5 Merge branch 'development' of https://github.com/vmstan/gravity-sync into development 2020-05-29 13:37:50 -05:00
Michael Stanclift
5bf02b9d25 Merge 2020-05-29 13:37:35 -05:00
Michael Stanclift
89e0edb456 add skip custom variable 2020-05-29 12:18:40 -05:00
Michael Stanclift
ca4e99cb1e Check existance of remote custom.list 2020-05-29 11:31:38 -05:00
Michael Stanclift
3e0d06617e Verify existance of custom.list 2020-05-29 11:03:20 -05:00
Michael Stanclift
e1adcd1105 Compare custom.list 2020-05-29 10:58:06 -05:00
Michael Stanclift
a38afd0d3a 1.6.0 2020-05-28 22:01:08 -05:00
Michael Stanclift
b18af38add cleanup 2020-05-28 21:50:29 -05:00
Michael Stanclift
bb453c0ce9 Verification bypass mechanism 2020-05-28 21:43:58 -05:00
Michael Stanclift
f86b857997 Moved intent validation to a function 2020-05-28 21:28:14 -05:00
Michael Stanclift
bea46fa3fb remove dashes 2020-05-28 17:51:48 -05:00
Michael Stanclift
ad45d17791 Redo config delete dialog 2020-05-28 17:29:41 -05:00
Michael Stanclift
88e30377e3 Change push confirmation method 2020-05-28 17:24:31 -05:00
Michael Stanclift
24662dd16d variable name 2020-05-28 17:12:05 -05:00
Michael Stanclift
f9127fdcd6 Yank 2020-05-28 17:10:51 -05:00
Michael Stanclift
263f1ce67d Add yank function 2020-05-28 17:09:58 -05:00
Michael Stanclift
6a9ab25613 Fix 2020-05-28 16:51:41 -05:00
Michael Stanclift
6dfd835988 Replace all the echos 2020-05-28 16:50:25 -05:00
Michael Stanclift
e08022cfe1 Moving each status type to a function 2020-05-28 16:21:10 -05:00
Michael Stanclift
7f51e3013e 1.5.0 (3) 2020-05-28 13:19:49 -05:00
Michael Stanclift
379ef900d0 Fixes way cronpath is assigned 2020-05-28 13:05:22 -05:00
Michael Stanclift
1d5fecc249 1.5.0 (2) 2020-05-28 12:57:40 -05:00
Michael Stanclift
dcb02f84b1 1.5.0 2020-05-28 12:55:59 -05:00
Michael Stanclift
c2233d5dfa Differences 2020-05-28 12:49:00 -05:00
Michael Stanclift
2cbfc9d8bd Line up minutes some more 2020-05-28 11:50:39 -05:00
Michael Stanclift
73e2b7f282 line up minutes 2020-05-28 11:48:34 -05:00
Michael Stanclift
0b480f58cd Change style of extend info block 2020-05-28 11:46:54 -05:00
Michael Stanclift
343c44b09a Exit on failed frequency input 2020-05-28 11:43:24 -05:00
Michael Stanclift
57feeaf501 Notes 2020-05-28 11:41:57 -05:00
Michael Stanclift
3776467e59 Fix crontab full path 2020-05-28 11:36:55 -05:00
Michael Stanclift
4c5e7ca220 check for existing crontab 2020-05-28 11:27:14 -05:00
Michael Stanclift
baad802d0d New beta download trial 2020-05-28 11:14:00 -05:00
Michael Stanclift
14fe198810 and THEN 2020-05-28 10:59:04 -05:00
Michael Stanclift
343e535f5f Variables, duh 2020-05-28 10:54:57 -05:00
Michael Stanclift
d1072dfbc7 Allow frequency input 2020-05-28 10:54:32 -05:00
Michael Stanclift
c7335ba632 First pass at crontab addition 2020-05-28 10:19:50 -05:00
Michael Stanclift
4f08472a6c Start work on automation function 2020-05-27 20:51:21 -05:00
Michael Stanclift
905651ea71 .pub, duh 2020-05-27 16:09:41 -05:00
Michael Stanclift
34ab470b8d Seperating HOME from key path 2020-05-27 16:02:44 -05:00
Michael Stanclift
5ee3636ad7 More places where SSH_PKIF wasn't utilized 2020-05-27 15:56:26 -05:00
Michael Stanclift
9a91360967 1.4.3 2020-05-27 15:50:47 -05:00
Michael Stanclift
87246e4298 Fixes places where SSH_PORT and SSH_PKIF were not utilized 2020-05-27 15:49:57 -05:00
Michael Stanclift
a8e320aefe Comment ending 2020-05-27 12:09:50 -05:00
Michael Stanclift
a69e18802b Recycle command on exit 2020-05-27 12:06:39 -05:00
Michael Stanclift
b3ef19db3c Create new config file if missing on import 2020-05-27 12:00:23 -05:00
Michael Stanclift
d1d86c51a5 Add tail line to cronjob 2020-05-27 11:20:29 -05:00
Michael Stanclift
4a80caece1 Add info to show log location 2020-05-27 11:13:04 -05:00
Michael Stanclift
c5752b335c Import custom settings for logging 2020-05-27 11:09:07 -05:00
Michael Stanclift
77ee1839bb Quotes? 2020-05-27 11:06:35 -05:00
Michael Stanclift
6f39abc44d Log path oddity 2020-05-27 11:04:22 -05:00
Michael Stanclift
7b59fafda8 Update gravity-sync.sh 2020-05-27 10:20:14 -05:00
Michael Stanclift
7afa6fd461 Cleanup cron output 2020-05-27 10:18:58 -05:00
Michael Stanclift
85b93b8970 Make logging path user adjustable 2020-05-27 10:00:30 -05:00
Michael Stanclift
e24bcf6613 v1.4.0 (2) 2020-05-26 23:02:41 -05:00
Michael Stanclift
f85a766319 Fix permissions issue 2020-05-26 22:44:30 -05:00
Michael Stanclift
4c9769dcef Update gravity-sync.sh 2020-05-26 22:38:07 -05:00
Michael Stanclift
63827f40fa Update gravity-sync.sh 2020-05-26 22:31:06 -05:00
Michael Stanclift
a5dbe689be v1.4.0 2020-05-26 22:20:36 -05:00
Michael Stanclift
2fede3899f Update gravity-sync.sh 2020-05-26 21:33:00 -05:00
Michael Stanclift
d2e390f1c8 -z 2020-05-26 21:26:54 -05:00
Michael Stanclift
2204497da6 Move config section to functions 2020-05-26 21:21:02 -05:00
Michael Stanclift
914af5cd1c Clarified comment 2020-05-26 21:11:15 -05:00
Michael Stanclift
64bf4a2a1d Key-Pair Generation/Detection 2020-05-26 21:07:11 -05:00
Michael Stanclift
584deacf61 simpler prompt 2020-05-26 18:05:18 -05:00
Michael Stanclift
5e023aa187 Added SSH port 22, Rouding out config settings 2020-05-26 16:51:31 -05:00
Michael Stanclift
b336ecb1f3 Populate config file 2020-05-26 14:39:55 -05:00
Michael Stanclift
f54dd83595 Creates blank configuration 2020-05-26 14:05:28 -05:00
Michael Stanclift
8d3884fbfa Starting config creator 2020-05-26 14:01:01 -05:00
Michael Stanclift
c7eeabb38a v1.3.4 2020-05-26 13:23:42 -05:00
Michael Stanclift
c7c1ed2a3a Another Trek reference 2020-05-26 12:32:11 -05:00
Michael Stanclift
e6aebce656 Quieter output 2020-05-26 12:30:00 -05:00
Michael Stanclift
15451b32f2 Reverting Jim's method
Keeping backup before pull for safety
2020-05-26 12:26:21 -05:00
Michael Stanclift
143371943a Implemented Jim rsync
Preserve permissions and backup in one line
2020-05-26 12:14:32 -05:00
Michael Stanclift
e1d2b98074 Star Trek reference
I'm surprised it took me this long to realize this is a thing I should be doing
2020-05-26 12:07:09 -05:00
Michael Stanclift
aeb392fffe Update gravity-sync.sh 2020-05-26 11:54:47 -05:00
Michael Stanclift
0ac26f1e8c Update gravity-sync.sh 2020-05-26 11:52:28 -05:00
Michael Stanclift
fed01efbff Update gravity-sync.sh 2020-05-26 11:47:04 -05:00
Michael Stanclift
078a050efe Missing operator 2020-05-26 11:44:02 -05:00
Michael Stanclift
85da9aa8f8 New way to validate permissions 2020-05-26 11:43:12 -05:00
Michael Stanclift
94d8c74757 Update gravity-sync.sh 2020-05-26 11:34:15 -05:00
Michael Stanclift
43c336f85f Validate gravity.db write permissions 2020-05-26 11:32:30 -05:00
Michael Stanclift
ad5696c246 Update gravity-sync.sh 2020-05-26 10:51:26 -05:00
Michael Stanclift
a224f01dab Update gravity-sync.sh 2020-05-26 10:43:56 -05:00
Michael Stanclift
b0b978ff5d Update gravity-sync.sh 2020-05-26 10:38:15 -05:00
Michael Stanclift
217efbfb8b Validate gravity.db owner 2020-05-26 10:32:52 -05:00
Michael Stanclift
5026317586 proper variable for pihole binary 2020-05-26 00:09:45 -05:00
Michael Stanclift
65dd7a42c2 fix cron service restart 2020-05-25 23:58:26 -05:00
Michael Stanclift
7566415c14 Update gravity-sync.sh 2020-05-25 21:35:25 -05:00
Michael Stanclift
3fe4af6bab Added runtime 2020-05-25 21:28:30 -05:00
Michael Stanclift
efd06e7b7b So clean 2020-05-25 21:21:24 -05:00
Michael Stanclift
8cda87244a Update gravity-sync.sh 2020-05-25 21:18:31 -05:00
Michael Stanclift
5714d1bbb3 dev/null all the things 2020-05-25 21:16:31 -05:00
Michael Stanclift
50a43d26f6 Update gravity-sync.sh 2020-05-25 21:05:28 -05:00
Michael Stanclift
d85845560f Update gravity-sync.sh 2020-05-25 20:58:43 -05:00
Michael Stanclift
b4c6ef42c3 Update gravity-sync.sh 2020-05-25 20:56:59 -05:00
Michael Stanclift
a80eed3c4e Update gravity-sync.sh 2020-05-25 20:53:32 -05:00
Michael Stanclift
286e62bdf4 Update gravity-sync.sh 2020-05-25 20:45:03 -05:00
Michael Stanclift
a816d35418 Testing carrage return 2020-05-25 20:43:55 -05:00
Michael Stanclift
26489b9854 Apply sshpass everywhere 2020-05-25 14:38:18 -05:00
Michael Stanclift
4dfa4c1168 Update gravity-sync.sh 2020-05-25 14:31:46 -05:00
Michael Stanclift
1a3b8cb6e3 Update gravity-sync.sh 2020-05-25 14:27:07 -05:00
Michael Stanclift
38a483d4dc Update gravity-sync.sh 2020-05-25 14:19:56 -05:00
Michael Stanclift
f37957bc16 Update gravity-sync.sh 2020-05-25 14:10:50 -05:00
Michael Stanclift
e5999539c1 Update gravity-sync.sh 2020-05-25 14:07:38 -05:00
Michael Stanclift
174b43358f Update gravity-sync.sh 2020-05-25 14:05:08 -05:00
Michael Stanclift
0f18aa94fa Update gravity-sync.sh 2020-05-25 14:03:15 -05:00
Michael Stanclift
4b47893026 Update gravity-sync.sh 2020-05-25 13:53:46 -05:00
Michael Stanclift
3ee922011f Tests SSH before running 2020-05-25 13:18:23 -05:00
Michael Stanclift
1b158f0a2b Add more SSH validation 2020-05-25 12:06:37 -05:00
Michael Stanclift
7984455df6 Password option testing 2020-05-25 11:51:00 -05:00
Michael Stanclift
d281f1f62a Log output changed to info style 2020-05-25 11:45:05 -05:00
Michael Stanclift
b974b7d71c Fail faster 2020-05-25 11:38:01 -05:00
Michael Stanclift
2cecc7a074 = 2020-05-25 11:35:22 -05:00
Michael Stanclift
0cb52e77c6 timeout for inital ssh connection 2020-05-25 11:33:51 -05:00
Michael Stanclift
dff4505ce6 change good to done 2020-05-25 10:25:54 -05:00
Michael Stanclift
bbc3d8c8f3 v1.3.0 2020-05-24 22:20:11 -05:00
Michael Stanclift
26ff9fec29 Update gravity-sync.sh 2020-05-24 21:53:20 -05:00
Michael Stanclift
3b4934398a Testing password auth 2020-05-24 21:51:04 -05:00
Michael Stanclift
f61c8fa257 Alert for SSH type 2020-05-24 21:29:23 -05:00
Michael Stanclift
82e2a474a7 Update gravity-sync.sh 2020-05-24 21:25:07 -05:00
Michael Stanclift
d7ac7219a2 Proper bash value 2020-05-24 21:21:22 -05:00
Michael Stanclift
84855c9284 Update gravity-sync.sh 2020-05-24 21:18:29 -05:00
Michael Stanclift
7ee691bda5 Update gravity-sync.sh 2020-05-24 21:17:17 -05:00
Michael Stanclift
7ab04ea424 Add SSHPASS validation 2020-05-24 21:15:08 -05:00
Michael Stanclift
b87c6c2e70 One tab less 2020-05-24 20:58:44 -05:00
Michael Stanclift
104d8e282c Update argument list 2020-05-24 20:57:56 -05:00
Michael Stanclift
badb3fe0a5 Added hash checking to pull and push 2020-05-24 20:54:02 -05:00
Michael Stanclift
68aa883c5f Flesh out compare 2020-05-24 20:48:18 -05:00
Michael Stanclift
20a2cb88fe Update gravity-sync.sh 2020-05-24 20:39:06 -05:00
Michael Stanclift
5eaf3070aa Update gravity-sync.sh 2020-05-24 20:37:51 -05:00
Michael Stanclift
1b88c54135 Update gravity-sync.sh 2020-05-24 20:37:24 -05:00
Michael Stanclift
4d41c3bff9 No variables 2020-05-24 20:35:12 -05:00
Michael Stanclift
8ed7bda376 Escape characters? 2020-05-24 20:29:32 -05:00
Michael Stanclift
7f38d43256 Beta branch update 2020-05-24 20:23:19 -05:00
Michael Stanclift
1faab012d7 Tick me off 2020-05-24 20:20:52 -05:00
Michael Stanclift
1b4d73ebb5 Add md5 comparison function 2020-05-24 20:19:40 -05:00
Michael Stanclift
a64e31f0cb TASKTYPES for everyone 2020-05-24 20:06:11 -05:00
Michael Stanclift
7dff206d55 Sleep not wait 2020-05-24 20:03:04 -05:00
Michael Stanclift
07ffe5d0bf Update gravity-sync.sh 2020-05-24 19:59:03 -05:00
Michael Stanclift
87afb838db Waiting before restarting services 2020-05-24 19:56:55 -05:00
Michael Stanclift
d676a0df75 Wrong variable name 2020-05-24 19:49:34 -05:00
Michael Stanclift
b06bce796b Tail instead of cat 2020-05-24 19:48:35 -05:00
Michael Stanclift
b5d2593628 Update gravity-sync.sh 2020-05-24 19:45:05 -05:00
Michael Stanclift
7fd89703e3 error_validate 2020-05-24 19:40:09 -05:00
Michael Stanclift
c26bbec364 Changing more headers 2020-05-24 19:38:43 -05:00
Michael Stanclift
9a5b9ef353 Show version function 2020-05-24 17:33:42 -05:00
Michael Stanclift
8965fadcc7 Validate cron log existance 2020-05-24 17:30:33 -05:00
Michael Stanclift
ff0c8c5fd5 Update gravity-sync.sh 2020-05-24 13:39:21 -05:00
Michael Stanclift
11752bac3f New style push validate 2020-05-23 18:50:29 -05:00
Michael Stanclift
9f34aca8c6 Update gravity-sync.sh 2020-05-23 18:37:08 -05:00
Michael Stanclift
75f2e5975b Rebuilt pull in new style 2020-05-23 18:26:12 -05:00
Michael Stanclift
dfc892e77e Else test 2020-05-23 18:10:18 -05:00
Michael Stanclift
fe38ec3cd7 Update gravity-sync.sh 2020-05-23 17:58:06 -05:00
Michael Stanclift
b3df6fcbe4 MESSAGE variable test 2020-05-23 17:54:24 -05:00
Michael Stanclift
c6b5153a87 Update gravity-sync.sh 2020-05-23 17:44:08 -05:00
Michael Stanclift
f2e235c88d Testing command validation 2020-05-23 17:39:02 -05:00
Michael Stanclift
86ee4c2596 Branch test 2020-05-23 14:17:50 -05:00
Michael Stanclift
3e92c12b39 Starting 1.3 2020-05-23 14:07:52 -05:00
Michael Stanclift
ad9caf1767 Typo 2020-05-23 13:56:12 -05:00
Michael Stanclift
5d74e036c6 More line breaks 2020-05-23 13:31:42 -05:00
Michael Stanclift
1e8f6e5fe9 Line breaks 2020-05-23 13:30:44 -05:00
Michael Stanclift
851a5e0325 Backup remote copy before push 2020-05-23 13:28:03 -05:00
Michael Stanclift
3c5f5a1bc4 Full path of config file 2020-05-22 23:00:59 -05:00
Michael Stanclift
9ab88d811c Replace ~ with $HOME 2020-05-22 22:35:46 -05:00
Michael Stanclift
f836901704 Remove rsync progress indicator 2020-05-22 21:28:27 -05:00
Michael Stanclift
97a786709c Update gravity-sync.sh 2020-05-22 21:17:48 -05:00
Michael Stanclift
c18708a57b Elevate to overwrite 2020-05-22 21:14:51 -05:00
Michael Stanclift
da09731846 Adjust copy permissions 2020-05-22 15:48:45 -05:00
Michael Stanclift
ffd740adc1 Update gravity-sync.sh 2020-05-22 15:44:15 -05:00
Michael Stanclift
8de355618b Uses backup directory for Gravity.db shuffle 2020-05-22 15:43:04 -05:00
Michael Stanclift
c39b9280da Backup folder 2020-05-22 15:31:35 -05:00
Michael Stanclift
902e0743a8 Are you really sure you want to push? 2020-05-22 14:58:33 -05:00
Michael Stanclift
24bd9eef7e Argument cleanup 2020-05-22 14:53:01 -05:00
Michael Stanclift
da3a172c1e Argument help fix 2020-05-22 14:51:41 -05:00
Michael Stanclift
96572447da Header style cleaning 2020-05-22 14:49:51 -05:00
Michael Stanclift
5087a50752 Another $ 2020-05-22 14:00:53 -05:00
Michael Stanclift
0dd22c2966 Extra $s 2020-05-22 14:00:09 -05:00
Michael Stanclift
844c011ee8 Style of headers changed 2020-05-22 13:59:09 -05:00
Michael Stanclift
4fb552d5ec Cleanup warnings 2020-05-22 13:31:42 -05:00
Michael Stanclift
312a11da4f Spaces 2020-05-22 13:21:00 -05:00
Michael Stanclift
7a9db0ec4a Tabs 2020-05-22 13:19:21 -05:00
Michael Stanclift
ff121d5d71 Expand argument requirements 2020-05-22 13:18:19 -05:00
Michael Stanclift
a8ca9b19be Check the config not the logs 2020-05-22 12:29:05 -05:00
Michael Stanclift
c789ff5a09 Create config file variable 2020-05-22 12:25:30 -05:00
Michael Stanclift
24fe419e70 Clearer instructions for setup 2020-05-22 12:18:16 -05:00
Michael Stanclift
145833d73d Purple! 2020-05-22 11:59:36 -05:00
Michael Stanclift
3122a2bb15 Move logging time for update 2020-05-22 11:56:43 -05:00
Michael Stanclift
ed20d55f29 Tail different log types 2020-05-22 11:54:12 -05:00
Michael Stanclift
f06bdd347a Added logging types and logging to push and update 2020-05-22 11:50:42 -05:00
Michael Stanclift
acef849de4 Add tasktype variable 2020-05-22 11:45:33 -05:00
Michael Stanclift
0b2d031109 Create logging function 2020-05-22 11:39:31 -05:00
Michael Stanclift
f35465ab50 Daddy like the functions 2020-05-22 11:06:59 -05:00
Michael Stanclift
fa1ddf6734 Update warning 2020-05-22 10:57:41 -05:00
Michael Stanclift
2c8e00a0d8 Require validation and import only for push/pull 2020-05-22 10:55:23 -05:00
Michael Stanclift
eacefeeaa7 Missing space 2020-05-22 10:47:39 -05:00
Michael Stanclift
d3376947d5 Import settings function 2020-05-22 10:46:24 -05:00
Michael Stanclift
9b60ea604a Function all the things 2020-05-22 10:44:38 -05:00
Michael Stanclift
223884f571 Moving more routines into functions 2020-05-22 10:32:02 -05:00
Michael Stanclift
bca3d2a7c8 Begin function breakout 2020-05-22 10:28:02 -05:00
Michael Stanclift
69b77606a5 Update verification removed
Live on the edge
2020-05-22 10:21:11 -05:00
Michael Stanclift
8c1c38f962 TABS 2020-05-21 21:42:37 -05:00
Michael Stanclift
1bb874ef04 Update gravity-sync.sh 2020-05-21 21:09:51 -05:00
Michael Stanclift
a853727489 Missing ;; 2020-05-21 21:08:31 -05:00
Michael Stanclift
7ad9b70f09 Add log tail function 2020-05-21 21:07:01 -05:00
Michael Stanclift
fdb19d316e Update test 2020-05-21 20:54:13 -05:00
Michael Stanclift
a426779dff Yes no 2020-05-21 20:52:39 -05:00
Michael Stanclift
eae913e453 Less yellow 2020-05-21 20:51:55 -05:00
Michael Stanclift
0ec2580f59 Fix update script 2020-05-21 20:48:41 -05:00
Michael Stanclift
22c27b08c9 Added update confirmation 2020-05-21 20:44:21 -05:00
Michael Stanclift
61d4104eed Add update function 2020-05-21 20:39:14 -05:00
Michael Stanclift
81e5ed5de3 Update gravity-sync.sh 2020-05-21 20:35:53 -05:00
Michael Stanclift
b4007f89dc Added version output 2020-05-21 20:30:20 -05:00
Michael Stanclift
d80cf2cb9c Validate existance of gravity-sync.conf 2020-05-21 20:25:06 -05:00
Michael Stanclift
30b33c860d v1.1.3 2020-05-21 18:05:44 -05:00
Michael Stanclift
ff924883df 1.1.2 2020-05-21 16:23:46 -05:00
Michael Stanclift
f562afaaab Move settings to config file 2020-05-21 15:46:04 -05:00
Michael Stanclift
9129849055 Lets use some purple 2020-05-21 14:36:35 -05:00
Michael Stanclift
ab6a710c41 Update gravity-sync.sh 2020-05-21 14:33:40 -05:00
Michael Stanclift
6bc818f29f Update gravity-sync.sh 2020-05-21 14:32:12 -05:00
Michael Stanclift
1e7356b45f MORE WORDS 2020-05-21 14:29:44 -05:00
Michael Stanclift
5fbef32006 Show rsync progress 2020-05-21 14:21:13 -05:00
Michael Stanclift
68b51f9309 Additional verbage 2020-05-21 14:18:49 -05:00
Michael Stanclift
c8597d51c2 Output sync direction 2020-05-21 14:15:24 -05:00
Michael Stanclift
12151a23b1 Slash missing 2020-05-21 14:10:49 -05:00
Michael Stanclift
a9c320efb6 Using yellow 2020-05-21 14:10:23 -05:00
Michael Stanclift
a4c17271a7 More colors! 2020-05-21 14:09:55 -05:00
Michael Stanclift
b15e2b6521 Clarifying error messages 2020-05-21 14:04:10 -05:00
Michael Stanclift
d4bc243aab Update gravity-sync.sh 2020-05-21 13:58:58 -05:00
Michael Stanclift
588e8fa02c -f not -d 2020-05-21 13:56:58 -05:00
Michael Stanclift
76be06d6a4 Check for pihole directory/db 2020-05-21 13:53:12 -05:00
Michael Stanclift
43c9c81b6c Update gravity-sync.sh 2020-05-21 13:48:23 -05:00
Michael Stanclift
a1764c4395 Folder check
Checks to see if folder for temp storage and logs are present
2020-05-21 13:44:01 -05:00
Michael Stanclift
aef3784ed1 Executable 2020-05-21 13:20:30 -05:00