Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new logo on GitHub, PyPI and Read the Docs #1535

Merged
merged 2 commits into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1253,10 +1253,10 @@ ourselves.

Major changes:

* Migrated the metrics data store from file-based to a dedicated Elasticsearch instance. Graphical reports can be created with
Kibana (optional but recommended). It is necessary to setup an Elasticsearch cluster to store metrics data (a single node
is sufficient). The cluster will be configured automatically by Rally. For details please see the [README](README.rst).
Related issues: #8, #21, #46,
[All changes](https://github.com/elastic/rally/issues?q=milestone0X0P+00.0.3+is0X0P+0closed)
* Migrated the metrics data store from file-based to a dedicated Elasticsearch instance. Graphical reports can be created with
Kibana (optional but recommended). It is necessary to setup an Elasticsearch cluster to store metrics data (a single node
is sufficient). The cluster will be configured automatically by Rally. For details please see the documentation.

Related issues: #8, #21, #46,

[All changes](https://github.com/elastic/rally/issues?q=milestone0X0P+00.0.3+is0X0P+0closed)
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Note: Contributors belonging to the "Elastic" organization on Github can merge P

**Repository:** [https://github.com/elastic/rally](https://github.com/elastic/rally)

Please follow the guidelines in the [README](README.rst) on the required software and the setup for development.
Please follow the guidelines in the [README](README.md) on the required software and the setup for development.

## License Headers

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include CHANGELOG.md
include CONTRIBUTING.md
include LICENSE
include MANIFEST.in
include README.rst
include README.md
include setup.py
include esrally/min-es-version.txt
recursive-include docs *
Expand Down
47 changes: 21 additions & 26 deletions README.rst → README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Rally
=====
<p align="center"><img alt="Rally logo" src="https://raw.githubusercontent.com/elastic/rally/master/docs/_static/rally-logo.svg" width="350px"></p>

<h1 align="center">Rally</h1>

Rally is the macrobenchmarking framework for Elasticsearch

What is Rally?
--------------
## What is Rally?

You want to benchmark Elasticsearch? Then Rally is for you. It can help you with the following tasks:

Expand All @@ -16,31 +16,28 @@ You want to benchmark Elasticsearch? Then Rally is for you. It can help you with

We have also put considerable effort in Rally to ensure that benchmarking data are reproducible.

Quick Start
-----------
## Quick Start

Rally is developed for Unix and is actively tested on Linux and macOS. Rally supports `benchmarking Elasticsearch clusters running on Windows <http://esrally.readthedocs.io/en/stable/recipes.html#benchmarking-an-existing-cluster>`_ but Rally itself needs to be installed on machines running Unix.
Rally is developed for Unix and is actively tested on Linux and macOS. Rally supports [benchmarking Elasticsearch clusters running on Windows](http://esrally.readthedocs.io/en/stable/recipes.html#benchmarking-an-existing-cluster) but Rally itself needs to be installed on machines running Unix.

Installing Rally
~~~~~~~~~~~~~~~~
### Installing Rally

**Note**: If you actively develop on Elasticsearch, we recommend that you `install Rally in development mode <https://esrally.readthedocs.io/en/latest/developing.html#installation-instructions-for-development>`_ instead as Elasticsearch is fast moving and Rally always adapts accordingly to the latest main version.

Install Python 3.8+ including ``pip3``, git 1.9+ and an `appropriate JDK to run Elasticsearch <https://www.elastic.co/support/matrix#matrix_jvm>`_ Be sure that ``JAVA_HOME`` points to that JDK. Then run the following command, optionally prefixed by ``sudo`` if necessary::
Install Python 3.8+ including `pip3`, git 1.9+ and an [appropriate JDK to run Elasticsearch](https://www.elastic.co/support/matrix#matrix_jvm>). Be sure that `JAVA_HOME` points to that JDK. Then run the following command, optionally prefixed by `sudo` if necessary:

pip3 install esrally


If you have any trouble or need more detailed instructions, please look in the `detailed installation guide <https://esrally.readthedocs.io/en/latest/install.html>`_.
If you have any trouble or need more detailed instructions, please look in the [detailed installation guide](https://esrally.readthedocs.io/en/latest/install.html>).

Run your first race
-------------------
## Run your first race

Now we're ready to run our first race::
Now we're ready to run our first race:

esrally race --distribution-version=6.0.0 --track=geonames

This will download Elasticsearch 6.0.0 and run Rally's default track - the `geonames track <https://github.com/elastic/rally-tracks/tree/master/geonames>`_ - against it. After the race, a summary report is written to the command line:::
This will download Elasticsearch 6.0.0 and run Rally's default track - the [geonames track](https://github.com/elastic/rally-tracks/tree/master/geonames>) - against it. After the race, a summary report is written to the command line:

------------------------------------------------------
_______ __ _____
Expand Down Expand Up @@ -101,21 +98,19 @@ This will download Elasticsearch 6.0.0 and run Rally's default track - the `geon
----------------------------------


Getting help
------------
## Getting help

* Quick help: `esrally --help`
* Look in [Rally's user guide](https://esrally.readthedocs.io/>) for more information
* Ask questions about Rally in the [Rally Discuss forum](https://discuss.elastic.co/tags/c/elastic-stack/elasticsearch/rally).
* File improvements or bug reports in our [Github repo](https://github.com/elastic/rally/issues>).

* Quick help: ``esrally --help``
* Look in `Rally's user guide <https://esrally.readthedocs.io/>`_ for more information
* Ask questions about Rally in the `Rally Discuss forum <https://discuss.elastic.co/tags/c/elastic-stack/elasticsearch/rally>`_.
* File improvements or bug reports in our `Github repo <https://github.com/elastic/rally/issues>`_.
## How to Contribute

How to Contribute
-----------------
See all details in the [contributor guidelines](https://github.com/elastic/rally/blob/master/CONTRIBUTING.md>).

See all details in the `contributor guidelines <https://github.com/elastic/rally/blob/master/CONTRIBUTING.md>`_.

License
-------
## License

This software is licensed under the Apache License, version 2 ("ALv2"), quoted below.

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfiles/Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get -y update && \
RUN mkdir -p /rally/esrally
COPY setup.py /rally/
COPY setup.cfg /rally/
COPY README.rst /rally/
COPY README.md /rally/
COPY MANIFEST.in /rally/
COPY esrally/ /rally/esrally/

Expand Down
22 changes: 3 additions & 19 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,26 +128,10 @@ def read_min_es_version():

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# html_theme = 'alabaster'
html_theme = "furo"

on_rtd = os.environ.get("READTHEDOCS", None) == "True"

if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
# html_title = None

# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
# html_logo = None
html_static_path = ["."]
html_logo = "rally-logo.svg"

# The name of an image file (relative to this directory) to use as a favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down
1 change: 1 addition & 0 deletions docs/rally-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ def str_from_file(name):
raw_version = str_from_file("esrally/_version.py")
version = re.match(r'__version__ = "(.+)"', raw_version).group(1)

long_description = str_from_file("README.rst")

# tuples of (major, minor) of supported Python versions ordered from lowest to highest
supported_python_versions = [(3, 8), (3, 9), (3, 10)]

Expand Down Expand Up @@ -98,7 +96,7 @@ def str_from_file(name):
develop_require = [
"tox==3.14.0",
"sphinx==4.2.0",
"sphinx_rtd_theme==1.0.0",
"furo==2022.06.21",
"twine==1.15.0",
"wheel==0.33.6",
"github3.py==1.3.0",
Expand All @@ -120,7 +118,8 @@ def str_from_file(name):
maintainer_email="[email protected]",
version=version,
description="Macrobenchmarking framework for Elasticsearch",
long_description=long_description,
long_description=str_from_file("README.md"),
long_description_content_type="text/markdown",
url="https://github.com/elastic/rally",
license="Apache License, Version 2.0",
packages=find_packages(where=".", exclude=("tests*", "benchmarks*", "it*")),
Expand Down