[ckan-changes] [okfn/ckan] 097ce8: [PATCH] Bugfix urls to EU-S3 buckets.

GitHub noreply at github.com
Wed Oct 10 11:21:42 UTC 2012


  Branch: refs/heads/release-v1.7.2
  Home:   https://github.com/okfn/ckan
  Commit: 097ce89fc98d084cfaac9bee9f73f0808a1e393e
      https://github.com/okfn/ckan/commit/097ce89fc98d084cfaac9bee9f73f0808a1e393e
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-10 (Wed, 10 Oct 2012)

  Changed paths:
    M ckan/controllers/storage.py

  Log Message:
  -----------
  [PATCH] Bugfix urls to EU-S3 buckets.

If you try to address EU-buckets with http://s3.amazonaws.com/bucket/
you get:
    The bucket you are attempting to access must be addressed using
    the specified endpoint. Please send all future requests to this
    endpoint.

Thats why we should let underlying infrastructure form the url as it
might know this kind if things. - Anton Lundin


  Commit: 100d14f61445bd929f28d016bcfd20259f16f20e
      https://github.com/okfn/ckan/commit/100d14f61445bd929f28d016bcfd20259f16f20e
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-10 (Wed, 10 Oct 2012)

  Changed paths:
    M ckan/lib/package_saver.py

  Log Message:
  -----------
  Show dataset author and maintainer names even if they have no emails

Dataset author and maintainer names were not being shown on the dataset
read page unless the dataset's author_email and maintainer_email fields
were also filled out (in CKAN 2.0 author and maintainer are simply not
shown, in 1.8 and 1.7 it actually says incorrectly 'No author given' or
'No maintainer given').

Change this behaviour so that:

1. Author/maintainer is not shown if neither author/maintainer nor
author_email/maintainer_email is filled out

2. If only author/maintainer is filled out (no email) just show the name

3. If only email is filled then use the email as both link text and
mailto: href

4. If both name and email are given then use name as link text and email
as mailto: href


  Commit: 1f374757ca446175dca30badd41f1016f4ec117f
      https://github.com/okfn/ckan/commit/1f374757ca446175dca30badd41f1016f4ec117f
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-10-10 (Wed, 10 Oct 2012)

  Changed paths:
    M ckan/lib/package_saver.py

  Log Message:
  -----------
  Factor out some code duplication


  Commit: 50105d1f78c60371a9a7acb72e9d1bc17dbe042e
      https://github.com/okfn/ckan/commit/50105d1f78c60371a9a7acb72e9d1bc17dbe042e
  Author: amercader <amercadero at gmail.com>
  Date:   2012-10-10 (Wed, 10 Oct 2012)

  Log Message:
  -----------
  Merge branch 'release-v1.7.2' of github.com:okfn/ckan into release-v1.7.2


Compare: https://github.com/okfn/ckan/compare/1b1375a071f9...50105d1f78c6


More information about the ckan-changes mailing list