Semi-editable Files (eg config files) and version control - best practices?

后端 未结 8 2228
深忆病人
深忆病人 2020-12-30 17:17

So, I killed the build today by checking in a config file. It knows where the server is (think SQL server or the like), and I\'ve been working against the server which runs

8条回答
  •  旧巷少年郎
    2020-12-30 18:03

    We have

    • *.(config | xml)
    • *.(config | xml).cert
    • *.(config | xml).production

    Hudson deletes the initial file and deploys the correct file for the correct environment (currently only cert).

    This allows developers to document and develop production, cert and development level config files independently and have them versioned separately in SVN.

提交回复
热议问题