Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Is it possible to integrate into the VFP IDE like we used to do with Visual SourceSafe, where everything was so easy to check out/in and diff?
On 2016-06-09 03:31, Fernando D. Bozzo wrote:
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Hi:
Yes, it is possible to use it with SourceSafe, but in this case you have the limitation on the SourceSafe side, because you can't work with branches like you do in git or any other DVCS system.
Look at the VFPx help in the link I've provided (at the bottom there are more links to the help) and you will find how to configure it for using with VSS (you have to change the FoxBin2Prg extensions from xx2 to xxa to make it VSS compatible.
Remember to configure foxbin2prg.EXE inside VFP Options, in the same place that it is scctext.prg now, and use the whole zip contents, not just the EXE, because it uses some other related tools (all VFP), like Filename_Caps.exe to adjust filename capitalizations.
Feel free to ask any doubt about it,
Best Regards.-
2016-06-09 21:37 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
Is it possible to integrate into the VFP IDE like we used to do with Visual SourceSafe, where everything was so easy to check out/in and diff?
On 2016-06-09 03:31, Fernando D. Bozzo wrote:
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Fernando D. Bozzo wrote on 2016-06-09:
Hi:
Yes, it is possible to use it with SourceSafe, but in this case you have the limitation on the SourceSafe side, because you can't work with
branches
like you do in git or any other DVCS system.
Look at the VFPx help in the link I've provided (at the bottom there are more links to the help) and you will find how to configure it for using with VSS (you have to change the FoxBin2Prg extensions from xx2 to xxa to make it VSS compatible.
Remember to configure foxbin2prg.EXE inside VFP Options, in the same
place
that it is scctext.prg now, and use the whole zip contents, not just the EXE, because it uses some other related tools (all VFP), like Filename_Caps.exe to adjust filename capitalizations.
Feel free to ask any doubt about it,
Best Regards.-
2016-06-09 21:37 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
Is it possible to integrate into the VFP IDE like we used to do with Visual SourceSafe, where everything was so easy to check out/in and diff?
Brought up the question if there is a MSSCCI complaint git plug in. VFP should be able to use these. I found two in my search. A limited one, http://www.pbsoftware.com/index.php/products/powerbuilder-git-msscci-provide r/ and one that will be for purchase, http://www.pushok.com/software/git.html
Tracy Pearson PowerChurch Software
Yes, there are some options available for MSSCCI interface, but in this case, isn't better to use directly DVCS tools to get the full experience of working with Source Control? like git (there are some git-ides) or PlasticSCM (commercial DVCS, the best I know of)
There are too VFPx projects for working with git (and FoxBin2Prg for convertion):
One is "Bin2Text", from Lutz Scheffler: http://vfpx.codeplex.com/wikipage?title=Bin%202%20Text%20Extension&refer...
The other is "VFP git utils", from Mike Potjer: https://github.com/mikepotjer/vfp-git-utils
Fernando D. Bozzo
2016-06-09 22:00 GMT+02:00 Tracy Pearson tracy@powerchurch.com:
Fernando D. Bozzo wrote on 2016-06-09:
Hi:
Yes, it is possible to use it with SourceSafe, but in this case you have the limitation on the SourceSafe side, because you can't work with
branches
like you do in git or any other DVCS system.
Look at the VFPx help in the link I've provided (at the bottom there are more links to the help) and you will find how to configure it for using with VSS (you have to change the FoxBin2Prg extensions from xx2 to xxa
to
make it VSS compatible.
Remember to configure foxbin2prg.EXE inside VFP Options, in the same
place
that it is scctext.prg now, and use the whole zip contents, not just the EXE, because it uses some other related tools (all VFP), like Filename_Caps.exe to adjust filename capitalizations.
Feel free to ask any doubt about it,
Best Regards.-
2016-06-09 21:37 GMT+02:00 <mbsoftwaresolutions@mbsoftwaresolutions.com :
Is it possible to integrate into the VFP IDE like we used to do with Visual SourceSafe, where everything was so easy to check out/in and
diff?
Brought up the question if there is a MSSCCI complaint git plug in. VFP should be able to use these. I found two in my search. A limited one,
http://www.pbsoftware.com/index.php/products/powerbuilder-git-msscci-provide r/ and one that will be for purchase, http://www.pushok.com/software/git.html
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
On 2016-06-09 16:10, Fernando D. Bozzo wrote:
Yes, there are some options available for MSSCCI interface, but in this case, isn't better to use directly DVCS tools to get the full experience of working with Source Control? like git (there are some git-ides) or PlasticSCM (commercial DVCS, the best I know of)
There are too VFPx projects for working with git (and FoxBin2Prg for convertion):
One is "Bin2Text", from Lutz Scheffler: http://vfpx.codeplex.com/wikipage?title=Bin%202%20Text%20Extension&refer...
The other is "VFP git utils", from Mike Potjer: https://github.com/mikepotjer/vfp-git-utils
I've worked with VSS plugged in directly to the VFP IDE, and I've worked with SourceGear's Vault where it wasn't integrated into the VFP IDE. I must say that I like the IDE integration better.
The IDE integration something comfortable, but normally this kind of use is for the legacy way of working with SCM tools like VSS.
If you want to get the best of a DVCS tool for working with a team and use the more modern "branch by task", like git does, then you need to forget about the integration because you are going to switch between branches, and believe me, once you start working this way, you don't want to go back.
An common example of this "branch per task" is a bug fix:
- You are working on the "main/new-feature-A" branch, and you get notified that there is an error in production that must be fixed quickly
- You check-in your changes to a personal sub-branch to continue later then create a branch named "main/hotfix-B" and do the code fixing. Once you get it working, you integrate your code in /main and reintegrate the same fix in your previous work-branch "main/new-feature-A", so you have the latest fix
- Finally, /main goes to production again, containing only the fix and you change again to your work-branch "main/new-feature-A" to continue with your feature for the next release
This is a simple case, but as you can see, this is something not doable with the legacy integration mode of working. At least not without some option that allows you to switch branches.
The importance of "visualizing" the branches in the SCM/DVCS tool is because you need to get "a picture" of where are you and what are you going to do with the code. It's not more a "checkin" and forget.
2016-06-10 18:04 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
I've worked with VSS plugged in directly to the VFP IDE, and I've worked with SourceGear's Vault where it wasn't integrated into the VFP IDE. I must say that I like the IDE integration better.
http://leafe.com/reportAbuse/8ed47526ff051200d43b9d4dd9ee61d0@mbsoftwaresolutions.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
On 2016-06-10 14:31, Fernando D. Bozzo wrote:
The IDE integration something comfortable, but normally this kind of use is for the legacy way of working with SCM tools like VSS.
If you want to get the best of a DVCS tool for working with a team and use the more modern "branch by task", like git does, then you need to forget about the integration because you are going to switch between branches, and believe me, once you start working this way, you don't want to go back.
An common example of this "branch per task" is a bug fix:
- You are working on the "main/new-feature-A" branch, and you get
notified that there is an error in production that must be fixed quickly
- You check-in your changes to a personal sub-branch to continue later
then create a branch named "main/hotfix-B" and do the code fixing. Once you get it working, you integrate your code in /main and reintegrate the same fix in your previous work-branch "main/new-feature-A", so you have the latest fix
- Finally, /main goes to production again, containing only the fix and
you change again to your work-branch "main/new-feature-A" to continue with your feature for the next release
This is a simple case, but as you can see, this is something not doable with the legacy integration mode of working. At least not without some option that allows you to switch branches.
The importance of "visualizing" the branches in the SCM/DVCS tool is because you need to get "a picture" of where are you and what are you going to do with the code. It's not more a "checkin" and forget.
Excellent example...thanks!
When I wrote the SourceSafe book, I was very interested in learning about the SCC API and whether there might be ways to improve it. Microsoft has it locked up, and requires some NDAs and licensing terms that I was not comfortable signing up for. That was 2001. By now, perhaps their stance has changed, especially since that's likely a legacy API.
On Thu, Jun 9, 2016 at 4:00 PM, Tracy Pearson tracy@powerchurch.com wrote:
Fernando D. Bozzo wrote on 2016-06-09:
Hi:
Yes, it is possible to use it with SourceSafe, but in this case you have the limitation on the SourceSafe side, because you can't work with
branches
like you do in git or any other DVCS system.
Look at the VFPx help in the link I've provided (at the bottom there are more links to the help) and you will find how to configure it for using with VSS (you have to change the FoxBin2Prg extensions from xx2 to xxa to make it VSS compatible.
Remember to configure foxbin2prg.EXE inside VFP Options, in the same
place
that it is scctext.prg now, and use the whole zip contents, not just the EXE, because it uses some other related tools (all VFP), like Filename_Caps.exe to adjust filename capitalizations.
Feel free to ask any doubt about it,
Best Regards.-
2016-06-09 21:37 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
Is it possible to integrate into the VFP IDE like we used to do with Visual SourceSafe, where everything was so easy to check out/in and diff?
Brought up the question if there is a MSSCCI complaint git plug in. VFP should be able to use these. I found two in my search. A limited one, http://www.pbsoftware.com/index.php/products/powerbuilder-git-msscci-provide r/ and one that will be for purchase, http://www.pushok.com/software/git.html
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
On Thu, 9 Jun 2016, at 09:17 PM, Ted Roche wrote:
When I wrote the SourceSafe book, I was very interested in learning about the SCC API and whether there might be ways to improve it. Microsoft has it locked up, and requires some NDAs and licensing terms that I was not comfortable signing up for. That was 2001. By now, perhaps their stance has changed, especially since that's likely a legacy API.
Visual Studio Team Services Team Foundation Server would be the descendants of VSS and those are based on REAT, OAuth, JSON and so on, with a full REST API.
No, that's not what I meant. I didn't mean to use it WITH VSS, I thought it was a dropin kind of replacement but in re-reading all this, it's not the DVCS system; it's just a way to make flat files (instead of binary files) for ease in comparisons....correct?
On 2016-06-09 15:42, Fernando D. Bozzo wrote:
Hi:
Yes, it is possible to use it with SourceSafe, but in this case you have the limitation on the SourceSafe side, because you can't work with branches like you do in git or any other DVCS system.
Look at the VFPx help in the link I've provided (at the bottom there are more links to the help) and you will find how to configure it for using with VSS (you have to change the FoxBin2Prg extensions from xx2 to xxa to make it VSS compatible.
Remember to configure foxbin2prg.EXE inside VFP Options, in the same place that it is scctext.prg now, and use the whole zip contents, not just the EXE, because it uses some other related tools (all VFP), like Filename_Caps.exe to adjust filename capitalizations.
Feel free to ask any doubt about it,
Best Regards.-
2016-06-09 21:37 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
Is it possible to integrate into the VFP IDE like we used to do with Visual SourceSafe, where everything was so easy to check out/in and diff?
On 2016-06-09 03:31, Fernando D. Bozzo wrote:
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Well, don't know if I'm understanding well the "dropin" option you mention, but it is just the conversor component that replaces scctext.prg, and there are many ways you can use it, depending on what do you need or want to do:
1) You can drop binary or text files (scx, vcx, etc, or sc2, tx2, etc) into foxbin2prg.exe (just 1 by 1 file) => This is not too practical
2) You can make a "Send To" shortcut for foxbin2prg.exe (with some needed parameters), so you just right-click the file (binary or text) and "Send to" foxbin2prg.exe shortcut (just 1 by 1 file) => The easy way
3) You can run it from VFP command line with DO foxbin2prg.exe WITH <bin-or-text-file> (in this case you can use file mask like *.scx)
4) You can use foxbin2prg as an object and use the defined API for integrating it in your own tool => This is wat some devs used to make VFP-git integration (both git projects are referenced in VFPx)
5) You can do the previuos options with a directory, so all contained files are converted (foxbin2prg asks what convertion type you want to do)
So, as you see, there are many ways to use it, even in your own utility programs, and to ask your final question: Yes, the text-generation (PRG-like) is for easy comparisons AND for merging, because when you merge this files, you can regenerate the binaries.
2016-06-10 18:03 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
No, that's not what I meant. I didn't mean to use it WITH VSS, I thought it was a dropin kind of replacement but in re-reading all this, it's not the DVCS system; it's just a way to make flat files (instead of binary files) for ease in comparisons....correct?
On 2016-06-09 15:42, Fernando D. Bozzo wrote:
Hi:
Yes, it is possible to use it with SourceSafe, but in this case you have the limitation on the SourceSafe side, because you can't work with branches like you do in git or any other DVCS system.
Look at the VFPx help in the link I've provided (at the bottom there are more links to the help) and you will find how to configure it for using with VSS (you have to change the FoxBin2Prg extensions from xx2 to xxa to make it VSS compatible.
Remember to configure foxbin2prg.EXE inside VFP Options, in the same place that it is scctext.prg now, and use the whole zip contents, not just the EXE, because it uses some other related tools (all VFP), like Filename_Caps.exe to adjust filename capitalizations.
Feel free to ask any doubt about it,
Best Regards.-
2016-06-09 21:37 GMT+02:00 mbsoftwaresolutions@mbsoftwaresolutions.com:
Is it possible to integrate into the VFP IDE like we used to do with
Visual SourceSafe, where everything was so easy to check out/in and diff?
On 2016-06-09 03:31, Fernando D. Bozzo wrote:
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
3) - If you set it as the text generation tool in your VFP options you can also use DO (_scctext) WITH <binary source file>. I have an intellisense shortcut (DMT) that expands to that.
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Friday, June 10, 2016 2:13 PM To: profoxtech@leafe.com Subject: Re: New FoxBin2Prg v1.19.47 is out!
Well, don't know if I'm understanding well the "dropin" option you mention, but it is just the conversor component that replaces scctext.prg, and there are many ways you can use it, depending on what do you need or want to do:
1) You can drop binary or text files (scx, vcx, etc, or sc2, tx2, etc) into foxbin2prg.exe (just 1 by 1 file) => This is not too practical
2) You can make a "Send To" shortcut for foxbin2prg.exe (with some needed parameters), so you just right-click the file (binary or text) and "Send to" foxbin2prg.exe shortcut (just 1 by 1 file) => The easy way
3) You can run it from VFP command line with DO foxbin2prg.exe WITH <bin-or-text-file> (in this case you can use file mask like *.scx)
4) You can use foxbin2prg as an object and use the defined API for integrating it in your own tool => This is wat some devs used to make VFP-git integration (both git projects are referenced in VFPx)
5) You can do the previuos options with a directory, so all contained files are converted (foxbin2prg asks what convertion type you want to do)
So, as you see, there are many ways to use it, even in your own utility programs, and to ask your final question: Yes, the text-generation (PRG-like) is for easy comparisons AND for merging, because when you merge this files, you can regenerate the binaries.
Wow, thanks Richard! Didn't know that a _scctext system variable existed!
I suppose that this is what VSS integration use then, when calling the conversor. I just did know the VFP options place to replace scctext.prg with any other program, but not this variable.
2016-06-10 20:24 GMT+02:00 Richard Kaye rkaye@invaluable.com:
- If you set it as the text generation tool in your VFP options you can
also use DO (_scctext) WITH <binary source file>. I have an intellisense shortcut (DMT) that expands to that.
--
rk
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
You're welcome, Fernando. I've been using the VFPx scctextx.prg for a long time and I will often want to do an ad-hoc comparison of a form or class library so I use this quite often to generate the text files for comparison. I also use a text comparison tool from Araxis called Merge and it has a COM interface so I can automate it right from VFP. Gen the files to compare and then pass them to the Merge COM object. If it finds differences it brings up the UI. If not, I just pop up a messagebox with a notification and clean up.
Checking out FoxBin2Prg in a meaningful way has been on my list for a long time but finding enough time to play with it and then determine how to change my current working dev environment has not been something I can justify. Some day... Maybe Mike P's GIT integration tools will grease the skids... :-)
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Friday, June 10, 2016 2:37 PM To: profoxtech@leafe.com Subject: Re: New FoxBin2Prg v1.19.47 is out!
Wow, thanks Richard! Didn't know that a _scctext system variable existed!
I suppose that this is what VSS integration use then, when calling the conversor. I just did know the VFP options place to replace scctext.prg with any other program, but not this variable.
2016-06-10 20:24 GMT+02:00 Richard Kaye rkaye@invaluable.com:
- If you set it as the text generation tool in your VFP options you can
also use DO (_scctext) WITH <binary source file>. I have an intellisense shortcut (DMT) that expands to that.
--
rk
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
Hi Fernando,
I think I've found a good test case for converting a VCX to text, modifying that text and then saving back to the VCX. I know you've provided some documentation on this workflow and I'm going to take a stroll through it now. :-)
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Thursday, June 09, 2016 3:31 AM To: profoxtech@leafe.com Subject: New FoxBin2Prg v1.19.47 is out!
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
This appears to have worked well, Fernando. :-)
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Richard Kaye Sent: Monday, June 20, 2016 1:49 PM To: profoxtech@leafe.com Subject: RE: New FoxBin2Prg v1.19.47 is out!
Hi Fernando,
I think I've found a good test case for converting a VCX to text, modifying that text and then saving back to the VCX. I know you've provided some documentation on this workflow and I'm going to take a stroll through it now. :-)
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Thursday, June 09, 2016 3:31 AM To: profoxtech@leafe.com Subject: New FoxBin2Prg v1.19.47 is out!
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
I'm glad it served you Richard :-)
If any doubts, just ask ;-)
2016-06-20 20:47 GMT+02:00 Richard Kaye rkaye@invaluable.com:
This appears to have worked well, Fernando. :-)
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Richard Kaye Sent: Monday, June 20, 2016 1:49 PM To: profoxtech@leafe.com Subject: RE: New FoxBin2Prg v1.19.47 is out!
Hi Fernando,
I think I've found a good test case for converting a VCX to text, modifying that text and then saving back to the VCX. I know you've provided some documentation on this workflow and I'm going to take a stroll through it now. :-)
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Thursday, June 09, 2016 3:31 AM To: profoxtech@leafe.com Subject: New FoxBin2Prg v1.19.47 is out!
Hi everybody:
Just want you to know that there is a new version of this bidirectional bin<->text tool with some fixes and new features, like the import of DB2 data into DBFs and some new API methods:
https://vfpx.codeplex.com/wikipage?title=FoxBin2Prg https://vfpx.codeplex.com:443/wikipage?title=FoxBin2Prg
You can use it alone, or with any Source Control tool, Diff tools or text editors.
Best Regards!
Fernando D. Bozzo
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]