[Checkins] [zopefoundation/zc.lockfile] 851894: Issue #6: The format of the lock file content can ...

GitHub noreply at github.com
Thu Jun 9 14:38:52 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zc.lockfile
  Commit: 851894c4f9f45a63bb8f34eeac01043daa1f0e5c
      https://github.com/zopefoundation/zc.lockfile/commit/851894c4f9f45a63bb8f34eeac01043daa1f0e5c
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

  Changed paths:
    M CHANGES.txt
    A doc.txt
    M src/zc/lockfile/README.txt
    M src/zc/lockfile/__init__.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: The format of the lock file content can now be specified using an optional keyword argument to LockFile()


  Commit: b2532f1afee63cbe9f44cf2307a6b14130092544
      https://github.com/zopefoundation/zc.lockfile/commit/b2532f1afee63cbe9f44cf2307a6b14130092544
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

  Changed paths:
    M src/zc/lockfile/__init__.py

  Log Message:
  -----------
  Issue #6: Order of values from lock file is now predictable in the logged lock failure. Good for unit tests.


  Commit: fee0ff6279f78cee107fe0c355d23776af0110d8
      https://github.com/zopefoundation/zc.lockfile/commit/fee0ff6279f78cee107fe0c355d23776af0110d8
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Fixed Python 3.x compatibility in the test suite


  Commit: 6642d23c917f3e34513a3f9247b79b471de6d3d7
      https://github.com/zopefoundation/zc.lockfile/commit/6642d23c917f3e34513a3f9247b79b471de6d3d7
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M src/zc/lockfile/__init__.py

  Log Message:
  -----------
  Issue #6: Fixed Python 2.6 compatibility in string formatting


  Commit: f9beb571e6f7f799c26a8543f882bf66a9a3c84e
      https://github.com/zopefoundation/zc.lockfile/commit/f9beb571e6f7f799c26a8543f882bf66a9a3c84e
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Use explicit nested with statements instead of a helper function for easier compatibility between Python versions


  Commit: a6bf7013bff748ec97ad4dcb2140f69c1a3208c7
      https://github.com/zopefoundation/zc.lockfile/commit/a6bf7013bff748ec97ad4dcb2140f69c1a3208c7
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Fixed PyPy 3 compatibility in the test suite by adding a device_encoding() function to the mock os library


  Commit: 6ea44beeff44ff5c03989655e4ded4e49c1c99f7
      https://github.com/zopefoundation/zc.lockfile/commit/6ea44beeff44ff5c03989655e4ded4e49c1c99f7
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-17 (Thu, 17 Mar 2016)

  Changed paths:
    R doc.txt

  Log Message:
  -----------
  Issue #6: Removed the auto-generated doc.txt which was added accidentally


  Commit: 6476e1027705caeaaf946965ecf4c95df9ae6555
      https://github.com/zopefoundation/zc.lockfile/commit/6476e1027705caeaaf946965ecf4c95df9ae6555
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-31 (Thu, 31 Mar 2016)

  Changed paths:
    M setup.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Use unittest.mock or the "mock" package from PyPI instead of custom mocking


  Commit: 478ecb12db82d8e72b51c90e52d7101476610408
      https://github.com/zopefoundation/zc.lockfile/commit/478ecb12db82d8e72b51c90e52d7101476610408
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-03-31 (Thu, 31 Mar 2016)

  Changed paths:
    M src/zc/lockfile/__init__.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Simplified formatting and abandoned parsing of lock file contents


  Commit: dab25eb86fb2a7319aba49a10077cea66dd0ad33
      https://github.com/zopefoundation/zc.lockfile/commit/dab25eb86fb2a7319aba49a10077cea66dd0ad33
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Formatted doctest description better


  Commit: 59b9556e3ba5576bf05fceeb19010be91951f576
      https://github.com/zopefoundation/zc.lockfile/commit/59b9556e3ba5576bf05fceeb19010be91951f576
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/zc/lockfile/__init__.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Moved the leading space as part of the default content template


  Commit: d9b2e0e1d412816a806860d77f38f8170f5dfd28
      https://github.com/zopefoundation/zc.lockfile/commit/d9b2e0e1d412816a806860d77f38f8170f5dfd28
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Removed a redundant seek() call in tests


  Commit: 40fd28c8f517c76b72f1ac0502d66ff7d5b20a9c
      https://github.com/zopefoundation/zc.lockfile/commit/40fd28c8f517c76b72f1ac0502d66ff7d5b20a9c
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Added a prefix to temporary filenames in tests

This makes it easier to trace stale temporary files to the culprit.


  Commit: 77bbf11ba32f355d2c36c23b2bf517c44d51b77a
      https://github.com/zopefoundation/zc.lockfile/commit/77bbf11ba32f355d2c36c23b2bf517c44d51b77a
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Removed a test method docstring

Failing test is now easier to find since test runner displays the method name.


  Commit: b0d2d4321e30dbb7ec59a0eb97d3e8ed3461e129
      https://github.com/zopefoundation/zc.lockfile/commit/b0d2d4321e30dbb7ec59a0eb97d3e8ed3461e129
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Shorter spelling for adding class-based unit test cases


  Commit: 8cd1b976db1afdd4d5347a377bde0b7cd182fd1f
      https://github.com/zopefoundation/zc.lockfile/commit/8cd1b976db1afdd4d5347a377bde0b7cd182fd1f
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Removed redundant doctest addition

Those tests were previously moved into the tests module.


  Commit: c03d42ca2626687c45c1687698e314baf8b217c3
      https://github.com/zopefoundation/zc.lockfile/commit/c03d42ca2626687c45c1687698e314baf8b217c3
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/zc/lockfile/__init__.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Revert "Moved the leading space as part of the default content template"

The leading space may be essential on Windows since the code uses byte-range
locking to lock just the 1st byte. Perhaps locking on Windows prevents other
processes from reading too?

This reverts commit 59b9556e3ba5576bf05fceeb19010be91951f576.


  Commit: f2a3c3564d8981ddebacd81b7587eb1624fc02e3
      https://github.com/zopefoundation/zc.lockfile/commit/f2a3c3564d8981ddebacd81b7587eb1624fc02e3
  Author: Antti Kaihola <antti.kaihola at eniram.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Issue #6: Removed an obsolete import of the contextmanager helper from tests


  Commit: 34b7e8985884fb820f547052b1fde9826707648c
      https://github.com/zopefoundation/zc.lockfile/commit/34b7e8985884fb820f547052b1fde9826707648c
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
    M CHANGES.txt
    M setup.py
    M src/zc/lockfile/README.txt
    M src/zc/lockfile/__init__.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Merge pull request #7 from EniramLtd/hostname-in-lockfile

Issue #6: The format of the lock file content can now be specified...


Compare: https://github.com/zopefoundation/zc.lockfile/compare/37b52ce2c4c1...34b7e8985884


More information about the checkins mailing list