Project

General

Profile

Statistics
| Revision:
  • svn:ignore: extern

# Date Author Comment
13227 04/21/2014 01:15 AM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: self_builtin: avoid $() so that $? isn't modified

13226 04/21/2014 01:07 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: use new self_builtin

13225 04/21/2014 01:06 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: added self_builtin

13224 04/21/2014 12:50 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: pv(), pf(): moved to debugging section

13223 04/21/2014 12:48 AM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stderr_matches(): also need to handle any filter error, such as caused by Ctrl+C

13222 04/21/2014 12:26 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: stderr_matches(): echo_vars @PIPESTATUS_ to assist debugging

13221 04/20/2014 11:37 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stderr2stdout(): use piped_cmd to ignore SIGPIPE since the output of this will piped to another command

13220 04/20/2014 06:22 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: setup_log_fd(): $log_fd: use 3 (stdlog) since other scripts are likely to use this for logging as well

13219 04/20/2014 06:20 PM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: setup_log_fd(): fd_set_default(): use $log_fd instead of repeating the value of it

13218 04/20/2014 06:05 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: die(): log at higher log_level, since this is logging code

13217 04/20/2014 06:02 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: highlight_log_msg(): log at higher log_level, since this is logging code

13216 04/20/2014 05:54 PM Aaron Marcuse-Kubitza

bugfix: lib/runscripts/util.run: $subdirs: adjusted log_level now that echo_vars is one log_level lower

13215 04/20/2014 05:46 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stderr_matches(): only set benign_error=1 if the matched error occurred

13214 04/20/2014 05:44 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: ignore_e(): also set benign_error=1

13213 04/20/2014 05:40 PM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: prep_try alias: removed inaccurate comment

13212 04/20/2014 05:33 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stdout2fd(): moved after redir() which it depends on

13211 04/20/2014 05:24 PM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: command(): moved `|| die_e` to command__exec so it would be properly indented under the echoed command

13210 04/20/2014 05:12 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: verbosity_compat(): log at higher log_level because it's logging code

13209 04/20/2014 05:10 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: $benign_error: log at higher log_level because it's logging code

13208 04/20/2014 05:06 PM Aaron Marcuse-Kubitza

lib/runscripts/util.run: $wrap_fn: log at higher log_level because it's startup code

13207 04/20/2014 04:55 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: $top_* vars, $is_outermost: log at higher log_level because it's startup code

13206 04/20/2014 04:52 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: $top_script: echo_vars this like the other $top_* vars

13205 04/20/2014 04:50 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: .(): log at higher log_level because it's startup code

13204 04/20/2014 04:45 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: is_dot_script(): run with higher log_level since this is run at the beginning of the script

13203 04/20/2014 04:44 PM Aaron Marcuse-Kubitza

lib/sh/util.sh, runscripts/util.run: set_paths(): run with higher log_level to hide all the paths that are set at the beginning of the script

13202 04/20/2014 04:28 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added log++ stub

13201 04/20/2014 04:22 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added log_local stub

13200 04/20/2014 03:15 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added log() stub so internal commands can use it

13199 04/20/2014 03:10 PM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: echo_vars(): log at same log_level as echo_func so kw_params are displayed along with positional params

13198 04/20/2014 03:08 PM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: rel_path(): log this internal command at a higher log_level so it's normally hidden

13197 04/20/2014 02:43 PM Aaron Marcuse-Kubitza

fix: lib/sh/util.sh: log_msg!(): log split_lines at a higher log_level so it's normally hidden

13196 04/19/2014 10:22 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stderr_matches(): `log_local; log++` should apply to just stdout_contains() and part of stderr2stdout() rather than all of stderr_matches()

13195 04/19/2014 10:14 PM Aaron Marcuse-Kubitza

inputs/Madidi/_src/: set svn:ignore

13194 04/19/2014 10:13 PM Aaron Marcuse-Kubitza

added backups/vegbien.r13002.backup.md5, vegbien.r13160.backup.md5

13193 04/19/2014 10:12 PM Aaron Marcuse-Kubitza

backups/TNRS.backup.md5: updated

13192 04/19/2014 10:09 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: stderr_matches(): run at higher log_level because error-handling internals should not be logged by default

13191 04/19/2014 10:07 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/db.sh: mysql_ctl(): need to ignore errors if not running

13190 04/19/2014 10:04 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stderr_matches(): handle any error: only ignore_e if the error exit status was associated with the matched error message

13189 04/19/2014 09:57 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: stderr_matches(): handle any error: need force-exit with rethrow_exit() because caller's test of return status disables errexit

13188 04/19/2014 09:54 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added rethrow_exit(), which exits even where errexit is disabled

13187 04/19/2014 09:48 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/db.sh: mysql_snapshot(): need to run `mysql_ctl start` even if there is an error

13186 04/19/2014 09:38 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: mysql_snapshot(): $to: default to $from.bak

13185 04/19/2014 08:06 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: added mysql_snapshot()

13184 04/19/2014 07:46 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: added mysql_ctl()

13183 04/19/2014 07:35 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: pg_cmd(): updated to use new sudo()

13182 04/19/2014 07:14 PM Aaron Marcuse-Kubitza

lib/runscripts/util.run: added sudo() override that uses $wrap_fn to support shell functions

13181 04/19/2014 07:13 PM Aaron Marcuse-Kubitza

fix: lib/runscripts/util.run: $wrap_fn: make it usable even if $top_script isn't world-executable

13180 04/19/2014 07:11 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: sudo alias: use function instead so this can be overridden

13179 04/19/2014 07:09 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added is_intern()

13178 04/19/2014 07:07 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: is_callable(): use just $1 because multiple args are not applicable

13177 04/19/2014 07:06 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added is_world_executable()

13176 04/19/2014 07:06 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added has_perms()

13175 04/19/2014 06:49 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: esc_args(): renamed to just esc() because this can also be used on a single value

13174 04/19/2014 05:51 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added is_extern()

13173 04/19/2014 10:57 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: added sudo alias to alias-expand command

13172 04/19/2014 10:57 AM Aaron Marcuse-Kubitza

lib/sh/db.sh: pg_cmd(): $as_root: use $sudo

13171 04/19/2014 10:54 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: added $sudo

13170 04/19/2014 10:24 AM Aaron Marcuse-Kubitza

lib/sh/util.sh: added cp alias

13169 04/19/2014 09:55 AM Aaron Marcuse-Kubitza

lib/sh/db.sh: removed no longer used pg_as_root(), which was buggy anyway. use `as_root=1 ...` instead.

13168 04/19/2014 09:38 AM Aaron Marcuse-Kubitza

lib/sh/db.sh: mysql_ANSI: fixed comment

13167 04/18/2014 06:57 PM Aaron Marcuse-Kubitza

added backups/users.sql.run

13166 04/18/2014 05:34 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: pg_dump(): support dumping entire cluster, and cluster users

13165 04/18/2014 05:10 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: pg_cmd(): added $as_root switch

13164 04/17/2014 08:21 PM Aaron Marcuse-Kubitza

fix: inputs/SALVIAS/projects/postprocess.sql: remove private data that should not be publicly visible: preserve datasets with ipr_specific = '', because they are actually redistributable, according to Brad (http://wiki.vegpath.org/2014-04-17_conference_call#conditions-of-use)

13163 04/17/2014 05:28 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks: PostgreSQL: added operator classes. added backups: filesystem-level backup, continuous archiving, WAL logging, etc. virtual collaboration: updated annotations.

13162 04/17/2014 02:52 PM Aaron Marcuse-Kubitza

lib/sh/db.sh pg_dump(), bin/pg_dump_vegbien: --format=plain: removed comment that this is the plain format, because this is now self-documenting

13161 04/17/2014 02:51 PM Aaron Marcuse-Kubitza

lib/sh/db.sh pg_dump(), bin/pg_dump_vegbien: --format: use the long form of the formats to make the code self-documenting

13160 04/17/2014 03:44 AM Aaron Marcuse-Kubitza

validation/aggregating/specimens/qualitative_validations_specimens.sql: updated to DB

13159 04/17/2014 03:41 AM Aaron Marcuse-Kubitza

validation/aggregating/specimens/NY/qualitative_validations_source_db_NYBG.VegCore.sql: updated to inputs/NY/validations.sql

13158 04/17/2014 03:32 AM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: regenerated exports

13157 04/17/2014 03:31 AM Aaron Marcuse-Kubitza

fix: lib/PostgreSQL-MySQL.csv: preserve schema assignments by translating `SET search_path` to `USE`

13156 04/17/2014 02:54 AM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: regenerated exports

13155 04/17/2014 02:53 AM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: added geoscrub, TNRS tables, as requested in the 2014-04-10 conference call (wiki.vegpath.org/2014-04-10_conference_call#VegBIEN-schema)

13154 04/17/2014 02:39 AM Aaron Marcuse-Kubitza

schemas/Makefile: vegbien.sql: also include geoscrub, TNRS schemas, as requested in the 2014-04-10 conference call (wiki.vegpath.org/2014-04-10_conference_call#VegBIEN-schema). this involves having a separate public_.sql file for restoring the public schema.

13153 04/16/2014 11:02 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: regenerated exports

13152 04/16/2014 10:49 PM Aaron Marcuse-Kubitza

bugfix: inputs/NY/validations.sql: _specimens_07_list_of_verbatim_subspecific_taxa_with_author: updated filter condition to match output query

13151 04/16/2014 10:48 PM Aaron Marcuse-Kubitza

inputs/NY/run: `make inputs/NY/validate`: updated runtime (8 min, with added queries)

13150 04/16/2014 10:24 PM Aaron Marcuse-Kubitza

fix: inputs/NY/Ecatalog_all/map.csv, postprocess.sql: remapped substrate, vegetation to locationRemarks

13149 04/16/2014 06:41 PM Aaron Marcuse-Kubitza

fix: inputs/NY/Ecatalog_all/map.csv, postprocess.sql: remapped substrate, vegetation to locationRemarks

13148 04/16/2014 06:35 PM Aaron Marcuse-Kubitza

bugfix: lib/runscripts/import.run: all(): also need to propagate $rm to import()

13147 04/16/2014 04:24 PM Aaron Marcuse-Kubitza

bugfix: inputs/NY/validations.sql, schemas/vegbien.sql: _specimens_13*: also need to include coordinate pairs which have one of their coordinates NULL, by using OR instead of AND

13146 04/16/2014 04:15 PM Aaron Marcuse-Kubitza

bugfix: inputs/NY/validations.sql: _specimens_13b_list_of_all_decimal_lat_long: matched column types to output query

13145 04/16/2014 04:14 PM Aaron Marcuse-Kubitza

bugfix: inputs/NY/validations.sql: _specimens_13a_list_of_all_verbatim_lat_long: matched column types to output query

13144 04/16/2014 03:13 PM Aaron Marcuse-Kubitza

inputs/NY/validations.sql, schemas/vegbien.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: added breakdowns _specimens_13a_list_of_all_verbatim_lat_long, _specimens_13b_list_of_all_decimal_lat_long to help troubleshoot the diff

13143 04/16/2014 02:04 PM Aaron Marcuse-Kubitza

fix: inputs/NY/validations.sql, schemas/vegbien.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: count lat/longs together instead of separately, because the DISTINCT is by coordinate pair, not individual coordinate value (which wouldn't make much sense)

13142 04/15/2014 08:12 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: rm_output_queries(): need to account for the fact that util.truncated_prefixed_name_regexp() returns a whole-string regexp. this drops support for removing output queries with a particular group prefix, which we no longer use.

13141 04/15/2014 07:59 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: rm_output_queries(): need to include relations whose names were truncated, as well

13140 04/15/2014 07:14 PM Aaron Marcuse-Kubitza

fix: schemas/vegbien.sql: public_validations schema comment: to remove a validations query so its columns can be changed: use rm_output_queries() rather than rm_query_view() because that also removes input queries

13139 04/15/2014 07:00 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: is_castable(): need to pass NULL through, for proper NULL propagation

13138 04/15/2014 06:52 PM Aaron Marcuse-Kubitza

fix: inputs/NY/validations.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: use new is_castable(), which is much more accurate than Brad's custom regexp for determining if something is numeric

13137 04/15/2014 06:29 PM Aaron Marcuse-Kubitza

inputs/NY/validations.-.util.sql: added util.is_castable() wrapper

13136 04/15/2014 06:12 PM Aaron Marcuse-Kubitza

schemas/util.sql: added is_castable()

13135 04/15/2014 06:10 PM Aaron Marcuse-Kubitza

schemas/util.sql: added try_cast()

13134 04/15/2014 05:51 PM Aaron Marcuse-Kubitza

schemas/util.sql: added util.cast(), which allows casting to an arbitrary type without eval()

13133 04/14/2014 05:04 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: DISTINCT: added coordsaccuracy_m

13132 04/14/2014 05:02 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: coordinates_unique: added coordsaccuracy_m

13131 04/14/2014 04:56 PM Aaron Marcuse-Kubitza

fix: schemas/vegbien.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: need to DISTINCT the values that are being counted, because the coordinates_unique unique constraint includes other columns as well, so there may be multiple instances of each lat/long

13130 04/14/2014 04:51 PM Aaron Marcuse-Kubitza

bugfix: inputs/NY/validations.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: need to include both lat and long in the value to DISTINCT on

13129 04/14/2014 04:48 PM Aaron Marcuse-Kubitza

fix: inputs/NY/validations.sql: _specimens_13_count_of_all_verbatim_and_decimal_lat_long: need to DISTINCT the values that are being counted, because they are merged by the coordinates_unique unique constraint in the import

13128 04/14/2014 04:24 PM Aaron Marcuse-Kubitza

validation/aggregating/pipeline/aggregating_validations_pipeline.odg: diff tables: integrated row labels into table