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

Bug#876434: marked as done ([new check] detect outdated use of dpkg-parsechangelog | grep)



Your message dated Mon, 25 Sep 2017 11:13:58 +0100
with message-id <1506334438.2789404.1117202480.2047E4A3@webmail.messagingengine.com>
and subject line Re: [new check] detect outdated use of dpkg-parsechangelog | grep
has caused the Debian Bug report #876434,
regarding [new check] detect outdated use of dpkg-parsechangelog | grep
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
876434: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876434
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.53
Priority: wishlist

Dear maintainer,

Many packages contain invocations such as:

DEB_VERSION=$(shell dpkg-changelog | grep '^Version' | cut ...)

https://codesearch.debian.net/search?q=path%3Adebian%2Frules+shell+dpkg-parsechangelog

Since dpkg 1.17 (available in "oldstable" as of today), this can better
be written as:

DEB_VERSION=$(shell dpkg-parsechangelog -SVersion)

Or:
include /usr/share/dpkg/pkg-info.mk; $(DEB_VERSION)


Please inform people that they should prefer the new syntax.

Cheers,
Chris.

--- End Message ---
--- Begin Message ---
Mattia wrote:

> Do you mean like this?
> https://lintian.debian.org/tags/debian-rules-parses-dpkg-parsechangelog.html

Indeed. Let's close this for now; please feel to re-open Faux :)


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

--- End Message ---

Reply to: