[ckan-changes] [ckan/ckan] b1c12f: [#1374] fix datastore _read_connection_has_correct...

GitHub noreply at github.com
Fri Mar 7 00:52:45 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: b1c12f74b09c4703407563861e089e37ec0e19e2
      https://github.com/ckan/ckan/commit/b1c12f74b09c4703407563861e089e37ec0e19e2
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#1374] fix datastore _read_connection_has_correct_privileges

remove the read connection, and use the write connection with the
username of the read connection to test if the priviliges are correct


  Commit: 28e92031be5bb4fce3e0c1be16fc98b868d112a9
      https://github.com/ckan/ckan/commit/28e92031be5bb4fce3e0c1be16fc98b868d112a9
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#1374] refactor datastore _read_connection_has_correct_privileges()

 * remove nested try statement
 * use make_url instead of splicing the string for _get_db_url()


  Commit: 74943812fdfd5ef4f107a9cad0fba77b22718540
      https://github.com/ckan/ckan/commit/74943812fdfd5ef4f107a9cad0fba77b22718540
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#1374] add host and port to _get_db_from_url


  Commit: 8bc88c2279290e070979a22d5e40ec55f84b5a93
      https://github.com/ckan/ckan/commit/8bc88c2279290e070979a22d5e40ec55f84b5a93
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#1374] datastore:rename variable to avoid confusing name clash


  Commit: f124bb9283f2b15f819609b33be7a1e415480499
      https://github.com/ckan/ckan/commit/f124bb9283f2b15f819609b33be7a1e415480499
  Author: joetsoi <joe.yeung.tsoi at gmail.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  [#1374] datastore:use bind params instead of string formatting


  Commit: a499b3472e27c7ece3a739c88ac553478a7c3ecb
      https://github.com/ckan/ckan/commit/a499b3472e27c7ece3a739c88ac553478a7c3ecb
  Author: kindly <kindly at gmail.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M ckanext/datastore/plugin.py

  Log Message:
  -----------
  Merge pull request #1397 from ckan/1374-datastore-use-temp-table

1374 Fix Datastore loading/startup bug


Compare: https://github.com/ckan/ckan/compare/49d1306789ea...a499b3472e27


More information about the ckan-changes mailing list