Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27946 closed submission (fixed)

maven_select @0.3 new port

Reported by: nhojpatrick (John Patrick) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: blair (Blair Zajac)
Port: maven_select

Description

This is based upon python_select @0.3, but intended for maven.

I've for other patches for the ports, maven, maven2 and maven3, to integrate them into using maven_select.

Attachments (3)

Portfile (1.4 KB) - added by nhojpatrick (John Patrick) 8 years ago.
base (8 bytes) - added by nhojpatrick (John Patrick) 8 years ago.
none (2 bytes) - added by nhojpatrick (John Patrick) 8 years ago.

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by nhojpatrick (John Patrick)

Attachment: Portfile added

Changed 8 years ago by nhojpatrick (John Patrick)

Attachment: base added

Changed 8 years ago by nhojpatrick (John Patrick)

Attachment: none added

comment:1 Changed 8 years ago by nhojpatrick (John Patrick)

Cc: nhoj.patrick@… added

Cc Me!

comment:2 Changed 8 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Thanks, added in r75111.

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Cc: blair@… added

Do we really need a maven_select when there's the 'port select' action?

comment:4 Changed 8 years ago by blair (Blair Zajac)

I wasn't aware of it and man select doesn't show anything.

Does using "PortGroup select 1.0" put in the bits to enable "port select"?

We should deprecate all the *select ports, as I just copied Python's.

comment:5 Changed 8 years ago by nhojpatrick (John Patrick)

I wasn't aware of "port select" when I submitted the patch. Since becoming aware I search macports but not found any reference to its functionality. I could only find information when executing "port help select".

I've just check it works with maven, so I guess my port can be deleted and the maven2 and maven3 ports be updated to use the preferred method.

Shall I raise a delete maven_select port request, or just reopen this ticket?

I also tried port select with python but it failed to switch.

comment:6 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: nhoj.patrick@… removed

FYI, a maven_select port had previously been requested in #26823.

comment:7 Changed 8 years ago by nhojpatrick (John Patrick)

maven_select could probably be removed now as the standard port select works for maven 2 & 3, with a little effort it could be back ported to work work maven 1 as well.

comment:8 Changed 8 years ago by blair (Blair Zajac)

Patches welcome to move maven to MacPorts' built in select method, my available cycles are few.

comment:9 Changed 8 years ago by jmroot (Joshua Root)

Done in r79255.

comment:10 Changed 8 years ago by blair (Blair Zajac)

Thanks jmr!

Note: See TracTickets for help on using tickets.