# Source Control

**URL:** <https://forum.inductiveautomation.com/t/source-control/1147>\
**Category:** Archived Topics\
**Created:** [May 12, 2009, 3:47pm UTC](https://forum.inductiveautomation.com/t/source-control/1147 "2009-05-12T15:47:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chache](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@chache](https://forum.inductiveautomation.com/u/chache)\
**Post date:** [May 12, 2009, 3:47pm UTC](https://forum.inductiveautomation.com/t/source-control/1147/1 "2009-05-12T15:47:46Z")

</div>

Hi all,  
I’m wondering if there is a way to use a source tracking solution (eg SVN, CVS) for maintaining FPMI projects. Basically we’d like to keep tabs on the scripts/action code over its lifespan. What do you guys do to look after your source?

Thanks,  
Charles

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [May 12, 2009, 3:58pm UTC](https://forum.inductiveautomation.com/t/source-control/1147/2 "2009-05-12T15:58:07Z")

</div>

Because FactoryPMI projects don’t exist as user-readable files in a traditional way, they are somewhat cumbersome to mate with a source control system.

You can:

1. Export projects after save and put them in your own source control system.
2. Simply add the “db” folder under the factorypmi install directory into a source control system like SVN, but you’ll have to manually do a commit in an SVN client in addition to saving in the Designer. It will be somewhat awkward, and the diffs won’t be helpful since the system isn’t versioning text files.

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [May 12, 2009, 10:52pm UTC](https://forum.inductiveautomation.com/t/source-control/1147/3 "2009-05-12T22:52:42Z")

</div>

Have you seen the [Project snapshot](http://www.inductiveautomation.com/products/factorypmi/usermanual/) feature in the Gateway configuration page?

I’ll enter integrated script source control as a feature request - I like the idea. As my own little twist I’ll also add project archival as an option when you save for easy restoration.

---

<div class="post-metadata">

**Author:** ![chache](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@chache](https://forum.inductiveautomation.com/u/chache)\
**Post date:** [May 12, 2009, 11:11pm UTC](https://forum.inductiveautomation.com/t/source-control/1147/4 "2009-05-12T23:11:43Z")

</div>

Thanks for the replies. I have been indeed using the project snapshots, and I’ve been using a textfile on the side as sort of high-level tracking on changes. I suppose it is working out well for me, but I could see that for some large projects this wouldn’t really be feasible.
