Archive for the ‘Source Code Management’ Category
Posted by jpluimers on 2011/05/26
When you are using Team Foundation System (TFS) for version control, the project manager sometimes shows a file as being checked out by someone else, but it doesn’t show who that someone else is.
The reason is that the Project Manager only has generic knowledge about version control systems. However, the Source Control Explorer has specific knowledge about TFS.
So when you look in the Properties Window for the path of the file you are interested in, then you can use the Source Control Explorer to locate the file, and find out who has checked out that file.
There are other tools that can even give your more information than the Source Control Explorer:
- the TF command-line application (on your PATH when you start the Visual Studio Command Prompt shortcut) to obtain extra information.
- the Team Foundation Sidekicks (free; version 3.0 is for Team Foundation Server 2010; 2.4 is for Team Foundation Server 2008/2005) even produce most of that info from a GUI.
These two Stack Overflow questions were relevant in answering the above:
Posted in .NET, Development, Software Development, Source Code Management, TFS (Team Foundation System), Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2011/04/26
Since I use (among others) both Visual Studio and Delphi, I changed the Tortoise Global Ignore Pattern to be this:
Debug lib *.identcache *.local *bin *obj RECYCLER Bin *.user *.suo *.dcu __history ModelSupport_* *.rsm thumbs.db *.bak *.~* __recovery *.tvsconfig *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store
The bold portion is what I changed when compared to the original one:
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store
Input from [WayBack] Tortoise SVN Global Ignore Pattern for Visual Studio (which also included some of the Delphi patterns), [WayBack] this Stackoverflow question (that indicated the patterns are case sensitive) and [WayBack] Shawn Oster | TortoiseSVN global ignore pattern for Visual Studio and Delphi.
–jeroen
PS: Added __recovery as Delphi 10.* started to use that for recovery files, which – unlike __history is not documented, see [WayBack] What is the __recovery folder ? In C++ Seattle 10 Professional running under Win 7 I now get a folder called __recovery.
Posted in .NET, Delphi, Development, Software Development, Source Code Management, Subversion/SVN | Leave a Comment »
Posted by jpluimers on 2011/03/30
Somehow, deleting TFS projects is still not integrated in a default UI.
You can use TFSDeleteProject from the command-line though.
The TFSDeleteProject tool works for TFS 2005, 2008 and 2010, as these posts show:
It is usually in a directory like “\Program Files\Visual Studio 9\Common7\IDE\”.
Oh: don’t put quotes around “Project-Name“:
TfsDeleteProject /server:myteamserver.benday.com Project-Name
–jeroen
via Delete a Team Project from Team Foundation Server.
Posted in Development, Software Development, Source Code Management, TFS (Team Foundation System) | Leave a Comment »
Posted by jpluimers on 2011/03/21
Interesting comment on this StackExchange question:
The Student and Startup Edition at Fog Creek includes FogBugz AND Kiln (source control).
–jeroen
via How big of a team do you need to benefit from bug tracking software? – Programmers – Stack Exchange.
Posted in Development, Software Development, Source Code Management | 1 Comment »
Posted by jpluimers on 2011/03/15
The link below shows you how to use Fiddler2 to trace how TortoiseSVN communicates with SVN Bridge.
TortoiseSVN is a well known SVN client that nicely integrates with the Windows Explorer shell.
SvnBridge sits on top of TFS so that you can use Subversion clients against Team Foundation System.
The settings are so that only the TortoiseSVN requests are captures.
Basically the trick is to start Fiddler2, have it stop capturing WinINET traffic, then modify the TortoiseSVN uses Fiddler2 as HTTP proxy.
Here are the details: SvnBridge – Use TortoiseSVN with Team Foundation Server.
Hope this helps a few of you debugging the TortoiseSVN path to SvnBridge.
–jeroen
Posted in Development, Source Code Management, Subversion/SVN, TFS (Team Foundation System) | Leave a Comment »
Posted by jpluimers on 2011/03/09
A client tried to backup their TFS server with individual database backups.
You can’t properly restore those backups, because the underlying databases are correlated. The only way to backup them is using maintenance plans like the How to: Back Up a Team Foundation Server link shows.
–jeroen
via: How to: Back Up a Team Foundation Server.
Posted in Development, Source Code Management, TFS (Team Foundation System) | Leave a Comment »
Posted by jpluimers on 2011/03/02
It seems so simple that everyone would understand it.
Practice shows this theory is very wrong. So here are the most important rules about Semantic Versioning:
- … (see Semantic Versioning)
- … (see Semantic Versioning)
- … (see Semantic Versioning)
- … (see Semantic Versioning)
- … (see Semantic Versioning)
- Version 1.0.0 defines the public API. The way in which the version number is incremented is now dependent on this public API and how it changes.
- Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible bug fixes are introduced. A bug fix is defined as an internal change that fixes incorrect behavior.
- Minor version Y (x.Y.z | x > 0) MUST be incremented if new, backwards compatible functionality is introduced to the public API. It MAY be incremented if substantial new functionality or improvements are introduced within the private code. It MAY include patch level changes.
- Major version X (X.y.z | X > 0) MUST be incremented if any backwards incompatible changes are introduced to the public API. It MAY include minor and patch level changes.
–jeroen
via Semantic Versioning.
Posted in Development, Source Code Management | 1 Comment »
Posted by jpluimers on 2011/01/31
If you have an account on SourceForge.net, then now you need to reset your password by visiting https://sourceforge.net/account/registration/recover.php.
SourceForge.net was attacked recently (the whole story is on exploit-DB), so they are requesting everyone to reset their passwords.
I got a mail about it last weekend, and their blog now contains this message: Read the rest of this entry »
Posted in .NET, Delphi, Development, Power User, Software Development, Source Code Management, SourceForge | Leave a Comment »
Posted by jpluimers on 2010/11/18
I recently needed to move around a bunch of files in TFS to a new directory structure.
Doing that from within the Visual Studio 2010 IDE was tedious, so I wrote a batch-file like below.
This batch file should also work for Team Foundation System 2005 and 2008.
Notes:
- %~dp1 fetches the drive + directory from %1.
- %~nx1 fetches the filename + extension from %1.
- relative target directories work better than absolute ones
- the batch-file assumes it executes with the current directory is %sourceDirectory%
Read the rest of this entry »
Posted in Development, Source Code Management, TFS (Team Foundation System) | Leave a Comment »
Posted by jpluimers on 2010/09/30
Recently, I had a “server binding” “status=invalid” in TFS when moving quite a bit of files from CVS to TFS.
The most problematic where getting the solution, and a webservice project correctly.
The FAQ on solution binding indicated I should fix my workspace (which is simple: just a root directory), so that was not of much help.
I tried various other things, but in the end, the easiest fix was to:
- rename the directories of the bad solution and project,
- create an empty solution
- create an empty ASP.NET web site project
- then move all of the old files to the new directory structure
Moving files around from within Visual Studio is a tedious process: you can only move one file at a time.
TF to the rescue: it allows you to call perform TFS tasks from the commandline.
Time to automate that with a little batch file. Read the rest of this entry »
Posted in CommandLine, Development, Source Code Management, TFS (Team Foundation System) | Leave a Comment »