[MacPorts] #55467: Portgroup bitbucket-1.0.tcl shouldn't set name in subport

MacPorts noreply at macports.org
Mon Dec 4 18:04:11 UTC 2017


#55467: Portgroup bitbucket-1.0.tcl shouldn't set name in subport
---------------------------------+-----------------------
 Reporter:  nortcele             |      Owner:
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:
 Keywords:  bitbucket portgroup  |       Port:  bitbucket
---------------------------------+-----------------------
 bitbucket.setup sets the port name to the project name.

 This causes troubles if the instruction is used inside a subport, namely
 the subport is not found by 'port'.

 The solution would be to conditionally set name only when bitbucket.setup
 is not used in a subport, since the subport name is already set.

 See: #40831

--
Ticket URL: <https://trac.macports.org/ticket/55467>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list