Hi guys,
I'm using the supplied Production Model template with the following states and their corresponding views:
Development [Production]
Merge [Merge]
Test [Test]
Staging [Test]
Production [Production]
I've set up HRefresh.cfg to update reference directories on a remote server running the Harvest agent. The development, Merge, Test and Production states each synchronises with its own reference directory on the remote server when hrefresh is called.
The idea is to run hexecp scripts for each state (on demand or automatically following a promote or check-in action) in order to update the development, test and production sites by means of a simple copy.
My problem is now this: When a developer checks his code in in the development state, the production state is also updated due to the fact that they both use the Production view. Subsequently, the development changes are copied to the production site before the changes are promoted to the Production state.
I suspect I'm using this model incorrectly, but I don't know how I'm supposed to implement what I'm trying to achieve.
Any help will be greatly appreciated!
Regards,
Jarus