[ckan-changes] [okfn/ckan] : [master][packaging] Change build.sh to make it eas...

GitHub noreply at github.com
Thu Jan 12 13:22:01 UTC 2012


  Branch: refs/heads/feature-1515-activity-streams
  Home:   https://github.com/okfn/ckan
  Commit: 9c6cfa4b81e6502a36863ed15cf9a3dc45a10d2f
      https://github.com/okfn/ckan/commit/9c6cfa4b81e6502a36863ed15cf9a3dc45a10d2f
  Author: Ian Murray <ian.murray at okfn.org>
  Date:   2012-01-11 (Wed, 11 Jan 2012)

  Changed paths:
    M build.sh

  Log Message:
  -----------
  [master][packaging] Change build.sh to make it easier to use when building packages on jenkins

 - Pass the package versions in as arguments
 - Don't perform the step of copying the .deb files in to the repository


  Commit: cdeb484307910c955d0f7d906c230da519dbf3c7
      https://github.com/okfn/ckan/commit/cdeb484307910c955d0f7d906c230da519dbf3c7
  Author: amercader <amercadero at gmail.com>
  Date:   2012-01-11 (Wed, 11 Jan 2012)

  Changed paths:
    M ckan/tests/functional/api/test_action.py
  M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  [#1592][dictization] Update tests


  Commit: 1e649a62fcf6213c0c93692a675df298126c4c9d
      https://github.com/okfn/ckan/commit/1e649a62fcf6213c0c93692a675df298126c4c9d
  Author: amercader <amercadero at gmail.com>
  Date:   2012-01-11 (Wed, 11 Jan 2012)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
  M ckan/lib/dictization/model_save.py
  M ckan/logic/action/get.py
  M ckan/tests/functional/api/test_action.py
  M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  Merge branch 'feature-1592-metadata-created-modified-in-package_dictize'


  Commit: 97f4ce8f0a67a7dc20467fc69b90dfa211ac7da6
      https://github.com/okfn/ckan/commit/97f4ce8f0a67a7dc20467fc69b90dfa211ac7da6
  Author: David Read <david.read at okfn.org>
  Date:   2012-01-11 (Wed, 11 Jan 2012)

  Changed paths:
    M doc/extensions.rst

  Log Message:
  -----------
  [master][noticket][doc][s]: Improve formatting and layout.


  Commit: 4306dc6652880e49e004785a46dbd6af868c7736
      https://github.com/okfn/ckan/commit/4306dc6652880e49e004785a46dbd6af868c7736
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-12 (Thu, 12 Jan 2012)

  Changed paths:
    M build.sh
  M ckan/lib/dictization/model_dictize.py
  M ckan/lib/dictization/model_save.py
  M ckan/logic/action/get.py
  M ckan/tests/functional/api/test_action.py
  M ckan/tests/lib/test_dictization.py
  M doc/extensions.rst

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckan into feature-1515-activity-streams


  Commit: 30fae6e99552aedbd5f63f079a7b2855aa040a0a
      https://github.com/okfn/ckan/commit/30fae6e99552aedbd5f63f079a7b2855aa040a0a
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-01-12 (Thu, 12 Jan 2012)

  Changed paths:
    M ckan/lib/activity.py
  M ckan/model/package.py

  Log Message:
  -----------
  [#1636] Temporary workaround for activity streams crash when purging objects

The problem is that whenever a package gets updated the activity streams
session tries to dictize that package in order to write a copy of the
dict into the activity streams table, but if the package is being purged
then package_dictize() raises an exception when it can't find a current
revision for the package.

This fix just skips making an activity stream item for a package that is
being purged, which is probably the right thing to do, but perhaps we
should also write code to purge any previous activity stream items
related to the purged package.


Compare: https://github.com/okfn/ckan/compare/c589b07...30fae6e


More information about the ckan-changes mailing list