Project

General

Profile

# Date Author Comment
12405 02/24/2014 08:50 AM Aaron Marcuse-Kubitza

bugfix: lib/common.Makefile: `svn add`: need to run with --force because the new version of svn in the latest Mac upgrade errors if the file is already under version control

11970 01/20/2014 11:33 AM Aaron Marcuse-Kubitza

moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).

11895 12/11/2013 07:43 PM Aaron Marcuse-Kubitza

lib/common.Makefile: added %/live, for use with `make inputs/download`

11662 11/14/2013 06:44 AM Aaron Marcuse-Kubitza

Makefile, schemas/.Mac.conf: upgraded to PostgreSQL 9.3, which is needed for proper exception parsing in the auto-re-create-views functionality. this also removes the Mac 10.8 Mountain Lion quirks, such as renaming the postgres user to _postgres (which messed everything up, but is now back to normal).

11266 10/13/2013 12:46 PM Aaron Marcuse-Kubitza

bugfix: lib/common.Makefile: $(subMake): don't enclose the target in "" because sometimes the target is empty (i.e. `all`), and nothing should be passed to the sub-make

11253 10/12/2013 12:48 PM Aaron Marcuse-Kubitza

bugfix: *Makefile: recursive invocation of $(MAKE): enclose targets in "" in case they contain *

10882 09/05/2013 03:56 PM Aaron Marcuse-Kubitza

bugfix: schemas/Makefile, lib/common.Makefile: enclose schema names in "" so that they won't be lowercased

10127 07/02/2013 11:02 AM Aaron Marcuse-Kubitza

bugfix: lib/common.Makefile: $(asAdmin): need to use _postgres instead on Mac for OS X 10.8 Mountain Lion

10126 07/02/2013 11:01 AM Aaron Marcuse-Kubitza

bugfix: *Makefile: $(asAdmin) invocations of Postgres commands: need to set DB user to postgres so that it won't default to the system user _postgres

10124 07/02/2013 10:57 AM Aaron Marcuse-Kubitza

lib/common.Makefile: added $(psqlOpts), $(psqlAsAdmin)

10118 07/02/2013 10:28 AM Aaron Marcuse-Kubitza

lib/common.Makefile: added $(asAdmin)

9744 06/06/2013 04:00 AM Aaron Marcuse-Kubitza

bugfix: lib/common.Makefile: gzip/gunzip: in `touch -r`, $< needs to be the reference file

9703 06/04/2013 06:31 PM Aaron Marcuse-Kubitza

/Makefile: moved %/remake, %-remake to lib/common.Makefile because they are generally useful

9702 06/04/2013 06:26 PM Aaron Marcuse-Kubitza

/Makefile: moved %/reinstall to lib/common.Makefile because it is generally useful

8767 05/02/2013 12:46 AM Aaron Marcuse-Kubitza

bugfix: lib/common.Makefile: Compression: %.gz <-> %: only run command if target does not exist, to avoid overwriting the target when the compressed or uncompressed version is newer than it. the difference in mtimes can arise when one file is created after the other, and should not cause the opposite operation to be performed to try to make the other file up-to-date (leading to an infinite back-and-forth of creating one file from the other).

8271 04/02/2013 12:03 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(require_var)

8269 04/01/2013 10:13 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Compression: Added `%:: .gz`, `.gz: %`

7728 02/27/2013 03:00 PM Aaron Marcuse-Kubitza

lib/common.Makefile: rsync: $(rsync): Also exclude .lk* lock files

7569 02/16/2013 06:39 AM Aaron Marcuse-Kubitza

lib/common.Makefile: rsync: $(rsync*): Use --no-group because the file group is different depending on the machine

7564 02/16/2013 05:25 AM Aaron Marcuse-Kubitza

lib/common.Makefile: remote server: Use jupiter instead of vegbiendev, to ensure that all files get uploaded there rather than only to vegbiendev. This involves adding an extra database import step to download the uploaded files from jupiter onto vegbiendev.

7559 02/15/2013 11:58 PM Aaron Marcuse-Kubitza

Moved Checksums from backups/Makefile to lib/common.Makefile so all dirs (including inputs/) can use md5sum testing

7558 02/15/2013 11:08 PM Aaron Marcuse-Kubitza

lib/common.Makefile: $(remote): Made remote basepath configurable in $(remote_basepath)

7557 02/15/2013 11:04 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Renamed $(src_server) to $(remote_host) and $(src_user) to $(remote_user) for clarity

7385 01/29/2013 03:12 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(ucase) and $(ci)

7381 01/29/2013 01:09 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(mkdir)

7081 01/07/2013 01:59 PM Aaron Marcuse-Kubitza

lib/common.Makefile: $(subMake): Removed `--makefile=../input.Makefile`, which is specific just to inputs/Makefile

7076 01/07/2013 11:47 AM Aaron Marcuse-Kubitza

Makefiles: Changed "Usage: `make -s ...`" to "Run with `make -s` to avoid echoing make commands"

7046 01/04/2013 05:17 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(and), $(or), $(not)

6978 12/20/2012 10:12 AM Aaron Marcuse-Kubitza

lib/common.Makefile: $(confirm): Added comment that this requires `SHELL := /bin/bash` to work correctly

6967 12/20/2012 09:29 AM Aaron Marcuse-Kubitza

lib/common.Makefile: System: Added $(mtime)

6966 12/20/2012 09:27 AM Aaron Marcuse-Kubitza

lib/common.Makefile: $(date): Factored date format out into $(dateFmt)

6965 12/20/2012 09:25 AM Aaron Marcuse-Kubitza

backups/Makefile: Factored $(isMac) out into lib/common.Makefile

6929 12/19/2012 09:49 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added version target, which prints the current $(version) value

6927 12/19/2012 09:26 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Revisions: $(version): Use just the revision # to avoid cluttering the schema and log file names with long datetime strings

6925 12/19/2012 09:20 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Replaced no longer used $(date) with function to generate human-readable text date (rather than date to put in filename). Removed leading zeros from date and hour. Added timezone.

6915 12/19/2012 06:15 AM Aaron Marcuse-Kubitza

Makefiles: Factored out common vars/functions into lib/common.Makefile

6909 12/19/2012 05:02 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Revisions: Allow $(version) to be overridden in the environment, so that the public schema and all log files share the same, pregenerated version

5939 11/01/2012 08:20 AM Aaron Marcuse-Kubitza

lib/common.Makefile: SVN: $(add*): Fixed bug where need to use --depth=empty to ensure directory contents are not added unless explicitly listed

5913 11/01/2012 04:53 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Filesystem: $(wildcard/): Fixed bug where {} exprs weren't handled correctly when some branches contained *, by using `shopt -s nullglob` and bash directly instead of trying to emulate it with grep

5879 10/30/2012 03:58 PM Aaron Marcuse-Kubitza

lib/common.Makefile: SVN: Added $(add*)

5808 10/26/2012 04:21 PM Aaron Marcuse-Kubitza

lib/common.Makefile: rsync: $(rsync): Exclude .svn, #, and .DS_Store rather than all . because dirs beginning with . created by the user (such as .NCBI, .TNRS) should be included in the sync

5483 10/12/2012 03:44 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(comma)

5460 10/12/2012 04:44 AM Aaron Marcuse-Kubitza

lib/common.Makefile: $(version): Include both the svn revision when make was started as well as the svn revision when the command is actually run (when these values differ), in case svn was updated between the time an import was started and the time a particular table started being imported. Because tables within a datasource are imported sequentially, it is possible that an update would have happened before the last table started importing.

5458 10/12/2012 04:21 AM Aaron Marcuse-Kubitza

Factored OS section out from Makefile, input.Makefile into lib/common.Makefile

5455 10/12/2012 04:08 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(version), to replace $(date) for versioning log files, etc., and helper function $(rootRevision)

5454 10/12/2012 04:07 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(revision)

5452 10/12/2012 04:03 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(sed)

5451 10/12/2012 03:58 AM Aaron Marcuse-Kubitza

Factored $(date) out from Makefile, input.Makefile into lib/common.Makefile

5084 09/28/2012 07:55 AM Aaron Marcuse-Kubitza

lib/common.Makefile: rsync: Added $(rsync*) to rsync all files, including those starting with "."

4603 09/11/2012 09:52 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(+w)

4602 09/11/2012 09:22 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(no/) to remove trailing /

4222 08/27/2012 05:30 PM Aaron Marcuse-Kubitza

lib/common.Makefile: SVN: Added $(addFile)

4136 08/21/2012 04:14 AM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(wildcard/) (needed because builtin $(wildcard) doesn't do / suffix correctly)

3794 08/06/2012 07:30 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(cp)

3792 08/06/2012 05:57 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(CP)

3765 08/02/2012 08:30 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added empty clean target to make sure `make clean` always works

3763 08/02/2012 08:00 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added vars for chars not allowed in make targets. Added functions/vars to replace "_" with " ".

3756 08/02/2012 05:45 PM Aaron Marcuse-Kubitza

lib/common.Makefile: rsync: Time the rsync operation

3700 07/31/2012 09:04 PM Aaron Marcuse-Kubitza

lib/common.Makefile: rsync: $(remote): Fixed bug where the inputs/ dir was hardcoded, when the remote dir name needed to be determined dynamically based on the Makefile dir

3697 07/31/2012 08:36 PM Aaron Marcuse-Kubitza

Moved generally useful targets and vars from inputs/Makefile to lib/common.Makefile and lib/forwarding.Makefile