[ckan-changes] [okfn/ckan] aac758: Tweak vocabulary_show() arguments

GitHub noreply at github.com
Fri Feb 17 11:12:11 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: aac7586db1178df5bc9996704357f4cfdffbdc2b
      https://github.com/okfn/ckan/commit/aac7586db1178df5bc9996704357f4cfdffbdc2b
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M ckan/logic/action/get.py
  M ckan/tests/functional/api/model/test_vocabulary.py
  M ckan/tests/functional/test_tag_vocab.py

  Log Message:
  -----------
  Tweak vocabulary_show() arguments

Be consistent with other *_show() logic functions: accept an 'id'
argument that can be either the vocab ID or the name.


  Commit: 0e892f8cbfbc95d0754a9bd781586fd46053bd3b
      https://github.com/okfn/ckan/commit/0e892f8cbfbc95d0754a9bd781586fd46053bd3b
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M ckan/logic/action/delete.py
  M ckan/logic/action/update.py

  Log Message:
  -----------
  Tweak vocab API error messages

Make them all use the same string, easier to translate


  Commit: 05f1273389b0ba8ef94dd4a461ef082631fd8378
      https://github.com/okfn/ckan/commit/05f1273389b0ba8ef94dd4a461ef082631fd8378
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M ckan/logic/action/update.py
  M ckan/tests/functional/api/model/test_vocabulary.py

  Log Message:
  -----------
  Fix vocabulary_update() when no id given


  Commit: 9e6872aa80adc911d4e17a28c862e2956db6c506
      https://github.com/okfn/ckan/commit/9e6872aa80adc911d4e17a28c862e2956db6c506
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M ckan/logic/action/delete.py
  M ckan/tests/functional/api/model/test_vocabulary.py

  Log Message:
  -----------
  Fix vocabulary_delete() when no id given


  Commit: 8b20b91da9e238fd7142d4a120ac87d591c9d1b7
      https://github.com/okfn/ckan/commit/8b20b91da9e238fd7142d4a120ac87d591c9d1b7
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M ckan/logic/action/delete.py
  M ckan/tests/functional/api/model/test_vocabulary.py

  Log Message:
  -----------
  Tweak tag_delete() error messages

Make them more consistent with those of other logic functions


  Commit: 277dc15a60bdd9f9355b3b7614cd87f07eb57806
      https://github.com/okfn/ckan/commit/277dc15a60bdd9f9355b3b7614cd87f07eb57806
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-02-17 (Fri, 17 Feb 2012)

  Changed paths:
    M ckan/logic/action/get.py
  M ckan/logic/action/update.py

  Log Message:
  -----------
  Remove some unnecessary lines of code


Compare: https://github.com/okfn/ckan/compare/dff9f7a...277dc15


More information about the ckan-changes mailing list