Project

General

Profile

# Date Author Comment
14750 09/25/2014 01:45 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(postgresReload-*) calls: do not prepend $(MAKE) or - because these are multi-command functions

14749 09/25/2014 01:36 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(bien*Password): need to use = instead of := because these files are not available until config/download/live has run

14744 09/24/2014 11:28 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(uutils_install): need to exit after printing instructions instead of continuing

14741 09/24/2014 10:58 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: bin/install: uutils: need to reopen terminal window before can proceed with other installation steps

14740 09/24/2014 09:04 PM Aaron Marcuse-Kubitza

/Makefile: python-Linux: removed no longer used installation of pp (Parallel Python). we use Python's multiprocessing package instead.

14739 09/24/2014 07:57 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: install: must be config/download/live, not config/download

14735 09/24/2014 07:32 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: bin/install: also need to install uutils

14705 09/22/2014 03:39 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: install: run bin/install first since config/download depends on it

14702 09/19/2014 03:51 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: install: also need to run config/download to get the necessary passwords

14700 09/19/2014 03:11 PM Aaron Marcuse-Kubitza

/Makefile: config: renamed to bin/install because config is the name of a directory

14068 07/15/2014 03:11 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres_restart-*: argument to echo always needs quotes

14067 07/15/2014 03:05 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(pg_ctl-*): tell user that if it doesn't work, need to run `rm $(macPostgresDir)/postmaster.pid` and retry

14066 07/15/2014 02:57 PM Aaron Marcuse-Kubitza

/Makefile: $(pg_ctl-Darwin): documented the pg_ctl version of this command in case `brew services` doesn't work

14031 07/14/2014 04:40 PM Aaron Marcuse-Kubitza

/Makefile: db: use reinstall instead of install to allow running this on an existing DB

13990 07/11/2014 10:26 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres_restart-Darwin: need to have the user run the command outside of make because it doesn't appear to do anything when run inside make (this is the same problem as on Linux)

13989 07/11/2014 10:25 AM Aaron Marcuse-Kubitza

/Makefile: $(pg_ctl-Darwin): use simpler `brew services` instead of `launchctl __/homebrew.mxcl.postgresql.plist`

13848 06/25/2014 02:34 PM Aaron Marcuse-Kubitza

/Makefile, lib/phpPgAdmin.login.php.diff: public_ user: added auto-filled password so that users would not be confused as to what to type in the password field

13806 06/18/2014 07:12 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: mk_db: plpython3u: use CREATE EXTENSION instead of createlang so that the plpython3u extension is created in addition to the plpython3u language (as it is on Linux)

13798 06/18/2014 03:41 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgis schema: also need to make it accessible to non-superusers

13797 06/18/2014 03:12 PM Aaron Marcuse-Kubitza

/Makefile, /README.TXT: PostgreSQL: Mac OS X: switched to using homebrew, which supports PostGIS

13792 06/17/2014 04:22 PM Aaron Marcuse-Kubitza

/Makefile: removed no longer used nonApacheOnPort80 code

13791 06/17/2014 04:13 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: phppgadmin-Linux: don't change the Apache port if something "else" is running on port 80, because this feature was only needed when tomcat was running on that port, but is now buggy

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

/Makefile: mk_db: added PostGIS so it can be used by our functions

13788 06/16/2014 04:34 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: postgis: updated apt-get target names for Ubuntu 14.04

13419 05/07/2014 08:14 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: install: use schemas/public/*re*install because schemas/public/install would errexit if the public schema already exists

13363 04/30/2014 07:10 PM Aaron Marcuse-Kubitza

/Makefile: python-Linux: removed ordereddict, since OrderedDict is now obtained from `collections`

13360 04/30/2014 06:42 PM Aaron Marcuse-Kubitza

/Makefile: apache-Linux: updated for Ubuntu 14.04, which includes Apache 2.4 in the distribution

13359 04/30/2014 06:23 PM Aaron Marcuse-Kubitza

/Makefile: install: documented that schemas/public/install also tests that a clean public schema will be installable by full-database import

13358 04/30/2014 06:12 PM Aaron Marcuse-Kubitza

/Makefile: install: skip the test step at the end because this is not needed for the installation (it can be run separately if desired)

13315 04/24/2014 05:02 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(pg_ctl-Darwin): need to call the command rather than echoing it, as is needed for the Linux version

13314 04/24/2014 04:59 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: $(pg_ctl-Darwin): need to `cd /` because due to pg_ctl bug, current directory must be accessible by it

13303 04/23/2014 05:56 PM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: updated to use the official version that comes with Ubuntu 14.04

13295 04/23/2014 01:08 PM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: added warning that the install commands were designed to run on Ubuntu 12.04, which is no longer the version used by vegbiendev (it is now 14.04)

13015 04/01/2014 12:45 PM Aaron Marcuse-Kubitza

/Makefile: postgres_restart-Linux: documented that the manual running of the command is needed because for some reason, pg_ctl does not work when run inside make

13014 04/01/2014 12:43 PM Aaron Marcuse-Kubitza

fix: /Makefile: postgres_restart-Linux: added pause after telling the user the command to run

13013 04/01/2014 12:42 PM Aaron Marcuse-Kubitza

/Makefile: $(postgresReload-*): use postgres_restart for the postgres-restarting step

13012 04/01/2014 12:30 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres_restart: added separate Linux version that deals with Linux-specific issues (as in $(postgresReload-Linux))

13011 04/01/2014 12:15 PM Aaron Marcuse-Kubitza

/Makefile: added postgres_restart, since this is often invoked separately from the entire postgres_reload target

12548 02/28/2014 10:28 PM Aaron Marcuse-Kubitza

/Makefile: added separate phppgadmin-Linux target to avoid needing to run the entire postgres-Linux target whenever http://vegbiendev.nceas.ucsb.edu/phppgadmin/ goes down (after some system updates)

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).

11896 12/11/2013 07:45 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: install: need to run inputs/download in live mode so that the flat files are actually downloaded

11862 12/06/2013 06:01 AM Aaron Marcuse-Kubitza

fix: /Makefile: inputs/reinstall: commented out to avoid a cascade of "overriding commands for target" warnings. this will revert to the default uninstall, install sequence for this target rather than the simultaneous-reinstall optimization (which can still be invoked manually).

11848 12/06/2013 01:57 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: moved inputs/reinstall to end so it overrides the corresponding subdir forwarding target

11846 12/06/2013 12:27 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: inputs/install: don't run bin/reinstall_all here, because /install targets are supposed to be idempotent, forward-only actions that don't first remove existing data

11845 12/05/2013 11:55 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Darwin: don't prepend $(MAKE) to $(postgresReload-Darwin), because this is now a list of commands

11844 12/05/2013 11:52 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: config: ignore errors if ~/bin/make exists

11675 11/18/2013 12:43 AM Aaron Marcuse-Kubitza

fix: /Makefile: $(macPostgresLibs): added libpq.5, which is needed by PostgreSQL 9.3

11674 11/18/2013 12:29 AM Aaron Marcuse-Kubitza

fix: /Makefile: postgres-Darwin: also need to install psycopg2

11673 11/17/2013 11:27 PM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: add the PostgreSQL 9.2 apt-src in case we ever need to downgrade to it

11672 11/17/2013 10:57 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: ignore errors if `sudo apt-get update` returns a non-zero exit status due to unreachable apt sources (which are likely unrelated to PostgreSQL, and should not prevent PostgreSQL configuration from continuing)

11671 11/17/2013 10:54 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: fixed command to create /etc/apt/sources.list.d/pgdg.list

11669 11/15/2013 04:29 AM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: also install postgresql-#-postgis-scripts, which is used by derived/biengeo/

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).

11661 11/14/2013 04:09 AM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: added steps to install PostgreSQL 9.3, which is needed for proper exception parsing in the auto-re-create-views functionality

11150 10/01/2013 10:57 PM Aaron Marcuse-Kubitza

/Makefile: mk_db: config/users.sql: unset ON_ERROR_STOP so user-exists errors don't prevent further user-adds

10539 07/31/2013 08:28 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: phppgadmin.conf: updated `ln -s` to /etc/apache2/conf-available/ for current name of /etc/apache2/conf.d/phppgadmin.conf, which is now just phppgadmin

10223 07/10/2013 04:33 PM Aaron Marcuse-Kubitza

/Makefile: mysql-Linux: also install mysql-workbench, for use in modifying the VegCore ERD. (note that it has to be modified on Linux, because the Linux and Mac versions of MySQL Workbench position the lines differently.)

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

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

*Makefile: removed $(psqlOpts), $(psqlAsAdmin), which are now set by lib/common.Makefile

10121 07/02/2013 10:45 AM Aaron Marcuse-Kubitza

/Makefile: $(postgresReload-Darwin): also install pg_ident.Mac.conf

10119 07/02/2013 10:29 AM Aaron Marcuse-Kubitza

*Makefile: removed $(asAdmin), which is now set by lib/common.Makefile

9917 06/19/2013 07:58 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: phpPgAdmin: added steps to configure it for Apache 2.4

9742 06/06/2013 02:35 AM Aaron Marcuse-Kubitza

/Makefile: new config target (part of install): install our bin/make in the user's ~/bin dir so that bin/make (with filtering of verbose messages) will always be used instead of standard make (without us needing to change every occurrence of make to bin/make!)

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

8844 05/06/2013 07:05 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: moved schemas/install from install to db so that it is also run whenever the DB is reinstalled. schemas/install is needed by the staging tables reinstallation performed by reinstall_all.

8818 05/05/2013 04:30 AM Aaron Marcuse-Kubitza

bugfix: /Makefile: apache-Linux: use the standard apt-get syntax for Makefiles (`-sudo apt-get --yes install`) instead of just `apt-get install`

8817 05/05/2013 04:24 AM Aaron Marcuse-Kubitza

/Makefile: added Apache 2.4 installation

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

8626 04/23/2013 04:29 PM Aaron Marcuse-Kubitza

root Makefile: $(postgresReload-Linux): don't restart Postgres twice, because this does not fix the "shmat(id=...) failed: Cannot allocate memory" error. this error is instead produced whenever PostgreSQL is restarted from within a Makefile, but not when it's run directly from the command line or /bin/sh.

8625 04/23/2013 03:20 PM Aaron Marcuse-Kubitza

root Makefile: $(postgresReload-Linux): restart Postgres twice, because the first time after the postgresql.conf has been udpated, it always produces a "shmat(id=...) failed: Cannot allocate memory" error

8081 03/19/2013 09:27 PM Aaron Marcuse-Kubitza

root Makefile: Installation: Fixed bug where need to run schemas/public/install separately because schemas/install installs only the util schemas

8080 03/19/2013 09:26 PM Aaron Marcuse-Kubitza

root Makefile: Installation: install util schemas (temp functions py_functions) before inputs, so that inputs can use util functions in their postprocess.sql or create.sql scripts. (However, they must not use util functions in views or index functions, because these would be cascadingly deleted whenever the util schemas are reinstalled before an import.)

7836 03/05/2013 07:52 PM Aaron Marcuse-Kubitza

root Makefile: Datasources: scrub: Removed no longer needed scrub-remake, which has been replaced by direct use of TNRS.ScrubbedTaxon

7801 03/01/2013 03:53 PM Aaron Marcuse-Kubitza

root Makefile: VegBIEN DB: mk_db: Added command to import arbitrary DB users from a config file

7575 02/16/2013 08:02 AM Aaron Marcuse-Kubitza

root Makefile: MySQL: mysql-Linux: Also install phpMyAdmin

7574 02/16/2013 08:01 AM Aaron Marcuse-Kubitza

root Makefile: MySQL: mysql-Linux: Split apt-get dependencies into separate commands, like for other apt-get commands, to avoid having one failed dependency prevent the following dependencies from being installed

7573 02/16/2013 07:57 AM Aaron Marcuse-Kubitza

root Makefile: MySQL: *mysql_users: Also add bien_read user

7572 02/16/2013 07:49 AM Aaron Marcuse-Kubitza

root Makefile: MySQL: Renamed *mysql_user to *mysql_users because there can be multiple users

7423 02/02/2013 01:26 PM Aaron Marcuse-Kubitza

root Makefile: misc-Linux: Added command to copy dotlockfile to the bin/ dir, so that it can be used without being SETGID mail, which would prevent it from creating lockfiles in a directory owned by the bien user and group when being run by the user

7422 02/02/2013 01:24 PM Aaron Marcuse-Kubitza

root Makefile: core: Added misc-* to install other dependencies

7268 01/16/2013 02:55 PM Aaron Marcuse-Kubitza

root Makefile: Datasources: import: Use new import_scrub instead of import (input.Makefile)

7264 01/16/2013 02:26 PM Aaron Marcuse-Kubitza

root Makefile: Datasources: Added scrub, which runs tnrs-remake and scrub-remake

7231 01/16/2013 01:43 AM Aaron Marcuse-Kubitza

root Makefile: python-Darwin: Added instructions to install dateutil for Python 3 as well as Python 2, for use in PL/Python functions

7230 01/16/2013 01:42 AM Aaron Marcuse-Kubitza

root Makefile: python-Darwin: Added note that Python 2 comes preinstalled

7082 01/07/2013 02:00 PM Aaron Marcuse-Kubitza

root Makefile: Removed $(subMake), which is now defined properly by lib/common.Makefile

6916 12/19/2012 06:22 AM Aaron Marcuse-Kubitza

Moved schemas-related commands from root Makefile to schemas/Makefile

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

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

6914 12/19/2012 05:59 AM Aaron Marcuse-Kubitza

root Makefile: $(psqlNoSearchPath): Merged $(psqlAsBien) into it because it's the only place $(psqlAsBien) is used

6913 12/19/2012 05:56 AM Aaron Marcuse-Kubitza

root Makefile: $(psqlAsBien): Use psql_script_vegbien instead of psql_vegbien, which adds $(psqlOpts) itself

6853 12/14/2012 08:53 AM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: $(editPhppgadmin): Ignore errors if patch has already been applied

6824 12/14/2012 12:51 AM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: phpPgAdmin: Edit config file to allow passwordless logins. Edit login page to fill in public_ as the default username and add a message to leave the password blank for that user.

6823 12/12/2012 10:45 PM Aaron Marcuse-Kubitza

root Makefile: $(postgresReload-*): Ignore `mv -n` errors, which generally indicate that the existing *.conf was already renamed to *.conf.old

6822 12/12/2012 10:36 PM Aaron Marcuse-Kubitza

Makefile mk_db, schemas/pg_hba*.conf: Added passwordless public_ user with access to just the database schema. Note that in PostgreSQL, only users with explicit GRANT permissions on a table can read data in that table, but all DB users with a login can view all table schemas.

6544 12/03/2012 04:37 PM Aaron Marcuse-Kubitza

root Makefile: apt-get: Use --yes to allow unattended installations

6503 11/30/2012 04:46 PM Aaron Marcuse-Kubitza

root Makefile: $(postgresReload-*): Confirm the operation before continuing, since it involves changing PostgreSQL config files in nontrivial ways. Added instructions for setting kernel.shmmax to at least 4GB minus 1 byte on Linux, to work with the shared_buffers setting in postgresql.conf.

6489 11/29/2012 01:11 PM Aaron Marcuse-Kubitza

root Makefile: $(postgres-Linux): Fixed bug where need $(asAdmin) before commands to rename existing *.conf

6488 11/29/2012 01:01 PM Aaron Marcuse-Kubitza

root Makefile: $(postgres-Linux): Also install postgresql-contrib, which contains the hstore extension

6473 11/28/2012 12:42 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: $(postgresReload-*): Rename existing *.conf to *.conf.old

6447 11/24/2012 03:07 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: $(postgresReload-Linux): Try chmoding both as your user and as the bien user