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

Jeremy Huddleston Sequoia jeremyhu at macports.org
Wed Sep 12 15:44:30 PDT 2012


On Sep 12, 2012, at 15:36, Bradley Giesbrecht <pixilla at macports.org> wrote:

> 
> On Sep 12, 2012, at 3:13 PM, Jeremy Huddleston Sequoia wrote:
> 
>> I really liked the old mtime approach.  It made development easier.  If I have a bug in destroot, I want to just retry destroot without having to rebuild.  I used to accomplish this by touching (or editing) the state file after editing the Portfile, but with this change to checksums, I can no longer trick base this way.
>> 
>> I really don't want to use ports_ignore_different because I don't want to set it globally, and 75% of the time, I'm sure I'll mistype it.  I'll either think it's port_ instead of ports_ or misspell something else, and then my state will be gone.
>> 
>> Is there an equivalently easy way to get base to think that the Portfile isn't newer?  What is everyone else's new workflow?
> 
> 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")

Ah, nice.  Thanks.



More information about the macports-dev mailing list