[libconfig-model-dpkg-perl] 02/19: C::M::D::Copyright: Inform user about limitation and work-around

dod at debian.org dod at debian.org
Sun Jan 3 11:44:18 UTC 2016


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 2db843d502f7ec762b2125bf96b2cfb20ec63559
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Dec 25 10:16:35 2015 +0100

    C::M::D::Copyright: Inform user about limitation and work-around
---
 lib/Config/Model/Dpkg/Copyright.pm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/lib/Config/Model/Dpkg/Copyright.pm b/lib/Config/Model/Dpkg/Copyright.pm
index 11a2c69..ac80536 100644
--- a/lib/Config/Model/Dpkg/Copyright.pm
+++ b/lib/Config/Model/Dpkg/Copyright.pm
@@ -221,7 +221,14 @@ sub update ($self, %args) {
     # normalized again after all the modifications
     $self->load("Files:.sort");
 
-    return ''; # improve returned message ?
+    my @msgs = (
+        "Please follow the instructions given in ".__PACKAGE__." man page,",
+        "section \"Tweak results\" if some license and copyright entries are wrong.",
+        "Other information, like license text, can be added directly in debian/copyright file.",
+        "This information will be merged correctly next time this command is run."
+    );
+
+    return @msgs;
 }
 
 sub _prune_old_dirs ($self, $h, $old_dirs, $path = [] ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list