Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project hooks - running code on VSS checking
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00569365
Message ID:
00569377
Vues:
31
Sergey,

The problem is that you can modify code even without checking it out (it just won't save.) Also, the fact that someone modifies code doesn't mean that those changes will get back in. Finally, I would still need some sort of description.

One solution is to modify the SCCText program or one of the other modules so that they write out the code (I need to check to see if I can find any of the code that is used by VFP on check-in.) But I am sure I could at least do somethign with SCCText. But I would rather not have to modify that code if I can help it.

Even worse, the docs do say in some places that you can add code that will run when you check in files, just not any info on how.

But thanks for your help.

Take care,

Fletcher

>Hi Fletcher,
>
>The CheckIn is a method not Event. You can use it to check a file into SSC but it wouldn't be triggered by checking file into SSC. I think you're right that QueryModify is the only Event you can use for what you want to do.
>
>>Hi all,
>>
>>I am trying to set up a project hook that run whenever anything is checked into Source Safe via the Project. Essentially, I want to capture the description of the changes and write them out to a log file so that I have a list of who edited what things. I can then use this as a cross reference against our error and change request system so that I can produce a list of what was changed/fixed since the last build.
>>
>>I can certainly write code against the project, but I can only add code to the queryModify method. The files objects have a "CheckIn" method, but I can't figure out how to get code into them since they are part of the collection of files.
>>
>>Thanks,
>>
>>Fletcher
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform