TFS2010自动文件夹结构
我想像项目存储库一样使用TFS;我在SVN和CVS方面都有很好的经验。但是我不确定如何使用TFS2010实现这一目标。
I want to use TFS like a project repository; I have had a very good experience with SVN, CVS alike. But I am not sure how to achieve this with TFS2010.
我有以下收藏集
-
客户
(包含客户及其产品) -
产品
(包含基线)
-
CUSTOMERS
(Contains customers and their products) -
PRODUCTS
(Contains baselines)
请注意:
- 我有多个客户。
- 多个客户可以有多个解决方案(.SLN),
- 每个解决方案可以有多个.PRJ文件。 / li>
- I have multiple customers.
- Multiple customers can have several multiple solutions (.SLN),
- Each solution can have multiple .PRJ files.
问题1:我想自动生成以下项目文件夹结构。
是否有任何脚本/插件/功能/甚至可以在TFS中实现?
QUESTION 1: I want to have following project folder structure generated automatically. How to? Is there any script/addon/functionality/even a possibility to achieve this in TFS?
每次有新客户来为一种产品我要:
Every time a new customer comes in for a product; I want:
- 以下文件夹结构是自动创建的(我一直在使用CVS和SVN进行此操作)
- 从产品中签出产品,并签入CUSTOMERS集合中的解决方案文件。
x
CUSTOMER 1
--------PRODUCT 1
----------------Management artifacts (.docx, xlsx, .vsd, .mpp files)
----------------Design (.vsd files mostly)
----------------References (Any help files provided by the customer)
----------------Requirements artifacts (.docx, xlsx)
----------------Development
------------------------Solution Files (.SLN)
--------------------------------PRJ 1
--------------------------------PRJ 2 (Referenced in 1)
--------------------------------PRJ 3 (Referenced in 1)
--------------------------------PRJ n (Not referenced, standalone tool)
----------------Testing and QA artifacts
----------------User guide artifacts
----------------Deployment artifacts
.........................................................
--------PRODUCT 2
--------PRODUCT n
CUSTOMER 2
.........................................................
CUSTOMER n
问题2:从TFS的角度来看,此文件夹结构是否更现实(因为TFS主要关注解决方案和VS IDE)?
请注意,我们是20多个开发人员的小商店;首先十分感谢!
Note that we are small shop 20+ devs; Thanks very much in advance!
要存储Office文档,可以使用Windows SharePoint Services(WSS),可以自定义结构:
To store your office documents you can use Windows SharePoint Services (WSS), it is possible to customize the structure :
首先,您需要下载过程模板。
VS.NET午餐,单击菜单团队/团队项目集合设置/过程模板下载管理器…
有一个Windows SharePoint Services文件夹,其中包含文件WssTasks.xml,您将在其中找到相同的示例来添加像这样的文件夹:
At first you need to download a process template. Lunch VS.NET, click onto menu Team / Team Project Collections Settings / Process Template Download Manager… There is a Windows SharePoint Services folder containing a file WssTasks.xml, you will find same sample on to add folders in it like this :
<documentLibraries>
<documentLibrary name="Shared Documents" description="Shared Documents"/>
</documentLibraries>
<folders>
<folder documentLibrary="My Custom Folder" name="My Custom Folder"/>
</folders>
此方法的主要好处是允许每个人都可以访问文档,而不仅仅是vs。净所有者。
The key benefit of this approach is to allow everyone to get access to documents, not only the vs.net owners.