Project

General

Profile

Statistics
| Revision:

# Date Author Comment
8726 04/30/2013 11:52 AM Aaron Marcuse-Kubitza

added web/links/index.htm.run with clean_up action to run whenever the index.htm bookmarks file is changed (`web/links/index.htm.run clean_up`)

8725 04/30/2013 11:51 AM Aaron Marcuse-Kubitza

added lib/Firefox_bookmarks.reformat.csv

8724 04/25/2013 09:58 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: to synchronize a Mac's settings with my testing machine's: exclude only backup files in the Documents/BIEN/svn/backups/ dir (sync the other files)

8723 04/25/2013 09:53 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: to synchronize vegbiendev, jupiter, and your local machine: when changes are made on vegbiendev: don't sync the group, which can be bien on vegbiendev but not on jupiter (where aaronmk is not a member of the bien group)

8722 04/25/2013 09:51 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: to synchronize vegbiendev, jupiter, and your local machine: when changes are made on vegbiendev: include *.md5

8721 04/25/2013 09:08 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: removed step to backup the Ubuntu VM, because this is now done as part of the "backup files not in Time Machine" step

8720 04/25/2013 09:07 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: added steps to backup files not in Time Machine

8719 04/25/2013 08:57 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: to synchronize a Mac's settings with my testing machine's: back up (almost) all files in the home directory instead of just Library/ (to both jupiter and Dropbox)

8718 04/25/2013 06:45 PM Aaron Marcuse-Kubitza

README.TXT: put commands: removed unnecessary /** after dirs to exclude

8717 04/25/2013 06:26 PM Aaron Marcuse-Kubitza

README.TXT: Maintenance: to synchronize a Mac's settings with my testing machine's: added steps to also backup the settings to Dropbox (in addition to jupiter)

8716 04/25/2013 06:13 PM Aaron Marcuse-Kubitza

lib/util.sh: added realpath () and use it where `readlink -f` is used

8715 04/25/2013 06:05 PM Aaron Marcuse-Kubitza

lib/util.run: doc comment: changed "run scripts" to "runscripts"

8714 04/25/2013 06:04 PM Aaron Marcuse-Kubitza

lib/util.run: factored general utils (non-runscript-specific) out into new util.sh

8713 04/25/2013 05:55 PM Aaron Marcuse-Kubitza

lib/util.run: renamed $verbose to $verbosity because it's an integer level, not a boolean. continue to support specifying the verbosity in $verbose.

8712 04/25/2013 05:52 PM Aaron Marcuse-Kubitza

lib/util.run: support $verbose="", which is treated as 0

8711 04/25/2013 05:50 PM Aaron Marcuse-Kubitza

lib/util.run: only automatically echo env vars when they are set if verbosity is >= 2

8710 04/25/2013 05:49 PM Aaron Marcuse-Kubitza

lib/util.run: added $verbose var to control logging. this is normally set to 0, but defaults to 2 for a runscript.

8709 04/25/2013 05:41 PM Aaron Marcuse-Kubitza

lib/util.run: moved `shopt -s expand_aliases` inside the include guard so callers can override the setting without it being reset if util.run is included again

8708 04/25/2013 05:39 PM Aaron Marcuse-Kubitza

lib/local.run: add $bin_dir to the PATH

8707 04/25/2013 05:15 PM Aaron Marcuse-Kubitza

bin/in_place: don't run if no command to run, because that would erase the file

8706 04/25/2013 05:10 PM Aaron Marcuse-Kubitza

bin/in_place: use -e (exit on error) option to sh instead of adding `|| exit` after every command

8705 04/25/2013 04:49 PM Aaron Marcuse-Kubitza

*run: added include guards

8704 04/25/2013 04:30 PM Aaron Marcuse-Kubitza

bugfix: lib/util.run: added include guard to prevent issues in "diamond includes", where a runscript includes two runscripts and each includes util.run, causing the second include of util.run to reset any methods overridden in the first included runscript. this prevents util.run from being included twice in the first place.

8703 04/25/2013 04:25 PM Aaron Marcuse-Kubitza

lib/util.run: added include_guard_var (), self_not_included () for use by path-based include guards

8702 04/25/2013 03:40 PM Aaron Marcuse-Kubitza

lib/util.run: echo_stdin (): print a separator before and after the echoed output to help distinguish it from other verbose output

8701 04/25/2013 03:37 PM Aaron Marcuse-Kubitza

lib/table.run: use new local.run instead of defining $bin_dir, etc. itself

8700 04/25/2013 03:36 PM Aaron Marcuse-Kubitza

lib/util.run: echo_export (): run the export builtin using `builtin` to avoid recursively calling any export alias or function defined by the user (e.g. `alias export=echo_export`. this causes util.run to be idempotent, such that it can be included multiple times without causing problems due to the redefinition of functions, vars, etc.

8699 04/25/2013 03:04 PM Aaron Marcuse-Kubitza

added lib/local.run, which links to locally-available resources such as $bin_dir

8698 04/25/2013 02:50 PM Aaron Marcuse-Kubitza

lib/table.run: added mysql (), mysql_ANSI ()

8697 04/25/2013 02:41 PM Aaron Marcuse-Kubitza

added web/links/index.htm containing Firefox bookmarks exported to HTML. CSS style information has been added to fix default HTML tag formatting, improve readability, and handle the Firefox bookmarks format. <dd> tags have been manually closed where HTML would not auto-close them properly. note that these changes must be reapplied each time the bookmarks file is reexported (`svn di` will show the changes to make).

8696 04/25/2013 04:54 AM Aaron Marcuse-Kubitza

lib/table.run: run mk_esc_name for $schema, $table

8695 04/24/2013 11:18 PM Aaron Marcuse-Kubitza

lib/table.run: added esc_name (), mk_esc_name ()

8694 04/24/2013 11:16 PM Aaron Marcuse-Kubitza

lib/util.run: added set_var ()

8693 04/24/2013 10:58 PM Aaron Marcuse-Kubitza

bugfix: lib/util.run: run_args_cmd (): `set --`: need to use eval so that the output of reverse is interpreted as escaped args rather than split using $IFS

8692 04/24/2013 10:40 PM Aaron Marcuse-Kubitza

bugfix: lib/util.run: run_args_cmd (): BASH_ARGV is stored in reverse order, so it needs to be reversed to be usable as $@

8691 04/24/2013 10:38 PM Aaron Marcuse-Kubitza

lib/util.run: added reverse ()

8690 04/24/2013 02:51 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: regenerated exports

8689 04/24/2013 02:49 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: source: renamed contact -> owner because smaller sources may not have an admin/contact person, but would have a copyright holder or other entity with control over the source's distribution

8688 04/24/2013 02:45 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: added table comments from VegCore data dictionary (VegCore.vegpath.org)

8687 04/24/2013 01:08 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines

8686 04/24/2013 01:07 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: added hstore expansion columns where needed

8685 04/24/2013 12:54 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines

8684 04/24/2013 12:34 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: added unique constraint for each set of identifying columns

8683 04/24/2013 12:25 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: collection: added back primary key

8682 04/24/2013 12:24 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: made owner an fkey to collection instead of organization to correspond with orig_collection and current_collection (and to allow auto-filling it from current_collection in a trigger)

8681 04/24/2013 12:18 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: reordered columns to group together each method of identifying a specimen

8680 04/24/2013 12:14 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: collection: don't inherit from source, because a collection is a scoping entity, not a dataset. a collection may also be used as a dataset, but need not be for the purposes of scoping a specimen's accession_number.

8679 04/24/2013 12:07 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: removed redundant stamping_institution and donor_institution, because these are now in orig_collection.institution. (it is assumed that stamping_institution and donor_institution are the same, because the first institution to acquire and store a specimen (the donor) is the one that stamps it with an accession_number.)

8678 04/24/2013 12:01 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: split collection into orig,current_collection because the collection that scoped the accession_number (the orig_collection) is sometimes different than the collection where the specimen is now held (the current_collection, or specimen_holder_institutions), e.g. when the specimen is donated

8677 04/24/2013 11:49 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: collection: added institution, name to identify and scope the collection

8676 04/24/2013 11:39 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: changed taxon_name fkeys to taxon_concept where appropriate, and renamed the referencing columns to *_taxon_concept to clearly indicate the referenced table. taxon_concept fkeys are appropriate whenever a taxon is defined or associated with an observed entity, in which case the assertion is not just to a taxon name but to a defined taxon concept (albeit sometimes an unofficial taxon concept scoped by the collector or identifier).

8675 04/24/2013 11:08 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: added code_in_individual column

8674 04/24/2013 10:40 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: specimen: added fkey to individual for the individual the specimen was taken from

8673 04/24/2013 10:30 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: individual/stem_observation: made individual/stem nullable because there is not always enough identifying information (stem tag, etc.) to actually associate an identifiable individual with an observation

8672 04/24/2013 10:27 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: moved code from individual to individual_observation because the code is something applied at observation time, rather than something that can be used to track individuals between observations

8671 04/24/2013 10:17 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: moved collection_event from taxon_occurrence to specimen because only specimens are actually collected, while other taxon_occurrences (e.g. individuals) must be uniquely identified by some means that are shared between re-observations (e.g. the stem tag)

8670 04/24/2013 10:03 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: moved collector, collector_number from taxon_occurrence to taxon_observation because these are actually attributes that are available or assigned at observation time, rather than being intrinsic to the taxon_occurrence (which can be either an individual or a specimen)

8669 04/24/2013 09:34 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: method: colored it forest green like stratum because these are both tables in the same category (method), and forest green is the color VegBank uses for methods. (the fact that VegBank gives stratum the method color indicates that we are on the right track when we are treating stratum as a type of method that's essentially a height class.)

8668 04/24/2013 09:27 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: method: added parent fkey which can be used to autoinherit attributes from another method, in the same way that event autoinherits a method from its parent

8667 04/24/2013 09:16 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: replaced < event label for diagram half with < place, because the occurrence half actually also includes events (observations), but does not include places

8666 04/24/2013 09:10 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: removed extra empty page used for moving objects around

8665 04/24/2013 09:08 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: swapped position of place and source categories so that the place tables, which users are apt to query often, are at the top, and the attribution information, which is likely to be used less often, is at the bottom. this also moves the plot table closer to taxon_occurrence, which should eventually have an fkey to it.

8664 04/24/2013 08:19 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines

8663 04/24/2013 08:05 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: record: added source_id_scope and added it to the record_unique unique index

8662 04/24/2013 08:01 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: Default*ColumnType: updated to VARBINARY type used in key columns

8661 04/23/2013 11:19 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: TNRS taxonomic scrubbing steps: repositioned arrow labels so they point in the direction of the fkey lines

8660 04/23/2013 11:06 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb.run: use new zip/unzip_newer

8659 04/23/2013 11:06 PM Aaron Marcuse-Kubitza

lib/util.run: added zip/unzip_newer aliases

8658 04/23/2013 11:05 PM Aaron Marcuse-Kubitza

lib/util.run: added zip/unzip echo_run aliases

8657 04/23/2013 10:57 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb.run: export_ (): always overwrite existing files. this option is safe, because -u only extracts files with a newer mtime than their copies on disk.

8656 04/23/2013 10:55 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: TNRS taxonomic scrubbing steps labels: converted tables to notes, which now have bold formatting so that empty tables aren't needed for formatting purposes

8655 04/23/2013 10:25 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb.run: import/export_ (): use zip/unzip's -u flag instead of `make` to auto-sync the zip file contents. the -u flag has the added benefit of preserving the contained file's mtime, at the expense of an mtime lookup in the zip archive's table of contents.

8654 04/23/2013 10:17 PM Aaron Marcuse-Kubitza

added schemas/VegCore/VegCore.ERD.mwb.run, which syncs VegCore.ERD.mwb's zip file contents

8653 04/23/2013 09:58 PM Aaron Marcuse-Kubitza

bugfix: lib/util.run: inline_make (): put echo_func at the top of the function

8652 04/23/2013 09:58 PM Aaron Marcuse-Kubitza

lib/util.run: inline_make (): pass Makefile commands using /dev/fd/3 (i.e. 3<<'EOF' ...) instead of stdin, to allow stdin to be used by commands that prompt the user

8651 04/23/2013 09:44 PM Aaron Marcuse-Kubitza

lib/util.run: inline_make (): use <() to pass Makefile commands as a named descriptor rather than using stdin, to allow stdin to be used by commands that prompt the user

8650 04/23/2013 09:27 PM Aaron Marcuse-Kubitza

bugfix: lib/util.run: echo_vars (): remove any value to set (=*) from the vars, since this is often used with export

8649 04/23/2013 09:14 PM Aaron Marcuse-Kubitza

bugfix: lib/util.run: echo_export (): set the vars before echoing them

8648 04/23/2013 08:55 PM Aaron Marcuse-Kubitza

lib/util.run: run_args_cmd (): use new canon_rel_path() to resolve .. in the script path, so it's easier to see where the script is actually located

8647 04/23/2013 08:52 PM Aaron Marcuse-Kubitza

lib/util.run: echo_func (): use new canon_rel_path() to resolve .. in the script path, so it's easier to see where the script is actually located

8646 04/23/2013 08:51 PM Aaron Marcuse-Kubitza

lib/util.run: added canon_rel_path ()

8645 04/23/2013 08:40 PM Aaron Marcuse-Kubitza

lib/util.run: inline_make (): provide $self as make var

8644 04/23/2013 08:35 PM Aaron Marcuse-Kubitza

lib/util.run: inline_make (): provide self_dir to make as env var instead of as make var, to avoid specifying every make var both as a local var and as a make var in the make command

8643 04/23/2013 08:31 PM Aaron Marcuse-Kubitza

lib/util.run: export alias: added comment explaining what it does

8642 04/23/2013 08:30 PM Aaron Marcuse-Kubitza

lib/util.run: aliased export to echo_export so all env vars are automatically echoed when they are set

8641 04/23/2013 08:29 PM Aaron Marcuse-Kubitza

lib/util.run: added echo_vars (), echo_export ()

8640 04/23/2013 08:17 PM Aaron Marcuse-Kubitza

lib/util.run: inline_make (): added local $self and use it to create $self_dir

8639 04/23/2013 08:15 PM Aaron Marcuse-Kubitza

lib/util.run: inline_make (): set $self_dir as a local var before passing it to make, to avoid clutter in the command that invokes make

8638 04/23/2013 07:54 PM Aaron Marcuse-Kubitza

added schemas/VegCore/document.mwb.xml, so changes to the diagram can be tracked line-by-line. keeping this up-to-date requires running `unzip VegCore.ERD.mwb document.mwb.xml` whenever VegCore.ERD.mwb is changed.

8637 04/23/2013 07:53 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: target MySQL version: updated to 5.5.3

8636 04/23/2013 07:49 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: NoteFigure:TextFont (labels): made it bold to stand out better

8635 04/23/2013 07:45 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: Layer:TitleFont (legends): increased size and made it bold to stand out better

8634 04/23/2013 07:31 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: made stratum extend method, so that any observation event can have an associated stratum. removed no longer needed plot_stratum, since strata are now represented as sampling methods (i.e. using height classes) rather than a variant of subplots.

8633 04/23/2013 07:21 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: VegCore DB: changed collation to utf8_bin to match table collation

8632 04/23/2013 07:15 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: saved settings for publishing schema to vegbiendev phpMyAdmin (vegbiendev.nceas.ucsb.edu/phpmyadmin/index.php?db=VegCore). this adds `DROP TABLE IF EXISTS` before each CREATE TABLE statement, renames the default DB to VegCore, and adds a USE statement to select the VegCore DB.

8631 04/23/2013 06:29 PM Aaron Marcuse-Kubitza

schemas/VegCore/connections.xml: vegbiendev.nceas.ucsb.edu: set schema (DB) to VegCore

8630 04/23/2013 06:20 PM Aaron Marcuse-Kubitza

added schemas/VegCore/connections.xml, which should be installed as the connections.xml settings file

8629 04/23/2013 06:19 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: imported database connections from the connections.xml settings file into document.mwb.xml in the .mwb zip file. these connections are not used directly by MySQL Workbench, but instead need to be copied into the connections.xml settings file.

8628 04/23/2013 05:17 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: use Database > Forward Engineer (Ctrl+G) instead of File > Export > Forward Engineer SQL CREATE Script (Ctrl+Shift+G), so that comments will use the max comment length for the server's MySQL version rather than MySQL Workbench's internal MySQL version, which has a max comment length of only 60 chars for tables. this commit stores the default export settings for Forward Engineer, which are saved each time it's run.

8627 04/23/2013 04:31 PM Aaron Marcuse-Kubitza

bugfix: root Makefile: $(postgresReload-Linux): fixed the "shmat(id=...) failed: Cannot allocate memory" error by telling the user to restart PostgreSQL manually from the command line