Opened 10 years ago

Closed 10 years ago

#43684 closed update (fixed)

cppcheck Update to 1.65

Reported by: xythobuz@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc:
Port: cppcheck

Description

cppcheck has released version 1.65, so I updated the Portfile. I'm the Maintainer, but I don't have commit access, so I think this Ticket is the right way to get this committed.

If you haven't changed the included config files, you may want to replace them:

find /opt/local/share/cppcheck -type f -name "*.cfg.dist" -exec bash -c 'f="{}"; mv "$f" "${f%.cfg.dist}.cfg"' \;

Can and should this be automated?

Attachments (1)

Portfile-cppcheck.diff (862 bytes) - added by xythobuz@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by xythobuz@…

Attachment: Portfile-cppcheck.diff added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: maintainer added
Version: 2.2.1

comment:2 in reply to:  description Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Replying to xythobuz@…:

cppcheck has released version 1.65, so I updated the Portfile. I'm the Maintainer, but I don't have commit access, so I think this Ticket is the right way to get this committed.

Yes, it is, thanks.

If you haven't changed the included config files, you may want to replace them:

find /opt/local/share/cppcheck -type f -name "*.cfg.dist" -exec bash -c 'f="{}"; mv "$f" "${f%.cfg.dist}.cfg"' \;

Can and should this be automated?

We don't have ports modify config files on the user's behalf, at this time. But it is appropriate to add a notes command to inform the user if they should make changes to their config files.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.