How do you manage text file changes and versions? Does anyone currently manage their text file version via a tool like Git?
We do not use the text files too heavily, so we do not have a separate tool like git (although that would be a good idea if you are a heavy TFE user.)
Our process is to make changes on the test environment. if it works, we copy the files to our App Server (we use Citrix, so nobody logs directly into this server). once the changes are verified to work on the APP server, I save the old, working version to a backup folder, and then use a batch file to send the changed files to our 15 Citrix servers.
This is the same proccess for our upgrading to new versions. to recap:
- get files working on test server
- copy files to APP server and verify that CPS still works
- backup old files from a citrix server
- push out all changes via batch file.
Similar to dcarpernter, we don't change ours a lot.
After testing, we rename the original to something like textfile^1.txt in our sync source folder. Our sync job is configured not to remove missing files on the destination, so renaming the original doesn't affect production.
We then copy the new tested file to the sync source folder with the intended filename. Our sync job copies the newly created version file (textfile^1.txt) to the production folders along with the new file.
There's also a way to use a single source network share folder for CCC by editing the userlib.txt file, but the method we use works just fine so we've never had reason to switch.
At my previous job, we used Subversion for Windows to version control all out development, including text files. But Git would work also. If you are just doing text files, SharePoint would even work if you turn versioning on where you store the text files.
We use Tortoise SVN for all of our files. Since we have multiple people working on the same VFE forms, HTML Forms, and SQL reports, it makes life so much easier. The version control is the best part. You are able to go back to previous versions of any form or SQL script without having to create multiple files with different names.