Skip to content

Commit

Permalink
Merge pull request #219 from user-cont/040-release
Browse files Browse the repository at this point in the history
0.4.0 release
  • Loading branch information
dhodovsk authored May 24, 2018
2 parents 9a338d6 + 28dd15d commit e084a7d
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ docs/build/

# PyCharm
.idea/

.pytest_cache/
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# 0.4.0

## Breaking changes

* We have changed behavior of `.get_metadata` method. It now returns an
instance of `Metadata` class. Method `.inspect` is meant to return raw data
of the selected backend.

## New Features

* Introduction of a new class to hold [container and image
metadata](https://github.com/user-cont/conu/blob/d19accbbc82b7a04090fc6339f4974c73f2987d6/conu/apidefs/metadata.py#L4).
In coming weeks, we'll be working on integrating this class into the library.
Our main intent is to make the Metadata class generic across all backends.
* Thanks to Rado Pitonak
([#210](https://github.com/user-cont/conu/pulls/210),
[#204](https://github.com/user-cont/conu/pulls/204),
[#207](https://github.com/user-cont/conu/pulls/207))
* conu now has an API to access image layers ([#207](https://github.com/user-cont/conu/pulls/203))
* We've added [Contribution guide](https://github.com/user-cont/conu/blob/master/CONTRIBUTING.md), thanks to Rado Pitonak ([#208](https://github.com/user-cont/conu/pulls/208)).

## Fixes

* Provide docker container filesystem using `docker export` instead of `atomic
mount` — conu no longer requires
[atomic](https://github.com/projectatomic/atomic). This also means that root
privileges are no longer required.
* Don't depend on `enum34` for python 3, thanks to Rado Pitonak ([#214](https://github.com/user-cont/conu/pulls/214))


# 0.3.1

## New Features
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CONU_REPOSITORY := docker.io/modularitycontainers/conu
TEST_IMAGE_NAME := conu-tests
DOC_EXAMPLE_PATH := "docs/source/examples"
VERSION := 0.3.1
VERSION := 0.4.0

install-dependencies:
./requirements.sh
Expand Down
5 changes: 4 additions & 1 deletion conu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%endif

Name: %{pypi_name}
Version: 0.3.1
Version: 0.4.0
Release: 1%{?dist}
Summary: library which makes it easy to write tests for your containers

Expand Down Expand Up @@ -177,6 +177,9 @@ rm -rf html/.{doctrees,buildinfo}
%license LICENSE

%changelog
* Thu May 24 2018 Tomas Tomecek <[email protected]> - 0.4.0-1
- 0.4.0 release

* Wed May 02 2018 Tomas Tomecek <[email protected]> - 0.3.1-1
- 0.3.1 release

Expand Down
2 changes: 1 addition & 1 deletion conu/backend/docker/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def mount(self, mount_point=None):
mount container filesystem
:param mount_point: str, directory where the filesystem will be mounted
:return: instance of DockerContainerFS
:return: instance of DockerContainerViaExportFS
"""
return DockerContainerViaExportFS(self, mount_point=mount_point)

Expand Down
2 changes: 1 addition & 1 deletion conu/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# https://www.python.org/dev/peps/pep-0440/
__version__ = "0.3.1"
__version__ = "0.4.0"
2 changes: 1 addition & 1 deletion docs/source/reference/docker_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Aside from methods in API definition - :class:`conu.apidefs.container.Container`
.. autoclass:: conu.DockerRunBuilder
:members:

.. autoclass:: conu.DockerContainerFS
.. autoclass:: conu.DockerContainerViaExportFS
:members:

2 changes: 1 addition & 1 deletion docs/source/reference/filesystem_api.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Filesystem
===========

Filesystem represents abstract API definition. It is now implemented by :class:`conu.DockerContainerFS`
Filesystem represents abstract API definition. It is now implemented by :class:`conu.DockerContainerViaExportFS`

.. autoclass:: conu.apidefs.filesystem.Filesystem
:members:
Expand Down

0 comments on commit e084a7d

Please sign in to comment.