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

[lintian] 01/01: Correct d/changelog + lintian.xml to use $XDG_DATA_HOME



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

nthykier pushed a commit to branch master
in repository lintian.

commit 1cee79c23690bab6a2d3e153fa60b149a1433942
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Oct 8 06:45:01 2017 +0000

    Correct d/changelog + lintian.xml to use $XDG_DATA_HOME
    
    Profiles and vendor data files were actually loaded from XDG_DATA_HOME
    and not XDG_CONFIG_HOME (unlike what I wrote in recent commits).
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/changelog | 4 ++--
 doc/lintian.xml  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 86f1d27..f1e8183 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,7 +54,7 @@ lintian (2.5.55) UNRELEASED; urgency=medium
     + [NT] Simplify handling of uncaught exceptions.
 
   * doc/lintian.xml:
-    + [NT] Document that the XDG_CONFIG_HOME directory can be used for
+    + [NT] Document that the XDG_DATA_HOME directory can be used for
       user profiles and data files.  This has been supported for quite
       a while but the documentation incorrectly listed "$HOME/.lintian"
       instead (which in fact did not work for this purpose).
@@ -62,7 +62,7 @@ lintian (2.5.55) UNRELEASED; urgency=medium
   * frontend/dplint:
     + [NT] Restore "$HOME/.lintian" as a directory that is used for
       user profiles and data files.  It was advertised as such in the
-      documentation but the code actually only used the XDG_CONFIG_HOME
+      documentation but the code actually only used the XDG_DATA_HOME
       path.  Thanks to Daniel Kauffman for the report.  (Closes: #875636)
 
   * lib/Lintian/Util.pm:
diff --git a/doc/lintian.xml b/doc/lintian.xml
index a0918a9..6391123 100644
--- a/doc/lintian.xml
+++ b/doc/lintian.xml
@@ -728,7 +728,7 @@ foo [!any-i386] binary: some-tag-not-for-i386 optional-extra
         <itemizedlist>
           <listitem>
             <para>
-              <filename>$XDG_CONFIG_HOME/lintian/profiles</filename>
+              <filename>$XDG_DATA_HOME/lintian/profiles</filename>
             </para>
           </listitem>
           <listitem>
@@ -758,7 +758,7 @@ foo [!any-i386] binary: some-tag-not-for-i386 optional-extra
           first file matching the profile will be used.  This allows
           users to override a system profile by putting one with the
           same filename
-          in <filename>$XDG_CONFIG_HOME/lintian/profiles</filename>
+          in <filename>$XDG_DATA_HOME/lintian/profiles</filename>
           or <filename>$HOME/.lintian/profiles</filename>.
         </para>
       </sect2>
@@ -1005,7 +1005,7 @@ Overridable: no
         <itemizedlist>
           <listitem>
             <para>
-              <filename>$XDG_CONFIG_HOME/lintian/vendors/<replaceable>PROFILENAME</replaceable>/data</filename>
+              <filename>$XDG_DATA_HOME/lintian/vendors/<replaceable>PROFILENAME</replaceable>/data</filename>
             </para>
           </listitem>
           <listitem>

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


Reply to: