Workflow for not blowing away state (was Re: [96136] trunk/base)

Bradley Giesbrecht pixilla at macports.org
Wed Sep 12 16:08:40 PDT 2012


On Sep 12, 2012, at 3:57 PM, Clemens Lang wrote:

> Hi,
> 
> On Wed, Sep 12, 2012 at 03:13:41PM -0700, Jeremy Huddleston Sequoia wrote:
>> Is there an equivalently easy way to get base to think that the
>> Portfile isn't newer?  What is everyone else's new workflow?
> 
> On Wed, Sep 12, 2012 at 06:19:09PM -0400, Jeremy Lavergne wrote:
>> I usually edit the statefile (dot file inside work/).
> 
> I usually use -o, as Bradley already pointed out:
> 
> On Wed, Sep 12, 2012 at 03:36:12PM -0700, Bradley Giesbrecht wrote:
>> Doen't "port -o" do what you want?
>> 
>> $ man port | col -b | grep -- " -o"
>>     -o       honor state files even if the Portfile has been modified since
>> 	      (called -o because it used to mean "older")
> 
> that still requires you to remember specifying -o

I try to stay in the habit of using the shells history (up arrow) to reissue the commands, saves cursing at big packages when you forget -o.

Regards,
Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120912/916d9fb7/attachment-0001.p7s>


More information about the macports-dev mailing list