建议需要代码共享 现场 异地

发布于 2024-10-05 12:02:50 字数 300 浏览 0 评论 0原文

我是一个项目的新手,开发人员仍然通过邮件发送文件来共享代码。 我们正在使用 eclipse 和 cvs。

场外的开发人员将代码发送到现场进行审核,其他开发人员从那里的邮件中一一获取文件并在 Eclipse 中替换。 2个或3个文件就可以了。但随着文件不断增加,这项任务确实变得很痛苦。

我们无法将源文件放入 cvs 中,因为来自场外的未经测试的代码可能会使我们的构建服务器崩溃。 我的问题从这里开始:-

共享代码的更好方法是什么?

我们不想为每个更改创建分支,因为在这种情况下,我们每天最终会创建 10-12 个分支。

I am new to a project where developers still share code by sending files by mail.
We are using eclipse and cvs.

Developers from offsite send there code for reveiw to onsite where other developers take files one by one from there mail and replace in eclipse. It is ok for 2 or 3 files. But as the files keep on increasing this task really becomes a pain.

We cannot put the source files into the cvs as untested code from offsite can crash our build server.
Here my question begins:-

What can be the better ways to share code?

We dont want to create branches for each change because in this case we will end up with 10-12 branches everyday.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

何以心动 2024-10-12 12:02:50

代码应该通过持续集成进行测试,尤其在您的程序员实际上分散在世界各地的情况下。您的离岸人员应该使用单元/集成测试来确保他们不会破坏构建。您应该制定流程,在他们完成当天的工作之前,他们会验证构建的完整性。
如果不是,他们就不值你付给他们的钱。

Code should be tested via continuous integration, especially in your situation where your programmers are scattered literally across the world. Your offshore people should be using unit/integration testing to insure that they don't break the build. You should institute process where before they finish for the day, they verify the integrity of the build.
If they are not, they are not worth the money you are paying them.

时光倒影 2024-10-12 12:02:50

我建议您让场外开发人员能够执行与构建服务器相同的测试。他们没有理由向您发送他们无法测试的代码(或测试它至少运行而不会崩溃)。

他们是否有任何原因无法通过 VPN 访问您的系统?这样他们就可以通过您的或第二个构建服务器测试代码并自行合并代码。

I suggest you give the offsite developers the ability to perform the same test as your build server. There is no reason they should be sending you code which they cannot test (or test that it at least runs without crashing).

Is there any reason they cannot access your systems via VPN. That way they can test the code via your's or a second build server and merge the code themselves.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文