I’ve got a mental disconnect that has tripped me up a few times and am wondering if it has affected other people as well. Let me see if I can explain it succinctly…
The problem is that we keep our projects
directory in git and I inevitably forget that the flag which controls if a project is active is in the project.json
file under that directory. On a couple occasions I have disabled a project on my development machine for safety, then turned off Ignition to do some git manipulation (merges or checkouts), and then restarted Ignition only to find the project re-enabled and triggering events I was trying to avoid. (Like sending emails to users!)
I just don’t think that whether or not a project is active should be part of the revision control history itself. It would make more sense to me if projects could be checked out, updated, or committed without affecting their activation. There’s no way I can think to setup git such that it doesn’t contain that flag right now, though. I’d like if that one particular control were held in the config DB, or at least outside of projects
directory.
Anyone else run into this mistake?