Skip to content

Commit

Permalink
Massive rewrite of Curator for 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
untergeek committed Apr 22, 2016
1 parent e006591 commit a077918
Show file tree
Hide file tree
Showing 121 changed files with 1,278 additions and 10,341 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ language: python

python:
- "2.7"
- "3.3"
- "3.4"

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
- wget -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.3.0.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
- 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

10 changes: 10 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,13 @@ d. If the Work includes a "NOTICE" text file as part of its distribution, then a
* 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)
28 changes: 14 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Elasticsearch Curator helps you curate, or manage your indices.
`Curator API Documentation`_
----------------------------

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`_,
and the `Elasticsearch Python API`_.
Version 4.0 of Curator ships with both an API and a wrapper script (which is
actually defined as an entry point). The API allows you to write your own
scripts to accomplish similar goals, or even new and different things with the
`Curator API`_, and the `Elasticsearch Python API`_.

.. _Curator API: http://curator.readthedocs.org/

Expand Down Expand Up @@ -73,8 +73,8 @@ Contributing
* sign the `CLA <http://elastic.co/contributor-agreement/>`_
* send a pull request!

To run from source, use the ``run_curator.py`` and ``run_es_repo_mgr.py`` scripts
in the root directory of the project.
To run from source, use the ``run_curator.py`` script in the root directory of
the project.

Running Tests
-------------
Expand All @@ -89,19 +89,19 @@ they're applied (it can still be one commit of course).

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').
can use the env variable ``TEST_ES_SERVER`` to point to a different instance
(for example, 'otherhost:9203').

Versioning
----------

There are two branches for development - ``master`` and ``0.6``. Master branch is
used to track all the changes for Elasticsearch 1.0 and beyond whereas 0.6
tracks Elasticsearch 0.90 and the corresponding ``elasticsearch-py`` version.
Version 4.0 of Curator is the current ``master`` branch. It supports
Elasticsearch versions 2.0 through 5.0. This is the first release of Curator
that is not fully reverse compatible.

Releases with major versions greater than 1 (X.Y.Z, where X is > 1) are to be
used with Elasticsearch 1.0 and later, 0.6 releases are meant to work with
Elasticsearch 0.90.X.
The ``3.x`` branch will continue to be available to support earlier versions of
Elasticsearch. No new development is being done with the ``3.x`` branch, but bug
fixes may be merged as necessary.

Origins
-------
Expand Down
9 changes: 7 additions & 2 deletions curator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
from ._version import __version__
from .api import *
from .exceptions import *
from .settings import *
from .logtools import *
from .utils import *
from .indexlist import IndexList
from .snapshotlist import SnapshotList
from .actions import *
from .cli import *
2 changes: 1 addition & 1 deletion curator/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.0.0dev0'
__version__ = '4.0.0a1'
Loading

0 comments on commit a077918

Please sign in to comment.