Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12837 closed defect (fixed)

port installed, port outdated always assume arguments given

Reported by: rothpcs@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.6
Component: base Version: 1.6.0
Keywords: Cc: rothpcs@…, ryandesign (Ryan Carsten Schmidt), jmpalacios (Juan Manuel Palacios), kballard (Lily Ballard)
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

'port installed' with no arguments always returns "None of the specified ports are installed." A similar problem affects 'port outdated.'

Base sources checked out of subversion trunk today (10/02/2007). 'port version' gives 1.6.00 OS X 10.4.10 on MacBook Pro. Tcl is Apple's tcl, version 8.4.7.

Based on code inspection, problem might be that macports::global_options(ports_no_args) is not changed when process_cmd sets global_options(ports_no_args) to "yes". Consequently, in action_installed macports::global_options_isset test always causes restrictedList variable to be set.

Change History (6)

comment:1 Changed 17 years ago by nox@…

Component: portsbase
Milestone: MacPorts base bugs

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rothpcs@… ryandesign@… added

Ah, I didn't see this ticket before bringing it up on the mailing list. There may be more useful information in that thread.

comment:3 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Cc: jmpp@… eridius@… added
Description: modified (diff)

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Resolution: fixed
Status: newclosed

Fixed in r30011, targets such as "installed", "outdated", etc are working again in trunk. Closing ticket.

-jmpp

comment:5 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.6
Note: See TracTickets for help on using tickets.