Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52757 closed enhancement (fixed)

port lint should warn when $Id$ lines are present

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.3.5
Component: base Version: 2.3.4
Keywords: Cc: raimue (Rainer Müller)
Port:

Description

Now that we're converted to git, Subversion $Id$ lines are no longer relevant. port lint currently warns if the $Id$ line is absent:

$ port lint whois
--->  Verifying Portfile for whois
Warning: Line 2 is missing RCS tag ($Id$)
--->  0 errors and 1 warnings found.

This should be changed to warn if it is present.

Change History (5)

comment:1 Changed 8 years ago by raimue (Rainer Müller)

Cc: raimue added

comment:2 Changed 8 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

In fc45aaf/macports-base:

port lint: warn if obsolete $Id$ keyword is used

This will warn if the $Id$ occurs anywhere in the file.

Closes #52757

comment:3 Changed 8 years ago by raimue (Rainer Müller)

$ port lint
--->  Verifying Portfile for whois
Warning: Line 2 is using obsolete RCS tag ($Id$)
--->  0 errors and 1 warnings found.

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks!

comment:5 Changed 8 years ago by raimue (Rainer Müller)

In 4a6a824/macports-base:

port lint: warn if obsolete $Id$ keyword is used

This will warn if the $Id$ occurs anywhere in the file.

Closes #52757

Note: See TracTickets for help on using tickets.