From 03f80d23244c7ed4a71b82ca62e32de63fd19976 Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Tue, 15 Jul 2014 20:50:57 -0400 Subject: [PATCH 1/2] Update README.rst Fix badges. --- README.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 6ada198a..5e64201b 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,12 @@ A Framework for Securing Software Update Systems ------------------------------------------------ -`|Build Status| `_ -`|Coverage -Status| `_ +.. image:: https://travis-ci.org/theupdateframework/tuf.svg?branch=develop + :target: https://travis-ci.org/theupdateframework/tuf + +.. image:: https://coveralls.io/repos/theupdateframework/tuf/badge.png?branch=develop + :target: theupdateframework/tuf?branch=develop + TUF (The Update Framework) helps developers secure their new or existing software update systems. Software update systems are vulnerable to many @@ -208,8 +211,3 @@ Foundation under Grant No. CNS-1345049 and CNS-0959138. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. - -.. |Build -Status| image:: https://travis-ci.org/theupdateframework/tuf.svg?branch=develop -.. |Coverage -Status| image:: https://coveralls.io/repos/theupdateframework/tuf/badge.png?branch=develop From c7cd4f6be079332664deb829acb32098684db23e Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Tue, 15 Jul 2014 20:58:12 -0400 Subject: [PATCH 2/2] Update README.rst Fix code blocks. --- README.rst | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 5e64201b..060f7072 100644 --- a/README.rst +++ b/README.rst @@ -160,7 +160,8 @@ signature generation with PyNaCl / libsodium. TUF tools also enable general-purpose cryptography with PyCrypto. Software updaters that want to support verification of RSASSA-PSS signatures should require their clients to install ``tuf[tools]``. -``Bash $ pip install tuf[tools]`` +:: + $ pip install tuf[tools] Instructions for Contributors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -172,21 +173,31 @@ dependencies. All installation methods of virtualenv are outlined in the `installation section `_ and instructions for installing locally from source here: -``Bash $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz $ tar xvfz virtualenv-1.11.6.tar.gz $ cd virtualenv-1.11.6 $ python virtualenv.py myVE`` +:: + $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz + $ tar xvfz virtualenv-1.11.6.tar.gz + $ cd virtualenv-1.11.6 + $ python virtualenv.py myVE + PyCrypto and PyNaCl (third-party dependencies needed by the repository tools) require Python and FFI (Foreign Function Interface) development header files. Debian-based distributions can install these header libraries with apt (Advanced Package Tool.) -``Bash $ apt-get install python-dev $ apt-get install libffi-dev`` +:: + $ apt-get install python-dev + $ apt-get install libffi-dev Installation of minimal, optional, development, and testing requirements can then be accomplished with one command: -``Bash $ pip install -r dev-requirements.txt`` +:: + $ pip install -r dev-requirements.txt The Update Framework's unit tests can be executed by invoking `tox `_. All supported Python versions are -tested, but must already be installed locally. ``Bash $ tox`` +tested, but must already be installed locally. +:: + $ tox Using TUF ---------