Where should a Subversion repository be?

后端 未结 8 2776
失恋的感觉
失恋的感觉 2021-02-20 09:15

Should it be on the development servers or a Subversion server?

I suppose this could be expanded to any client-server version control system.

相关标签:
8条回答
  • 2021-02-20 09:49

    It is always better to keep your repositories on a stable server where you can reliably take backups whenever needed.

    0 讨论(0)
  • 2021-02-20 09:50

    The physical repository should be on a stable system that gets regular backups.

    Generally, a development server does not fit this description... it may be acceptable to put the apache server on the dev server and host the files remotely on a stable, backed-up file server (though there are a number of pitfalls with this approach) if you are unable to get additional server resources. Hosting it on the dev server may be fine if you have an aggressive backup system to protect your code...

    Just keep in mind that dev servers are prone to configuration changes, being blown-away, or otherwise mucked with that could take down your repo at a critical moment.

    0 讨论(0)
提交回复
热议问题