如何查找除我和其他开发人员之外的其他人对库所做的所有更改 [英] How to find all changes that were made to a library by someone OTHER than me and another developer

查看:20
本文介绍了如何查找除我和其他开发人员之外的其他人对库所做的所有更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Visual Studio 2015 和 TFS.这里 Visual Studio 的一个不错的功能是,它列出了进行最近更改的个人以及在每个方法上方对该特定方法的引用次数.

I'm using Visual Studio 2015 and TFS. One of the nice features of Visual Studio here is the fact that it lists the individual who made the most recent change and the number of references to that particular method above every method.

我有一个主要由我和其他开发人员维护的特定库.不过,有时其他人会对其进行更改,而我发现他们的修改经常包含错误.

I have a particular library that's maintained primarily by me and one other developer. Occasionally, though, other people will make changes to it, and I've found that their modifications often contain errors.

理论上,当团队中的其他人对库进行更改时,他们应该将我或其他开发人员添加到审核中,但很多人都忘记了.

Theoretically, when other people in the team make changes to the library they're supposed to add me or the other developer to the review, but a lot of people forget.

我们已经尝试了一些显而易见的事情(向其他人解释库的工作原理,尽可能重构以使其更清楚如何使用和修改它等),这在一定程度上改善了这种情况,但并没有't 彻底解决了.

We've tried some of the obvious things (explaining to other people how the library works, refactoring where possible to make it more clear how to use and modify it, etc.), which has improved the situation somewhat but hasn't completely resolved it.

有几次我没有意识到其他人做出了错误的更改,直到我开始在自己的代码中发现异常.在这一点上,我想出的检查此问题的最佳方法是手动检查文件以查看是否进行了任何错误"更改,这既耗时又容易出错.

There were several instances in which I didn't realize that other people had made bad changes until I started getting exceptions in my own code. At this point, the best way I've come up with to check for this is to manually check through files to see if any "bad" changes were made, which is time-consuming and error-prone.

我确实意识到 TFS 提供了某种程度的

I do realize that TFS provides some degree of alerting and notifications, like below:

当我提交签入、文件签入到特定路径或团队项目中发生任何签入时,我可以看到如何设置警报.但是,我正在寻找的东西比它似乎提供的要细化得多.有没有办法为特定的项目(不是路径)设置警报,其中签入是由某人other而不是我或其他开发人员进行的?我能想到的最接近的是:

I can see how to set alerts for when I submit a checkin, a file is checked in to a particular path, or any checkin occurs in the team project. However, what I'm looking for is a lot more granular than what it seems to be offering. Is there a way to set an alert for a particular project (not path) where the checkin was by someone other than myself or this other developer? The closest I've been able to come up with is:

我用红色划掉的部分是整个解决方案的名称(下拉菜单没有让我选择其中的特定项目).此外,它给我的提交者"的唯一选项是 Committer <>[我].下拉菜单没有给我 Committer <> 选项.[其他开发者].

where the part I've crossed out in red is the name of the solution as a whole (the drop-down menu doesn't give me the option of specific projects within that). Also, the only option it gives me for "Committer" is Committer <> [Me]. The drop-down menu doesn't give me the option of Committer <> [Other Developer].

有关如何处理此问题的任何建议?是否有一种简单的方法可以像我在这里问的那样提醒其他人的更改,是否有一种简单的方法可以在 Visual Studio 中查找更改?

Any suggestions on how to handle this? Is there an easy way to be alerted to changes by other people in the way I'm asking here, and is there an easy way to find the changes in Visual Studio?

推荐答案

你已经很接近了.

您似乎正在尝试为此情况设置签到提醒:

It looks like you're trying to set a checkin alert for this condition:

And/Or  Field           Operator    Value
        Team project    =           Your Project
And     Committer       <>          [Me]
And     Committer       <>          Other Developer

(我希望正确对齐.)

你可以输入任何你想要的人(他们的名字存在于项目中),即使他们不在下拉列表中.

You can type in whoever you want (whose name exists in the project) even though they're not in the drop-down list.

这篇关于如何查找除我和其他开发人员之外的其他人对库所做的所有更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆