[MacPorts] #30030: port selector doesn't appear to affect dependencies
#30030: port selector doesn't appear to affect dependencies -------------------------------------------+-------------------------------- Reporter: jpr5@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: selector dependency exclusion | Port: -------------------------------------------+-------------------------------- Related to #30012, I tried to `port upgrade outdated and not erlang`, however it's being attempted anyway. My off-the-cuff guess is that it's because `rabbitmq-server` is among `outdated`, and that re-includes the dependency `erlang`. Shouldn't exclusions be applied to `rdeps`, and automatically exclude anything that depends on exclusions? -- Ticket URL: <https://trac.macports.org/ticket/30030> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30030: port selector doesn't appear to affect dependencies ---------------------------------+------------------------------------------ Reporter: jpr5@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: invalid | Keywords: selector dependency exclusion Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: Upgrade is inherently a recursive operation unless you use -n. Pseudo- ports and the boolean operators used to combine them are very general and don't just apply to upgrade. The set of ports specified is evaluated before it is passed to whatever action is being run, so the behaviour of the evaluation doesn't change depending on the action (nor should it IMO). So basically, the set of ports you want to upgrade is actually something like `outdated and not \( erlang rdependentof:erlang \)`. Note that #15708 is an existing ticket requesting a more convenient way to exclude ports from being upgraded. -- Ticket URL: <https://trac.macports.org/ticket/30030#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30030: port selector doesn't appear to affect dependencies ---------------------------------+------------------------------------------ Reporter: jpr5@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: | Keywords: selector dependency exclusion Port: | ---------------------------------+------------------------------------------ Changes (by jpr5@…): * status: closed => reopened * resolution: invalid => Comment: I understand your point, but I'm not able to effect the exclusion. Observe: {{{ # port upgrade outdated and not \( erlang rdependentof:erlang \) ---> Computing dependencies for erlang ---> Building erlang ^C }}} I've tried a number of different combinations of selectors, but to no avail. Is what I'm seeking to do actually possible? The essence of my issue isn't so much about syntax as it is about capability. -- Ticket URL: <https://trac.macports.org/ticket/30030#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30030: port selector doesn't appear to affect dependencies ---------------------------------+------------------------------------------ Reporter: jpr5@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: duplicate | Keywords: selector dependency exclusion Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: reopened => closed * resolution: => duplicate Comment: OK, dupe of #15708 then. -- Ticket URL: <https://trac.macports.org/ticket/30030#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts