[MacPorts] #19138: RFE: More verbose `port outdated` when epoch is incremented but version and revision are left unchanged
#19138: RFE: More verbose `port outdated` when epoch is incremented but version and revision are left unchanged --------------------------------+------------------------------------------- Reporter: perry@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: --------------------------------+------------------------------------------- `port outdated`'s output can be a little confusing when the epoch is incremented but the version and revision are kept the same. For example: {{{ openssl 0.9.8k_0 < 0.9.8k_0 }}} I've attached a patch that (1) sets the flag field and (2) additionally displays the epochs when the above situation occurs. For example: {{{ foobar 0.1_0_0 < 0.1_0_5 E }}} -- Ticket URL: <http://trac.macports.org/ticket/19138> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19138: RFE: More verbose `port outdated` when epoch is incremented but version and revision are left unchanged --------------------------------+------------------------------------------- Reporter: perry@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by jmr@…): I don't like displaying the epoch on the right, it makes it look less significant than the revision. -- Ticket URL: <http://trac.macports.org/ticket/19138#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19138: RFE: More verbose `port outdated` when epoch is incremented but version and revision are left unchanged --------------------------------+------------------------------------------- Reporter: perry@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by perry@…): That's a good point; though, as another thought, should the epoch even be displayed? From my perspective, users are only concerned with the upstream version; in the case that a port's version/revision is kept the same or decremented, I think it would be enough to just set the flag to E. I've updated the patch to just set the flag to E whenever the epoch is incremented - not only when the installed_version matches the latest_version. For example, {{{ 0.1_0 < 0.0_0 E }}}. -- Ticket URL: <http://trac.macports.org/ticket/19138#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19138: RFE: More verbose `port outdated` when epoch is incremented but version and revision are left unchanged --------------------------------+------------------------------------------- Reporter: perry@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by raimue@…): I like the "E" flag. The actual epoch values don't matter, it is only important to understand why a downgrade is considered outdated. -- Ticket URL: <http://trac.macports.org/ticket/19138#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19138: RFE: More verbose `port outdated` when epoch is incremented but version and revision are left unchanged ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: MacPorts 1.9.0 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed * milestone: MacPorts Future => MacPorts 1.9.0 Comment: r64960 -- Ticket URL: <http://trac.macports.org/ticket/19138#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts