pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Oct  2 14:41:21 UTC 2017

Modified Files:
        pkgsrc/pkgtools/pkglint/files: pkglint.go
        pkgsrc/pkgtools/pkglint4/files: pkglint.t
        pkgsrc/pkgtools/pkglint4/files/PkgLint: Logging.pm
        pkgsrc/pkgtools/pkglint4/files/doc: chap.design.xml

Log Message:
pkglint*: Start sentence with a capital letter

>From Thomas Orgis in private mail.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/pkgtools/pkglint/files/pkglint.go
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/pkglint4/files/pkglint.t
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/pkglint4/files/PkgLint/Logging.pm
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/pkglint4/files/doc/chap.design.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkglint/files/pkglint.go
diff -u pkgsrc/pkgtools/pkglint/files/pkglint.go:1.19 pkgsrc/pkgtools/pkglint/files/pkglint.go:1.20
--- pkgsrc/pkgtools/pkglint/files/pkglint.go:1.19       Sun Jan 29 14:27:48 2017
+++ pkgsrc/pkgtools/pkglint/files/pkglint.go    Mon Oct  2 14:41:21 2017
@@ -163,7 +163,7 @@ func (pkglint *Pkglint) PrintSummary() {
                                G.errors, ifelseStr(G.errors == 1, "error", "errors"),
                                G.warnings, ifelseStr(G.warnings == 1, "warning", "warnings"))
                } else {
-                       io.WriteString(G.logOut, "looks fine.\n")
+                       io.WriteString(G.logOut, "Looks fine.\n")
                }
                if G.explanationsAvailable && !G.opts.Explain {
                        fmt.Fprint(G.logOut, "(Run \"pkglint -e\" to show explanations.)\n")

Index: pkgsrc/pkgtools/pkglint4/files/pkglint.t
diff -u pkgsrc/pkgtools/pkglint4/files/pkglint.t:1.1 pkgsrc/pkgtools/pkglint4/files/pkglint.t:1.2
--- pkgsrc/pkgtools/pkglint4/files/pkglint.t:1.1        Wed Nov 25 16:42:21 2015
+++ pkgsrc/pkgtools/pkglint4/files/pkglint.t    Mon Oct  2 14:41:21 2017
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.t,v 1.1 2015/11/25 16:42:21 rillig Exp $
+# $NetBSD: pkglint.t,v 1.2 2017/10/02 14:41:21 wiz Exp $
 #
 
 require 'pkglint.pl';                  # so we can test its internals
@@ -131,7 +131,7 @@ sub test_pkglint_main {
        test_unit($unit, undef, 0, '^usage: pkglint ', '^$');
 
        @ARGV = ('..');
-       test_unit($unit, undef, 0, '^looks fine', '^$');
+       test_unit($unit, undef, 0, '^Looks fine', '^$');
 
        @ARGV = ('.');
        test_unit($unit, undef, 1, '^ERROR:.+how to check', '^$');
@@ -167,7 +167,7 @@ EOT
                },
                'mail/getmail' => {
                        stdout_re => <<EOT,
-^looks fine\.\$
+^Looks fine\.\$
 EOT
                        stderr_re => undef,
                        exitcode => 0,

Index: pkgsrc/pkgtools/pkglint4/files/PkgLint/Logging.pm
diff -u pkgsrc/pkgtools/pkglint4/files/PkgLint/Logging.pm:1.1 pkgsrc/pkgtools/pkglint4/files/PkgLint/Logging.pm:1.2
--- pkgsrc/pkgtools/pkglint4/files/PkgLint/Logging.pm:1.1       Wed Nov 25 16:42:21 2015
+++ pkgsrc/pkgtools/pkglint4/files/PkgLint/Logging.pm   Mon Oct  2 14:41:21 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Logging.pm,v 1.1 2015/11/25 16:42:21 rillig Exp $
+# $NetBSD: Logging.pm,v 1.2 2017/10/02 14:41:21 wiz Exp $
 #
 # Subroutines for printing messages to the user in a common format.
 # The subroutines all have the parameters C<$fname>,
@@ -122,7 +122,7 @@ sub print_summary_and_exit($) {
                if ($errors != 0 || $warnings != 0) {
                        print("$errors errors and $warnings warnings found." . ($explain_flag ? "" : " (Use -e for more details.)") . "\n");
                } else {
-                       print "looks fine.\n";
+                       print "Looks fine.\n";
                }
        }
        exit($errors != 0);

Index: pkgsrc/pkgtools/pkglint4/files/doc/chap.design.xml
diff -u pkgsrc/pkgtools/pkglint4/files/doc/chap.design.xml:1.1 pkgsrc/pkgtools/pkglint4/files/doc/chap.design.xml:1.2
--- pkgsrc/pkgtools/pkglint4/files/doc/chap.design.xml:1.1      Wed Nov 25 16:42:21 2015
+++ pkgsrc/pkgtools/pkglint4/files/doc/chap.design.xml  Mon Oct  2 14:41:21 2017
@@ -1,4 +1,4 @@
-<!-- $NetBSD: chap.design.xml,v 1.1 2015/11/25 16:42:21 rillig Exp $ -->
+<!-- $NetBSD: chap.design.xml,v 1.2 2017/10/02 14:41:21 wiz Exp $ -->
 
 <chapter id="design">
 <title>Design goals</title>
@@ -44,7 +44,7 @@
 
        <para>There are only two cases of what the output of
        &pkglint; is. One is a single line containing the text
-       <quote>looks fine.</quote>, the other is a list of diagnostics,
+       <quote>Looks fine.</quote>, the other is a list of diagnostics,
        followed by a summary on the number of diagnostics.</para>
 
        <para>If no warnings are printed, the single line <quote>looks



Home | Main Index | Thread Index | Old Index