Skip to content

Commit

Permalink
Add badge generator, python versions badge and build status badge
Browse files Browse the repository at this point in the history
With the new generate-badge makefile target, you can generate
python-support.svg, which shows the supported python versions.
  • Loading branch information
Arnold Czémán authored and csernazs committed Apr 1, 2020
1 parent 49095cb commit 0bdf662
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ get-version:

bump-version:
./bump_version.py

generate-badge:
$(VIRTUALENV)/bin/anybadge --value='3.5 | 3.6 | 3.7 | 3.8' --label python --file python-support.svg --overwrite
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Furnace

A lightweight pure-python container implementation.

.. |build_status| image:: https://github.com/balabit/furnace/workflows/build/badge.svg
.. |python_support| image:: python-support.svg

|build_status| |python_support|

It is a wrapper around the Linux namespace functionality through libc
functions like ``unshare()``, ``nsenter()`` and ``mount()``. You can
think of it as a sturdier chroot replacement, where cleanup is easy (no
Expand Down
23 changes: 23 additions & 0 deletions python-support.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ flake8
pycodestyle
pytest-cov # Note: do not sort the list: pytest-cov must be before pytest
pytest
anybadge
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
# pip-compile --no-emit-trusted-host --no-index --output-file=requirements-dev.txt requirements-dev.in
#
anybadge==1.6.2 # via -r requirements-dev.in
attrs==19.3.0 # via pytest
autopep8==1.5 # via -r requirements-dev.in
coverage==5.0.3 # via pytest-cov
Expand Down

0 comments on commit 0bdf662

Please sign in to comment.