[r-cran-mlbench] 07/07: Add README.source to document binary data files, upload to unstable

Andreas Tille tille at debian.org
Sat Oct 21 15:07:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-mlbench.

commit b4209feb03a785323e9d976bd897e9c6a6bee69d
Author: Andreas Tille <tille at debian.org>
Date:   Sat Oct 21 17:05:14 2017 +0200

    Add README.source to document binary data files, upload to unstable
---
 debian/README.source        | 80 +++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog            |  5 +--
 debian/create_README.source | 29 ++++++++++++++++
 3 files changed, 112 insertions(+), 2 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..82b9450
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,80 @@
+Explanation for binary files inside source package according to
+  http://lists.debian.org/debian-devel/2013/09/msg00332.html
+
+Files: data/BostonHousing.rda
+Documented: man/BostonHousing.Rd
+  Boston Housing Data
+
+Files: data/BreastCancer.rda
+Documented: man/BreastCancer.Rd
+  Wisconsin Breast Cancer Database
+
+Files: data/DNA.rda
+Documented: man/DNA.Rd
+  Primate splice-junction gene sequences (DNA) 
+
+Files: data/Glass.rda
+Documented: man/Glass.Rd
+  Glass Identification Database
+
+Files: data/HouseVotes84.rda
+Documented: man/HouseVotes84.Rd
+  United States Congressional Voting Records 1984
+
+Files: data/Ionosphere.rda
+Documented: man/Ionosphere.Rd
+  Johns Hopkins University Ionosphere database
+
+Files: data/LetterRecognition.rda
+Documented: man/LetterRecognition.Rd
+  Letter Image Recognition Data
+
+Files: data/Ozone.rda
+Documented: man/Ozone.Rd
+  Los Angeles ozone pollution data, 1976
+
+Files: data/PimaIndiansDiabetes.rda
+Documented: man/PimaIndiansDiabetes.Rd
+  Pima Indians Diabetes Database
+
+Files: data/Satellite.rda
+Documented: man/Satellite.Rd
+  Landsat Multi-Spectral Scanner Image Data
+
+Files: data/Servo.rda
+Documented: man/Servo.Rd
+  Servo Data
+
+Files: data/Shuttle.rda
+Documented: man/Shuttle.Rd
+  Shuttle Dataset (Statlog version)
+
+Files: data/Sonar.rda
+Documented: man/Sonar.Rd
+  Sonar, Mines vs. Rocks
+
+Files: data/Soybean.rda
+Documented: man/Soybean.Rd
+  Soybean Database
+
+Files: data/Vehicle.rda
+Documented: man/Vehicle.Rd
+  Vehicle Silhouettes
+
+Files: data/Vowel.rda
+Documented: man/Vowel.Rd
+  Vowel Recognition (Deterding data)
+
+Files: data/Zoo.rda
+Documented: man/Zoo.Rd
+  Zoo Data
+
+Files: data/BostonHousing2.rda
+Documented: man/BostonHousing.Rd
+  Boston Housing Data
+
+Files: data/PimaIndiansDiabetes2.rda
+Documented: man/PimaIndiansDiabetes.Rd
+  Pima Indians Diabetes Database
+
+ -- Andreas Tille <tille at debian.org>  Sat, 21 Oct 2017 17:04:23 +0200
diff --git a/debian/changelog b/debian/changelog
index 3aed827..b5316f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-r-cran-mlbench (2.1-1-2) UNRELEASED; urgency=medium
+r-cran-mlbench (2.1-1-2) unstable; urgency=medium
 
   * Moved packaging from SVN to Git
   * Standards-Version: 4.1.1
@@ -7,8 +7,9 @@ r-cran-mlbench (2.1-1-2) UNRELEASED; urgency=medium
   * Secure URI in watch file
   * Canonical homepage for CRAN packages
   * Testsuite: autopkgtest-pkg-r
+  * Add README.source to document binary data files
 
- -- Andreas Tille <tille at debian.org>  Sat, 21 Oct 2017 16:42:52 +0200
+ -- Andreas Tille <tille at debian.org>  Sat, 21 Oct 2017 16:52:21 +0200
 
 r-cran-mlbench (2.1-1-1) unstable; urgency=low
 
diff --git a/debian/create_README.source b/debian/create_README.source
new file mode 100755
index 0000000..a189fe3
--- /dev/null
+++ b/debian/create_README.source
@@ -0,0 +1,29 @@
+#!/bin/sh
+cat <<EOT
+Explanation for binary files inside source package according to
+  http://lists.debian.org/debian-devel/2013/09/msg00332.html
+
+EOT
+
+for rda in ../data/*.rda ; do
+  if [ ! -e ../man/$(basename $rda .rda).Rd ] ; then
+     >&2 echo "Verify documentation for $rda manually"
+  else
+     echo "Files: data/$(basename $rda)"
+     echo "Documented: man/$(basename $rda .rda).Rd"
+     grep '^\\title{' ../man/$(basename $rda .rda).Rd | sed 's/^\\title{\(.*\)}/  \1/'
+     echo ""
+  fi
+done
+
+cat <<EOT
+Files: data/BostonHousing2.rda
+Documented: man/BostonHousing.Rd
+  Boston Housing Data
+
+Files: data/PimaIndiansDiabetes2.rda
+Documented: man/PimaIndiansDiabetes.Rd
+  Pima Indians Diabetes Database
+
+ -- Andreas Tille <tille at debian.org>  `date -R`
+EOT

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-mlbench.git



More information about the debian-science-commits mailing list