Index
2011-02-04 11:24 – Lou Syracuse : VFP and Source control
2011-02-04 11:47 – Garrett Fitzgerald : Re: VFP and Source control
2011-02-04 11:48 – Alan Bourke : Re: VFP and Source control
2011-02-04 12:01 – Richard Kaye : RE: VFP and Source control
2011-02-04 12:22 – Dan Covill : Re: VFP and Source control
2011-02-04 12:34 – Grigore Dolghin : RE: VFP and Source control
2011-02-04 12:37 – Garrett Fitzgerald : Re: VFP and Source control
2011-02-04 13:09 – Kevin O'Shea : RE: VFP and Source control
2011-02-04 13:13 – MB Software Solutions, LLC : Re: VFP and Source control
2011-02-04 13:21 – Fletcher Johnson : Re: VFP and Source control
Back to top
VFP and Source control

Author: Lou Syracuse

Posted: 2011-02-04 11:24:55   Link

Is anyone using source control with VFP?

I really need to push for something here. We have source code in at least 3

network locations, on each of the developer machines (including one from a

developer who no longer works here). I specifically set today aside to

work on converting a reporting program that uses VFP tables to use SQL (we

are upgrading our main application to the vendor's SQL version soon) - but

the only code I can find on the network doesn't have any code - it just says

"data call goes here" or "insert fancy SQL call here". I KNOW we have

code that was being worked on as I have seen it running, but the developer

of that system works part-time and won't be back in the office until Monday

so my day is shot.

We need a solution that handles VFP and .NET projects. Documents and SQL

Server code would be good too. In my last company we used Subversion and

with Tortoise as the front-end and it worked pretty well; however Subversion

is Apache-based and I know nothing about Apache. I've had too many issues

with VSS to consider it (plus I think it has been discontinued). I don't

know much/anything about TFS, can it be used (easily) with VFP projects?

We're a small (but growing) department, security is not so much an issue -

we need a solution that is dependable, easy to use and fairly

low-maintenance.

It may be an uphill battle to sell it, but the fact I'm spending most of

today NOT coding should be an indicator that something need to change.

Thanks in advance,

Lou

LouS

--- StripMime Report -- processed MIME parts ---

multipart/related

multipart/alternative

text/plain (text body -- kept)

text/html

image/jpeg

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/01b701cbc488$0f516520$2df42f60$@com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Lou Syracuse
Back to top
Re: VFP and Source control

Author: Garrett Fitzgerald

Posted: 2011-02-04 11:47:04   Link

On Fri, Feb 4, 2011 at 11:24, Lou Syracuse <lous@iconmediadirect.com> wrote:

> Is anyone using source control with VFP?

> <snip>

> We need a solution that handles VFP and .NET projects.    Documents and SQL

> Server code would be good too.    In my last company we used Subversion and

> with Tortoise as the front-end and it worked pretty well; however Subversion

> is Apache-based and I know nothing about Apache.

I'm using Subversion and TortoiseSVN, but _not_ with Apache. I'm also

using Christof's TwoFox (http://www.foxpert.com/docs/cvs.en.htm) to

convert the binary source files to XML. Axosoft has a package at

http://www.axosoft.com/rocketsvn that looks interesting, especially

has it has Visual Studio integration.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTik=4dMK9-n3F+e7Xd2p22-OFwpVHt8ccEXnwzjm@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Garrett Fitzgerald
Back to top
Re: VFP and Source control

Author: Alan Bourke

Posted: 2011-02-04 11:48:33   Link

Yes we use a heavily customised old version of (puke) Visual SourceSafe.

I use and would recommend Subversion for my own .NET/Android stuff,

although Git is very popular too. And it doesn't need a central server.

The problem with Visual FoxPro and source control is that in terms of

program code most languages just use text files which are easy to diff

and merge and so on. A lot of VFP code is in memo fields in DBF files

however, so you need extensions of some sort to handle that.

--

Alan Bourke

alanpbourke (at) fastmail (dot) fm

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1296838113.16814.1418975159@webmail.messagingengine.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Alan Bourke
Back to top
RE: VFP and Source control

Author: Richard Kaye

Posted: 2011-02-04 12:01:01   Link

I still use VFP with VSS (with project integration!) and am happy to live with its limitations. There's also a project at VFPX to integrate VFP with SVN. I took a look at it but had a difficult time getting my head wrapped around the way it needs to be setup. There have been a couple of releases since then so I may take a look again as the rest of our company uses SVN for source control.

http://vfpx.codeplex.com/wikipage?title=SubFox&referringTitle=Home

--

rk

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On Behalf Of Garrett Fitzgerald

Sent: Friday, February 04, 2011 11:47 AM

To: profoxtech@leafe.com

Subject: Re: VFP and Source control

On Fri, Feb 4, 2011 at 11:24, Lou Syracuse <lous@iconmediadirect.com> wrote:

> Is anyone using source control with VFP?

> <snip>

> We need a solution that handles VFP and .NET projects.    Documents

> and SQL Server code would be good too.    In my last company we used

> Subversion and with Tortoise as the front-end and it worked pretty

> well; however Subversion is Apache-based and I know nothing about Apache.

I'm using Subversion and TortoiseSVN, but _not_ with Apache. I'm also using Christof's TwoFox (http://www.foxpert.com/docs/cvs.en.htm) to convert the binary source files to XML. Axosoft has a package at http://www.axosoft.com/rocketsvn that looks interesting, especially has it has Visual Studio integration.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04419220554C6@ACKBWDDQH1.artfact.local

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Richard Kaye
Back to top
Re: VFP and Source control

Author: Dan Covill

Posted: 2011-02-04 12:22:26   Link

On 2/4/2011 8:24 AM, Lou Syracuse wrote:

> Is anyone using source control with VFP?

>

Hi, Lou

Take a look at Mercurial, a "distributed source control management tool"

It's free, and available for both Mac and Windows.

http://mercurial.selenic.com/

I learned about it from Joel Spolsky's blog:

http://www.joelonsoftware.com/items/2010/03/17.html

Being retired, I don't have much need for source/version control <g>,

but if I did that's where I'd start.

Dan Covill

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4D4C35D2.1070103@san.rr.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Dan Covill
Back to top
RE: VFP and Source control

Author: Grigore Dolghin

Posted: 2011-02-04 12:34:07   Link

Lou

I have used Subversion extensively while working for one of my US-based

customers (I live in Romania). Although it doesn't integrate into VFP we

used it very well.

Just to let you know - there's a distribution of SVN which is not

Apache-based: http://sourceforge.net/projects/win32svn/ All you need is

Tortoise SVN installed in your clients.

There's one catch though: SVN is case sensitive and VFP has the nasty habit

to capitalize the extensions now and then. We used a projecthook program

which would iterate through all files and lowercased the extensions upon

project close. I'm going to look for that prg if you want to go this route.

> -----Original Message-----

> From: profoxtech-bounces@leafe.com [mailto:profoxtech-

> bounces@leafe.com] On Behalf Of Lou Syracuse

> Sent: Friday, February 04, 2011 6:25 PM

> To: profoxtech@leafe.com

> Subject: VFP and Source control

>

> Is anyone using source control with VFP?

>

>

>

> I really need to push for something here. We have source code in at least

3

> network locations, on each of the developer machines (including one from a

> developer who no longer works here). I specifically set today aside to

> work on converting a reporting program that uses VFP tables to use SQL (we

> are upgrading our main application to the vendor's SQL version soon) - but

> the only code I can find on the network doesn't have any code - it just

says

> "data call goes here" or "insert fancy SQL call here". I KNOW we have

> code that was being worked on as I have seen it running, but the developer

> of that system works part-time and won't be back in the office until

Monday

> so my day is shot.

>

>

>

> We need a solution that handles VFP and .NET projects. Documents and

> SQL

> Server code would be good too. In my last company we used Subversion

> and

> with Tortoise as the front-end and it worked pretty well; however

> Subversion

> is Apache-based and I know nothing about Apache. I've had too many

issues

> with VSS to consider it (plus I think it has been discontinued). I don't

> know much/anything about TFS, can it be used (easily) with VFP projects?

> We're a small (but growing) department, security is not so much an issue -

> we need a solution that is dependable, easy to use and fairly low-

> maintenance.

>

>

>

> It may be an uphill battle to sell it, but the fact I'm spending most of

today

> NOT coding should be an indicator that something need to change.

>

>

>

> Thanks in advance,

>

> Lou

>

>

>

>

>

> LouS

>

>

>

>

>

> --- StripMime Report -- processed MIME parts --- multipart/related

> multipart/alternative

> text/plain (text body -- kept)

> text/html

> image/jpeg

> ---

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000301cbc491$ba6f9d10$2f4ed730$@gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Grigore Dolghin
Back to top
Re: VFP and Source control

Author: Garrett Fitzgerald

Posted: 2011-02-04 12:37:16   Link

On Fri, Feb 4, 2011 at 12:34, Grigore Dolghin <gdolghin@gmail.com> wrote:

> There's one catch though: SVN is case sensitive and VFP has the nasty habit

> to capitalize the extensions now and then. We used a projecthook program

> which would iterate through all files and lowercased the extensions upon

> project close. I'm going to look for that prg if you want to go this route.

TortoiseSVN, as a Windows program, is smart enough to work around this

issue, generally. :-)

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTimrDnqYw7BYhS+68RLqXX2S=nbEjmkZ5ZzymqmL@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Garrett Fitzgerald
Back to top
RE: VFP and Source control

Author: Kevin O'Shea

Posted: 2011-02-04 13:09:40   Link

>-----Original Message-----

>From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On

Behalf Of Lou Syracuse

>Sent: Friday, February 04, 2011 11:25 AM

>To: profoxtech@leafe.com

>Subject: VFP and Source control

>Is anyone using source control with VFP?

We use a CVS repository (though I would recommend looking into Subversion)

and pushok (http://www.pushok.com/) for the VFP IDE. They both work very

well together.

Kevin

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/002b01cbc496$b24313b0$16c93b10$@com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Kevin O'Shea
Back to top
Re: VFP and Source control

Author: MB Software Solutions, LLC

Posted: 2011-02-04 13:13:49   Link

On 2/4/2011 11:24 AM, Lou Syracuse wrote:

> Is anyone using source control with VFP?

>

>

>

> I really need to push for something here. We have source code in at least 3

> network locations, on each of the developer machines (including one from a

> developer who no longer works here). I specifically set today aside to

> work on converting a reporting program that uses VFP tables to use SQL (we

> are upgrading our main application to the vendor's SQL version soon) - but

> the only code I can find on the network doesn't have any code - it just says

> "data call goes here" or "insert fancy SQL call here". I KNOW we have

> code that was being worked on as I have seen it running, but the developer

> of that system works part-time and won't be back in the office until Monday

> so my day is shot.

>

>

>

> We need a solution that handles VFP and .NET projects. Documents and SQL

> Server code would be good too. In my last company we used Subversion and

> with Tortoise as the front-end and it worked pretty well; however Subversion

> is Apache-based and I know nothing about Apache. I've had too many issues

> with VSS to consider it (plus I think it has been discontinued). I don't

> know much/anything about TFS, can it be used (easily) with VFP projects?

> We're a small (but growing) department, security is not so much an issue -

> we need a solution that is dependable, easy to use and fairly

> low-maintenance.

>

>

>

> It may be an uphill battle to sell it, but the fact I'm spending most of

> today NOT coding should be an indicator that something need to change.

>

>

>

> Thanks in advance,

We use SourceGear's Vault here, Lou. I think there's a free version

too!!!!

--

Mike Babcock, MCP

MB Software Solutions, LLC

President, Chief Software Architect

http://mbsoftwaresolutions.com

http://fabmate.com

http://twitter.com/mbabcock16

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4D4C41DD.6040809@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 MB Software Solutions, LLC
Back to top
Re: VFP and Source control

Author: Fletcher Johnson

Posted: 2011-02-04 13:21:00   Link

Lou,

Ok, some info.

VFP is designed to work with VSS and can do so quite well.  The default way you

use it doesn't work quite right, so I have a work around that solves it.  The

end result is that, within VFP, if I edit or create a form, class, code, etc.,

it is automatically updated to VSS.

I also have or currently use subversion and mercurial (there are others, but I

will reference these 2 as they are most common and representative of the

others.)  Overall, I think that mercurial is a better choice due to the way it

works - especially giving the develop the ability to work with the local

repository to check things in while working without updating the main

repository.

While the other 2 don't integrate, they can be set to effectively work the same

way.  Again, mercurial is better in that you don't need to check out the code

before you work due to the way it manages files.

None do binary files (.scx, .frx, etc.)  When you integrate VSS into VFP, as you

work on the non text type files, it produces a .xxa file that is a textual

version of the file and uses that for diffs, etc.  If you want the same benefit

with mercurial or subversion, I recommend the following approach:

Add code to your project class so that whenever you build a project and it

senses it needs to recompile a .scx, .frx, etc., (which it already does) it also

runs a module that generates a text version of that file (like VSS does.)  You

can use the one built into VFP (just call it manually from the project class) or

one of the others mentioned in other emails.  All that matters is that when you

diff one text file to the other, you can figure out what has really changed.

Now, when you check things in, you check in not only the .scx/.sct, but also the

text file.  If you need to diff one .scx/.sct version against another, ignore

those and diff the text versions instead. 

One issue with the VFP code generator is that if you edit a method, the

resulting change is usually put in a different place in the generated code -

this makes diffing much more difficult.  So I would recommend a 3rd party text

generating tool regardless of the approach you use.

Oh, and I would definately make sure you know where the source code can really

be found.  If only one person knows, you are ill prepared for an unplanned

incident (and that has happened to more companies that you think.)

Good luck,

Fletcher

 

________________________________

From: Lou Syracuse <lous@iconmediadirect.com>

To: profoxtech@leafe.com

Sent: Fri, February 4, 2011 8:24:55 AM

Subject: VFP and Source control

Is anyone using source control with VFP?

I really need to push for something here.  We have source code in at least 3

network locations, on each of the developer machines (including one from a

developer who no longer works here).  I specifically set today aside to

work on converting a reporting program that uses VFP tables to use SQL (we

are upgrading our main application to the vendor's SQL version soon) - but

the only code I can find on the network doesn't have any code - it just says

"data call goes here" or "insert fancy SQL call here".    I KNOW we have

code that was being worked on as I have seen it running, but the developer

of that system works part-time and won't be back in the office until Monday

so my day is shot.

We need a solution that handles VFP and .NET projects.    Documents and SQL

Server code would be good too.    In my last company we used Subversion and

with Tortoise as the front-end and it worked pretty well; however Subversion

is Apache-based and I know nothing about Apache.  I've had too many issues

with VSS to consider it (plus I think it has been discontinued).  I don't

know much/anything about TFS, can it be used (easily) with VFP projects?

We're a small (but growing) department, security is not so much an issue -

we need a solution that is dependable, easy to use and fairly

low-maintenance.

It may be an uphill battle to sell it, but the fact I'm spending most of

today NOT coding should be an indicator that something need to change.

Thanks in advance,

Lou

LouS

--- StripMime Report -- processed MIME parts ---

multipart/related

  multipart/alternative

    text/plain (text body -- kept)

    text/html

  image/jpeg

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message:

http://leafe.com/archives/byMID/profox/01b701cbc488$0f516520$2df42f60$@com

** All postings, unless explicitly stated otherwise, are the opinions of the

author, and do not constitute legal or medical advice. This statement is added

to the messages for those lawyers who are too stupid to see the obvious.

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/388766.70526.qm@web37908.mail.mud.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Fletcher Johnson