[Pkg-freeipa-devel] python-lib389.git: Changes to 'master'

Timo Aaltonen tjaalton at moszumanska.debian.org
Tue Apr 19 11:36:06 UTC 2016


New branch 'master' available with the following commits:
commit 07e3b295596400d9b394ee3f51c3856fa8131c89
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue Apr 19 12:09:29 2016 +0300

    releasing package python-lib389 version 1.0.1+git20160414-1

commit 29aab4466bd60e7316d39bb3de9246abff77b946
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue Apr 19 10:44:07 2016 +0300

    initial packaging

commit 074f3bc889781bb41b9596a5b737d5ec20b695b2
Author: William Brown <firstyear at redhat.com>
Date:   Tue Apr 12 15:42:35 2016 +1000

    Ticket 48791 - format args in server tools
    
    Bug Description:  A crash was found during a test:
                        # sometimes the server fails to start - try again
    >                   rc = os.system("%s %s" % (fullCmd))
    E                   TypeError: not enough arguments for format string
    
    Fix Description:  Fix the parameters.
    
    https://fedorahosted.org/389/ticket/48791
    
    Author: wibrown
    
    Review by: nhosoi (Thanks)

commit bf57c56e0cf9bde8fc3d68325d371053f36fc95c
Author: William Brown <firstyear at redhat.com>
Date:   Thu Apr 14 21:22:10 2016 +1000

    Ticket 48399 - Helper makefile is missing mkdir dist
    
    Bug Description:  The lib389 make srpm file is missing the make dist folder
    step which causes the git-archive to fail.
    
    Fix Description:  add the mkdir step, with -p, so it doesn't break.
    
    https://fedorahosted.org/389/ticket/48399
    
    Author: wibrown
    
    Review by: One line rule

commit fa2fce106487cd117154c174bea13e0f26ba1471
Author: William Brown <firstyear at redhat.com>
Date:   Thu Apr 14 14:35:40 2016 +1000

    Ticket 48399 - Helper makefile is missing mkdir dist
    
    Bug Description:  The lib389 make srpm file is missing the make dist folder
    step which causes the git-archive to fail
    
    Fix Description:  add the mkdir step
    
    https://fedorahosted.org/389/ticket/48399
    
    Author: wibrown
    
    Review by: One line rule

commit bf7a554c8c59f608ad986a349d1da6caac34bfe3
Author: William Brown <firstyear at redhat.com>
Date:   Thu Apr 14 14:07:12 2016 +1000

    Ticket 48794 - lib389 build requires are on a single line
    
    Bug Description:  Lib389 buildrequires are on a single line.
    
    Fix Description:  Buildrequires should be on multiple lines.
    
    https://fedorahosted.org/389/ticket/48794
    
    Author: wibrown
    
    Review by: spichugi (Thanks!!!)

commit 3f56c8d4851ed0d99f2a0b17e51eb249e4597a55
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Tue Apr 5 16:03:49 2016 -0400

    Ticket 48660 - Add function to convert binary values in an entry to base64
    
    Description:  There is a need to convert binary values in entries to
                  base64 so they can easily be used in JSON representations.
    
    https://fedorahosted.org/389/ticket/48660
    
    Reviewed by: wibrown(Thanks!!)

commit 853d950ef14ee622b6510b7943a53bfc7e75b2a0
Author: William Brown <firstyear at redhat.com>
Date:   Fri Mar 11 15:47:04 2016 +1000

    Ticket 48764 - Fix mit krb password to be random.
    
    Bug Description:  The krb kdc password was not random. This is insecure.
    
    Fix Description:  This makes the password random, and fixes our tests.
    
    https://fedorahosted.org/389/ticket/48764
    
    Author: wibrown
    
    Review by: spichugi and mreynolds (Thanks)

commit a829ae642ab37e851ebde6d5181d702f58ee87d1
Author: Viktor Ashirov <vashirov at redhat.com>
Date:   Fri Mar 11 16:53:06 2016 +0100

    Ticket 48765 - Change default ports for standalone topology
    
    Bug description:
    Some ports defined in _constants.py are invalid, because they're bigger
    than 65535.
    
    Fix description:
    Change default ports for standalone topology with a range of ports
    38930-38969.
    
    https://fedorahosted.org/389/ticket/48765
    
    Author: vashirov
    
    Reviewed by: mreynolds (Thanks!)

commit d33624108669bafa12acd46b4544fee329933fda
Author: William Brown <firstyear at redhat.com>
Date:   Wed Mar 2 17:03:01 2016 +1000

    Ticket 48750 - Clean up logging to improve command experience
    
    Bug Description:  Previously the loging was a bit too verbose by default. It
    made for a lot of noise in command usage.
    
    Fix Description:  This makes more log items require .verbose, and adds the
    verbose flag to the clitools package.
    
    https://fedorahosted.org/389/ticket/48750
    
    Author: wibrown
    
    Review by: spichugi (Thanks!)

commit 543f86875e3eaed5795dded53b95f61ad85f0bfb
Author: William Brown <firstyear at redhat.com>
Date:   Thu Mar 3 10:40:38 2016 +1000

    Ticket 48751 - Improve lib389 ldapi support
    
    Bug Description:  Previously lib389 didn't support ldapi. This limited some
    connection options to always require a username or password, when autobind
    is an option in some cases.
    
    Fix Description:  This improves the support to allow ldapi, simple binds over
    ldapi, and also to allow autobinding if the situation allows.
    
    https://fedorahosted.org/389/ticket/48751
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)

commit 01d7c73d68f11537ea148b6f9fd168d3afa72ddf
Author: William Brown <firstyear at redhat.com>
Date:   Wed Jan 6 14:50:41 2016 +1000

    Ticket 48399 - Add helper makefile to lib389 to build and install
    
    Bug Description:  It's not completely clear how to make a tarball or rpm from
    the lib389 repo.
    
    Fix Description:  This commit adds a helper make file and updates the readme
    to support a build, install, test, rpm and srpm command. This will make it
    easier to automate testing, and lower the barrier to entry to new developers.
    
    https://fedorahosted.org/389/ticket/48399
    
    Author: wibrown
    
    Review by: vashirov

commit cef3392c096018122a9aa8469bdf681ec5f3cb29
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Tue Feb 16 19:44:54 2016 +0100

    Ticket 48661 - Agreement test suite fails at the test_changes case
    
    Bug Description: At the test_changes case at the agreement test suite,
    change to the master can't be replicated to consumer due some reasons.
    Error is not always reproducible. Sometimes change can be replicated.
    
    Fix Description: Put RA Schedule to "Always" as the TearDown action in
    the end of the previous test case (test_setProperties).
    
    https://fedorahosted.org/389/ticket/48661
    
    Review by: wibrown (Thanks!)

commit 2c87c622d2ee50281b16d342d0cf4f0a543720a8
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Tue Feb 16 19:08:19 2016 +0100

    Ticket 48407 - Add test coverage module for lib389 repo
    
    Bug Description: We need some module that will show us how much lines of
    code is covered by tests.
    
    Fix Description: We can use pytest-cov plugin for this.
    
    To get it work we need:
    1) install python-pytest-cov package from Fedora or EPEL repos
    or
    1) install pytest-cov from pip
    2) add "--cov-config .coveragerc --cov=lib389" to py.test command to
    execute tests with coverage plugin
    
    We shouldn't measure coverage for lib389/tests directory while executing
    tests.
    Patch creates .coveragerc config file to omit this directory.
    
    https://fedorahosted.org/389/ticket/48407
    
    Review by: wibrown (Thanks!)

commit 82d28546500a9c6974e7cac4b1a48a1b0e07e05b
Author: William Brown <firstyear at redhat.com>
Date:   Wed Feb 10 15:34:15 2016 +1000

    Ticket 48357 - clitools should standarise their args
    
    Bug Description:  Ldap tools tend to follow some conventions, especialy in
    389. These are
    * -D for bindDN
    * -Z for instance name
    * -n for backend name
    We should make the lib389 tools conform to this.
    
    Fix Description:  Update the lib389 clitools to use standardised args.
    
    https://fedorahosted.org/389/ticket/48357
    
    Author: wibrown
    
    Review by: spichugi (Thanks!)

commit 28b0dba0095ab9e90b3a9dbb98aa741d6c954ded
Author: William Brown <firstyear at redhat.com>
Date:   Wed Feb 10 09:12:16 2016 +1000

    Ticket 48560 - Make verbose handling consistent
    
    Bug Description:  The verbose flag doesn't always turn up verbosity when expected
    . This is because we mishandled it in a number of places, didn't pass it to
    children etc.
    
    Fix Description:  Clean up our verbose flag handling in __init__.py
    
    https://fedorahosted.org/389/ticket/48560
    
    Author: wibrown
    
    Review by: nhosoi (Thanks!)

commit fd56661a96336dfdf3ae3e5291c299dbd6758f3c
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Fri Jan 22 15:01:17 2016 -0500

    Ticket 48419 - getadminport() should not a be a static method
    
    Bug Description:  getadminport() was defined at astatic mehtod, but this function
                      was not part of any class.  This causes issues with sphinx
                      documentation.
    
    Fix Description:  Remove the staticmethod decorator
    
    https://fedorahosted.org/389/ticket/48419
    
    Reviwed by: mreynolds (one line commit rule)

commit 5719013a207f407eeda43665bb2050b1a01115c1
Author: William Brown <firstyear at redhat.com>
Date:   Wed Jan 20 09:28:09 2016 +1000

    Ticket 48415
    
    Bug Description:   We commonly use encoded or other forms of our default suffix.
    We should make these variables in case we change them.
    
    Fix Description:  Add default domain parameter
    
    https://fedorahosted.org/389/ticket/48415
    
    Author: wibrown
    
    Review by: One line rule

commit 8c82076a364d11b737d6ed2ab050029049803c8e
Author: William Brown <firstyear at redhat.com>
Date:   Tue Jan 12 12:17:01 2016 +1000

    Ticket 48408 - RFE escaped default suffix for tests
    
    Bug Description:   Tickets such as 548 [0] sometimes required the escaped
    default suffix. We should add this as a constant.
    
    Fix Description:  Add the DEFAULT_SUFFIX_ESCAPED constant.
    
    https://fedorahosted.org/389/ticket/48408
    
    Author: wibrown
    
    Review by: One line policy

commit af5b3ef593d66d4782f8baf28b446619a19f2bab
Author: Viktor Ashirov <vashirov at redhat.com>
Date:   Fri Jan 8 17:34:46 2016 +0100

    Add missing dependencies for python-lib389
    
    Ticket 48405 - python-lib389 in rawhide is missing dependencies
    
    Description:  Add missing dependencies to python-lib389 spec file
    
    https://fedorahosted.org/389/ticket/48405
    
    Review by: mreynolds (Thanks!)

commit 0f03d58ec68bcdf8283e913c45cfd656ec0f0fc3
Author: William Brown <firstyear at redhat.com>
Date:   Thu Jan 7 14:56:57 2016 +1000

    Ticket 48401 - Revert typecheck
    
    Bug Description:  cidict doesn't inherit collections.Mapping, so we always fail
    hasAttr.
    
    Fix Description:  Revert the type check, but retain the fix for returning {}
    
    https://fedorahosted.org/389/ticket/48401
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)

commit f3f36d10bbc433832e460a60e5b818072eb2ed80
Author: William Brown <firstyear at redhat.com>
Date:   Thu Jan 7 10:27:48 2016 +1000

    Ticket 48401 - lib389 Entry hasAttr returs dict instead of false
    
    Bug Description:   If the search is highly targeted, and self.data in Entry is
    {}, hasAttr returns {} instead of False.
    
    Fix Description:  The error is in the one line return function. We alter this
    to be more paranoid to ensure that we are returning the correct result.
    
    https://fedorahosted.org/389/ticket/48401
    
    Author: wibrown
    
    Review by: mreynolds (Thank you!)

commit 4989dbee02a42e0e2c858ca27be4c566b87bacff
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Dec 23 15:37:03 2015 -0500

    Update monitor module to catch exceptions around searches,
    and to include a DN in the returned representation

commit 061027b76c4388057271e52ca549a82c57a6356b
Author: William Brown <firstyear at redhat.com>
Date:   Tue Dec 22 13:26:28 2015 +1000

    Ticket 48390 - RFE Improvements to lib389 monitor features for rest389
    
    Bug Description:  We need to improve the monitor features of lib389, so that we
    can expose more data for the use of the new admin system and cli tools. This
    change will allow this to occur. Additionally, we can now base other advisory
    tools on this for tuning etc.
    
    Fix Description:  Implement more monitoring features.
    
    https://fedorahosted.org/389/ticket/48390
    
    Author: wibrown
    
    Acknowledgements: I would like to thank the following staff of the University
    of Adelaide for their advice on monitoring and needs that customers have with
    ds systems:
    
    * Mark Larsen
    * David Monro
    * Tim Bowen
    * Matt Salkeld
    
    Review by: ???

commit a9869da6f3ec603f48c3c725b0c47e6b188621c6
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Dec 14 23:12:42 2015 -0500

    Remove deprecated spec file

commit fa1e8565afe0ebbefb8d970b5997c2948271b251
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Dec 7 20:52:43 2015 -0500

    Ticket 48358 - Add new spec file
    
    Description:  Add the new properly named python-lib389.spec file
    
    https://fedorahosted.org/389/ticket/48358

commit 9624cd18a506502df7336d4f519589d0098e6719
Author: William Brown <firstyear at redhat.com>
Date:   Tue Dec 8 11:15:19 2015 +1000

    Ticket 48371 - weaker host check on localhost.localdomain
    
    Bug Description:  The utility of the localhost.localdomain check is diminshed
    given that we can now setup instances with weaker host checks. Additionally,
    the hostname checks really only matter for GSSAPI instances.
    
    Fix Description:  This sets the default host to localhost, and weakens the
    default check. Additionally, we add a new args parameter that enforces strong
    hostname checks on instances.
    
    https://fedorahosted.org/389/ticket/48371
    
    Author: wibrown
    
    Review by: spichugi (Thanks heaps!)

commit a9fb88f8581f3b98c1d7d122506add51b43ea3ff
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Dec 2 12:08:41 2015 -0500

    Ticket 58358 - Update spec file with pre-release versioning
    
    Description:  Update the spec file for Fedora Packaging guidelines

commit 7edb2f605532e3696dc08b1b2730af433ac30615
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Dec 2 11:48:56 2015 -0500

    Ticket 48358 - Make Fedora packaging changes to the spec file
    
    Description:  Add the final changes to the spec file for specifying the url
                  for the source, and License documentation
    
    https://fedorahosted.org/389/ticket/48358

commit 2f1b37deb4865497ed7c3968fdede743afd392d6
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Dec 2 11:13:05 2015 -0500

    beta

commit 4a551533b1988b64546a2947f0b99bfea7303536
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Dec 2 10:51:51 2015 -0500

    Ticket 48358 - Prepare lib389 for Fedora Packaging
    
    Description:  Created spec file, and updated setup.py/setup.cfg.  Also
                  restructured the code layout to all be under /lib389
    
    https://fedorahosted.org/389/ticket/48358
    
    Reviewed by: spichugi(Thanks!)

commit 149c0ebd5d1962d697a2d5ffc5933841a46a3d53
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Mon Nov 30 21:48:58 2015 +0100

    Ticket 48364 - Fix test failures
    
    Description: New failures appear in the test suites. They should be
    fixed as soon as possible. More new features are coming to lib389(like
    REST or krb5 support) and they require a proper CI testing.
    
    Fix description: Remove "+" sign from multiline string in the
    lib389/backend.py, because it makes an impossible to replace string with
    variables on the second line.
    
    - tests/backend_test.py
    Fix exception naming in the tests, because it was updated with recent
    patches within lib389/backend.py module.
    
    - tests/suffix_test.py
    Refactor code to the pytest compatibility.
    
    https://fedorahosted.org/389/ticket/48364
    
    Reviewed by: wibrown (Thanks!)

commit 0b9729bacf5a8a6529559d81044fbb5973cf9b84
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Thu Nov 26 16:55:52 2015 +0100

    Ticket 48360 - Refactor the delete agreement function
    
    Description: The delete agreement function of agreement.py module
    doesn't cover all usage varieties and should be rewritten.
    
    Now it requires suffix and replica(DirSrv object of the server
    that the agreement points to). By some reasons, this replica object
    may be missing, then we couldn't delete the agreement.
    
    We don't have test coverage for that function.
    It should be added to tests/agreement_test.py.
    
    Also test_changes fails, fix is required.
    
    Fix description: Change arguments of the delete agreement function to:
    - suffix
    - consumer_host - of the server that the agreement points to
    - consumer_port - of the server that the agreement points to
    or
    - agmtdn - DN of the replica agreement
    
    With that, we can clearly define the required agreement.
    
    Add the delete test to tests/agreement_test.py
    
    Also fix the changes test by adding time.sleep(2) before
    change number checking, because there was not enough time
    for updating change number on master.
    
    https://fedorahosted.org/389/ticket/48360
    
    Reviewed by: wibrown (Thanks!)

commit 252e0c17e259e10d60e2f0b572ee64ae0940fb10
Author: William Brown <firstyear at redhat.com>
Date:   Fri Nov 27 14:00:26 2015 +1000

    Ticket 48361 - Expand 389ds monitoring capabilities
    
    Bug Description:  Expand the capabilities of the 389ds monitoring tools in lib389
    
    Fix Description: The monitor.py file was previously a placeholder with basic
    functions. As we are looking to expand rest389, this needs to be expanded in
    steps as we build the administrative interface.
    
    https://fedorahosted.org/389/ticket/48361
    
    Author: wibrown
    
    Review by: spichugi (Thanks!)

commit 117a8abaec53d502587a37b388eac30ce9c33e29
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Wed Nov 25 12:21:59 2015 -0500

    Ticket 48246 - Adding license/copyright to lib389 files
    
    Description:  Also fixed all the pep8 errors
    
    https://fedorahosted.org/389/ticket/48246
    
    Reviewed by: wibrown & spichugi(Thanks!!)

commit 79f92d10d820c7f82c37d2bd739aa087940e54e9
Author: William Brown <firstyear at redhat.com>
Date:   Wed Nov 4 13:40:35 2015 +1000

    Ticket 48340 - Add basic monitor support to lib389 https://fedorahosted.org/389/ticket/48340
    
    Ticket Description: Add monitoring utilites and helpers to lib389 to allow
    us to check server state. This is a basic framework, with the intent of adding
    more detailed inspection support later.
    
    Author: wibrown
    
    Review by: nhosoi (thanks!)

commit 2ea421830cd5b27607b0e98b90bd2cbdf69a5483
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Nov 23 20:40:38 2015 -0500

    Ticket 48353 - Add Replication REST support to lib389
    
    Description:  Needed to complete some existing functions, and fix
                  several bugs in existing code.  Updated the properties
                  using the REST representation values, added replication
                  promotion/demotion functionality, replication agreement
                  status functions, and did some code cleanup(pep8)
    
    https://fedorahosted.org/389/ticket/48353
    
    Reviewed by: wibrown & spichugi (Thanks!!)

commit 83d5e3785c84914002441aba64e95ba8c340bfa9
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Fri Nov 20 12:22:55 2015 -0500

    Ticket 47840 - Fix regression
    
    Description:  The previous commit switched to using the start/stop scripts
                  from /sbin, instead of the instance scripts.  However, when
                  using the sbin scripts you should specify the instance:
    
                     /sbin/start-dirsrv localhost
    
                  This is automatically done in the instance scripts, and this
                  behavior needs to be followed when using the sbin scripts.
    
                  Note - this only seems to break when there are more than one
                  instance on the system
    
    https://fedorahosted.org/389/ticket/47840
    
    Reviewed by: wibrown(Thanks!)

commit d343b747afb04cf9e4c645a2ca9793222b2ec2eb
Author: William Brown <firstyear at redhat.com>
Date:   Mon Nov 9 15:21:21 2015 +1000

    Ticket 48343 - lib389 krb5 realm management
    https://fedorahosted.org/389/ticket/48343
    
    Bug Description:   We need to be able to test gssapi and other functions for 389.
    Historically we used external krb5 services, but that led to potential issues
    with keytab state and reliability.
    
    This will allow us to create and destroy basic krb5 realms for testing purposes.
    
    Fix Description:  We can use this in the following way:
    
    from lib389.mit_krb5 import MitKrb5
    krb = MitKrb5(realm="EXAMPLE.COM")
    krb.create_realm()
    krb.create_principal(principal="ldap/localhost.localdomain")
    krb.create_keytab(principal="ldap/localhost.localdomain",
            keytab="/etc/dirsrv/slapd/ldap.keytab")
    krb.destroy_realm()
    
    While creating a DirSrv object, provided you have the REALM correctly configured
    we automatically extract the keytab for the instance.
    
    Author: wibrown
    
    Review by: spichugi (Thanks very much!)

commit 37af5e51ea6e8f2e25af026223fa7f0f433fed50
Author: William Brown <firstyear at redhat.com>
Date:   Mon Nov 9 09:22:25 2015 +1000

    Subject: [PATCH] Ticket 47840 - fix lib389 to use sbin scripts
     https://fedorahosted.org/389/ticket/47840
    
    Bug Description:  Now that https://fedorahosted.org/389/ticket/528 is fixed,
    the next step is to allow building the server with the instance specific scripts
    disabled.
    
    Fix Description:  As we do not install instance scripts by default we cannot
    rely on their existance. This patch fixes the serverCmd function in lib389 to
    use the sbin scripts, as well as providing two clitools for start/stop that can
    be used to prove this functionality works.
    
    Example:
    python lib389/clitools/ds_start.py
    python lib389/clitools/ds_stop.py
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)

commit 2cbbb75367da1971236592fc6363f5a695bfc550
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Nov 9 16:13:40 2015 -0500

    Ticket 48335 - Add SASL support to lib389
    
    Description:  Added SASL(GSSAPI) support to lib389, also added support
                  for doing TLS.  Via William Brown, relaxed strict
                  localhost lookup for GSSAPI
    
                  Fixed pep8 errors in replica.py
    
    https://fedorahosted.org/389/ticket/48335
    
    Reviewed by: nhosoi(Thanks!)

commit 82bbdaf30e10d19925e42d29ebea19f5ea813108
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Nov 2 13:30:00 2015 -0500

    Ticket 48329 - Fix case-senstive scyheam comparisions
    
    Description:  Fixed schema comparisions to be case-insensitive
    
    https://fedorahosted.org/389/ticket/48329

commit 0c24f69a917ffd21686e0cabbfa8aa00a01a1ff9
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Fri Oct 23 20:13:28 2015 +0200

    Ticket 48303 - Fix lib389 broken tests
    
    List of fixes through all the test suites:
    - Remove SER_DEPLOYED_DIR assignment, because now it is
    in __init__.py by default.
    - Remove "Created on" block, because git contains this information.
    - Add Red Hat copyright block.
    - Add more logging.
    - Add more docstrings.
    - Fix the imports to the correct ones.
    - Fix expected exception assertions using pytest.raises.
    - Refactore code to the pytest compatibility.
    
    tests/dirsrv_test.py:
    - Refactor nearly whole test suite logic, because previous one
    didn't have the proper test coverage.
    
    tests/mappingTree_test.py:
    - Remove _add_user and _mod_user functions,
    because they are used nowhere.
    
    tests/replica_test.py:
    - Remove the test_delete test case, because replica.delete() is
    obsolete, use replica.enableReplication() instead.
    - Remove big block of commented code at the bottom.
    - Add tests to the test_disableReplication test case,
    now it is implimented.
    
    tests/utils_test.py:
    - Fix dictionary keys to the right ones, depends on what keys are
    expected in the source code. For example: 'newhost' to 'hostname'.
    
    https://fedorahosted.org/389/ticket/48303
    
    Review by: mreynolds (Thanks!)

commit d8b89d96d35ca9407b079291978a9b42bda43502
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Sun Nov 1 15:28:48 2015 -0500

    Ticket 48329 - add matching rule functions to schema module
    
    Description:  Needed a way to access the matching rules in lib389
    
                  Also did much needed pep8 cleanup
    
    https://fedorahosted.org/389/ticket/48329
    
    Reviewed by: wibrown(Thanks!)

commit 01e1f5284def0beeed33515527f1826228531ad6
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Fri Oct 30 11:23:16 2015 -0400

    Fixed pep8 errors in __init__.py, backend.py and mappingtee.py

commit ff56d1571d209690fd97a34981b2533678fe3f17
Author: William Brown <wibrown at redhat.com>
Date:   Mon Oct 26 13:59:30 2015 +1000

    Ticket 48324 -  fix boolean capitalisation (one line)
    https://fedorahosted.org/389/ticket/48324
    
    Bug Description:   Fix false to False in utils.py
    
    Author: wibrown
    
    Review by: one liner, review not needed

commit f7e39e98ad07ce55f84ebb26a92a65294c182cf0
Author: William Brown <wibrown at redhat.com>
Date:   Thu Oct 22 14:35:18 2015 +1000

    Ticket 48321 - Improve is_a_dn check to prevent mistakes with lib389 auth
    https://fedorahosted.org/389/ticket/48321
    
    Bug Description:   is_a_dn previously had a weak check to determine if a binddn
    was in fact, a dn. This improves the check's quality to be far more thorough,
    which is needed for the rest389 api.
    
    Fix Description:  We now use the ldap.dn function to check the dn is valid, as
    well as potentially allowing anonymous ("") as a valid dn for binding.
    
    Author: wibrown
    
    Review by: ???

commit 025a6ca8aad7cea66acf5375040f521f8ea4a2eb
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Thu Oct 22 10:49:54 2015 -0400

    Ticket 48322 - Allow reindex function to reindex all attributes
    
    Bug Description:  Currently the task reindex function requires an attribute
                      name.  This does now allow the task to reindex all of a
                      backend's indexes(like db2index.pl can do)
    
    Fix Description:  If the attrname is not provided, search for all the backend's
                      attribute indexes, and reindex them.
    
    https://fedorahosted.org/389/ticket/48322
    
    Reviewed by: spichugi(Thanks!)

commit 655bd6d39717883ec3cc20c2c9f0d5343077b75d
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Wed Oct 21 16:05:43 2015 +0200

    Ticket 48319 Fix ldap.LDAPError exception processing
    
    Bug Description: Many lib389 modules contain the code block
                     like this:
                         except ldap.LDAPError as e:
                             self.log.fatal('Failed. Error: %s' %
                                 e.message('desc'))
                             raise ldap.LDAPError
    
                     It causes problems for the debugging.
    
                     For example:
                     - ldap.LDAPError is a string object,
                     not a method or a function;
                     "e.message('desc'))" will cause
                     "TypeError: 'str' object is not callable".
    
                     - 'raise ldap.LDAPError' will raise
                     a new blank ldap.LDAPError object.
    
    Fix Description: Replace e.message('desc') with str(e)
                     Replace 'raise ldap.LDAPError' with 'raise'
    
    https://fedorahosted.org/389/ticket/48319
    
    Review by: mreynolds (Thanks!)

commit 211cf6fbef53f48db1c8011db6a8276cffa988ff
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Mon Oct 19 13:25:35 2015 -0400

    Various fixes for REST API support
    
    Add support for JSON entry representation.
    Improve task class to store entry and dn of the task entry
    Add post read controls when adding new index.
    
    Reviewed by: wibrown(Thanks!)

commit cf80a2a31d263ba5581aa57ac13f2744b21ede33
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Wed Oct 21 14:24:23 2015 +0200

    Ticket 48318 - Do not delete a changelog while disabling a replication by suffix
    
    Bug Description: If we have a few replicated suffixes on the single
                     instance, they will use the one changelog
                     ("cn=changelog5,%s" % DN_CONFIG).
    
                     If we disable the replication on the one of them by:
                     instance.replica.disableReplication(suffix=SUFFIX_2)
    
                     Then, according to the current logic, the changelog
                     will be deleted. But it is still required by another
                     replicated suffixes.
    
    Fix Description: Remove the 'Delete the changelog' block from
                     disableReplication method of replica.py module.
    
    https://fedorahosted.org/389/ticket/48318
    
    Review by: mreynolds (Thanks!)

commit 29173341a2dede1c5c8e8021d7b969f6784c8ee9
Author: William Brown <wibrown at redhat.com>
Date:   Wed Oct 14 10:11:41 2015 +1000

    Ticket 48308 - Add __eq__ and __ne__ to Entry to allow fast comparison
    https://fedorahosted.org/389/ticket/48308
    
    Bug Description:
    lib389's searches yield Entry objects. It's handy to be able to do:
    
    pre = ds.search_s(somedn)
    post = ds.search_s(somedn)
    
    if pre == post:
    
        # evaluate in some way.
    
    This will make some aspects of writing tests for dirsrv easier, especially when we are looking for changes in objects due to plugin effects.
    
    Review by: nhosoi (Thanks!)

commit d945ec2f4638abe6e1b4287076cc271d86778de7
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Fri Oct 9 18:12:09 2015 +0200

    Ticket 48303 - Fix lib389 broken tests - backend_test
    
    Description: Fix the imports to the correct ones.
                 Add Red Hat copyright block.
                 Remove "Created on" block, because git contains
                 this information.
                 Add a logging.
                 Add docstrings to the all tests.
                 Divide the delete test case into two: for valid
                 and invalid cases.
                 Fix expected exception assertions within the create
                 and the delete_invalid test cases.
                 Add assert statement to the toSuffix test case.
                 Refactore code to the pytest compatibility.
    
    https://fedorahosted.org/389/ticket/48303
    
    Review by: mreynolds (Thanks!)

commit 171cfc8138cece477a37934794e501507812a8b4
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Tue Oct 13 13:28:27 2015 +0200

    Ticket 48309 - Fix lib389 lib imports
    
    Description: Remove redundant imports, such as
                 "from lib389.properties import SER_PORT" when
                 "from lib389.properties import *" is presented.
                 Group imports by standard library, related third party,
                 lib389 library.
    
    https://fedorahosted.org/389/ticket/48309
    
    Reviewed by: mreynolds (Thanks!)

commit 5ce77daef84088cc731c89d9877adcd04f9d39e3
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Thu Oct 8 15:19:41 2015 +0200

    Ticket 48303 - Fix lib389 broken tests - agreement_test
    
    Description: Fix the imports to the correct ones.
                 Add Red Hat copyright block.
                 Remove "Created on" block, because git contains
                 this information.
                 Remove hard coded variables, that reference to
                 the local user home directory.
                 Add missing docstrings for every test case.
                 Remove redundant code from schedule test case.
                 Fix expected exception assertions within create
                 and schedule test cases.
                 Add assert statement to status test case.
                 Refactore code to the pytest compatibility.
    
    https://fedorahosted.org/389/ticket/48303
    
    Review by: mreynolds (Thanks!)

commit cc215b6fa7aa5c5bf1c89b29571a408f9631bce4
Author: Simon Pichugin <spichugi at redhat.com>
Date:   Wed Oct 7 14:10:41 2015 +0200

    Ticket 48303 - Fix lib389 broken tests - aci_parse_test
    
    Description: Fix the imports to the correct ones.
                 Add Red Hat copyright block.
                 Remove "Created on" block, because git contains
                 this information.
                 Refactore code to the pytest compatibility.
    
    https://fedorahosted.org/389/ticket/48303
    
    Review by: mreynolds (Thanks!)

commit 56e69109519f0d378a2f4c5fcaebe2c034f908e4
Author: Viktor Ashirov <vashirov at redhat.com>
Date:   Wed Sep 30 14:33:19 2015 +0200

    Ticket 48301 - add tox support
    
    Description: Add tox.ini to automate testing with tox using
    virtualenv and different versions of Python
    
    https://fedorahosted.org/389/ticket/48301
    
    Reviewed by: nhosoi (Thanks!)

commit 1427f356de55b504be2d6060b6dd21776dee88af
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Fri Sep 25 20:24:16 2015 -0400

    Fix various errors in the changelog module

commit 66e22b4cbe1ffb1bbe6c0fc4652443475b5ebb99
Author: Mark Reynolds <mreynolds at redhat.com>
Date:   Fri Sep 4 15:50:36 2015 -0400

    Ticket 48204 - update lib389 for python3
    



More information about the Pkg-freeipa-devel mailing list