[ckan-changes] [ckan/ckan] a1b65b: Force postgres to use 5432 as its port on Travis

GitHub noreply at github.com
Fri Oct 3 13:07:13 UTC 2014


  Branch: refs/heads/release-v2.1.3
  Home:   https://github.com/ckan/ckan
  Commit: a1b65ba17204fe81e616e90d62484dc3844347ea
      https://github.com/ckan/ckan/commit/a1b65ba17204fe81e616e90d62484dc3844347ea
  Author: amercader <amercadero at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M bin/travis-build

  Log Message:
  -----------
  Force postgres to use 5432 as its port on Travis


  Commit: fb262a4b35734d90a6d72c677a324ad279ad0072
      https://github.com/ckan/ckan/commit/fb262a4b35734d90a6d72c677a324ad279ad0072
  Author: amercader <amercadero at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M bin/travis-build

  Log Message:
  -----------
  Travis script: sh vs bash


  Commit: f07d0ad265027db74ef271b5a9d3bf19a5eba2d0
      https://github.com/ckan/ckan/commit/f07d0ad265027db74ef271b5a9d3bf19a5eba2d0
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M ckanext/stats/__init__.py

  Log Message:
  -----------
  [#291] Configure ckanext.stats as namespace packages


  Commit: 85ba339fa84f4b31b8e759d0f437a270cf0b70ad
      https://github.com/ckan/ckan/commit/85ba339fa84f4b31b8e759d0f437a270cf0b70ad
  Author: amercader <amercadero at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    A ckanext/datastore/helpers.py
    A ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  [#1871] Add function to extract table names from SQL statement

The function performs an EXPLAIN query with the provided statement and
parses its output looking for table names. It requires Postgres >= 9.x,
as it uses the FORMAT JSON option to get and parse a JSON objects.


  Commit: 0d4e3069ed07584f0b4552a48df9b5b6db8d2583
      https://github.com/ckan/ckan/commit/0d4e3069ed07584f0b4552a48df9b5b6db8d2583
  Author: amercader <amercadero at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M ckanext/datastore/db.py
    M ckanext/datastore/tests/test_search.py

  Log Message:
  -----------
   [#1871] Disallow DataStore SQL queries involving system tables

 Using the `get_table_names_from_sql` helper function before running the
 provided statement, we raise a Validation error if some of the tables
 start with `pg_`.


  Commit: eca54af2e6f71bf2b2070d870f63d5cecee122b3
      https://github.com/ckan/ckan/commit/eca54af2e6f71bf2b2070d870f63d5cecee122b3
  Author: amercader <amercadero at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  [#1871] Fix tests

PEP9 and skip the get table names tests if running on legacy mode.

Conflicts:
	ckanext/datastore/tests/test_helpers.py


  Commit: 2810460b746baed8f8b44b7da38f1dfc3b13c639
      https://github.com/ckan/ckan/commit/2810460b746baed8f8b44b7da38f1dfc3b13c639
  Author: amercader <amercadero at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  [#1871] Fix wrong call in tests


Compare: https://github.com/ckan/ckan/compare/bee9f815177a...2810460b746b


More information about the ckan-changes mailing list