Workflow for not blowing away state (was Re: [96136] trunk/base)
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Wed Sep 12 15:19:09 PDT 2012
> 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?
I usually edit the statefile (dot file inside work/).
You might also try adding a new line on the end of the Portfile (or removing it).
More information about the macports-dev
mailing list