[Checkins] [zopefoundation/Zope] 016a3f: Re-add example section for how to use TemporaryFol...

GitHub noreply at github.com
Thu May 17 16:47:01 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: 016a3f1d66a39d7a847d971ae926681815ccee1d
      https://github.com/zopefoundation/Zope/commit/016a3f1d66a39d7a847d971ae926681815ccee1d
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Zope2/utilities/skel/etc/wsgi.conf.in

  Log Message:
  -----------
  Re-add example section for how to use TemporaryFolder


  Commit: bba6eee800041d54b7ac2fe6414d889f328e0d18
      https://github.com/zopefoundation/Zope/commit/bba6eee800041d54b7ac2fe6414d889f328e0d18
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/App/ProductContext.py
    M src/OFS/Application.py

  Log Message:
  -----------
  Hand Application object to Products through ProductContext

Products receive the ProductContext as the first parameter
to their initialize() method when they are loaded. This context used to
contain a reference to the app until it was removed during Zope 4
preparations. The Application was, however, never exposed through an
API.

Access to the API is necessary for certain products that automatically
add objects to the Application when they are loaded, such as the
Products.Sessions and Products.TemporaryFolder. This used to happen in
OFS.Application in Zope 2, but was moved out when the products became
indepentent.


  Commit: b14d6c100f629fa80a11007ffde38ba39b13162c
      https://github.com/zopefoundation/Zope/commit/b14d6c100f629fa80a11007ffde38ba39b13162c
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    A src/OFS/tests/applicationproduct/__init__.py
    M src/OFS/tests/testAppInitializer.py

  Log Message:
  -----------
  Add unit test for application initialization in product


  Commit: c4f8c1ba63b93ba05c3260122bce75091c861409
      https://github.com/zopefoundation/Zope/commit/c4f8c1ba63b93ba05c3260122bce75091c861409
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Add changelog entry


  Commit: ba9bee707a310e8cf7d053e540df345baa5ac669
      https://github.com/zopefoundation/Zope/commit/ba9bee707a310e8cf7d053e540df345baa5ac669
  Author: ‮zlohhcuB treboR <robert.buchholz at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M CHANGES.rst
    M src/App/ProductContext.py
    M src/OFS/Application.py
    A src/OFS/tests/applicationproduct/__init__.py
    M src/OFS/tests/testAppInitializer.py
    M src/Zope2/utilities/skel/etc/wsgi.conf.in

  Log Message:
  -----------
  Merge pull request #277 from zopefoundation/add_app_to_product_context

Add app to product context


Compare: https://github.com/zopefoundation/Zope/compare/76314d05407a...ba9bee707a31
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list