Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
archives.sh 1.04 KB 14545 over 10 years Aaron Marcuse-Kubitza bugfix: lib/sh/archives.sh: compress(): don't i...
binsearch.sh 672 Bytes 10154 over 11 years Aaron Marcuse-Kubitza *{.sh,run}: use new log-() instead of log+() wi...
datasrc.sh 140 Bytes 10095 over 11 years Aaron Marcuse-Kubitza added lib/sh/datasrc.sh
db.sh 13.5 KB 14857 about 10 years Aaron Marcuse-Kubitza bugfix: lib/sh/sync.sh, db.sh: *_snapshot() com...
db_make.sh 505 Bytes 12779 almost 11 years Aaron Marcuse-Kubitza *{.sh,run}: use new begin_target instead of `ec...
local.sh 2.35 KB 14737 over 10 years Aaron Marcuse-Kubitza bugfix: lib/sh/local.sh: $sync_remote_url: jupi...
make.sh 3.62 KB 14763 about 10 years Aaron Marcuse-Kubitza lib/sh/make.sh: make(): added support for $outp...
resume_import.sh 2.2 KB 12968 over 10 years Aaron Marcuse-Kubitza *{.sh,run}: runscript targets: use begin_target...
sync.sh 2.94 KB 14857 about 10 years Aaron Marcuse-Kubitza bugfix: lib/sh/sync.sh, db.sh: *_snapshot() com...
util.sh 41.2 KB 14856 about 10 years Aaron Marcuse-Kubitza lib/sh/util.sh: become_sudo: documented that th...
web.sh 216 Bytes 10055 over 11 years Aaron Marcuse-Kubitza bugfix: lib/sh/web.sh: curl(): use --fail so th...

Latest revisions

# Date Author Comment
14857 10/19/2014 03:24 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/sync.sh, db.sh: *_snapshot() commands that run multiple sudo commands: use become_sudo so that the program won't hang at later sudo prompts. for pg_snapshot() with pg_start_backup(), this also prevents the backup from staying open at the end waiting on a sudo prompt, causing excess WAL logs to accrue.

14856 10/19/2014 03:16 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: become_sudo: documented that this is for funcs that run multiple sudo commands

14855 10/19/2014 03:15 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: $sudo_cmd_wrapper: use esc() so this does not need to be embedded with [@] array notation

14853 10/19/2014 03:06 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: sudo(): when don't need sudo: do need `command` to have effects of invoking external command

14852 10/19/2014 03:00 PM Aaron Marcuse-Kubitza

fix: lib/sh/db.sh: pg_snapshot(): first need to run pg_stop_backup() in case a backup was not stopped cleanly

14851 10/19/2014 03:00 PM Aaron Marcuse-Kubitza

fix: lib/sh/db.sh: pg_stop_backup(): ignore benign "a backup is not in progress" error

14850 10/19/2014 01:19 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: sudo(): only run sudo if needed

14849 10/19/2014 01:10 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: sudo(): factored PATH-preserving code out into separate wrapper var that can also be used separately, eg. with `sudo -u`

14848 10/19/2014 01:03 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: sudo(): moved addition of -E (which should always happen) to separate, overridden sudo() function

14847 10/19/2014 12:51 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: moved -E to is_callable section because it just applies to that

View revisions

Also available in: Atom