[Python-modules-commits] r31756 - in packages/elasticsearch-curator/trunk (18 files)

apoikos at users.alioth.debian.org apoikos at users.alioth.debian.org
Mon Feb 2 13:40:49 UTC 2015


    Date: Monday, February 2, 2015 @ 13:40:48
  Author: apoikos
Revision: 31756

[svn-inject] Applying Debian modifications (2.1.2-1) to trunk

Added:
  packages/elasticsearch-curator/trunk/debian/
  packages/elasticsearch-curator/trunk/debian/changelog
  packages/elasticsearch-curator/trunk/debian/compat
  packages/elasticsearch-curator/trunk/debian/control
  packages/elasticsearch-curator/trunk/debian/copyright
  packages/elasticsearch-curator/trunk/debian/curator.1
  packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.dirs
  packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.manpages
  packages/elasticsearch-curator/trunk/debian/es_repo_mgr.1
  packages/elasticsearch-curator/trunk/debian/patches/
  packages/elasticsearch-curator/trunk/debian/patches/series
  packages/elasticsearch-curator/trunk/debian/patches/setup.py-read-README-utf-8
  packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.doc-base
  packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.docs
  packages/elasticsearch-curator/trunk/debian/rules
  packages/elasticsearch-curator/trunk/debian/source/
  packages/elasticsearch-curator/trunk/debian/source/format
  packages/elasticsearch-curator/trunk/debian/watch


Property changes on: packages/elasticsearch-curator/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/elasticsearch-curator/trunk/debian/changelog
===================================================================
--- packages/elasticsearch-curator/trunk/debian/changelog	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/changelog	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,7 @@
+elasticsearch-curator (2.1.2-1) unstable; urgency=low
+
+  * Initial release (closes: #776791)
+  * Disable testuite; upstream runs integration tests against a local ES
+    instance, erasing existing data.
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org>  Mon, 02 Feb 2015 13:53:33 +0200

Added: packages/elasticsearch-curator/trunk/debian/compat
===================================================================
--- packages/elasticsearch-curator/trunk/debian/compat	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/compat	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1 @@
+9

Added: packages/elasticsearch-curator/trunk/debian/control
===================================================================
--- packages/elasticsearch-curator/trunk/debian/control	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/control	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,86 @@
+Source: elasticsearch-curator
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python-elasticsearch (>= 1.0.0),
+               python3-all,
+               python3-setuptools
+Build-Depends-Indep: libjs-jquery, python-sphinx (>= 1.0.7+dfsg-1~)
+Standards-Version: 3.9.6
+Homepage: https://github.com/elasticsearch/curator
+Vcs-Browser: http://anonscm.debian.org/viewsvn/python-modules/packages/elasticsearch-curator/trunk
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/elasticsearch-curator/trunk
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: elasticsearch-curator
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-elasticsearch-curator (= ${binary:Version})
+Description: command-line tool for managing Elasticsearch time-series indices
+ Elasticsearch Curator helps manage Elasticsearch time-series indices. It
+ consists of a Python library and a CLI tool providing a high-level interface
+ to Elasticsearch administration tasks, such as:
+ .
+  - Management of index aliases
+  - Index optimization
+  - Changing the replica count
+  - Modifying the shard/index allocation using routing tags
+  - Index snapshotting
+ .
+ This package contains the curator and es_repo_mgr command-line tools.
+
+Package: python-elasticsearch-curator
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-elasticsearch (>= 1.0.0)
+Suggests: python-elasticsearch-curator-doc
+Description: Python library for managing Elasticsearch time-series indices
+ Elasticsearch Curator helps manage Elasticsearch time-series indices. It
+ consists of a Python library and a CLI tool providing a high-level interface
+ to Elasticsearch administration tasks, such as:
+ .
+  - Management of index aliases
+  - Index optimization
+  - Changing the replica count
+  - Modifying the shard/index allocation using routing tags
+  - Index snapshotting
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-elasticsearch-curator
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, python3-elasticsearch (>= 1.0.0)
+Suggests: python-elasticsearch-curator-doc
+Description: Python 3 library for managing Elasticsearch time-series indices
+ Elasticsearch Curator helps manage Elasticsearch time-series indices. It
+ consists of a Python library and a CLI tool providing a high-level interface
+ to Elasticsearch administration tasks, such as:
+ .
+  - Management of index aliases
+  - Index optimization
+  - Changing the replica count
+  - Modifying the shard/index allocation using routing tags
+  - Index snapshotting
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-elasticsearch-curator-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Python library for managing Elasticsearch time-series indices (documentation)
+ Elasticsearch Curator helps manage Elasticsearch time-series indices. It
+ consists of a Python library and a CLI tool providing a high-level interface
+ to Elasticsearch administration tasks, such as:
+ .
+  - Management of index aliases
+  - Index optimization
+  - Changing the replica count
+  - Modifying the shard/index allocation using routing tags
+  - Index snapshotting
+ .
+ This package contains the Python library documentation.

Added: packages/elasticsearch-curator/trunk/debian/copyright
===================================================================
--- packages/elasticsearch-curator/trunk/debian/copyright	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/copyright	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: curator
+Upstream-Contact: Aaron Mildenstein <aaron at mildensteins.com>
+Source: https://github.com/elasticsearch/curator
+
+Files: *
+Copyright: 2011-2015 Elasticsearch <http://www.elasticsearch.org>
+           and contributors.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Apollon Oikonomopoulos <apoikos at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ The full text of the Apache 2.0 license on Debian systems can be found at
+ /usr/share/common-licenses/Apache-2.0.

Added: packages/elasticsearch-curator/trunk/debian/curator.1
===================================================================
--- packages/elasticsearch-curator/trunk/debian/curator.1	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/curator.1	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,117 @@
+.TH CURATOR "1" "February 2015" "curator 2.1.2" "User Commands"
+.SH NAME
+\fBcurator\fP \- Elasticsearch time-series index manager
+
+.SH SYNOPSIS
+curator [\-h] [\-v] [\-\-host HOST] [\-\-url_prefix URL_PREFIX]
+[\-\-port PORT] [\-\-ssl] [\-\-auth AUTH]
+[\-\-timeout TIMEOUT] [\-\-master\-only] [\-n] [\-D]
+[\-\-loglevel LOG_LEVEL] [\-\-logfile LOG_FILE]
+[\-\-logformat LOGFORMAT]
+\fICOMMAND\fP [\fICOMMAND_OPTS\fP] \fIARGUMENTS\fP
+
+.SH DESCRIPTION
+\fBcurator\fP helps manage Elasticsearch time-series indices. It provides an
+easy way to perform index administration tasks, such as managing aliases,
+optimizing indices, changing the replica count and modifying index allocation
+using routing tags.
+
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show program usage and exit
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-\-host\fR HOST
+Elasticsearch host. Default: localhost
+.TP
+\fB\-\-url_prefix\fR URL_PREFIX
+Elasticsearch HTTP url prefix. Default: none
+.TP
+\fB\-\-port\fR PORT
+Elasticsearch port. Default: 9200
+.TP
+\fB\-\-ssl\fR
+Connect to Elasticsearch through SSL. Default: false
+.TP
+\fB\-\-auth\fR AUTH
+Use Basic Authentication ex: user:pass Default: None
+.TP
+\fB\-\-timeout\fR TIMEOUT
+Connection timeout in seconds. Default: 30
+.TP
+\fB\-\-master\-only\fR
+Verify that the node is the elected master before
+continuing
+.TP
+\fB\-n\fR, \fB\-\-dry\-run\fR
+If true, does not perform any changes to the
+Elasticsearch indices.
+.TP
+\fB\-D\fR, \fB\-\-debug\fR
+Debug mode
+.TP
+\fB\-\-loglevel\fR LOG_LEVEL
+Log level
+.TP
+\fB\-\-logfile\fR LOG_FILE
+log file
+.TP
+\fB\-\-logformat\fR LOGFORMAT
+Log output format [default|logstash]. Default: default
+
+.SH COMMANDS
+Each of the following commands accepts a number of options and positional
+arguments. Run \fBcurator\fP \fICOMMAND\fP \fB\-\-help\fR for command\-specific
+help. Available commands are:
+.TP
+.B alias
+Aliasing operations
+.TP
+.B allocation
+Apply required index routing allocation rule
+.TP
+.B bloom
+Disable bloom filter cache for indices
+.TP
+.B close
+Close indices
+.TP
+.B delete
+Delete indices
+.TP
+.B optimize
+Optimize indices
+.TP
+.B replicas
+Change replica count of indices
+.TP
+.B show
+Show indices or snapshots
+.TP
+.B snapshot
+Take snapshots of indices (Backup)
+
+.SH "SEE ALSO"
+.BR es_repo_mgr (1)
+
+Additional documentation for
+.B curator
+can be found at the project's wiki at
+https://github.com/elasticsearch/curator/wiki.
+
+.SH AUTHOR
+\fBcurator\fP was originally written by Aaron Mildenstein
+<aaron at mildensteins.com>. It is currently maintained by Elasticsearch
+<http://www.elasticsearch.org/>.
+
+This manual page was written by Apollon Oikonomopoulos <apoikos at debian.org> for
+the Debian project (but may be used by others).
+
+.SH LICENSE
+This software is released under the Apache License, Version 2.0. See
+/usr/share/doc/elasticsearch-curator/copyright for more details.
+
+Copyright 2011-2015 Elasticsearch and contributors.

Added: packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.dirs
===================================================================
--- packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.dirs	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.dirs	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1 @@
+/usr/bin

Added: packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.manpages
===================================================================
--- packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.manpages	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/elasticsearch-curator.manpages	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,2 @@
+debian/curator.1
+debian/es_repo_mgr.1

Added: packages/elasticsearch-curator/trunk/debian/es_repo_mgr.1
===================================================================
--- packages/elasticsearch-curator/trunk/debian/es_repo_mgr.1	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/es_repo_mgr.1	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,100 @@
+.TH ES_REPO_MGR "1" "February 2015" "es_repo_mgr 2.1.2" "User Commands"
+.SH NAME
+\fBes_repo_mgr\fP \- snapshot repository manager for Elasticsearch
+.BR curator (1).
+
+.SH SYNOPSIS
+\fBes_repo_mgr\fP [\-h] [\-v] [\-\-host HOST] [\-\-url_prefix URL_PREFIX]
+[\-\-port PORT] [\-\-ssl] [\-\-auth AUTH] [\-t TIMEOUT] [\-n]
+[\-D] [\-\-loglevel LOG_LEVEL] [\-l LOG_FILE]
+[\-\-logformat LOGFORMAT]
+\fICOMMAND\fP [\fICOMMAND_OPTS\fP] \fIARGUMENTS\fP
+
+.SH DESCRIPTION
+\fBes_repo_mgr\fP is a helper script to assist in creating Elasticsearch index
+snapshot repositories. At this time, only \fBfs\fP and \fBs3\fP types are
+supported. Please be sure to read the documentation for the indicated type
+before creating a repository. For example, each node using a \fBfs\fP type
+repository must be able to access the same shared filesystem, in the same path,
+identified by \-\-location.
+
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this program usage and exit
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-\-host\fR HOST
+Elasticsearch host. Default: localhost
+.TP
+\fB\-\-url_prefix\fR URL_PREFIX
+Elasticsearch http url prefix. Default: none
+.TP
+\fB\-\-port\fR PORT
+Elasticsearch port. Default: 9200
+.TP
+\fB\-\-ssl\fR
+Connect to Elasticsearch through SSL. Default: false
+.TP
+\fB\-\-auth\fR AUTH
+Use Basic Authentication ex: user:pass Default: None
+.TP
+\fB\-t\fR TIMEOUT, \fB\-\-timeout\fR TIMEOUT
+Connection timeout in seconds. Default: 30
+.TP
+\fB\-n\fR, \fB\-\-dry\-run\fR
+If true, does not perform any changes to the
+Elasticsearch indices.
+.TP
+\fB\-D\fR, \fB\-\-debug\fR
+Debug mode
+.TP
+\fB\-\-loglevel\fR LOG_LEVEL
+Log level
+.TP
+\fB\-l\fR LOG_FILE, \fB\-\-logfile\fR LOG_FILE
+log file
+.TP
+\fB\-\-logformat\fR LOGFORMAT
+Log output format [default|logstash]. Default: default
+
+.SH COMMANDS
+Each command accepts a number of options and positional arguments. Run
+\fBes_repo_mgr\fP \fICOMMAND\fP \fB\-\-help\fP for command\-specific help. The
+following commands are available:
+.TP
+.B create_fs
+Create an \fBfs\fP type repository
+.TP
+.B create_s3
+Create an \fBs3\fP type repository
+.TP
+.B delete
+Delete named repository
+.TP
+.B show
+Show all registered repositories
+
+.SH "SEE ALSO"
+.BR curator (1)
+
+Additional documentation for
+.B es_repo_mgr
+can be found at curator's wiki at
+https://github.com/elasticsearch/curator/wiki.
+
+.SH AUTHOR
+\fBcurator\fP was originally written by Aaron Mildenstein
+<aaron at mildensteins.com>. It is currently maintained by Elasticsearch
+<http://www.elasticsearch.org/>.
+
+This manual page was written by Apollon Oikonomopoulos <apoikos at debian.org> for
+the Debian project (but may be used by others).
+
+.SH LICENSE
+This software is released under the Apache License, Version 2.0. See
+/usr/share/doc/elasticsearch-curator/copyright for more details.
+
+Copyright 2011-2015 Elasticsearch and contributors.

Added: packages/elasticsearch-curator/trunk/debian/patches/series
===================================================================
--- packages/elasticsearch-curator/trunk/debian/patches/series	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/patches/series	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1 @@
+setup.py-read-README-utf-8

Added: packages/elasticsearch-curator/trunk/debian/patches/setup.py-read-README-utf-8
===================================================================
--- packages/elasticsearch-curator/trunk/debian/patches/setup.py-read-README-utf-8	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/patches/setup.py-read-README-utf-8	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,23 @@
+Author: Apollon Oikonomopoulos <apoikos at debian.org>
+Description: Properly read unicode data from README.md for Python 3
+ README.md contains non-ASCII characters and Python 3 errors out since it was
+ not instructed to read unicode data from the file. Fix this by opening the
+ file with a utf-8 encoding for Python 3.
+
+Forwarded: no
+Last-Update: 2015-02-02
+--- a/setup.py
++++ b/setup.py
+@@ -4,7 +4,11 @@
+ 
+ # Utility function to read from file.
+ def fread(fname):
+-    return open(os.path.join(os.path.dirname(__file__), fname)).read()
++    try:
++        text = open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()
++    except TypeError:
++        text = open(os.path.join(os.path.dirname(__file__), fname)).read()
++    return text
+ 
+ def get_version():
+     VERSION = fread("VERSION").strip()

Added: packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.doc-base
===================================================================
--- packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.doc-base	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.doc-base	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,8 @@
+Document: python-elasticsearch-curator
+Title: Elasticsearch Curator Documentation
+Author: Aaron Mildenstein
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-elasticsearch-curator-doc/html/index.html
+Files: /usr/share/doc/python-elasticsearch-curator-doc/html/*.html

Added: packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.docs
===================================================================
--- packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.docs	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/python-elasticsearch-curator-doc.docs	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1 @@
+docs/.build/html

Added: packages/elasticsearch-curator/trunk/debian/rules
===================================================================
--- packages/elasticsearch-curator/trunk/debian/rules	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/rules	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=elasticsearch-curator
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_installchangelogs:
+	dh_installchangelogs Changelog.rst
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -b html -N docs/ docs/.build/html
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
+
+override_dh_auto_install:
+	dh_auto_install
+	mv debian/python-elasticsearch-curator/usr/bin debian/elasticsearch-curator/usr
+	rm -rf debian/python3-elasticsearch-curator/usr/bin
+
+# Tests consist mainly of integration tests against a running ES instance (and
+# delete all data on it), so disable them. They are better suited for DEP-8.
+override_dh_auto_test:
+
+.PHONY: override_dh_auto_test override_dh_installchangelogs override_dh_auto_build \
+	override_dh_clean override_dh_auto_install


Property changes on: packages/elasticsearch-curator/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/elasticsearch-curator/trunk/debian/source/format
===================================================================
--- packages/elasticsearch-curator/trunk/debian/source/format	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/source/format	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/elasticsearch-curator/trunk/debian/watch
===================================================================
--- packages/elasticsearch-curator/trunk/debian/watch	                        (rev 0)
+++ packages/elasticsearch-curator/trunk/debian/watch	2015-02-02 13:40:48 UTC (rev 31756)
@@ -0,0 +1,3 @@
+version=3
+
+https://github.com/elasticsearch/curator/releases .*/archive/v(.*).tar.gz




More information about the Python-modules-commits mailing list