Mostrando entradas con la etiqueta Tool. Mostrar todas las entradas
Mostrando entradas con la etiqueta Tool. Mostrar todas las entradas

martes, 27 de noviembre de 2012

Links útiles #16–Team Foundation Server

1-TFSJobAgent

http://blogs.msdn.com/b/chrisid/archive/2010/02/15/introducing-the-tfs-background-job-agent-and-service.aspx

2-Visual Source Safe Upgrade tool para migrar desde Visual Source Safe a TFS 2012, 2010 o Team Foundation Services

http://bartwullems.blogspot.com.ar/2012/11/new-visual-source-safe-upgrade-tool.html

3-Problemas de assemblies al migrar a tfs 2012

http://osnabrugge.wordpress.com/2012/11/21/custom-build-activities-type-is-greyed-out-in-build-definition-editor/

4-Undeled archivos en Team Foundationn Server

http://geekswithblogs.net/TarunArora/archive/2012/11/26/how-to-undelete-files-in-tfs.aspx

5-Team Foundation Server Administration Tool versión 2.2 (soporte para TFS 2012)

http://tfsadmin.codeplex.com/

viernes, 29 de junio de 2012

Tips/Info # 7 Team Foundation Server

1-Algunas queries de SQL útiles

cel nombre de tu base de datos de la colleción. .
USE Tfs_DefaultCollection
GO

-- Usuarios recientes 
select count(distinct IdentityName) as [Recent Users] from tbl_Command with (nolock)

-- Usuarios con work items asignados
select count(distinct [System.AssignedTo]) AS [Users with Assigned Work Items] from WorkItemsAreUsed with (nolock)

-- Cantidad de Work items 
select count(*) AS [Total Work Items] from WorkItemsAreUsed with (nolock)

-- Historial de Merge
select SUM(st.row_count) AS [Merge History] from sys.dm_db_partition_stats st WHERE object_name(object_id) = 'tbl_MergeHistory' AND (index_id < 2)

--Cambios Pendientes
select count(*) AS [Pending Changes] from tbl_PendingChange pc with (nolock) join tbl_Workspace w with (nolock) on pc.WorkspaceId = w.WorkspaceId where w.Type = 0

2-Saber cuales fueron los archivos que se hicieron check in por un determinado usuario, en una fecha específica

SELECT  dp.Name
        , dp.Alias
        , cs.ChangesetTitle
        , cs.LastUpdatedDateTime
        , f.FileName
        , f.FilePath
FROM    dbo.DimPerson dp
        INNER JOIN dbo.DimChangeset cs ON cs.CheckedInBySK = dp.PersonSK
        INNER JOIN dbo.DimFile f ON f.FileSK = cs.ChangesetSK
WHERE   cs.LastUpdatedDateTime BETWEEN '20120502' AND '20120602'  and dp.Name lik "%Nombre usuario%"

3-Ubicación de la herramienta de comandos de TFS: tf

La misma se encuentra en la carpeta de instalación de TFS, por default en:

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

También puede accederse vía el Visual Studio Command Prompt (Inicio/All Programs/Microsoft Visual Studio 2010/ Visual Studio Tools/Visual Studio Command Prompt (2010).) Recuerde ejecutarlo como Run as administrator.

Encontrará los comandos disponibles en el siguiente link: http://msdn.microsoft.com/en-us/library/z51z7zy0

Recuerde que también puede usar las powertools (http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f/) vía línea de comandos: tfpt.exe

4-Visual Studio 2008 y TFS 2010

  • Instalar Visual Studio 2008
  • Instalar Visual Studio 2008 Team Explorer http://www.microsoft.com/en-us/download/details.aspx?id=16338
  • Instalar Visual Studio 2008 SP 1 http://www.microsoft.com/en-us/download/details.aspx?id=10986
  • Instalar Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 (Installer) http://www.microsoft.com/en-us/download/details.aspx?id=10834

    Al conectarse al servidor de TFS se debe especificar la url completa: http://servername:8080/tfs

    Si sigues sin poder conectarte abre el editor del Registro (Menú Inicio/Ejecutar/regedit.exe) de Windows y dirigite a la siguiente llave:  HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation\Servers y agrega un valor alfanumérico que contenga la ruta completa a tu servidor TFS 2010 (La misma que pusimos arriba). En el nombre teclea el que quieras que VS 2008 despliegue cuando selecciones el servidor:

    regedit

    5-Delete un work item en TFS 2010

    Si tengo un team foundation power tool (http://msdn.microsoft.com/en-us/vstudio//bb980963.aspx)  podré borrar un item de la siguiente manera:

    tfpt destroywi /server:tfs-dev /workitemid: xxxxxx

    xxxx se reemplaza por el id del work item deseado

    Otra manera es usar la herramienta: http://witadminui.codeplex.com/

    Y por último, se podría usar Witadmin.exe

    Ir hasta C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE) (en 32 bits)

    o C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common 7\IDE (en 64 bits)

    Syntax: witadmin destroywi /collection:collectionurl /id:id [/noprompt]

    Usage: witadmin destroywi /Collection:http:\\TestTFSServer:8080\tfs\DefaultCollection /id:12

  • martes, 24 de enero de 2012

    Replacing Compare and Diff Tools for TFS Version Control

     

    Code Compare Options Set for Compare and Merge in TFS for Visual Studio Options Dialog

    This now allows you to use your new specified tool anytime you would do a compare or merge operation even from the Windows Explorer Shell Extensions plug-in from the TFS Power Tools.  It will even allow for a three-way merge & diff experience which can be quite helpful at times if you are in need of it.

    Code Compare Pro Compare Diff with TFS Version Control

    Fuente:

    http://www.edsquared.com/

    Más información:

    http://fooberry.com/2008/10/24/replacing-tfs-diff-tool/

    Utilidad para refrescar manualmente el WareHouse de TFS 2010

    You’ll know you need to do that manual refresh when your TFS2010 reports start tossing off errors like “The Team System cube either does not exist or has not been processed” or “An error has occurred during report processing. (rsProcessingAborted) Query failed for dataset ‘dsIteration’.”  There are plenty of variations on that second error message depending on which dataset failed – dsPlatform, dsIterationDefault, dsIteration, dsLastProcessedTime, dsIterationParam, etc.  Usually these errors mean that the TFS Job Agent 1) hasn’t run yet or 2) ran but encountered an error.  The solution is a manual warehouse update.

    http://blog.accentient.com/2010/04/08/ManuallyProcessingTheTeamFoundationServer2010DataWarehouseAndAnalysisServicesDatabase.aspx

    Tool para refrescar el warehouse: http://www.benday.com/WarehouseUtility/publish.htm

    Fuente:

    http://www.benday.com/

    http://www.c-sharpcorner.com/Blogs/4827/an-error-has-occurred-during-report-processing-rsprocessin.aspx