[Checkins] [zopefoundation/Zope] c6fcf3: Explicitly require Manager role for `AltDatabaseMa...

GitHub noreply at github.com
Sat May 13 02:28:37 CEST 2017


  Branch: refs/heads/2.13
  Home:   https://github.com/zopefoundation/Zope
  Commit: c6fcf3e8e1b8097bf22e188e2378050828085704
      https://github.com/zopefoundation/Zope/commit/c6fcf3e8e1b8097bf22e188e2378050828085704
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    M doc/CHANGES.rst
    M src/App/ApplicationManager.py

  Log Message:
  -----------
  Explicitly require Manager role for `AltDatabaseManager`.

If you use experimental.publishtraverse and try to call manage_pack,
it warns that the object (the manage_pack function) has no roles.
In strict mode it will fail.
This is an indication that the function *might* be available for anonymous users.
That is not the case here, but being strict seems good.


  Commit: 9c1d657e46d82ec09e8ecc2902919971c13959b3
      https://github.com/zopefoundation/Zope/commit/9c1d657e46d82ec09e8ecc2902919971c13959b3
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Travis: run buildout in newest mode.

That fixed the build for me locally.
Error on Travis:

$ bin/buildout
Getting distribution for 'zc.buildout<2.4.dev'.
While:
  Installing.
  Loading extensions.
  Getting distribution for 'zc.buildout<2.4.dev'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/buildout.py", line 2123, in main
    getattr(buildout, command)(args)
  File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/buildout.py", line 637, in install
    self._load_extensions()
  File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/buildout.py", line 1163, in _load_extensions
    newest=self.newest, allow_hosts=self._allow_hosts)
  File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/easy_install.py", line 913, in install
    return installer.install(specs, working_set)
  File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/easy_install.py", line 714, in install
    for dist in self._get_dist(req, ws):
  File "/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg/zc/buildout/easy_install.py", line 570, in _get_dist
    dist = self._env.best_match(requirement, ws)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1040, in best_match
    dist = working_set.find(req)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/__init__.py", line 672, in find
    raise VersionConflict(dist, req)
VersionConflict: (zc.buildout 2.9.3 (/home/travis/build/zopefoundation/Zope/eggs/zc.buildout-2.9.3-py2.7.egg), Requirement.parse('zc.buildout<2.4.dev'))


  Commit: 8a45eae2a954aaaefab04174b15ee44800482927
      https://github.com/zopefoundation/Zope/commit/8a45eae2a954aaaefab04174b15ee44800482927
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Travis: pip install zc.buildout==2.3.1.

'bin/buildout -n' did not help.


  Commit: f073d8c16c3aa9523e8efda7f52204e81e83e457
      https://github.com/zopefoundation/Zope/commit/f073d8c16c3aa9523e8efda7f52204e81e83e457
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Travis: bin/buildout should be buildout now.


  Commit: 073b8a18b0e721fed2f87b4360d90c26fa452248
      https://github.com/zopefoundation/Zope/commit/073b8a18b0e721fed2f87b4360d90c26fa452248
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    M .travis.yml
    M doc/CHANGES.rst
    M src/App/ApplicationManager.py

  Log Message:
  -----------
  Merge pull request #119 from zopefoundation/altdatabasemanager-roles-213

Explicitly require Manager role for `AltDatabaseManager`.


Compare: https://github.com/zopefoundation/Zope/compare/d8693682e093...073b8a18b0e7


More information about the checkins mailing list