Pages

Showing posts with label Bhargava Harish Vangapally. Show all posts
Showing posts with label Bhargava Harish Vangapally. Show all posts

Saturday, June 26, 2010

How to undo another user’s checkout in TFS?

here are at least 2 different ways to do this:

Command Line

There is a command-line utility called Tf.exe that comes with Team Explorer. Find the documentation here. It can be accessed by launching a Visual Studio Command Prompt window. The syntax of the command is:

tf undo [/workspace:workspacename[;workspaceowner]]
[/server:servername] [/recursive] itemspec [/noprompt]

Example: tf undo /workspace:noxad_ws;noxad $/project/abc.cs

GUI

The second is via the GUI, but does not come standard - you have to install the TFS Power Tools. See here for details on how to use this method.

Keep in mind that with either method you will need the appropriate rights. The permissions are called "Undo other users' changes" and "Unlock other users' changes". These permission can be viewed by:

  1. Right-clicking the desired project, folder, or file in Source Control Explorer
  2. Select Properties
  3. Select the Security tab
  4. Select the appropriate user or group in the Users and Groups section at the top
  5. View the "Permissions for [user/group]:" section at the bottom

Friday, June 25, 2010

TFS DELETE AND TFS DESTROY

TFSDeleteProject does not delete source but only marks it for deletion. TFSDestroy command physically. Even it destrys the deleted files which are marked as deleted when used by tfsdelete.

To use the TFSDeleteProject AND destroy command, you must belong to the Team Foundation Administrators security group

C:\ tfsdeleteproject

C:\ tfs destroy

using the above commands you can delete the files, branches etc...

TFS WEB ACCESS WITHOUT CAL LICENCE

Everyone within your organization (but without tfs cal) can access Web Access in free mode, called WIOV, allowing them to create, view and edit their own work items.


Work item only view – WIOW is a restricted version of team web access – TWA, used when the user should view only creation / edition / history of working items.


This WIOW so called as WORK ITEM WEB ACCESS – WIWA. And it was being installed as a virtual directory under TWA 2008 (http://tfshost:8090/wiwa).


TWA meaning that there is a single entry point for both TWA and WIOV (http://tfshost:8080/tfs/web). The new behavior is based on a new TFS application-level permission called “Use full Web Access features”. If the user connected to TWA is denied for this permission, the application switches automatically to the WIOV.

In TFS administration, add the “Work Item Only View” users group -> set permission to “user level web access” to select.

http://blogs.msdn.com/b/serkani/archive/2009/12/31/how-to-enable-work-item-only-view-in-team-web-access-2010.aspx

Unable to connect to TFS server in Test Manager 2010

First time after installing TFS 2010 in the machine, when try to connect Test Manager 2010 to TFS 2008 project, throwing error that “Unable to connect to server , Check the server name is correct and that you have access to the server”.

Even after trying as the project administrator, same problem repeated. After going through some stuff it was know that TFS 2010 test manager cannot use the TFS 2008 features, because TFS 2008 doesn’t have the Test and lab features. So, TFS 2008 doesn’t have the test and lab features that are included in TFS 2010.

Solution: upgrade the server to TFS 2010 in order to connect from the client.

Wednesday, June 2, 2010

Four Priniciples of Reaching Enlightenment

1. "Prajnaanam Brahma"

Prajnaanam Brahma expresses the truth of universal consciousness as Supreme Divinity. This is expressed in the indirect third person or a generalized, unparticularised declaration of the highest truth-wisdom. It is called Svaruupa Lakshana Vaakya or the statement defining the very nature or essence of Brahman - the Light Supreme. The dawn of this wisdom signifies living in Saalokyam - in the all-embracing spiritual consciousness. Sah + lokya: The one who is to be fully comprehended and its realization is expressed as "I am in the light of supreme consciousness". The light enveloping the individual and every other entity in the cosmos is Prajnaanam - the illumination of total awareness.

2. “Ayam Aathma Brahma”

Ayam Aathma Brahma brings us close to Divinity. It is thus comparable to Saameepya Mukthi, which is the state where we are freed from worldly thoughts and when all thoughts dwell only on the Divinity Supreme. This declaration revolves around the meditation on Thejas as the illuminating Shiva Consciousness. "That Light is in Myself'- is the ineffable experience of a spiritual practice called, Jyothir Dhyaana; internalising the vision of the radiant Sadhaa-Shiva-Principle or Linga installed within oneself.

3. Thath Thvam Asi (Thou art That)

The spiritual aspirant for liberation or Mumukshu is directly addressed in the second person singular case and told, in no uncertain terms, that, he and the Divinity are one and the same. It corresponds to the realization that, the Light of Supreme Divinity and the Light of Consciousness within are identical: "I and the Light are the same". Thath Thvam Asi is symbolised by the Jnaana Lingam, the high water mark of realizing the supreme knowledge or Brahma Vidhya. It is repeated nine times - nine being the representation of Parabrahma so that one is established firmly in the conviction that he is not the body, not the senses, not the mind, not the bundle of Vaasanas or the ego-self He is nothing but Divinity, The Supreme Self

4. Aham Brahma Asmi

It is then stated that Brahman knew Itself as "I am Brahman" "Aham Brahmaasmi". When It knew Itself as Brahman, It became the Supreme All in All "Thasmaath Thath Sarvamaabhavath". Then, the Upanishath declares that the one who realizes the import of this great truth becomes himself the All-in-All. It is so even now with respect to the demi-Gods, Rishis and humans. Even the demi-Gods cannot prevent the human from becoming this All-in-All, for the human Self has become their own Self! In terms of the analogy of Light of Consciousness, the meaning of this great statement is "I am the Supreme Light"

Monday, May 24, 2010

Code Analysis, Code metrics and Profiling

In Visual Studio 2008, you can also see a new menu in the main menu named Analyze menu. There are mainly three commands: Run Code Analysis, Calculate Code Metrics and Profiling. The Code Analysis menu provides a report with the main changes to do in order to find errors and comply with best practices of the technology. The Code Metrics menu helps users find and act upon complex area of the application through metrics that are applied to your code. Let's see an example of running Code Metrics over our examples. In this report, we have some metrics such as Class Coupling, Depth in Inheritance, Cyclomatic Complexity, Lines of Code, and Maintainability Index.

Class Coupling indicates the number of dependencies between entities of your problem domain. Lower number indicates candidates for possible reuse.

Depth in Inheritance indicates the number of classes that are above in the inheritance tree from a particular class.

Cyclomatic Complexity indicates the total number of individual path through the code. It's calculated by counting the number of decision points (if, switch, do, while, foreach, for) and adding 1.

Lines of Code indicate the total number of lines of code excluding white space, comments, braces, declaration of members, types and namespaces.

Maintainability Index is an index from 0 to 100 indicating the overall maintainability of a member or a type (at assembly level,it's the total number of maintainability index of all types within it). It's calculated from other metrics such as Halstead Volume (which factors in the number and use of operands and operators), Cyclomatic Complexity and Lines of Code. Lower values indicate complex and hard to maintain. The report of this field also indicates the status with an icon.

Thursday, May 6, 2010

Team Foundation Server Web Access

Is there any way to do all processes which can be done by TFS client?

The current question is how a QA /Testers can log defects with out the TFS Client?

Yes, Microsoft give Team Foundation server do all common tasks when you work with Team Foundation Server client.

Yes, we can do this, Visual Studio Team Foundation Server provides the Team System Web Access which is a customizable Web interface that can access Team Foundation Server project data.

It acts as a client of Team Foundation Server and provides most, but not all, of the functionality available through the Team Explorer client.

You can use Team System Web Access through a remote connection to perform the following functions:

  • Create, view, query for, and track bugs / work items.
  • View / Check / Get the latest version / Specific version from the Source Code
  • Manage a project's document libraries.
  • View version-controlled files and related version information.
  • Manage the software build process by running builds and reviewing build results.
  • Generate reports to track status and trend information over time for a team project.
  • Customize browser themes and user settings.

Please find the below link run the TFS web page to do all transactions.

http://ushoutfs01v:8090 -> Select the project -> do things….

Wednesday, April 28, 2010

Role of Software Architecture

Software Architecture is an process to tell the success of the project.
It means the performance, reliability, productivity, timeliness etc...

The role starts from kick-off of the project till the end of the project cycle. As an architect usually concentrates on the the following areas.


1. What is the client expectations
2. What is the Business functionality
3. How well the business is understood
4. How the high level design is done
5. Prepare well Low Level Designing for the High level designing
6. Choose the technology to deliver the right inputs (Windows or Web or Smart client applications)
7. Choose the Source control like Team Foundation Server
8. Plan the Project Management system
9. Design the layered Architecture, it may be 3-tier or n-tier
10. Choose the Service Oriented Architecture
11. Analyze the risk management
12. Timely output

Monday, April 26, 2010

How can one make others aware of Nature / Environment

Every one has awareness to make good things around the society, but some people do not realize and they do mistakes regularly polluting the nature. I have my opinion to change those people.

One cannot change all the people in one time anyway. But our actions can change them a lot. When you see that the persons who are throwing the trash on the road, polluting the water and air or doing something that is not good, instead of telling them that they are wrong, initiation should come from our side, we should go straight to the trash, pick it up and throw it in the dustbin. And do first water harvesting at your house. Make sure that others and neighbors see it.

Do it continuously. I know that this will take time. In many cases, it will take unto many months. But finally, the person will feel deeply ashamed when other people see that you are such a nice person and he is such a bad guy and one day, will get converted into a nice person.

Believe me this is the only method that will help you change the person who does badly to the nature and environment


Thursday, April 22, 2010

How to delete an TFS Project

The existing team project can be permanently deleted by using "TFSDeleteProject" Application which resides in the
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE"

Run the file in command prompt and type the
"TFSDeleteProject Server\Server Name Team Project Name”

The good practice is those avoid deleting the project frequently, and make sure about the requirements before creating the project