New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #27946 (closed submission: fixed)

Opened 2 years ago

Last modified 2 years ago

maven_select @0.3 new port

Reported by: nhoj.patrick@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: blair@…
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

Portfile (1.4 KB) - added by nhoj.patrick@… 2 years ago.
base (8 bytes) - added by nhoj.patrick@… 2 years ago.
none (2 bytes) - added by nhoj.patrick@… 2 years ago.

Change History

Changed 2 years ago by nhoj.patrick@…

Changed 2 years ago by nhoj.patrick@…

Changed 2 years ago by nhoj.patrick@…

comment:1 Changed 2 years ago by nhoj.patrick@…

  • Cc nhoj.patrick@… added

Cc Me!

comment:2 Changed 2 years ago by blair@…

  • Status changed from new to closed
  • Resolution set to fixed

Thanks, added in r75111.

comment:3 Changed 2 years ago by jmr@…

  • Cc blair@… added

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

comment:4 Changed 2 years ago by blair@…

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 2 years ago by nhoj.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 2 years ago by ryandesign@…

  • Cc nhoj.patrick@… removed

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

comment:7 Changed 2 years ago by nhoj.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 2 years ago by blair@…

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

comment:9 Changed 2 years ago by jmr@…

Done in r79255.

comment:10 Changed 2 years ago by blair@…

Thanks jmr!

Note: See TracTickets for help on using tickets.