|
#1
|
|||
|
|||
Obtaining the name of the last person to modify a file
After we build a project, and if the build fails, I am trying to obtain the name(s) of the last people who have modified any file in the VSS project within a certain date? I will use this data to send them an email telling them that they could have broken the build.
How do I obtain the name of any persons who modified a file within a specific time frame? Ken |
#2
|
|||
|
|||
In principle you can get a history for a file or project in VSS and then parse that to find people who modified files. For that to work well you have to know when the previous get that was built against was performed and find all the people who have checked in stuff since that time.
Rather than go to all that work for our nightly build, I associate a list of email addresses with each VBP project that is built in the nightly build and every one on the list gets email if a compile fails for a project. Note that only the "administrator" gets mail if the VBP build fails through a script error or some such and that for us a lot of peoples work is compartmentalised so that we can be fairly specific about who gets mail. BTW, if you haven't found VBPs script support yet, have a look. It does pure magic for this sort of problem. For example, I use some script to parse the compiler's error log and report error counts against projects in the email and send the log as an attachment. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|