Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Source control
Message
From
17/02/2017 17:47:30
 
 
To
17/02/2017 11:22:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Title:
Miscellaneous
Thread ID:
01648065
Message ID:
01648109
Views:
42
I've used Vault with VFP successfully since 2005, using a slightly modified scc prg. It's only used for diff's, not re-generating.

We do use the project manager to generate the "text version" files, but do NOT use the project object pja. Instead, any indirect calls are put into a dummy prg or method so that the build server pulls them into the project.

Other than that, it's just a matter of some settings, described here in the last post: http://kb.sourcegear.com/FortressHelp/viewtopic.php?f=22&t=5071

For Lianja we are currently using Vault, but will be switching to Git using a Lianja add-in we create in Lianja that handles things like extensions and database schema (moved to XML) and library files. In effect this will be a local web service that runs the appropriate Git commands in the right order across repositories, etc. Play with sub-modules if you know your stuff well. Very well. My decision is to get it right once for our style of development and then put an interface on it. That is, after all, what we do for a living. If I were not rolling my own, I'd likely pay for GitKraken from Axosoft (we use OnTime Cloud version in both my day job and own business). If nothing else, read their blogs: they show a really solid understanding of Git presented very clearly.

Hank

>>Hi
>>
>>Helping a site that is interested in introducing source control for a set of VFP7 and VFP9 applications.
>>
>>I've used a variety of source control on other non Fox developments but wondered if anyone has strong recommendations for or warning on source control systems that could be applied.
>
>Fifteen years ago (ouch, is it that long ago already?) I was on a team which used SoS (source off-site), which was, IIRC, a very good wrapper around SourceSafe. Then on another project I used Tortoise/SVN, which worked fine but had several glitches: it was case sensitive and VFP isn't - VFP may even change the case of a file when it saves (VFP7 back then). The Tortoise's so-called shell integration, i.e. it adding some four or five bars into your rightclick menu on every bloody file or folder everywhere on your machine was a PITA, and having no client but that rightclick (then the client appears!) meant that I had to navigate to the actual folder where I kept stuff... which led to many cases of confusion (I forget which subfolders are shared and which are my own).
>
>For the last few years I'm with a team which uses Vault, and it works swimmingly. We aren't even using all of its features, but it has saved our butt dozens of times. The only downside is that it decides not to increase the version count on unchanged files, so there are many cases when the vcx and vct have different numbers - and then it's near impossible to diff them, because the same vcx matches two vcts (only code or properties changed, or it was just recompiled). Tried to automate the retrieval of vct's history based on the name and date of vcx, however the same vcx exists in several folders (branching out for every major version and now there may be forms.vcx in six places) and retrieving the history for just one of them proved illusive. Can't get there from here.
>
>The repository is on a server, and nobody of the team is in the same city (mostly not in the same country) and it doesn't matter - the communication is always fast enough, even with my outdated connection here.
>
>The one general rule for all these cases is not to even try to integrate with the project manager. The interface is obsolete, unfinished, the protocol even more so, and even at the times when it worked for some people, it never worked for most of us. The steps needed were even more complicated than coding for an ATS modem or ESC/P or HPL printers (did each, I know what I'm talking about). Instead of integration, just learn to live with some manual bookkeeping, i.e. know which pieces you touched and either get latest and check them out before you touch them, or make sure you can merge your changes if someone else was faster, or simply communicate with the others and see if anyone needs the same files at the same time. Don't expect the software to think instead of you (if you do, you get a Microsoft Google Facebook on your brain).
Previous
Reply
Map
View

Click here to load this message in the networking platform