From 6a38a3c54e0846dea625f5af0a4d365f9368acf6 Mon Sep 17 00:00:00 2001
From: Daira Hopwood <daira@jacaranda.org>
Date: Tue, 9 Sep 2014 18:51:44 +0100
Subject: [PATCH] Rename README.txt to README.rst, and add Travis-CI and
 Coveralls badges to it.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---
 README.txt => README.rst | 8 ++++++++
 docs/about.rst           | 4 ++--
 setup.py                 | 4 ++--
 3 files changed, 12 insertions(+), 4 deletions(-)
 rename README.txt => README.rst (82%)

diff --git a/README.txt b/README.rst
similarity index 82%
rename from README.txt
rename to README.rst
index 392e896e..6ab4e285 100644
--- a/README.txt
+++ b/README.rst
@@ -28,3 +28,11 @@ See `TGPPL.PDF`_ for why the TGPPL exists, graphically illustrated on three slid
 .. _COPYING.GPL: https://github.com/tahoe-lafs/tahoe-lafs/blob/master/COPYING.GPL
 .. _COPYING.TGPPL.rst: https://github.com/tahoe-lafs/tahoe-lafs/blob/master/COPYING.TGPPL.rst
 .. _TGPPL.PDF: https://tahoe-lafs.org/~zooko/tgppl.pdf
+
+----
+
+.. image:: https://travis-ci.org/tahoe-lafs/tahoe-lafs.png?branch=master
+  :target: https://travis-ci.org/tahoe-lafs/tahoe-lafs
+
+.. image:: https://coveralls.io/repos/tahoe-lafs/tahoe-lafs/badge.png?branch=master
+  :target: https://coveralls.io/r/tahoe-lafs/tahoe-lafs?branch=master
diff --git a/docs/about.rst b/docs/about.rst
index 9c447ba9..6df61229 100644
--- a/docs/about.rst
+++ b/docs/about.rst
@@ -112,6 +112,6 @@ To use Tahoe-LAFS, please see quickstart.rst_.
 License
 =======
 
-Tahoe-LAFS is an open-source project; please see README.txt_ for details.
+Tahoe-LAFS is an open-source project; please see README.rst_ for details.
 
-.. _README.txt: ../README.txt
+.. _README.rst: ../README.rst
diff --git a/setup.py b/setup.py
index 469f7c87..7ae67612 100644
--- a/setup.py
+++ b/setup.py
@@ -434,11 +434,11 @@ if version:
 
 setup(name=APPNAME,
       description='secure, decentralized, fault-tolerant filesystem',
-      long_description=open('README.txt', 'rU').read(),
+      long_description=open('README.rst', 'rU').read(),
       author='the Tahoe-LAFS project',
       author_email='tahoe-dev@tahoe-lafs.org',
       url='https://tahoe-lafs.org/',
-      license='GNU GPL', # see README.txt -- there is an alternative licence
+      license='GNU GPL', # see README.rst -- there is an alternative licence
       cmdclass={"trial": Trial,
                 "make_executable": MakeExecutable,
                 "update_version": UpdateVersion,
-- 
2.45.2