From b5fddb95f27836953f89f10ccd36da95d3586d08 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 20 Dec 2018 19:13:46 -0500 Subject: Move contributor list to its own file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream puts the output of git-shortlog into a man page. However, that’s not suitable for Debian – we can’t ship the entire Git history in a source package. It’s also unclear whether contributor lists even really belong in a man page. Pregenerate the contributor list, and install it in /usr/share/doc/rcm. Future developers: You can regenerate the contributor list with git shortlog -es v$UPSTREAM_VERSION >debian/doc/CONTRIBUTORS --- debian/control | 2 -- debian/doc/CONTRIBUTORS | 48 +++++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/patches/contributors.patch | 13 +++++++++++ debian/patches/series | 1 + 5 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 debian/doc/CONTRIBUTORS create mode 100644 debian/patches/contributors.patch create mode 100644 debian/patches/series (limited to 'debian') diff --git a/debian/control b/debian/control index a587460..37674d9 100644 --- a/debian/control +++ b/debian/control @@ -5,8 +5,6 @@ Maintainer: Benjamin Barenblat Build-Depends: debhelper (>= 10), python-cram, - ruby, - ruby-mustache, Standards-Version: 4.2.1 Homepage: https://github.com/thoughtbot/rcm Vcs-Browser: https://git.benjamin.barenblat.name/debian-rcm/ diff --git a/debian/doc/CONTRIBUTORS b/debian/doc/CONTRIBUTORS new file mode 100644 index 0000000..27ac696 --- /dev/null +++ b/debian/doc/CONTRIBUTORS @@ -0,0 +1,48 @@ + 3 Alan Yee + 2 Andrei Dziahel + 1 Anton Ilin + 1 Ben Stephens + 1 Ben Turrubiates + 1 Blake Williams + 2 Caleb Land + 1 Carl van Tonder + 1 Casey Rodarmor + 2 Christian Höltje + 1 Christian Höltje + 2 Christopher Koch + 1 Dan Croak + 1 Daniel Watson + 2 David Alexander + 1 Devraj Mehta + 2 Eric Collins + 3 Florian Tham + 2 George Brocklehurst + 1 Graham Bennett + 2 Jarkko Kniivilä + 1 Jason Daniel Augustine Gilliland + 2 Javier López + 1 Joe Ferris + 1 John Axel Eriksson + 1 Jordan Eldredge + 1 Leonardo Brondani Schenkel + 5 Martin Frost + 1 Matthew Horan + 4 Melissa Xie + 1 Michael Reed + 142 Mike Burns + 1 Mike Burns and Eric Collins + 1 Nick Novitski + 6 Pablo Olmos de Aguilera Corradini + 11 Patrick Brisbin + 1 Rafael Santos + 2 Rebecca Meritz + 1 Roberto Pedroso + 3 Scott Stevenson + 2 Teo Ljungberg + 1 Tyson Gach + 1 Vlad GURDIGA + 1 Yota Toyama + 1 Zach Latta + 1 kajisha + 1 maxice8 + 1 wplatter-cb <39812934+wplatter-cb@users.noreply.github.com> diff --git a/debian/docs b/debian/docs index 212b8a7..e77280e 100644 --- a/debian/docs +++ b/debian/docs @@ -1 +1,2 @@ NEWS.md +debian/doc/CONTRIBUTORS diff --git a/debian/patches/contributors.patch b/debian/patches/contributors.patch new file mode 100644 index 0000000..49e0354 --- /dev/null +++ b/debian/patches/contributors.patch @@ -0,0 +1,13 @@ +From: Benjamin Barenblat +Subject: Remove CONTRIBUTORS section from rcm.7 +Forwarded: not-needed + +See README.Debian. +--- a/autogen.sh ++++ b/autogen.sh +@@ -3,4 +3,4 @@ + aclocal && + autoconf && + automake --add-missing --copy && +- ./maint/autocontrib man/rcm.7.mustache ++ sed -n '/.Sh CONTRIBUTORS/q; p' man/rcm.7.mustache >man/rcm.7 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..df41c62 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +contributors.patch -- cgit v1.2.3