Workflow for not blowing away state (was Re: [96136] trunk/base)
Bradley Giesbrecht
pixilla at macports.org
Wed Sep 12 15:36:12 PDT 2012
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")
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/6d9d4551/attachment.p7s>
More information about the macports-dev
mailing list