Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Source control
Message
From
20/02/2017 02:41:47
 
 
To
20/02/2017 01:14:11
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Title:
Miscellaneous
Thread ID:
01648065
Message ID:
01648172
Views:
44
Likes (1)
>Thanks, that is great info. When you say you convert only those files that were changed, that makes sense. However I thought the FoxBin2PRG just converts all files, regardless if there were changes, or is this a manual process to decide which ones to convert?
>

Yes, FoxBin2Prg convert all files, but when combined with a SCM/DVCS tool, the later knows which files have changed, so you can obtain the list of changed files and convert only those.

This is what I do with the PlasticSCM tools for VFP 9:
https://github.com/fdbozzo/plasticscm-tools-for-visual-foxpro-9

And this is what others did with, in example, extensions to work with GitHub with VFP 9:
https://github.com/mikepotjer/vfp-git-utils
http://vfpx.codeplex.com/wikipage?title=Bin%202%20Text%20Extension&referringTitle=Home

On those cases, a program logic was developed to obtain the list of changed files and call FoxBin2Prg for every one of them.

Now that you mentioned it, I think that an input file with a list of the changed files could be a good enhancement to add to FoxBin2Prg, so for other SCM/DVCS tools one must only provide that file and the conversor to the rest.


>I also like the idea of re-arranging procedure files alphabetically, because that would be a change in the old source code without actually changing the code. Our company is very reluctant to do any changes in the code if there is nothing broken, and that makes sense. So I am in the Situation to implement svn but with no or only minimal changes in the actual code.

If you did not select a SCM/DVCS tool yet and SVN is an option, then I suggest using Git over SVN/CVS, because many reasons:

- It's much better than SVN/CVS
- It's much faster than SVN/CVS
- Did not block with large files like SVN/CVS do (VFP binaries are not very liked by SVN/CVS)
- You already have two VFP 9 Open Source projects that deal with Git, so you just need to read how to use them
- These tools are already used by their Developers because they needed, and other Devs use them too, so they are greatly tested
- They use FoxBin2Prg as the conversion module because it plugs in like scctext
- For the same reason, can be used woth editors that allow calling external programs for conversions, like Beyond Compare, WinMerge and other editors

And if you want Unit Testing, FoxUnit is the obligated reference on the matter, for which I've contributed with some code to permit configuring it with automation tools like Cruise Control, Jenkins and the like.
Fernando D. Bozzo
Madrid / Spain
Previous
Reply
Map
View

Click here to load this message in the networking platform