Opened 14 years ago

Last modified 9 years ago

#26028 new enhancement

Add feature to show changes between port versions

Reported by: sewebster@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: base Version:
Keywords: Cc: anddam (Andrea D'Amore), nerdling (Jeremy Lavergne), ryandesign (Ryan Carsten Schmidt), macosforge@…, macports@…, macports.org@…
Port:

Description

Several times when I have run the port outdated command and seen that there was an update available to one of my installed ports, I have wondered what it is that has changed between the two versions. I don't know of an easy way to get this information, other than browsing the revisions in the source on trac.

It may be possible to create a command line tool that displays this information. I guess it would have to take a portname and two versions as inputs, then look through the revision history to find when the versions changed, and then compile a list of all the change descriptions.

Of course if there were changelogs it could just output that.

Change History (11)

comment:1 Changed 14 years ago by sewebster@…

I guess an easier way for this to work from the user perspective would be to have a command like port diff portname and just compare the installed version with the available version.

comment:2 Changed 14 years ago by blb@…

If you're thinking along the lines of having it display the commit message, note that many of those aren't going to say much beyond "update to version x.y.z" meaning it won't be any more informative than outdated's "1.2.3 < 1.2.4".

comment:3 Changed 14 years ago by sewebster@…

Right. I suppose what might be less obvious is changes between revisions, which would be macports-only. But perhaps these are of limited interest to many users.

comment:4 Changed 14 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:5 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Try "port-whatsnew", available now in the contrib section of the repository. See r70612.

comment:7 Changed 14 years ago by sewebster@…

Wow, thats fantastic! Thanks.

Possible items for future versions could be:

  • support more than one port argument
  • support pseudoports
  • or, I guess a subset of the previous point, make it easy to spit out the changes to all outdated ports, e.g.
    port echo outdated | cut -f 1 -d" " | xargs -n 1 ./port-whatsnew.sh
    

comment:8 Changed 13 years ago by macosforge@…

Cc: macosforge@… added

Cc Me!

comment:9 Changed 10 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:10 Changed 9 years ago by macports.org@…

---<dup>---

Last edited 9 years ago by macports.org@… (previous) (diff)

comment:11 Changed 9 years ago by macports.org@…

Cc: macports.org@… added

Cc Me!

Note: See TracTickets for help on using tickets.