[Python-modules-commits] [elasticsearch-curator] 03/18: Import elasticsearch-curator_5.1.2.orig.tar.gz

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Oct 17 08:16:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository elasticsearch-curator.

commit 5fff068865e60ba4ee51ccb04e44e074e2377aff
Author: Aggelos Avgerinos <avgerinos at skroutz.gr>
Date:   Thu Aug 31 16:41:06 2017 +0300

    Import elasticsearch-curator_5.1.2.orig.tar.gz
---
 .travis.yml                                        |   12 +-
 Changelog.rst                                      | 1560 ++++++++++++-
 LICENSE.txt                                        |    2 +-
 README.rst                                         |   57 +-
 binary_release.py                                  |   14 +-
 curator/_version.py                                |    3 +-
 curator/actions.py                                 |  784 ++++++-
 curator/cli.py                                     |   24 +-
 curator/config_utils.py                            |    1 -
 .../config_file.py => defaults/client_defaults.py} |   10 +-
 .../{validators => defaults}/filter_elements.py    |   38 +-
 curator/{validators => defaults}/filtertypes.py    |   15 +-
 curator/defaults/option_defaults.py                |  271 +++
 curator/defaults/settings.py                       |   39 +-
 curator/exceptions.py                              |    5 +
 curator/indexlist.py                               |  108 +-
 curator/singletons.py                              |    9 +-
 curator/snapshotlist.py                            |   56 +-
 curator/utils.py                                   |  647 +++++-
 curator/validators/actions.py                      |    6 +-
 curator/validators/config_file.py                  |   46 +-
 curator/validators/filters.py                      |   27 +-
 curator/validators/options.py                      |  262 +--
 docs/Changelog.rst                                 |  249 +++
 docs/actionclasses.rst                             |   10 +
 docs/asciidoc/about.asciidoc                       |   19 +-
 docs/asciidoc/actions.asciidoc                     | 1030 ++++++---
 docs/asciidoc/command-line.asciidoc                |   18 +-
 docs/asciidoc/configuration.asciidoc               |   33 +-
 docs/asciidoc/examples.asciidoc                    |  352 ++-
 docs/asciidoc/faq.asciidoc                         |  134 +-
 docs/asciidoc/filter_elements.asciidoc             |  387 +++-
 docs/asciidoc/filters.asciidoc                     |  618 ++++--
 docs/asciidoc/inc_filepath.asciidoc                |   22 +
 docs/asciidoc/inc_filter_by_aliases.asciidoc       |   11 +
 docs/asciidoc/inc_kinds.asciidoc                   |   92 +
 docs/asciidoc/inc_sources.asciidoc                 |   52 +
 docs/asciidoc/inc_strftime_table.asciidoc          |   17 +
 docs/asciidoc/inc_timestring_regex.asciidoc        |   34 +
 docs/asciidoc/inc_unit_table.asciidoc              |   13 +
 docs/asciidoc/index.asciidoc                       |   12 +-
 docs/asciidoc/installation.asciidoc                |  111 +-
 docs/asciidoc/options.asciidoc                     | 2333 +++++++++++++++++++-
 docs/asciidoc/security.asciidoc                    |   12 +-
 docs/asciidoc/versions.asciidoc                    |   51 +
 docs/conf.py                                       |    6 +-
 docs/filters.rst                                   |    7 +
 docs/index.rst                                     |    8 +-
 requirements.txt                                   |    8 +-
 setup.py                                           |   10 +-
 test/integration/test_alias.py                     |  128 +-
 test/integration/test_allocation.py                |   62 +-
 test/integration/test_create_index.py              |   18 +-
 test/integration/test_delete_indices.py            |  140 +-
 test/integration/test_delete_snapshots.py          |    2 +-
 test/integration/test_es_repo_mgr.py               |    2 +-
 test/integration/test_integrations.py              |    6 +-
 test/integration/test_reindex.py                   |  405 ++++
 test/integration/test_restore.py                   |   71 +-
 test/integration/test_rollover.py                  |  312 +++
 test/integration/test_snapshot.py                  |    8 +-
 test/integration/testvars.py                       |  255 +++
 test/unit/test_action_alias.py                     |   43 +-
 test/unit/test_action_allocation.py                |   41 +-
 test/unit/test_action_close.py                     |   12 +-
 test/unit/test_action_clusterrouting.py            |    2 +-
 test/unit/test_action_delete_indices.py            |   14 +-
 test/unit/test_action_delete_snapshots.py          |    4 +
 test/unit/test_action_forcemerge.py                |   14 +-
 test/unit/test_action_open.py                      |    8 +-
 test/unit/test_action_reindex.py                   |  174 ++
 test/unit/test_action_replicas.py                  |   14 +-
 test/unit/test_action_restore.py                   |   11 +-
 test/unit/test_action_rollover.py                  |   37 +
 test/unit/test_action_snapshot.py                  |   40 +-
 test/unit/test_class_index_list.py                 |  247 ++-
 test/unit/test_class_snapshot_list.py              |   63 +
 test/unit/test_utils.py                            |  529 ++++-
 test/unit/testvars.py                              |   67 +-
 travis-run.sh                                      |   48 +-
 unix_packages/build_official_package.sh            |  108 +-
 unix_packages/build_package_from_source.sh         |   86 +-
 unix_packages/cx_freeze-5.0.1.dev.tar.gz           |  Bin 0 -> 86134 bytes
 unix_packages/cx_freeze-5.0.dev.tar.gz             |  Bin 82899 -> 0 bytes
 unix_packages/cx_freeze.setup.py.patch             |   34 -
 85 files changed, 10818 insertions(+), 1832 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ebc976d..da97633 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,15 +4,15 @@ python:
   - "2.7"
   - "3.4"
   - "3.5"
+  - "3.6"
 
 env:
-  - ES_VERSION=2.0.0
-  - ES_VERSION=2.1.1
-  - ES_VERSION=2.2.2
-  - ES_VERSION=2.3.5
-  - ES_VERSION=2.4.2
   - ES_VERSION=5.0.2
-  - ES_VERSION=5.1.1
+  - ES_VERSION=5.1.2
+  - ES_VERSION=5.2.2
+  - ES_VERSION=5.3.3
+  - ES_VERSION=5.4.3
+  - ES_VERSION=5.5.1
 
 os: linux
 
diff --git a/Changelog.rst b/Changelog.rst
deleted file mode 120000
index 1ef2205..0000000
--- a/Changelog.rst
+++ /dev/null
@@ -1 +0,0 @@
-docs/Changelog.rst
\ No newline at end of file
diff --git a/Changelog.rst b/Changelog.rst
new file mode 100644
index 0000000..d6aa4b6
--- /dev/null
+++ b/Changelog.rst
@@ -0,0 +1,1559 @@
+.. _changelog:
+
+Changelog
+=========
+
+5.1.2 (? ? ?)
+
+**Bug Fixes**
+
+  * The ``restore_check`` function did not work properly with wildcard index
+    patterns.  This has been rectified, and an integration test added to 
+    satisfy this.  Reported in #989 (untergeek)
+
+5.1.1 (8 June 2017)
+
+**Bug Fixes**
+
+  * Mock and cx_Freeze don't play well together.  Packages weren't working, so
+    I reverted the string-based comparison as before.
+    
+5.1.0 (8 June 2017)
+
+**New Features**
+
+  * Index Settings are here! First requested as far back as #160, it's been 
+    requested in various forms culminating in #656.  The official documentation
+    addresses the usage. (untergeek)
+  * Remote reindex now adds the ability to migrate from one cluster to another,
+    preserving the index names, or optionally adding a prefix and/or a suffix.
+    The official documentation shows you how. (untergeek)
+  * Added support for naming rollover indices. #970 (jurajseffer)
+  * Testing against ES 5.4.1, 5.3.3
+  
+**Bug Fixes**
+
+  * Since Curator no longer supports old versions of python, convert tests to 
+    use ``isinstance``. #973 (untergeek)
+  * Fix stray instance of ``is not`` comparison instead of ``!=`` #972 
+    (untergeek)
+  * Increase remote client timeout to 180 seconds for remote reindex. #930
+    (untergeek)
+
+**General**
+
+  * elasticsearch-py dependency bumped to 5.4.0
+  * Added mock dependency due to isinstance and testing requirements
+  * AWS ES 5.3 officially supports Curator now.  Documentation has been updated
+    to reflect this.
+
+5.0.4 (16 May 2017)
+
+**Bug Fixes**
+
+  * The ``_recovery`` check needs to compare using ``!=`` instead of ``is not``,
+    which apparently does not accurately compare unicode strings.  Reported in
+    #966.  (untergeek)
+
+5.0.3 (15 May 2017)
+
+**Bug Fixes**
+
+  * Restoring a snapshot on an exceptionally fast cluster/node can create a race
+    race condition where a ``_recovery`` check returns an empty dictionary 
+    ``{}``, which causes Curator to fail.  Added test and code to correct this.
+    Reported in #962. (untergeek)
+
+5.0.2 (4 May 2017)
+
+**Bug Fixes**
+
+  * Nasty bug in schema validation fixed where boolean options or filter flags
+    would validate as ``True`` if non-boolean types were submitted.
+    Reported in #945. (untergeek)
+  * Check for presence of alias after reindex, in case the reindex was to an
+    alias. Reported in #941. (untergeek)
+  * Fix an edge case where an index named with `1970.01.01` could not be sorted
+    by index-name age. Reported in #951. (untergeek)
+  * Update tests to include ES 5.3.2
+  * Bump certifi requirement to 2017.4.17.
+
+**Documentation**
+
+  * Document substitute strftime symbols for doing ISO Week timestrings added in
+    #932. (untergeek)
+  * Document how to include file paths better. Fixes #944. (untergeek)
+
+5.0.1 (10 April 2017)
+
+**Bug Fixes**
+
+  * Fixed default values for ``include_global_state`` on the restore 
+    action to be in line with defaults in Elasticsearch 5.3
+
+**Documentation**
+
+  * Huge improvement to documenation, with many more examples.
+  * Address age filter limitations per #859 (untergeek)
+  * Address date matching behavior better per #858 (untergeek)
+
+5.0.0 (5 April 2017)
+
+The full feature set of 5.0 (including alpha releases) is included here.
+
+**New Features**
+
+  * Reindex is here! The new reindex action has a ton of flexibility. You 
+    can even reindex from remote locations, so long as the remote cluster is
+    Elasticsearch 1.4 or newer.
+  * Added the ``period`` filter (#733). This allows you to select indices 
+    or snapshots, based on whether they fit within a period of hours, days, 
+    weeks, months, or years.
+  * Add dedicated "wait for completion" functionality. This supports health
+    checks, recovery (restore) checks, snapshot checks, and operations which
+    support the new tasks API.  All actions which can use this have been 
+    refactored to take advantage of this.  The benefit of this new feature is
+    that client timeouts will be less likely to happen when performing long
+    operations, like snapshot and restore.
+
+    NOTE: There is one caveat: forceMerge does not support this, per the 
+    Elasticsearch API. A forceMerge call will hold the client until complete, or
+    the client times out.  There is no clean way around this that I can discern.
+  * Elasticsearch date math naming is supported and documented for the 
+    ``create_index`` action.  An integration test is included for validation.
+  * Allow allocation action to unset a key/value pair by using an empty value.
+    Requested in #906. (untergeek)
+  * Added support for the Rollover API. Requested in #898, and by countless
+    others.
+  * Added ``warn_if_no_indices`` option for ``alias`` action in response to
+    #883.  Using this option will permit the ``alias`` add or remove to continue
+    with a logged warning, even if the filters result in a NoIndices condition.
+    Use with care.
+
+**General**
+
+  * Bumped ``click`` (python module) version dependency to 6.7
+  * Bumped ``urllib3`` (python module) version dependency to 1.20
+  * Bumped ``elasticsearch`` (python module) version dependency to 5.3
+  * Refactored a ton of code to be cleaner and hopefully more consistent.
+
+**Bug Fixes**
+
+  * Curator now logs version incompatibilities as an error, rather than just
+    raising an Exception. #874 (untergeek)
+  * The ``get_repository()`` function now properly raises an exception instead
+    of returning `False` if nothing is found. #761 (untergeek)
+  * Check if an index is in an alias before attempting to delete it from the
+    alias.  Issue raised in #887. (untergeek)
+  * Fix allocation issues when using Elasticsearch 5.1+. Issue raised in #871
+    (untergeek)
+
+**Documentation**
+
+  * Add missing repository arg to auto-gen API docs. Reported in #888
+    (untergeek)
+  * Add all new documentation and clean up for v5 specific.
+  
+**Breaking Changes**
+
+  * IndexList no longer checks to see if there are indices on initialization.
+
+
+5.0.0a1 (23 March 2017)
+-----------------------
+
+This is the first alpha release of Curator 5.  This should not be used for 
+production! There `will` be many more changes before 5.0.0 is released.
+
+**New Features**
+
+  * Allow allocation action to unset a key/value pair by using an empty value.
+    Requested in #906. (untergeek)
+  * Added support for the Rollover API. Requested in #898, and by countless
+    others.
+  * Added ``warn_if_no_indices`` option for ``alias`` action in response to
+    #883.  Using this option will permit the ``alias`` add or remove to continue
+    with a logged warning, even if the filters result in a NoIndices condition.
+    Use with care.
+
+**Bug Fixes**
+
+  * Check if an index is in an alias before attempting to delete it from the
+    alias.  Issue raised in #887. (untergeek)
+  * Fix allocation issues when using Elasticsearch 5.1+. Issue raised in #871
+    (untergeek)
+
+**Documentation**
+
+  * Add missing repository arg to auto-gen API docs. Reported in #888
+    (untergeek)
+
+4.2.6 (27 January 2016)
+-----------------------
+
+**General**
+
+  * Update Curator to use version 5.1 of the ``elasticsearch-py`` python module.
+    With this change, there will be no reverse compatibility with Elasticsearch
+    2.x.  For 2.x versions, continue to use the 4.x branches of Curator.
+  * Tests were updated to reflect the changes in API calls, which were minimal.
+  * Remove "official" support for Python 2.6. If you must use Curator on a
+    system that uses Python 2.6 (RHEL/CentOS 6 users), it is recommended that
+    you use the official RPM package as it is a frozen binary built on Python
+    3.5.x which will not conflict with your system Python.
+  * Use ``isinstance()`` to verify client object. #862 (cp2587)
+  * Prune older versions from Travis CI tests.
+  * Update ``certifi`` dependency to latest version
+
+**Documentation**
+
+  * Add version compatibility section to official documentation.
+  * Update docs to reflect changes.  Remove cruft and references to older
+    versions.
+
+4.2.5 (22 December 2016)
+------------------------
+
+**General**
+
+  * Add and increment test versions for Travis CI. #839 (untergeek)
+  * Make `filter_list` optional in snapshot, show_snapshot and show_indices
+    singleton actions. #853 (alexef)
+
+**Bug Fixes**
+
+  * Fix cli integration test when different host/port are specified.  Reported
+    in #843 (untergeek)
+  * Catch empty list condition during filter iteration in singleton actions.
+    Reported in #848 (untergeek)
+
+**Documentation**
+
+  * Add docs regarding how filters are ANDed together, and how to do an OR with
+    the regex pattern filter type. Requested in #842 (untergeek)
+  * Fix typo in Click version in docs. #850 (breml)
+  * Where applicable, replace `[source,text]` with `[source,yaml]` for better
+    formatting in the resulting docs.
+
+4.2.4 (7 December 2016)
+-----------------------
+
+**Bug Fixes**
+
+  * ``--wait_for_completion`` should be `True` by default for Snapshot singleton
+    action.  Reported in #829 (untergeek)
+  * Increase `version_max` to 5.1.99. Prematurely reported in #832 (untergeek)
+  * Make the '.security' index visible for snapshots so long as proper
+    credentials are used. Reported in #826 (untergeek)
+
+4.2.3.post1 (22 November 2016)
+------------------------------
+
+This fix is `only` going in for ``pip``-based installs.  There are no other code
+changes.
+
+**Bug Fixes**
+
+  * Fixed incorrect assumption of PyPI picking up dependency for certifi.  It
+    is still a dependency, but should not affect ``pip`` installs with an error
+    any more.  Reported in #821 (untergeek)
+
+
+4.2.3 (21 November 2016)
+------------------------
+
+4.2.2 was pulled immediately after release after it was discovered that the
+Windows binary distributions were still not including the certifi-provided
+certificates.  This has now been remedied.
+
+**General**
+
+  * ``certifi`` is now officially a requirement.
+  * ``setup.py`` now forcibly includes the ``certifi`` certificate PEM file in
+    the "frozen" distributions (i.e., the compiled versions).  The
+    ``get_client`` method was updated to reflect this and catch it for both the
+    Linux and Windows binary distributions.  This should `finally` put to rest
+    #810
+
+4.2.2 (21 November 2016)
+------------------------
+
+**Bug Fixes**
+
+  * The certifi-provided certificates were not propagating to the compiled
+    RPM/DEB packages.  This has been corrected.  Reported in #810 (untergeek)
+
+**General**
+
+  * Added missing ``--ignore_empty_list`` option to singleton actions. Requested
+    in #812 (untergeek)
+
+**Documentation**
+
+  * Add a FAQ entry regarding the click module's need for Unicode when using
+    Python 3.  Kind of a bug fix too, as the entry_points were altered to catch
+    this omission and report a potential solution on the command-line. Reported
+    in #814 (untergeek)
+  * Change the "Command-Line" documentation header to be "Running Curator"
+
+4.2.1 (8 November 2016)
+-----------------------
+
+**Bug Fixes**
+
+  * In the course of package release testing, an undesirable scenario was
+    caught where boolean flags default values for ``curator_cli`` were
+    improperly overriding values from a yaml config file.
+
+**General**
+
+  * Adding in direct download URLs for the RPM, DEB, tarball and zip packages.
+
+4.2.0 (4 November 2016)
+-----------------------
+
+**New Features**
+
+  * Shard routing allocation enable/disable. This will allow you to disable
+    shard allocation routing before performing one or more actions, and then
+    re-enable after it is complete. Requested in #446 (untergeek)
+  * Curator 3.x-style command-line.  This is now ``curator_cli``, to
+    differentiate between the current binary.  Not all actions are available,
+    but the most commonly used ones are.  With the addition in 4.1.0 of schema
+    and configuration validation, there's even a way to still do filter chaining
+    on the command-line! Requested in #767, and by many other users (untergeek)
+
+**General**
+
+  * Update testing to the most recent versions.
+  * Lock elasticsearch-py module version at >= 2.4.0 and <= 3.0.0.  There are
+    API changes in the 5.0 release that cause tests to fail.
+
+**Bug Fixes**
+
+  * Guarantee that binary packages are built from the latest Python + libraries.
+    This ensures that SSL/TLS will work without warning messages about insecure
+    connections, unless they actually are insecure. Reported in #780, though
+    the reported problem isn't what was fixed. The fix is needed based on what
+    was discovered while troubleshooting the problem. (untergeek)
+
+4.1.2 (6 October 2016)
+----------------------
+
+This release does not actually add any new code to Curator, but instead improves
+documentation and includes new linux binary packages.
+
+**General**
+
+  * New Curator binary packages for common Linux systems!
+    These will be found in the same repositories that the python-based packages
+    are in, but have no dependencies.  All necessary libraries/modules are
+    bundled with the binary, so everything should work out of the box.
+    This feature doesn't change any other behavior, so it's not a major release.
+
+    These binaries have been tested in:
+      * CentOS 6 & 7
+      * Ubuntu 12.04, 14.04, 16.04
+      * Debian 8
+
+    They do not work in Debian 7 (library mismatch).  They may work in other
+    systems, but that is untested.
+
+    The script used is in the unix_packages directory.  The Vagrantfiles for
+    the various build systems are in the Vagrant directory.
+
+**Bug Fixes**
+
+  * The only bug that can be called a bug is actually a stray ``.exe`` suffix
+    in the binary package creation section (cx_freeze) of ``setup.py``.  The
+    Windows binaries should have ``.exe`` extensions, but not unix variants.
+  * Elasticsearch 5.0.0-beta1 testing revealed that a document ID is required
+    during document creation in tests.  This has been fixed, and a redundant bit
+    of code in the forcemerge integration test was removed.
+
+**Documentation**
+
+  * The documentation has been updated and improved.  Examples and installation
+    are now top-level events, with the sub-sections each having their own link.
+    They also now show how to install and use the binary packages, and the
+    section on installation from source has been improved.  The missing
+    section on installing the voluptuous schema verification module has been
+    written and included. #776 (untergeek)
+
+4.1.1 (27 September 2016)
+-------------------------
+
+**Bug Fixes**
+
+  * String-based booleans are now properly coerced.  This fixes an issue where
+    `True`/`False` were used in environment variables, but not recognized.
+    #765 (untergeek)
+
+  * Fix missing `count` method in ``__map_method`` in SnapshotList. Reported in
+    #766 (untergeek)
+
+**General**
+
+  * Update es_repo_mgr to use the same client/logging YAML config file.
+    Requested in #752 (untergeek)
+
+**Schema Validation**
+
+  * Cases where ``source`` was not defined in a filter (but should have been)
+    were informing users that a `timestring` field was there that shouldn't have
+    been.  This edge case has been corrected.
+
+**Documentation**
+
+  * Added notifications and FAQ entry to explain that AWS ES is not supported.
+
+4.1.0 (6 September 2016)
+------------------------
+
+**New Features**
+
+  * Configuration and Action file schema validation.  Requested in #674
+    (untergeek)
+  * Alias filtertype! With this filter, you can select indices based on whether
+    they are part of an alias.  Merged in #748 (untergeek)
+  * Count filtertype! With this filter, you can now configure Curator to only
+    keep the most recent _n_ indices (or snapshots!).  Merged in #749
+    (untergeek)
+  * Experimental! Use environment variables in your YAML configuration files.
+    This was a popular request, #697. (untergeek)
+
+**General**
+
+  * New requirement! ``voluptuous`` Python schema validation module
+  * Requirement version bump:  Now requires ``elasticsearch-py`` 2.4.0
+
+**Bug Fixes**
+
+  * ``delete_aliases`` option in ``close`` action no longer results in an error
+    if not all selected indices have an alias.  Add test to confirm expected
+    behavior. Reported in #736 (untergeek)
+
+**Documentation**
+
+  * Add information to FAQ regarding indices created before Elasticsearch 1.4.
+    Merged in #747
+
+4.0.6 (15 August 2016)
+----------------------
+
+**Bug Fixes**
+
+  * Update old calls used with ES 1.x to reflect changes in 2.x+. This was
+    necessary to work with Elasticsearch 5.0.0-alpha5. Fixed in #728 (untergeek)
+
+**Doc Fixes**
+
+  * Add section detailing that the value of a ``value`` filter element should be
+    encapsulated in single quotes. Reported in #726. (untergeek)
+
+4.0.5 (3 August 2016)
+---------------------
+
+**Bug Fixes**
+
+  * Fix incorrect variable name for AWS Region reported in #679 (basex)
+  * Fix ``filter_by_space()`` to not fail when index age metadata is not
+    present.  Indices without the appropriate age metadata will instead be
+    excluded, with a debug-level message. Reported in #724 (untergeek)
+
+**Doc Fixes**
+
+  * Fix documentation for the space filter and the source filter element.
+
+4.0.4 (1 August 2016)
+---------------------
+
+**Bug Fixes**
+
+  * Fix incorrect variable name in Allocation action. #706 (lukewaite)
+  * Incorrect error message in ``create_snapshot_body`` reported in #711
+    (untergeek)
+  * Test for empty index list object should happen in action initialization for
+    snapshot action. Discovered in #711. (untergeek)
+
+**Doc Fixes**
+
+  * Add menus to asciidoc chapters #704 (untergeek)
+  * Add pyyaml dependency #710 (dtrv)
+
+4.0.3 (22 July 2016)
+--------------------
+
+**General**
+
+  * 4.0.2 didn't work for ``pip`` installs due to an omission in the
+    MANIFEST.in file.  This came up during release testing, but before the
+    release was fully published. As the release was never fully published, this
+    should not have actually affected anyone.
+
+**Bug Fixes**
+
+  * These are the same as 4.0.2, but it was never fully released.
+  * All default settings are now values returned from functions instead of
+    constants.  This was resulting in settings getting stomped on. New test
+    addresses the original complaint.  This removes the need for ``deepcopy``.
+    See issue #687 (untergeek)
+  * Fix ``host`` vs. ``hosts`` issue in ``get_client()`` rather than the
+    non-functional function in ``repomgrcli.py``.
+  * Update versions being tested.
+  * Community contributed doc fixes.
+  * Reduced logging verbosity by making most messages debug level. #684
+    (untergeek)
+  * Fixed log whitelist behavior (and switched to blacklisting instead).
+    Default behavior will now filter traffic from the ``elasticsearch`` and
+    ``urllib3`` modules.
+  * Fix Travis CI testing to accept some skipped tests, as needed. #695
+    (untergeek)
+  * Fix missing empty index test in snapshot action. #682 (sherzberg)
+
+4.0.2 (22 July 2016)
+--------------------
+
+**Bug Fixes**
+
+  * All default settings are now values returned from functions instead of
+    constants.  This was resulting in settings getting stomped on. New test
+    addresses the original complaint.  This removes the need for ``deepcopy``.
+    See issue #687 (untergeek)
+  * Fix ``host`` vs. ``hosts`` issue in ``get_client()`` rather than the
+    non-functional function in ``repomgrcli.py``.
+  * Update versions being tested.
+  * Community contributed doc fixes.
+  * Reduced logging verbosity by making most messages debug level. #684
+    (untergeek)
+  * Fixed log whitelist behavior (and switched to blacklisting instead).
+    Default behavior will now filter traffic from the ``elasticsearch`` and
+    ``urllib3`` modules.
+  * Fix Travis CI testing to accept some skipped tests, as needed. #695
+    (untergeek)
+  * Fix missing empty index test in snapshot action. #682 (sherzberg)
+
+4.0.1 (1 July 2016)
+-------------------
+
+**Bug Fixes**
+
+  * Coerce Logstash/JSON logformat type timestamp value to always use UTC.
+    #661 (untergeek)
+  * Catch and remove indices from the actionable list if they do not have a
+    `creation_date` field in settings.  This field was introduced in ES v1.4, so
+    that indicates a rather old index. #663 (untergeek)
+  * Replace missing ``state`` filter for ``snapshotlist``. #665 (untergeek)
+  * Restore ``es_repo_mgr`` as a stopgap until other CLI scripts are added.  It
+    will remain undocumented for now, as I am debating whether to make
+    repository creation its own action in the API. #668 (untergeek)
+  * Fix dry run results for snapshot action. #673 (untergeek)
+
+4.0.0 (24 June 2016)
+--------------------
+
+It's official!  Curator 4.0.0 is released!
+
+**Breaking Changes**
+
+  * New and improved API!
+  * Command-line changes.  No more command-line args, except for ``--config``,
+    ``--actions``, and ``--dry-run``:
+
+      - ``--config`` points to a YAML client and logging configuration file.
+        The default location is ``~/.curator/curator.yml``
+      - ``--actions`` arg points to a YAML action configuration file
+      - ``--dry-run`` will simulate the action(s) which would have taken place,
+        but not actually make any changes to the cluster or its indices.
+
+**New Features**
+
+  * Snapshot restore is here!
+  * YAML configuration files.  Now a single file can define an entire batch of
+    commands, each with their own filters, to be performed in sequence.
+  * Sort by index age not only by index name (as with previous versions of
+    Curator), but also by index `creation_date`, or by calculations from the
+    Field Stats API on a timestamp field.
+  * Atomically add/remove indices from aliases! This is possible by way of the
+    new `IndexList` class and YAML configuration files.
+  * State of indices pulled and stored in `IndexList` instance.  Fewer API calls
+    required to serially test for open/close, `size_in_bytes`, etc.
+  * Filter by space now allows sorting by age!
+  * Experimental! Use AWS IAM credentials to sign requests to Elasticsearch.
+    This requires the end user to *manually* install the `requests_aws4auth`
+    python module.
+  * Optionally delete aliases from indices before closing.
+  * An empty index or snapshot list no longer results in an error if you set
+    ``ignore_empty_list`` to `True`.  If `True` it will still log that the
+    action was not performed, but will continue to the next action. If 'False'
+    it will log an ERROR and exit with code 1.
+
+**API**
+
+  * Updated API documentation
+  * Class: `IndexList`. This pulls all indices at instantiation, and you apply
+    filters, which are class methods.  You can iterate over as many filters as
+    you like, in fact, due to the YAML config file.
+  * Class: `SnapshotList`. This pulls all snapshots from the given repository at
+    instantiation, and you apply filters, which are class methods.  You can
+    iterate over as many filters as you like, in fact, due to the YAML config
+    file.
+  * Add `wait_for_completion` to Allocation and Replicas actions.  These will
+    use the client timeout, as set by default or `timeout_override`, to
+    determine how long to wait for timeout.  These are handled in batches of
+    indices for now.
+  * Allow `timeout_override` option for all actions.  This allows for different
+    timeout values per action.
+  * Improve API by giving each action its own `do_dry_run()` method.
+
+**General**
+
+  * Updated use documentation for Elastic main site.
+  * Include example files for ``--config`` and ``--actions``.
+
+4.0.0b2 (16 June 2016)
+----------------------
+
+**Second beta release of the 4.0 branch**
+
+**New Feature**
+
+  * An empty index or snapshot list no longer results in an error if you set
+    ``ignore_empty_list`` to `True`.  If `True` it will still log that the
+    action was not performed, but will continue to the next action. If 'False'
+    it will log an ERROR and exit with code 1. (untergeek)
+
+4.0.0b1 (13 June 2016)
+----------------------
+
+**First beta release of the 4.0 branch!**
+
+The release notes will be rehashing the new features in 4.0, rather than the
+bug fixes done during the alphas.
+
+**Breaking Changes**
+
+  * New and improved API!
+  * Command-line changes.  No more command-line args, except for ``--config``,
+    ``--actions``, and ``--dry-run``:
+
+      - ``--config`` points to a YAML client and logging configuration file.
+        The default location is ``~/.curator/curator.yml``
+      - ``--actions`` arg points to a YAML action configuration file
+      - ``--dry-run`` will simulate the action(s) which would have taken place,
+        but not actually make any changes to the cluster or its indices.
+
+**New Features**
+
+  * Snapshot restore is here!
+  * YAML configuration files.  Now a single file can define an entire batch of
+    commands, each with their own filters, to be performed in sequence.
+  * Sort by index age not only by index name (as with previous versions of
+    Curator), but also by index `creation_date`, or by calculations from the
+    Field Stats API on a timestamp field.
+  * Atomically add/remove indices from aliases! This is possible by way of the
+    new `IndexList` class and YAML configuration files.
+  * State of indices pulled and stored in `IndexList` instance.  Fewer API calls
+    required to serially test for open/close, `size_in_bytes`, etc.
+  * Filter by space now allows sorting by age!
+  * Experimental! Use AWS IAM credentials to sign requests to Elasticsearch.
+    This requires the end user to *manually* install the `requests_aws4auth`
+    python module.
+  * Optionally delete aliases from indices before closing.
+
+**API**
+
+  * Updated API documentation
+  * Class: `IndexList`. This pulls all indices at instantiation, and you apply
+    filters, which are class methods.  You can iterate over as many filters as
+    you like, in fact, due to the YAML config file.
+  * Class: `SnapshotList`. This pulls all snapshots from the given repository at
+    instantiation, and you apply filters, which are class methods.  You can
+    iterate over as many filters as you like, in fact, due to the YAML config
+    file.
+  * Add `wait_for_completion` to Allocation and Replicas actions.  These will
+    use the client timeout, as set by default or `timeout_override`, to
+    determine how long to wait for timeout.  These are handled in batches of
+    indices for now.
+  * Allow `timeout_override` option for all actions.  This allows for different
+    timeout values per action.
+  * Improve API by giving each action its own `do_dry_run()` method.
+
+**General**
+
+  * Updated use documentation for Elastic main site.
+  * Include example files for ``--config`` and ``--actions``.
+
+
+4.0.0a10 (10 June 2016)
+-----------------------
+
+**New Features**
+
+  * Snapshot restore is here!
+  * Optionally delete aliases from indices before closing. Fixes #644 (untergeek)
+
+**General**
+
+  * Add `wait_for_completion` to Allocation and Replicas actions.  These will
+    use the client timeout, as set by default or `timeout_override`, to
+    determine how long to wait for timeout.  These are handled in batches of
+    indices for now.
+  * Allow `timeout_override` option for all actions.  This allows for different
+    timeout values per action.
+
+**Bug Fixes**
+
+  * Disallow use of `master_only` if multiple hosts are used. Fixes #615
+    (untergeek)
+  * Fix an issue where arguments weren't being properly passed and populated.
+  * ForceMerge replaced Optimize in ES 2.1.0.
+  * Fix prune_nones to work with Python 2.6. Fixes #619 (untergeek)
+  * Fix TimestringSearch to work with Python 2.6. Fixes #622 (untergeek)
+  * Add language classifiers to ``setup.py``.  Fixes #640 (untergeek)
+  * Changed references to readthedocs.org to be readthedocs.io.
+
+4.0.0a9 (27 Apr 2016)
+---------------------
+
+**General**
+
+  * Changed `create_index` API to use kwarg `extra_settings` instead of `body`
+  * Normalized Alias action to use `name` instead of `alias`.  This simplifies
+    documentation by reducing the number of option elements.
+  * Streamlined some code
+  * Made `exclude` a filter element setting for all filters. Updated all
+    examples to show this.
+  * Improved documentation
+
+**New Features**
+
+  * Alias action can now accept `extra_settings` to allow adding filters, and/or
+    routing.
+
+
+4.0.0a8 (26 Apr 2016)
+---------------------
+
+**Bug Fixes**
+
+  * Fix to use `optimize` with versions of Elasticsearch < 5.0
+  * Fix missing setting in testvars
+
+
+4.0.0a7 (25 Apr 2016)
+---------------------
+
+**Bug Fixes**
+
+  * Fix AWS4Auth error.
+
+4.0.0a6 (25 Apr 2016)
+---------------------
+
+**General**
+
+  * Documentation updates.
+  * Improve API by giving each action its own `do_dry_run()` method.
+
+**Bug Fixes**
+
+  * Do not escape characters other than ``.`` and ``-`` in timestrings. Fixes
+    #602 (untergeek)
+
+** New Features**
+
+  * Added `CreateIndex` action.
+
+4.0.0a4 (21 Apr 2016)
+---------------------
+
+**Bug Fixes**
+
+  * Require `pyyaml` 3.10 or better.
+  * In the case that no `options` are in an action, apply the defaults.
+
+4.0.0a3 (21 Apr 2016)
+---------------------
+
+It's time for Curator 4.0 alpha!
+
+**Breaking Changes**
+
+  * New API! (again?!)
+  * Command-line changes.  No more command-line args, except for ``--config``,
+    ``--actions``, and ``--dry-run``:
+
+      - ``--config`` points to a YAML client and logging configuration file.
+        The default location is ``~/.curator/curator.yml``
+      - ``--actions`` arg points to a YAML action configuration file
+      - ``--dry-run`` will simulate the action(s) which would have taken place,
+        but not actually make any changes to the cluster or its indices.
+
+**General**
+
+  * Updated API documentation
+  * Updated use documentation for Elastic main site.
+  * Include example files for ``--config`` and ``--actions``.
+
+**New Features**
+
+  * Sort by index age not only by index name (as with previous versions of
+    Curator), but also by index `creation_date`, or by calculations from the
+    Field Stats API on a timestamp field.
+  * Class: `IndexList`. This pulls all indices at instantiation, and you apply
+    filters, which are class methods.  You can iterate over as many filters as
+    you like, in fact, due to the YAML config file.
+  * Class: `SnapshotList`. This pulls all snapshots from the given repository at
+    instantiation, and you apply filters, which are class methods.  You can
+    iterate over as many filters as you like, in fact, due to the YAML config
+    file.
+  * YAML configuration files.  Now a single file can define an entire batch of
+    commands, each with their own filters, to be performed in sequence.
+  * Atomically add/remove indices from aliases! This is possible by way of the
+    new `IndexList` class and YAML configuration files.
+  * State of indices pulled and stored in `IndexList` instance.  Fewer API calls
+    required to serially test for open/close, `size_in_bytes`, etc.
+  * Filter by space now allows sorting by age!
+  * Experimental! Use AWS IAM credentials to sign requests to Elasticsearch.
+    This requires the end user to *manually* install the `requests_aws4auth`
+    python module.
+
+3.5.1 (21 March 2016)
+---------------------
+
+**Bug fixes**
+
+  * Add more logging information to snapshot delete method #582 (untergeek)
+  * Improve default timeout, logging, and exception handling for `seal` command
+    #583 (untergeek)
+  * Fix use of default snapshot name. #584 (untergeek)
+
+
+3.5.0 (16 March 2016)
+---------------------
+
+**General**
+
+  * Add support for the `--client-cert` and `--client-key` command line parameters
+    and client_cert and client_key parameters to the get_client() call. #520 (richm)
+
+**Bug fixes**
+
+  * Disallow users from creating snapshots with upper-case letters, which is not
+    permitted by Elasticsearch. #562 (untergeek)
+  * Remove `print()` command from ``setup.py`` as it causes issues with command-
+    line retrieval of ``--url``, etc. #568 (thib-ack)
+  * Remove unnecessary argument from `build_filter()` #530 (zzugg)
+  * Allow day of year filter to be made up with 1, 2 or 3 digits #578 (petitout)
+
+
+3.4.1 (10 February 2016)
+------------------------
+
+**General**
+
+  * Update license copyright to 2016
+  * Use slim python version with Docker #527 (xaka)
+  * Changed ``--master-only`` exit code to 0 when connected to non-master node #540 (wkruse)
+  * Add ``cx_Freeze`` capability to ``setup.py``, plus a ``binary_release.py``
+    script to simplify binary package creation.  #554 (untergeek)
+  * Set Elastic as author. #555 (untergeek)
+  * Put repository creation methods into API and document them. Requested in #550 (untergeek)
+
+**Bug fixes**
+
+  * Fix sphinx documentation build error #506 (hydrapolic)
+  * Ensure snapshots are found before iterating #507 (garyelephant)
... 16510 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/elasticsearch-curator.git



More information about the Python-modules-commits mailing list