Opened 7 years ago
Closed 7 years ago
#56101 closed defect (fixed)
mpbb-list-subports returns lowercased port names, but mpbb-gather-archives requires correctly-cased port names
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | buildbot/mpbb | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec), jmroot (Joshua Root) | |
Port: |
Description
mpbb-list-subports was recently changed to return lowercased port names, instead of correctly-cased port names. This was done intentionally, to deduplicate the list, in case a port name was specified with the wrong case somewhere, such as in a dependency. But it was two negative consequences:
- The port names are displayed in various places on the buildbot web interface, and are now displayed with all-lowercased names instead of the correct case.
- mpbb-gather-archives no longer gathers archives of ports whose names contain uppercase characters, because the list of archives to gather is constructed by running
port -q location installed and \( $(cat "${option_work_dir}/all_ports") \))
, and all_ports contains the lowercased names of all ports, and Boolean logic like this is currently handled case-sensitively by MacPorts base; see #56100.
Even if the case-sensitive handling of Boolean logic is fixed in MacPorts base, I would prefer for mpbb-list-subports to return port names in the canonical case, not lowercased, for aesthetic reasons.
Change History (1)
comment:1 Changed 7 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 387064c27c616757509ec8462b72cfe512b228ad/mpbb: