[ckan-changes] [ckan/ckan] efffd0: [#2429] Make the system info table revisioned

GitHub noreply at github.com
Mon May 18 17:39:23 UTC 2015


  Branch: refs/heads/2429-remote-config
  Home:   https://github.com/ckan/ckan
  Commit: efffd01122b8b678f99216482ad2aab133c469b1
      https://github.com/ckan/ckan/commit/efffd01122b8b678f99216482ad2aab133c469b1
  Author: amercader <amercadero at gmail.com>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M ckan/lib/app_globals.py
    A ckan/migration/versions/077_add_state_to_system_info.py
    M ckan/model/__init__.py
    M ckan/model/system_info.py
    M ckan/tests/factories.py
    A ckan/tests/model/test_system_info.py

  Log Message:
  -----------
  [#2429] Make the system info table revisioned

If we are going to allow the configuration to be changed remotely it
will be useful to be able to track changes on it (when was it done,
which user did it, etc.) The best way we have now for doing is
revisioning, even though it's a pain to set up, as demonstrated by this
commit. Fields need to be added manually and the model definition is
much more complex.

Added preliminary tests.


  Commit: cdb2ef1f63acdef68a4c39aab538229c8481416e
      https://github.com/ckan/ckan/commit/cdb2ef1f63acdef68a4c39aab538229c8481416e
  Author: amercader <amercadero at gmail.com>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M ckan/config/environment.py
    A ckan/tests/config/test_environment.py

  Log Message:
  -----------
  Merge branch '2429-config-env-var' into 2429-remote-config


Compare: https://github.com/ckan/ckan/compare/efffd01122b8^...cdb2ef1f63ac


More information about the ckan-changes mailing list