[Python-modules-commits] [elasticsearch-curator] 03/14: Import elasticsearch-curator_4.0.0.orig.tar.gz

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Jul 5 16:22:08 UTC 2016


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

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

commit ab0a73cc20ea7786a509a8e69d14f18913d24913
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Wed Jun 29 20:53:52 2016 +0200

    Import elasticsearch-curator_4.0.0.orig.tar.gz
---
 .gitignore                                        |    1 +
 .travis.yml                                       |   31 +-
 CONTRIBUTING.md                                   |   34 +-
 CONTRIBUTORS                                      |   10 +
 Changelog.rst                                     |  684 +-------------
 Dockerfile                                        |    2 +-
 LICENSE.txt                                       |    2 +-
 NOTICE                                            |   10 +
 README.rst                                        |   62 +-
 binary_release.py                                 |   93 ++
 curator/__init__.py                               |    9 +-
 curator/_version.py                               |    2 +-
 curator/actions.py                                |  960 +++++++++++++++++++
 curator/api/__init__.py                           |   13 -
 curator/api/alias.py                              |   95 --
 curator/api/allocation.py                         |   58 --
 curator/api/bloom.py                              |   65 --
 curator/api/close.py                              |   38 -
 curator/api/delete.py                             |   59 --
 curator/api/filter.py                             |  371 --------
 curator/api/opener.py                             |   31 -
 curator/api/optimize.py                           |   54 --
 curator/api/replicas.py                           |   44 -
 curator/api/seal.py                               |   63 --
 curator/api/show.py                               |   17 -
 curator/api/snapshot.py                           |  117 ---
 curator/api/utils.py                              |  360 -------
 curator/cli.py                                    |  251 +++++
 curator/cli/__init__.py                           |   16 -
 curator/cli/alias.py                              |   19 -
 curator/cli/allocation.py                         |   27 -
 curator/cli/bloom.py                              |   13 -
 curator/cli/cli.py                                |  100 --
 curator/cli/close.py                              |   11 -
 curator/cli/delete.py                             |   18 -
 curator/cli/es_repo_mgr.py                        |  270 ------
 curator/cli/index_selection.py                    |  173 ----
 curator/cli/opener.py                             |   11 -
 curator/cli/optimize.py                           |   19 -
 curator/cli/replicas.py                           |   18 -
 curator/cli/seal.py                               |   14 -
 curator/cli/show.py                               |   13 -
 curator/cli/snapshot.py                           |   45 -
 curator/cli/snapshot_selection.py                 |  102 --
 curator/cli/utils.py                              |  261 ------
 curator/curator.py                                |    2 +-
 curator/es_repo_mgr.py                            |    5 -
 curator/exceptions.py                             |   40 +
 curator/indexlist.py                              |  726 +++++++++++++++
 curator/logtools.py                               |   69 ++
 curator/settings.py                               |  148 +++
 curator/snapshotlist.py                           |  337 +++++++
 curator/utils.py                                  | 1024 ++++++++++++++++++++
 docs/Changelog.rst                                |  337 ++++++-
 docs/actionclasses.rst                            |   69 ++
 docs/asciidoc/{misc => }/about.asciidoc           |   53 +-
 docs/asciidoc/actions.asciidoc                    |  645 +++++++++++++
 docs/asciidoc/command-line.asciidoc               |   65 ++
 docs/asciidoc/commands/alias.asciidoc             |   58 --
 docs/asciidoc/commands/allocation.asciidoc        |  133 ---
 docs/asciidoc/commands/bloom.asciidoc             |   64 --
 docs/asciidoc/commands/close.asciidoc             |   57 --
 docs/asciidoc/commands/delete.asciidoc            |   99 --
 docs/asciidoc/commands/index.asciidoc             |   30 -
 docs/asciidoc/commands/open.asciidoc              |   52 --
 docs/asciidoc/commands/optimize.asciidoc          |   90 --
 docs/asciidoc/commands/replicas.asciidoc          |   47 -
 docs/asciidoc/commands/seal.asciidoc              |  107 ---
 docs/asciidoc/commands/show.asciidoc              |   55 --
 docs/asciidoc/commands/snapshot.asciidoc          |   87 --
 docs/asciidoc/configuration.asciidoc              |  471 ++++++++++
 docs/asciidoc/examples.asciidoc                   |  455 +++++++++
 docs/asciidoc/{misc => }/faq.asciidoc             |   88 +-
 docs/asciidoc/filter_elements.asciidoc            |  305 ++++++
 docs/asciidoc/filters.asciidoc                    |  414 +++++++++
 docs/asciidoc/flags/all-indices.asciidoc          |   35 -
 docs/asciidoc/flags/all-snapshots.asciidoc        |   30 -
 docs/asciidoc/flags/certificate.asciidoc          |   28 -
 docs/asciidoc/flags/debug.asciidoc                |   26 -
 docs/asciidoc/flags/dry-run.asciidoc              |   30 -
 docs/asciidoc/flags/exclude.asciidoc              |   51 -
 docs/asciidoc/flags/help.asciidoc                 |   65 --
 docs/asciidoc/flags/host.asciidoc                 |   29 -
 docs/asciidoc/flags/http_auth.asciidoc            |   27 -
 docs/asciidoc/flags/index.asciidoc                |   83 --
 docs/asciidoc/flags/index_flag.asciidoc           |   38 -
 docs/asciidoc/flags/logfile.asciidoc              |   26 -
 docs/asciidoc/flags/logformat.asciidoc            |   27 -
 docs/asciidoc/flags/loglevel.asciidoc             |   26 -
 docs/asciidoc/flags/master-only.asciidoc          |   29 -
 docs/asciidoc/flags/newer-than.asciidoc           |   36 -
 docs/asciidoc/flags/older-than.asciidoc           |   35 -
 docs/asciidoc/flags/port.asciidoc                 |   27 -
 docs/asciidoc/flags/prefix.asciidoc               |   37 -
 docs/asciidoc/flags/quiet.asciidoc                |   32 -
 docs/asciidoc/flags/regex.asciidoc                |   27 -
 docs/asciidoc/flags/repository.asciidoc           |   26 -
 docs/asciidoc/flags/skip-repo-validation.asciidoc |   37 -
 docs/asciidoc/flags/snapshot_flag.asciidoc        |   38 -
 docs/asciidoc/flags/ssl-no-validate.asciidoc      |   34 -
 docs/asciidoc/flags/suffix.asciidoc               |   36 -
 docs/asciidoc/flags/time-unit.asciidoc            |   35 -
 docs/asciidoc/flags/timeout.asciidoc              |   32 -
 docs/asciidoc/flags/timestring.asciidoc           |   41 -
 docs/asciidoc/flags/url_prefix.asciidoc           |   29 -
 docs/asciidoc/flags/use_ssl.asciidoc              |   61 --
 docs/asciidoc/flags/version.asciidoc              |   24 -
 docs/asciidoc/{misc => }/getting_started.asciidoc |    4 +-
 docs/asciidoc/index.asciidoc                      |   26 +-
 docs/asciidoc/{misc => }/installation.asciidoc    |   34 +-
 docs/asciidoc/misc/command-line.asciidoc          |   94 --
 docs/asciidoc/misc/contributing.asciidoc          |   30 -
 docs/asciidoc/misc/examples.asciidoc              |   82 --
 docs/asciidoc/misc/exitcodes.asciidoc             |   12 -
 docs/asciidoc/misc/glossary.asciidoc              |   34 -
 docs/asciidoc/options.asciidoc                    |  380 ++++++++
 docs/asciidoc/selection/index.asciidoc            |  112 ---
 docs/asciidoc/subcommands/index.asciidoc          |  145 ---
 docs/asciidoc/{misc => }/upgrading.asciidoc       |    0
 docs/commands.rst                                 |  149 ---
 docs/conf.py                                      |    9 +-
 docs/examples.rst                                 |  233 +----
 docs/filters.rst                                  |   63 +-
 docs/index.rst                                    |   28 +-
 docs/objectclasses.rst                            |   20 +
 docs/utilities.rst                                |   96 +-
 examples/actions/alias.yml                        |   51 +
 examples/actions/allocation.yml                   |   32 +
 examples/actions/close.yml                        |   30 +
 examples/actions/create_index.yml                 |   20 +
 examples/actions/delete_indices.yml               |   31 +
 examples/actions/delete_snapshots.yml             |   29 +
 examples/actions/forcemerge.yml                   |   33 +
 examples/actions/open.yml                         |   36 +
 examples/actions/replicas.yml                     |   30 +
 examples/actions/restore.yml                      |   41 +
 examples/actions/snapshot.yml                     |   39 +
 examples/curator.yml                              |   24 +
 requirements.txt                                  |    3 +-
 run_es_repo_mgr.py                                |    8 -
 setup.py                                          |  123 ++-
 test/integration/__init__.py                      |   49 +-
 test/integration/test_alias.py                    |  198 ++++
 test/integration/test_allocation.py               |  147 +++
 test/integration/test_api_commands.py             |  196 ----
 test/integration/test_api_utils.py                |  106 ---
 test/integration/test_cli.py                      |  192 ++++
 test/integration/test_cli_commands.py             | 1035 ---------------------
 test/integration/test_cli_utils.py                |   98 --
 test/integration/test_close.py                    |  149 +++
 test/integration/test_create_index.py             |   83 ++
 test/integration/test_delete_indices.py           |  118 +++
 test/integration/test_delete_snapshots.py         |   98 ++
 test/integration/test_es_repo_mgr.py              |  169 ----
 test/integration/test_forcemerge.py               |   62 ++
 test/integration/test_open.py                     |  111 +++
 test/integration/test_replicas.py                 |   70 ++
 test/integration/test_restore.py                  |  117 +++
 test/integration/test_snapshot.py                 |   69 ++
 test/integration/testvars.py                      |  405 ++++++++
 test/run_tests.py                                 |    3 +-
 test/unit/__init__.py                             |   35 +
 test/unit/test_action_alias.py                    |  129 +++
 test/unit/test_action_allocation.py               |   92 ++
 test/unit/test_action_close.py                    |   60 ++
 test/unit/test_action_create_index.py             |   34 +
 test/unit/test_action_delete_indices.py           |   72 ++
 test/unit/test_action_delete_snapshots.py         |   50 +
 test/unit/test_action_forcemerge.py               |   87 ++
 test/unit/test_action_open.py                     |   51 +
 test/unit/test_action_replicas.py                 |   68 ++
 test/unit/test_action_restore.py                  |  152 +++
 test/unit/test_action_snapshot.py                 |  164 ++++
 test/unit/test_api_commands.py                    |  616 ------------
 test/unit/test_api_filter.py                      |  338 -------
 test/unit/test_api_utils.py                       |  317 -------
 test/unit/test_class_index_list.py                |  871 +++++++++++++++++
 test/unit/test_class_snapshot_list.py             |  337 +++++++
 test/unit/test_cli_methods.py                     |   66 ++
 test/unit/test_cli_utils.py                       |  132 ---
 test/unit/test_es_repo_mgr.py                     |   86 --
 test/unit/test_utils.py                           |  565 +++++++++++
 test/unit/testvars.py                             |  718 ++++++++++++++
 travis-run.sh                                     |   35 +
 184 files changed, 13091 insertions(+), 9475 deletions(-)

diff --git a/.gitignore b/.gitignore
index 86625cd..3fec439 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ nosetests.xml
 index.html
 docs/asciidoc/html_docs
 wheelhouse
+Elastic.ico
diff --git a/.travis.yml b/.travis.yml
index 3bd6d92..df5ff7e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,16 +2,31 @@ language: python
 
 python:
   - "2.7"
-  - "3.3"
+  - "3.4"
+  - "3.5"
+
+env:
+  - ES_VERSION=2.0.0
+  - ES_VERSION=2.1.1
+  - ES_VERSION=2.2.2
+  - ES_VERSION=2.3.3
+  - ES_VERSION=5.0.0-alpha3
+
+os: linux
+
+cache:
+  pip: true
+
+jdk:
+  - oraclejdk8
 
 install:
-  - mkdir /tmp/elasticsearch
-  - wget -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
+  - pip install -r requirements.txt
   - pip install .
 
-before_script:
-  - /tmp/elasticsearch/bin/elasticsearch -d -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false
-
 script:
-  - python setup.py test
-
+  - sudo apt-get update && sudo apt-get install oracle-java8-installer
+  - java -version
+  - sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/jre/bin/java
+  - java -version
+  - ./travis-run.sh
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3b13718..f12f5d0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -12,19 +12,24 @@ That said, some basic guidelines, which you are free to ignore :)
 
 Want to write your own code to do something Curator doesn't do out of the box?
 
-* [Curator API Documentation](http://curator.readthedocs.org/) Since version 2.0,
+* [Curator API Documentation](http://curator.readthedocs.io/) Since version 2.0,
 Curator ships with both an API and wrapper scripts (which are actually defined
 as entry points).  This allows you to write your own scripts to accomplish
-similar goals, or even new and different things with the [Curator API](http://curator.readthedocs.org/), and the
-[Elasticsearch Python API](http://elasticsearch-py.readthedocs.org/).
+similar goals, or even new and different things with the
+[Curator API](http://curator.readthedocs.io/), and the
+[Elasticsearch Python API](http://elasticsearch-py.readthedocs.io/).
 
 Want to know how to use the command-line interface (CLI)?
 
-* [Curator CLI Documentation](http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html) The Curator CLI Documentation is now a part of the document repository at http://elastic.co/guide at http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
+* [Curator CLI Documentation](http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html)
+  The Curator CLI Documentation is now a part of the document repository at
+  http://elastic.co/guide at
+  http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
 
 Want to lurk about and see what others are doing with Curator?
 
-* The irc channels (#logstash and #elasticsearch on irc.freenode.org) are good places for this
+* The irc channels (#logstash and #elasticsearch on irc.freenode.org) are good
+  places for this
 
 ## Got Questions?
 
@@ -48,16 +53,20 @@ If you think you found a bug, it probably is a bug.
 If you have a bugfix or new feature that you would like to contribute to
 Curator, and you think it will take more than a few minutes to produce the fix
 (ie; write code), it is worth discussing the change with the Curator users and
-developers first! You can reach us via [github](https://github.com/elastic/logstash/issues),
-or via IRC (#logstash or #elasticsearch on freenode irc)
+developers first! You can reach us via
+[github](https://github.com/elastic/logstash/issues), or via IRC (#logstash or
+ #elasticsearch on freenode irc)
 
 Documentation is in two parts: API and CLI documentation.
 
-API documentation is generated from comments inside the classes and methods within
-the code.  This documentation is rendered and hosted at http://curator.readthedocs.org
+API documentation is generated from comments inside the classes and methods
+within the code.  This documentation is rendered and hosted at
+http://curator.readthedocs.io
 
-CLI documentation is in Asciidoc format in the GitHub repository at https://github.com/elastic/curator/tree/master/docs/asciidoc.
-This documentation can be changed via a pull request as with any other code change.
+CLI documentation is in Asciidoc format in the GitHub repository at
+https://github.com/elastic/curator/tree/master/docs/asciidoc.
+This documentation can be changed via a pull request as with any other code
+change.
 
 ## Contribution Steps
 
@@ -65,7 +74,8 @@ This documentation can be changed via a pull request as with any other code chan
    that this requires an Elasticsearch instance. The tests will try to connect
    to your local elasticsearch instance and run integration tests against it.
    **This will delete all the data stored there!** You can use the env variable
-   `TEST_ES_SERVER` to point to a different instance (for example 'otherhost:9203').
+   `TEST_ES_SERVER` to point to a different instance (for example
+   'otherhost:9203').
 2. Please make sure you have signed our [Contributor License
    Agreement](http://www.elastic.co/contributor-agreement/). We are not
    asking you to assign copyright to us, but to give us the right to distribute
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index b00767b..d770d28 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -64,3 +64,13 @@ Contributors:
 * Steven Ottenhoff (steffo)
 * Ole Rößner (Basster)
 * Jack (univerio)
+* Tomáš Mózes (hydrapolic)
+* Gary Gao (garyelephant)
+* Panagiotis Moustafellos (pmoust)
+* (pbamba)
+* Pavel Strashkin (xaka)
+* Wadim Kruse (wkruse)
+* Richard Megginson (richm)
+* Thibaut Ackermann (thib-ack)
+* (zzugg)
+* Julien Mancuso (petitout)
diff --git a/Changelog.rst b/Changelog.rst
deleted file mode 100644
index da3420a..0000000
--- a/Changelog.rst
+++ /dev/null
@@ -1,683 +0,0 @@
-.. _changelog:
-
-Changelog
-=========
-
-3.4.0 (28 October 2015)
------------------------
-
-**General**
-
-  * API change in elasticsearch-py 1.7.0 prevented alias operations.  Fixed in
-    #486 (HonzaKral)
-  * During index selection you can now select only closed indices with ``--closed-only``.
-    Does not impact ``--all-indices`` Reported in #476. Fixed in #487 (Basster)
-  * API Changes in Elasticsearch 2.0.0 required some refactoring.  All tests pass
-    for ES versions 1.0.3 through 2.0.0-rc1.  Fixed in #488 (untergeek)
-  * es_repo_mgr now has access to the same SSL options from #462. #489 (untergeek)
-  * Logging improvements requested in #475. (untergeek)
-  * Added ``--quiet`` flag. #494 (untergeek)
-  * Fixed ``index_closed`` to work with AWS Elasticsearch. #499 (univerio)
-  * Acceptable versions of Elasticsearch-py module are 1.8.0 up to 2.1.0 (untergeek)
-
-3.3.0 (31 August 2015)
-----------------------
-
-**Announcement**
-
-  * Curator is tested in Jenkins.  Each commit to the master branch is tested
-    with both Python versions 2.7.6 and 3.4.0 against each of the following
-    Elasticsearch versions:
-    * 1.7_nightly
-    * 1.6_nightly
-    * 1.7.0
-    * 1.6.1
-    * 1.5.1
-    * 1.4.4
-    * 1.3.9
-    * 1.2.4
-    * 1.1.2
-    * 1.0.3
-  * If you are using a version different from this, your results may vary.
-
-**General**
-
-  * Allocation type can now also be ``include`` or ``exclude``, in addition to the
-   the existing default ``require`` type. Add ``--type`` to the allocation command
-   to specify the type. #443 (steffo)
-
-  * Bump elasticsearch python module dependency to 1.6.0+ to enable synced_flush
-    API call. Reported in #447 (untergeek)
-
-  * Add SSL features, ``--ssl-no-validate`` and ``certificate`` to provide other
-    ways to validate SSL connections to Elasticsearch. #436 (untergeek)
-
-**Bug fixes**
-
-  * Delete by space was only reporting space used by primary shards.  Fixed to
-    show all space consumed.  Reported in #455 (untergeek)
-
-  * Update exit codes and messages for snapshot selection.  Reported in #452 (untergeek)
-
-  * Fix potential int/float casting issues. Reported in #465 (untergeek)
-
-3.2.3 (16 July 2015)
---------------------
-
-**Bug fix**
-
-  * In order to address customer and community issues with bulk deletes, the
-    ``master_timeout`` is now invoked for delete operations.  This should address
-    503s with 30s timeouts in the debug log, even when ``--timeout`` is set to
-    a much higher value.  The ``master_timeout`` is tied to the ``--timeout``
-    flag value, but will not exceed 300 seconds. #420 (untergeek)
-
-**General**
-
-  * Mixing it up a bit here by putting `General` second!  The only other changes
-    are that logging has been improved for deletes so you won't need to have the
-    ``--debug`` flag to see if you have error codes >= 400, and some code
-    documentation improvements.
-
-3.2.2 (13 July 2015)
---------------------
-
-**General**
-
-  * This is a very minor change.  The ``mock`` library recently removed support
-    for Python 2.6.  As many Curator users are using RHEL/CentOS 6, which is
-    pinned to Python 2.6, this requires the mock version referenced by Curator
-    to also be pinned to a supported version (``mock==1.0.1``).
-
-3.2.1 (10 July 2015)
---------------------
-
-**General**
-
-  * Added delete verification & retry (fixed at 3x) to potentially cover an edge
-    case in #420 (untergeek)
-  * Since GitHub allows rST (reStructuredText) README documents, and that's what
-    PyPI wants also, the README has been rebuilt in rST. (untergeek)
-
-**Bug fixes**
-
-  * If closing indices with ES 1.6+, and all indices are closed, ensure that the
-    seal command does not try to seal all indices.  Reported in #426 (untergeek)
-  * Capture AttributeError when sealing indices if a non-TransportError occurs.
-    Reported in #429 (untergeek)
-
-3.2.0 (25 June 2015)
---------------------
-
-**New!**
-
-  * Added support to manually seal, or perform a [synced flush](http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-synced-flush.html)
-    on indices with the ``seal`` command. #394 (untergeek)
-  * Added *experimental* support for SSL certificate validation.  In order for
-    this to work, you must install the ``certifi`` python module:
-    ``pip install certifi``
-    This feature *should* automatically work if the ``certifi`` module is
-    installed.  Please report any issues.
-
-**General**
-
-  * Changed logging to go to stdout rather than stderr.  Reopened #121 and
-    figured they were right.  This is better. (untergeek)
-  * Exit code 99 was unpopular.  It has been removed. Reported in #371 and #391
-    (untergeek)
-  * Add ``--skip-repo-validation`` flag for snapshots.  Do not validate write
-    access to repository on all cluster nodes before proceeding. Useful for
-    shared filesystems where intermittent timeouts can affect validation, but
-    won't likely affect snapshot success. Requested in #396 (untergeek)
-  * An alias no longer needs to be pre-existent in order to use the alias
-    command.  #317 (untergeek)
-  * es_repo_mgr now passes through upstream errors in the event a repository
-    fails to be created.  Requested in #405 (untergeek)
-
-**Bug fixes**
-
- * In rare cases, ``*`` wildcard would not expand.  Replaced with _all.
-   Reported in #399 (untergeek)
- * Beginning with Elasticsearch 1.6, closed indices cannot have their replica
-   count altered.  Attempting to do so results in this error:
-   ``org.elasticsearch.ElasticsearchIllegalArgumentException: Can't update [index.number_of_replicas] on closed indices [[test_index]] - can leave index in an unopenable state``
-   As a result, the ``change_replicas`` method has been updated to prune closed
-   indices.  This change will apply to all versions of Elasticsearch.
-   Reported in #400 (untergeek)
- * Fixed es_repo_mgr repository creation verification error. Reported in #389
-   (untergeek)
-
-
-
-3.1.0 (21 May 2015)
--------------------
-
-**General**
-
- * If ``wait_for_completion`` is true, snapshot success is now tested and logged.
-   Reported in #253 (untergeek)
- * Log & return false if a snapshot is already in progress (untergeek)
- * Logs individual deletes per index, even though they happen in batch mode.
-   Also log individual snapshot deletions. Reported in #372 (untergeek)
- * Moved ``chunk_index_list`` from cli to api utils as it's now also used by ``filter.py``
- * Added a warning and 10 second timer countdown if you use ``--timestring`` to filter
-   indices, but do not use ``--older-than`` or ``--newer-than`` in conjunction with it.
-   This is to address #348, which behavior isn't a bug, but prevents accidental
-   action against all of your time-series indices.  The warning and timer are
-   not displayed for ``show`` and ``--dry-run`` operations.
- * Added tests for ``es_repo_mgr`` in #350
- * Doc fixes
-
-**Bug fixes**
-
- * delete-by-space needed the same fix used for #245. Fixed in #353 (untergeek)
- * Increase default client timeout for ``es_repo_mgr`` as node discovery and
-   availability checks for S3 repositories can take a bit.  Fixed in #352 (untergeek)
- * If an index is closed, indicate in ``show`` and ``--dry-run`` output.
-   Reported in #327. (untergeek)
- * Fix issue where CLI parameters were not being passed to the ``es_repo_mgr``
-   create sub-command.
-   Reported in #337. (feltnerm)
-
-3.0.3 (27 Mar 2015)
--------------------
-
-**Announcement**
-
-This is a bug fix release. #319 and #320 are affecting a few users, so this
-release is being expedited.
-
-Test count: 228
-Code coverage: 99%
-
-**General**
-
- * Documentation for the CLI converted to Asciidoc and moved to
-   http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
- * Improved logging, and refactored a few methods to help with this.
- * Dry-run output is now more like v2, with the index or snapshot in the log
-   line, along with the command.  Several tests needed refactoring with this
-   change, along with a bit of documentation.
-
-**Bug fixes**
-
- * Fix links to repository in setup.py. Reported in #318 (untergeek)
- * No more ``--delay`` with optimized indices. Reported in #319 (untergeek)
- * ``--request_timeout`` not working as expected.  Reinstate the version 2
-   timeout override feature to prevent default timeouts for ``optimize`` and
-   ``snapshot`` operations. Reported in #320 (untergeek)
- * Reduce index count to 200 for
-   test.integration.test_cli_commands.TestCLISnapshot.test_cli_snapshot_huge_list
-   in order to reduce or eliminate Jenkins CI test timeouts.
-   Reported in #324 (untergeek)
- * ``--dry-run`` no longer calls ``show``, but will show output in the log, as
-   in v2. This was a recurring complaint.  See #328 (untergeek)
-
-
-3.0.2 (23 Mar 2015)
--------------------
-
-**Announcement**
-
-This is a bug fix release.  #307 and #309 were big enough to warrant an
-expedited release.
-
-**Bug fixes**
-
- * Purge unneeded constants, and clean up config options for snapshot. Reported in #303 (untergeek)
- * Don't split large index list if performing snapshots. Reported in #307 (untergeek)
- * Act correctly if a zero value for `--older-than` or `--newer-than` is provided. #309 (untergeek)
-
-3.0.1 (16 Mar 2015)
--------------------
-
-**Announcement**
-
-The ``regex_iterate`` method was horribly named.  It has been renamed to
-``apply_filter``.  Methods have been added to allow API users to build a
-filtered list of indices similarly to how the CLI does.  This was an oversight.
-Props to @SegFaultAX for pointing this out.
-
-**General**
-
- * In conjunction with the rebrand to Elastic, URLs and documentation were updated.
- * Renamed horribly named `regex_iterate` method to `apply_filter` #298 (untergeek)
- * Added `build_filter` method to mimic CLI calls. #298 (untergeek)
- * Added Examples page in the API documentation. #298 (untergeek)
-
-**Bug fixes**
-
- * Refactored to show `--dry-run` info for `--disk-space` calls. Reported in
-   #290 (untergeek)
- * Added list chunking so acting on huge lists of indices won't result in a URL
-   bigger than 4096 bytes (Elasticsearch's default limit.)  Reported in
-   https://github.com/elastic/curator/issues/245#issuecomment-77916081
- * Refactored `to_csv()` method to be simpler.
- * Added and removed tests according to changes.  Code coverage still at 99%
-
-3.0.0 (9 March 2015)
---------------------
-
-**Release Notes**
-
-The full release of Curator 3.0 is out!  Check out all of the changes here!
-
-*Note:* This release is _not_ reverse compatible with any previous version.
-
-Because 3.0 is a major point release, there have been some major changes to both
-the API as well as the CLI arguments and structure.
-
-Be sure to read the updated command-line specific docs in the
-[wiki](https://github.com/elasticsearch/curator/wiki) and change your
-command-line arguments accordingly.
-
-The API docs are still at http://curator.readthedocs.org.  Be sure to read the
-latest docs, or select the docs for 3.0.0.
-
-**General**
-
- * **Breaking changes to the API.**  Because this is a major point revision,
-   changes to the API have been made which are non-reverse compatible.  Before
-   upgrading, be sure to update your scripts and test them thoroughly.
- * **Python 3 support** Somewhere along the line, Curator would no longer work
-   with curator.  All tests now pass for both Python2 and Python3, with 99% code
-   coverage in both environments.
- * **New CLI library.** Using Click now. http://click.pocoo.org/3/
-   This change is especially important as it allows very easy CLI integration
-   testing.
- * **Pipelined filtering!** You can now use ``--older-than`` & ``--newer-than``
-   in the same command!  You can also provide your own regex via the ``--regex``
-   parameter.  You can use multiple instances of the ``--exclude`` flag.
- * **Manually include indices!** With the ``--index`` paramter, you can add an
-   index to the working list.  You can provide multiple instances of the
-   ``--index`` parameter as well!
- * **Tests!** So many tests now.  Test coverage of the API methods is at 100%
-   now, and at 99% for the CLI methods.  This doesn't mean that all of the tests
-   are perfect, or that I haven't missed some scenarios.  It does mean, however,
-   that it will be much easier to write tests if something turns up missed.  It
-   also means that any new functionality will now need to have tests.
- * **Iteration changes** Methods now only iterate through each index when
-   appropriate!  In fact, the only commands that iterate are `alias` and
-   `optimize`.  The `bloom` command will iterate, but only if you have added the
-   `--delay` flag with a value greater than zero.
- * **Improved packaging!**  Methods have been moved into categories of
-   ``api`` and ``cli``, and further broken out into individual modules to help
-   them be easier to find and read.
- * Check for allocation before potentially re-applying an allocation rule.
-   #273 (ferki)
- * Assigning replica count and routing allocation rules _can_ be done to closed
-   indices. #283 (ferki)
-
-**Bug fixes**
-
- * Don't accidentally delete ``.kibana`` index. #261 (malagoli)
- * Fix segment count for empty indices. #265 (untergeek)
- * Change bloom filter cutoff Elasticsearch version to 1.4. Reported in #267
-   (untergeek)
-
-3.0.0rc1 (5 March 2015)
------------------------
-
-**Release Notes**
-
-RC1 is here!  I'm re-releasing the Changes from all betas here, minus the
-intra-beta code fixes.  Barring any show stoppers, the official release will be
-soon.
-
-**General**
-
- * **Breaking changes to the API.**  Because this is a major point revision,
-   changes to the API have been made which are non-reverse compatible.  Before
-   upgrading, be sure to update your scripts and test them thoroughly.
- * **Python 3 support** Somewhere along the line, Curator would no longer work
-   with curator.  All tests now pass for both Python2 and Python3, with 99% code
-   coverage in both environments.
- * **New CLI library.** Using Click now. http://click.pocoo.org/3/
-   This change is especially important as it allows very easy CLI integration
-   testing.
- * **Pipelined filtering!** You can now use ``--older-than`` & ``--newer-than``
-   in the same command!  You can also provide your own regex via the ``--regex``
-   parameter.  You can use multiple instances of the ``--exclude`` flag.
- * **Manually include indices!** With the ``--index`` paramter, you can add an
-   index to the working list.  You can provide multiple instances of the
-   ``--index`` parameter as well!
- * **Tests!** So many tests now.  Test coverage of the API methods is at 100%
-   now, and at 99% for the CLI methods.  This doesn't mean that all of the tests
-   are perfect, or that I haven't missed some scenarios.  It does mean, however,
-   that it will be much easier to write tests if something turns up missed.  It
-   also means that any new functionality will now need to have tests.
- * Methods now only iterate through each index when appropriate!
- * Improved packaging!  Hopefully the ``entry_point`` issues some users have had
-   will be addressed by this.  Methods have been moved into categories of
-   ``api`` and ``cli``, and further broken out into individual modules to help
-   them be easier to find and read.
- * Check for allocation before potentially re-applying an allocation rule.
-   #273 (ferki)
- * Assigning replica count and routing allocation rules _can_ be done to closed
-   indices. #283 (ferki)
-
-**Bug fixes**
-
- * Don't accidentally delete ``.kibana`` index. #261 (malagoli)
- * Fix segment count for empty indices. #265 (untergeek)
- * Change bloom filter cutoff Elasticsearch version to 1.4. Reported in #267
-   (untergeek)
-
-
-3.0.0b4 (5 March 2015)
-----------------------
-
-**Notes**
-
-Integration testing!  Because I finally figured out how to use the Click
-Testing API, I now have a good collection of command-line simulations,
-complete with a real back-end.  This testing found a few bugs (this is why
-testing exists, right?), and fixed a few of them.
-
-**Bug fixes**
-
- * HUGE! `curator show snapshots` would _delete_ snapshots.  This is fixed.
- * Return values are now being sent from the commands.
- * `scripttest` is no longer necessary (click.Test works!)
- * Calling `get_snapshot` without a snapshot name returns all snapshots
-
-
-3.0.0b3 (4 March 2015)
-----------------------
-
-**Bug fixes**
-
- * setup.py was lacking the new packages "curator.api" and "curator.cli"  The
-   package works now.
- * Python3 suggested I had to normalize the beta tag to just b3, so that's also
-   changed.
- * Cleaned out superfluous imports and logger references from the __init__.py
-   files.
-
-3.0.0-beta2 (3 March 2015)
---------------------------
-
-**Bug fixes**
-
- * Python3 issues resolved.  Tests now pass on both Python2 and Python3
-
-3.0.0-beta1 (3 March 2015)
---------------------------
-
-**General**
-
- * **Breaking changes to the API.**  Because this is a major point revision,
-   changes to the API have been made which are non-reverse compatible.  Before
-   upgrading, be sure to update your scripts and test them thoroughly.
- * **New CLI library.** Using Click now. http://click.pocoo.org/3/
- * **Pipelined filtering!** You can now use ``--older-than`` & ``--newer-than``
-   in the same command!  You can also provide your own regex via the ``--regex``
-   parameter.  You can use multiple instances of the ``--exclude`` flag.
- * **Manually include indices!** With the ``--index`` paramter, you can add an
-   index to the working list.  You can provide multiple instances of the
-   ``--index`` parameter as well!
- * **Tests!** So many tests now.  Unit test coverage of the API methods is at
-   100% now.  This doesn't mean that all of the tests are perfect, or that I
-   haven't missed some scenarios.  It does mean that any new functionality will
-   need to also have tests, now.
- * Methods now only iterate through each index when appropriate!
- * Improved packaging!  Hopefully the ``entry_point`` issues some users have had
-   will be addressed by this.  Methods have been moved into categories of
-   ``api`` and ``cli``, and further broken out into individual modules to help
-   them be easier to find and read.
- * Check for allocation before potentially re-applying an allocation rule.
-   #273 (ferki)
-
-**Bug fixes**
-
- * Don't accidentally delete ``.kibana`` index. #261 (malagoli)
- * Fix segment count for empty indices. #265 (untergeek)
- * Change bloom filter cutoff Elasticsearch version to 1.4. Reported in #267 (untergeek)
-
-
-2.1.2 (22 January 2015)
------------------------
-
-**Bug fixes**
-
- * Do not try to set replica count if count matches provided argument. #247 (bobrik)
- * Fix JSON logging (Logstash format). #250 (magnusbaeck)
- * Fix bug in `filter_by_space()` which would match all indices if the provided patterns found no matches. Reported in #254 (untergeek)
-
-2.1.1 (30 December 2014)
-------------------------
-
-**Bug fixes**
-
- * Renamed unnecessarily redundant ``--replicas`` to ``--count`` in args for ``curator_script.py``
-
-2.1.0 (30 December 2014)
-------------------------
-
-**General**
-
- * Snapshot name now appears in log output or STDOUT. #178 (untergeek)
- * Replicas! You can now change the replica count of indices. Requested in #175 (untergeek)
- * Delay option added to Bloom Filter functionality. #206 (untergeek)
- * Add 2-digit years as acceptable pattern (y vs. Y). Reported in #209 (untergeek)
- * Add Docker container definition #226 (christianvozar)
- * Allow the use of 0 with --older-than, --most-recent and --delete-older-than. See #208. #211 (bobrik)
-
-**Bug fixes**
-
- * Edge case where 1.4.0.Beta1-SNAPSHOT would break version check. Reported in #183 (untergeek)
- * Typo fixed. #193 (ferki)
- * Type fixed. #204 (gheppner)
- * Shows proper error in the event of concurrent snapshots. #177 (untergeek)
- * Fixes erroneous index display of ``_, a, l, l`` when --all-indices selected. Reported in #222 (untergeek)
- * Use json.dumps() to escape exceptions. Reported in #210 (untergeek)
- * Check if index is closed before adding to alias.  Reported in #214 (bt5e)
- * No longer force-install argparse if pre-installed #216 (whyscream)
- * Bloom filters have been removed from Elasticsearch 1.5.0. Update methods and tests to act accordingly. #233 (untergeek)
-
-2.0.2 (8 October 2014)
-----------------------
-
-**Bug fixes**
-
- * Snapshot name not displayed in log or STDOUT #185 (untergeek)
- * Variable name collision in delete_snapshot() #186 (untergeek)
-
-2.0.1 (1 October 2014)
-----------------------
-
-**Bug fix**
-
- * Override default timeout when snapshotting --all-indices #179 (untergeek)
-
-2.0.0 (25 September 2014)
--------------------------
-
-**General**
-
- * New! Separation of Elasticsearch Curator Python API and curator_script.py (untergeek)
- * New! ``--delay`` after optimize to allow cluster to quiesce #131 (untergeek)
- * New! ``--suffix`` option in addition to ``--prefix`` #136 (untergeek)
- * New! Support for wildcards in prefix & suffix #136 (untergeek)
- * Complete refactor of snapshots.  Now supporting incrementals! (untergeek)
-
-**Bug fix**
-
- * Incorrect error msg if no indices sent to create_snapshot (untergeek)
- * Correct for API change coming in ES 1.4 #168 (untergeek)
- * Missing ``"`` in Logstash log format #143 (cassianoleal)
- * Change non-master node test to exit code 0, log as ``INFO``. #145 (untergeek)
- * `months` option missing from validate_timestring() (untergeek)
-
-1.2.2 (29 July 2014)
---------------------
-
-**Bug fix**
-
- * Updated ``README.md`` to briefly explain what curator does #117 (untergeek)
- * Fixed ``es_repo_mgr`` logging whitelist #119 (untergeek)
- * Fixed absent ``months`` time-unit #120 (untergeek)
- * Filter out ``.marvel-kibana`` when prefix is ``.marvel-`` #120 (untergeek)
- * Clean up arg parsing code where redundancy exists #123 (untergeek)
- * Properly divide debug from non-debug logging #125 (untergeek)
- * Fixed ``show`` command bug caused by changes to command structure #126 (michaelweiser)
-
-1.2.1 (24 July 2014)
---------------------
-
-**Bug fix**
-
- * Fixed the new logging when called by ``curator`` entrypoint.
-
-1.2.0 (24 July 2014)
---------------------
-
-**General**
-
- * New! Allow user-specified date patterns: ``--timestring`` #111 (untergeek)
- * New! Curate weekly indices (must use week of year) #111 (untergeek)
- * New! Log output in logstash format ``--logformat logstash`` #111 (untergeek)
- * Updated! Cleaner default logs (debug still shows everything) (untergeek)
- * Improved! Dry runs are more visible in log output (untergeek)
-
-Errata
-
- * The ``--separator`` option was removed in lieu of user-specified date patterns.
- * Default ``--timestring`` for days: ``%Y.%m.%d`` (Same as before)
- * Default ``--timestring`` for hours: ``%Y.%m.%d.%H`` (Same as before)
- * Default ``--timestring`` for weeks: ``%Y.%W``
-
-1.1.3 (18 July 2014)
---------------------
-
-**Bug fix**
-
- * Prefix not passed in ``get_object_list()`` #106 (untergeek)
- * Use ``os.devnull`` instead of ``/dev/null`` for Windows #102 (untergeek)
- * The http auth feature was erroneously omitted #100 (bbuchacher)
-
-1.1.2 (13 June 2014)
---------------------
-
-**Bug fix**
-
- * This was a showstopper bug for anyone using RHEL/CentOS with a Python 2.6 dependency for yum
- * Python 2.6 does not like format calls without an index. #96 via #95 (untergeek)
- * We won't talk about what happened to 1.1.1.  No really.  I hate git today :(
-
-1.1.0 (12 June 2014)
---------------------
-
-**General**
-
- * Updated! New command structure
- * New! Snapshot to fs or s3 #82 (untergeek)
- * New! Add/Remove indices to alias #82 via #86 (cschellenger)
- * New! ``--exclude-pattern`` #80 (ekamil)
- * New! (sort of) Restored ``--log-level`` support #73 (xavier-calland)
- * New! show command-line options #82 via #68 (untergeek)
- * New! Shard Allocation Routing #82 via #62 (nickethier)
-
-**Bug fix**
-
- * Fix ``--max_num_segments`` not being passed correctly #74 (untergeek)
- * Change ``BUILD_NUMBER`` to ``CURATOR_BUILD_NUMBER`` in ``setup.py`` #60 (mohabusama)
- * Fix off-by-one error in time calculations #66 (untergeek)
- * Fix testing with python3 #92 (untergeek)
-
-Errata
-
- * Removed ``optparse`` compatibility.  Now requires ``argparse``.
-
-1.0.0 (25 Mar 2014)
--------------------
-
-**General**
-
- * compatible with ``elasticsearch-py`` 1.0 and Elasticsearch 1.0 (honzakral)
- * Lots of tests! (honzakral)
- * Streamline code for 1.0 ES versions (honzakral)
-
-**Bug fix**
-
- * Fix ``find_expired_indices()`` to not skip closed indices (honzakral)
-
-0.6.2 (18 Feb 2014)
--------------------
-
-**General**
-
- * Documentation fixes #38 (dharrigan)
- * Add support for HTTPS URI scheme and ``optparse`` compatibility for Python 2.6 (gelim)
- * Add elasticsearch module version checking for future compatibility checks (untergeek)
-
-0.6.1 (08 Feb 2014)
--------------------
-
-**General**
-
- * Added tarball versioning to ``setup.py`` (untergeek)
-
-**Bug fix**
-
- * Fix ``long_description`` by including ``README.md`` in ``MANIFEST.in`` (untergeek)
- * Incorrect version number in ``curator.py`` (untergeek)
-
-0.6.0 (08 Feb 2014)
--------------------
-
-**General**
-
- * Restructured repository to a be a proper python package. (arieb)
- * Added ``setup.py`` file. (arieb)
- * Removed the deprecated file ``logstash_index_cleaner.py`` (arieb)
- * Updated ``README.md`` to fit the new package, most importantly the usage
-   and installation. (arieb)
- * Fixes and package push to PyPI (untergeek)
-
-0.5.2 (26 Jan 2014)
--------------------
-
-**General**
-
- * Fix boolean logic determining hours or days for time selection (untergeek)
-
-0.5.1 (20 Jan 2014)
--------------------
-
-**General**
-
- * Fix ``can_bloom`` to compare numbers (HonzaKral)
- * Switched ``find_expired_indices()`` to use ``datetime`` and ``timedelta``
- * Do not try and catch unrecoverable exceptions. (HonzaKral)
- * Future proofing the use of the elasticsearch client (i.e. work with version
-   1.0+ of Elasticsearch) (HonzaKral)
-   Needs more testing, but should work.
- * Add tests for these scenarios (HonzaKral)
-
-0.5.0 (17 Jan 2014)
--------------------
-
... 23261 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