[ckan-changes] [ckan/ckan] 96e9f2: [#2478] Remove deprecation warning I recently adde...

GitHub noreply at github.com
Mon Jun 22 16:37:35 UTC 2015

  Branch: refs/heads/2478-licenses-specific
  Home:   https://github.com/ckan/ckan
  Commit: 96e9f20f098d7b2fef80407d6af72ee15ba9f854
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2015-06-22 (Mon, 22 Jun 2015)

  Changed paths:
    M ckan/model/license.py

  Log Message:
  [#2478] Remove deprecation warning I recently added - as_dict is used reasonably by license_list action.

  Commit: 51eb38c13c542fde1384e0d642283739657ff049
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2015-06-22 (Mon, 22 Jun 2015)

  Changed paths:
    M ckan/lib/extract.py
    M ckan/lib/helpers.py
    M ckan/model/license.py
    M ckan/public/base/less/forms.less
    M ckan/templates/package/snippets/package_basic_fields.html
    M ckan/tests/lib/test_helpers.py
    M ckan/tests/model/test_license.py
    M doc/maintaining/configuration.rst
    M setup.py

  Log Message:
  [#2478] Default licenses more specific, and related deprecation mechanism

* Default is three well-known CC licences with version numbers.
* License options offered is now a subset of all of them, to allow
  deprecation of licenses. Config options added, plus logic in helper.
* Default licenses now in a JSON file for simple customization by
  copying it. Added extractor to ensure titles are translated.
* Simplified configuring a file with licences in - no more weird
  file:/// to work out.
* Form CSS marginally improved with a bigger select box for the long
  license names. Adjusted some other sizings in sympathy.

Compare: https://github.com/ckan/ckan/compare/96e9f20f098d^...51eb38c13c54

More information about the ckan-changes mailing list