Opened 13 years ago

Last modified 13 years ago

#33491 new enhancement

Save binary packages to user-specified location

Reported by: sirquijote@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: Cc:
Port:

Description

I'm requesting the ability to specify on the command-line the location for the output file when creating a binary archive package, metapackage, disk image or meta-disk image. This should, when invoked, override the default setting of saving the binary archive to the port's work directory.

Context: I use a Mac Pro as a MacPorts 'factory', producing metapackages and disk images for use on other Macs I own. The implementation of this enhancement request would make the process a lot easier.

Change History (5)

comment:1 Changed 13 years ago by afb@…

Summary: Save binary archives to user-specified locationSave binary packages to user-specified location

You could use package.destpath to override.

comment:2 Changed 13 years ago by sirquijote@…

Hi, I'm the one who reported this request. When I asked on the mailing list (http://article.gmane.org/gmane.os.apple.macports.user/27169) I was given to believe this option didn't exist. So, apologies for the redundant request :)

However, could you link to further information on this option? It isn't mentioned in the man page or in the guide (http://guide.macports.org/).

I am having a wee issue with the MacPorts Tracker though. As you'll notice, this ticket was reported using a different, and now redundant, email address. I changed my Tracker account's email address on the 7th March, but your follow-up to this ticket was still sent to my old address. It's a bit of a kink that it'd be nice to have ironed out. If you have the authority, could you re-assign this ticket as Reported By my replacement email address? I'm assuming it'll be the one used to allocate a username to this response.

Cheers.

comment:3 Changed 13 years ago by sirquijote@…

Oh, sorry, I forgot to add: this ticket isn't showing as owned by me in my account either, which appears to be another kink. I've used the following pages to check: {7} My Tickets {8} Active Tickets, Mine First {9} Open Tickets Reported By Me {10} All Tickets Reported By Me Each page reports, "No matches found".

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Reporter: changed from sirgadabout1@… to sirquijote@…

comment:5 Changed 13 years ago by jmroot (Joshua Root)

package.destpath is a portfile option, so you can override it on the command line like any other option, as shown in the synopsis in the man page.

port pkg someport package.destpath=/some/path
Note: See TracTickets for help on using tickets.