#55940 closed enhancement (fixed)
Don't import suffix into global namespace
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.8.0 |
Component: | base | Version: | 2.4.99 |
Keywords: | Cc: | ||
Port: |
Description
portfetch.tcl has these lines:
# XXX import suffix into the global namespace as it is currently used from # Portfiles, but should better go somewhere else namespace import portfetch::suffix
We removed the use of the suffix
proc from most portfiles years ago in commits such as these:
- [4b17cbb3716d026817b217365904e8b3d68f2cc6/macports-ports]
- [22eecff90e364bfa73f1191a0be46ebdd9de2fc0/macports-ports]
- [21bd4313583cb7bdfe60b7a474c66ac0b912763f/macports-ports]
The only remaining port using it is my FFView port and I should remove it from there too.
So can we stop importing suffix
into the global namespace now?
Change History (3)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts Future |
---|
comment:3 Changed 2 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.8.0 |
---|
Note: See
TracTickets for help on using
tickets.
In dc186734c80bcc38222c3746e19ddc67666bbd42/macports-base (master):