TFS CM 资源建议/一些问题
我正在与一家小型开发商店合作,该商店由 5 名开发人员和 1 名 QA 人员组成。我们正在使用 TFS,并且需要更深入地了解如何使用此工具。
目前,开发团队每天晚上都会检查他们的代码。每晚构建运行并将输出推送到网络共享上。我们的 QA 人员第二天会使用此版本进行测试。有时,主干代码库的构建存在阻碍 QA 流程的问题/错误,这在过去并不是一个大问题,但我们现在希望达到这样的状态,让我们的 QA 人员在稳定的 QA 上进行测试建造。
因此,我相信我们需要创建一个分支(称为 QA),开发人员将继续在主干上进行开发,但 QA 人员将使用从 QA 分支中的代码创建的构建。
看起来很简单,但我们也开始进行代码审查。所以我们还有一个愿望,那就是只有经过代码审查的代码才能晋升到 QA 分支。每个开发人员都处理一个 TFS 项目,当他们签入变更集时,他们会针对 TFS 项目进行操作,该项目会在签入的代码文件和 TFS 项目之间创建链接。最终,TFS 项目变得完整并准备好进行代码审查。附加到 TFS 项目的所有代码都会经过审查。这些文件的版本如何提升到 QA 分支?
在 QA 分支中,如果发现错误,我们希望在 QA 分支中修复它,并将更改迁移回主干。我相信 TFS 有办法自动执行此操作,不是吗?
长话短说,我们希望获得一个我认为相当标准的构建和 CM 环境,但我们不知道如何使用 TFS 实现这一目标。鉴于我们上述情况,有人可以指出可以满足我们特定需求的书籍或网站吗?我们希望实现这一目标,而不必太深入 CM 理论或 TFS。
我非常感谢任何和所有的建议!
谢谢, 约翰
I am working with a small development shop that consists of a group of 5 developers and 1 QA person. We are using TFS and need to get more sophisticated on how we use this tool.
Currently the development team checks in their code each evening. A nightly build runs and pushes the output out on a network share. Our QA person uses this build for testing the next day. Sometimes the build off the trunk codebase has issues/bugs that hinder the QA process, and it hasn’t been a giant issue in the past, but we now want to get to a state where we have our QA person testing on a stable QA build.
So I believe we need to create a branch (call it QA), and the developers will continue to develop off the trunk, but the QA person will use builds created from code in the QA branch.
Seems simple enough, but we have started doing code reviews as well. So we have another desire in that only code that has been code reviewed can be promoted to the QA branch. Each developer works off a TFS item, and when they check in a changeset, they do it against a TFS item which creates a link between a checked in code file and a TFS item. Eventually the TFS item becomes complete and ready for code review. All code attached to the TFS item is reviewed. How can the versions of these files get promoted to the QA branch?
In the QA branch, if a bug is found, we want to fix it in the QA branch and have the changes migrated back to the trunk. I believe TFS has a way to automatically do this doesn’t it?
Long story short, we want to get to a build and CM environment that I believe is pretty standard, but we are unaware of how to make this happen with TFS. Given our situation above, can someone point out a book or website(s) that would address our specific needs? We would like to make this happen without having to get too deep in CM theory or TFS.
I very much appreciate any and all suggestions!
Thanks,
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想查看 CodePlex 上的资源。对于如何构建分支模型,有不同的策略。
You might want to take a gander at the resources on CodePlex. There are different strategies laid out for how you might want to build your branching model.