[Reproducible-commits] [debhelper] 45/61: dh_installchangelogs: Add CHANGES.md to the list of common changelog filenames

Mattia Rizzolo mattia at mapreri.org
Sat Apr 4 18:37:37 UTC 2015


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

mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 53f8718ff24139eb0ce6b5b1f964abda338a6711
Author: Jason Pleau <jason at jpleau.ca>
Date:   Sat Feb 28 22:52:33 2015 -0500

    dh_installchangelogs: Add CHANGES.md to the list of common changelog filenames
    
    Several projects that are hosted on Github use markdown files (.md) as their
    README and changelogs.
    
    CHANGES.md is used by a few projects, and it would be nice to have this file
    automatically picked up as an upstream changelog.
    
    Closes: #779471
---
 dh_installchangelogs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_installchangelogs b/dh_installchangelogs
index 0ee2a90..6c0c3eb 100755
--- a/dh_installchangelogs
+++ b/dh_installchangelogs
@@ -142,7 +142,7 @@ if (! defined $upstream) {
 	if (! isnative($dh{MAINPACKAGE}) && !compat(6)) {
 		foreach my $dir (qw{. doc docs}) {
 			my @files=sort glob("$dir/*");
-			foreach my $name (qw{changelog changes changelog.txt changes.txt history history.txt changelog.md}) {
+			foreach my $name (qw{changelog changes changelog.txt changes.txt history history.txt changelog.md changes.md}) {
 				my @matches=grep {
 					lc basename($_) eq $name && -s $_ && ! excludefile($_)
 				} @files;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list