Skip to content

Commit

Permalink
Rename to Ember-CSI
Browse files Browse the repository at this point in the history
The project is being renamed to Ember-CSI, so we need to replace
references to the old name throughout the whole project.
  • Loading branch information
Akrog committed Jul 26, 2018
1 parent 30167cb commit 968e4c4
Show file tree
Hide file tree
Showing 40 changed files with 189 additions and 197 deletions.
26 changes: 13 additions & 13 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Types of Contributions
Report Bugs
~~~~~~~~~~~

Report bugs at https://github.com/akrog/cinderlib-csi/issues.
Report bugs at https://github.com/akrog/ember-csi/issues.

If you are reporting a bug, please include:

Expand All @@ -38,14 +38,14 @@ and "help wanted" is open to whoever wants to implement it.
Write Documentation
~~~~~~~~~~~~~~~~~~~

Cinderlib CSI driver could always use more documentation, whether as part of the
official Cinderlib CSI driver docs, in docstrings, or even on the web in blog posts,
articles, and such.
Ember CSI plugin could always use more documentation, whether as part of the
official Ember CSI plugin docs, in docstrings, or even on the web in blog
posts, articles, and such.

Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/akrog/cinderlib-csi/issues.
The best way to send feedback is to file an issue at https://github.com/akrog/ember-csi/issues.

If you are proposing a feature:

Expand All @@ -57,17 +57,17 @@ If you are proposing a feature:
Get Started!
------------

Ready to contribute? Here's how to set up `cinderlib-csi` for local development.
Ready to contribute? Here's how to set up `ember-csi` for local development.

1. Fork the `cinderlib-csi` repo on GitHub.
1. Fork the `ember-csi` repo on GitHub.
2. Clone your fork locally::

$ git clone git@github.com:your_name_here/cinderlib-csi.git
$ git clone git@github.com:your_name_here/ember-csi.git

3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::

$ mkvirtualenv cinderlib-csi
$ cd cinderlib-csi/
$ mkvirtualenv ember-csi
$ cd ember-csi/
$ python setup.py develop

4. Create a branch for local development::
Expand All @@ -78,7 +78,7 @@ Ready to contribute? Here's how to set up `cinderlib-csi` for local development.

5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::

$ flake8 cinderlib_csi tests
$ flake8 ember_csi tests
$ python setup.py test or py.test
$ tox

Expand All @@ -102,7 +102,7 @@ Before you submit a pull request, check that it meets these guidelines:
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check
https://travis-ci.org/akrog/cinderlib-csi/pull_requests
https://travis-ci.org/akrog/ember-csi/pull_requests
and make sure that the tests pass for all supported Python versions.

Tips
Expand All @@ -111,4 +111,4 @@ Tips
To run a subset of tests::


$ python -m unittest tests.test_cinderlib_csi
$ python -m unittest tests.test_ember_csi
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM akrog/cinderlib:stable
LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>"
LABEL description="Cinderlib CSI Plugin"
LABEL description="Ember CSI Plugin"

# We need to upgrade pyasn1 because the package for RDO is not new enough for
# pyasn1_modules, which is used by some of the Google's libraries
RUN yum -y install xfsprogs e2fsprogs btrfs-progs && \
yum clean all && \
rm -rf /var/cache/yum && \
pip install --no-cache-dir --upgrade --process-dependency-links 'pyasn1<0.5.0,>=0.4.1' cinderlib-csi
pip install --no-cache-dir --upgrade --process-dependency-links 'pyasn1<0.5.0,>=0.4.1' ember-csi

# This is the default port, but if we change it via CSI_ENDPOINT then this will
# no longer be relevant.
EXPOSE 50051

# Define default command
CMD ["cinderlib-csi"]
CMD ["ember-csi"]
6 changes: 3 additions & 3 deletions Dockerfile-master
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM akrog/cinderlib:latest
LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>"
LABEL description="Cinderlib CSI Plugin"
LABEL description="Ember CSI Plugin"

# We need to upgrade pyasn1 because the package for RDO is not new enough for
# pyasn1_modules, which is used by some of the Google's libraries
Expand All @@ -10,7 +10,7 @@ RUN yum -y install xfsprogs e2fsprogs btrfs-progs && \
pip install --no-cache-dir --upgrade 'pyasn1<0.5.0,>=0.4.1' && \
mkdir /csi

# Copy cinderlib-csi from directory directory
# Copy Ember-csi from directory directory
COPY . /csi

RUN pip install -e /csi
Expand All @@ -24,4 +24,4 @@ EXPOSE 50051 4444
ENV X_CSI_DEBUG_MODE=rpdb

# Define default command
CMD ["cinderlib-csi"]
CMD ["ember-csi"]
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ clean-test: ## remove test and coverage artifacts
rm -fr htmlcov/

lint: ## check style with flake8
flake8 cinderlib_csi tests
flake8 ember_csi tests

test: ## run tests quickly with the default Python

Expand All @@ -59,16 +59,16 @@ test-all: ## run tests on every Python version with tox

coverage: ## check code coverage quickly with the default Python

coverage run --source cinderlib_csi setup.py test
coverage run --source ember_csi setup.py test

coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/cinderlib_csi.rst
rm -f docs/ember_csi.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ cinderlib_csi
sphinx-apidoc -o docs/ ember_csi
$(MAKE) -C docs clean
$(MAKE) -C docs html
$(BROWSER) docs/_build/html/index.html
Expand Down
Loading

0 comments on commit 968e4c4

Please sign in to comment.