On 9/14/2021 9:26 AM, Jason Kimmet wrote:

(snipped to avoid top-posting)
------------------------------------------------------------------------
*From:* David Chapman <dcchap...@acm.org>
*Sent:* Thursday, September 9, 2021 4:29 PM
*To:* Jason Kimmet <jkim...@allworldmail.com>; users@subversion.apache.org <users@subversion.apache.org>
*Subject:* Re: SVN: PCSWMM Use
On 9/9/2021 1:53 PM, Jason Kimmet wrote:
Subversion Users,

We are working on a large stormwater modeling program where we will be keeping track of a lot of PCSWMM file type models. We are exploring version management options and have come across the SVN community. I understand this is great for text-style files, however, I would like to know if you have seen users utilize this for engineering plans such as PCSWMM?

Many version control systems, Subversion included, work best when the new version of a file looks much the same as the previous version.  Otherwise you could be storing multiple full versions of the files.

Some features of Subversion (like "show lines that changed") aren't available for binary files, but if the changes in a binary file are limited to specific sections, you still get space-saving benefits in the repository; see http://help.collab.net/index.jsp?topic=/faq/svnbinary.html <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhelp.collab.net%2Findex.jsp%3Ftopic%3D%2Ffaq%2Fsvnbinary.html&data=04%7C01%7Cjkimmet%40allworldmail.com%7C0ff1c55f5f0a4b082c3508d973d8e298%7C59b582c195624de2a434b64a585e99be%7C1%7C1%7C637668197637323704%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s%2FpDi4MrtvGm8sAsF0ZyPJTQ0QJNdbMw%2FjFjVAoFm%2BM%3D&reserved=0> and https://svnbook.red-bean.com/en/1.7/svn.forcvs.binary-and-trans.html <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsvnbook.red-bean.com%2Fen%2F1.7%2Fsvn.forcvs.binary-and-trans.html&data=04%7C01%7Cjkimmet%40allworldmail.com%7C0ff1c55f5f0a4b082c3508d973d8e298%7C59b582c195624de2a434b64a585e99be%7C1%7C1%7C637668197637333663%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=C1%2B%2BHu5%2FQzQ4cJW6Fn9ArCS4uBeU4mWUfZF%2BG0%2BYphw%3D&reserved=0> (both links are old, but binary file handling shouldn't be worse now than then).

A quick search didn't tell me anything about the PCSWMM format; how much of a file changes between model runs?  Is it text or binary?  Are the files very large (gigabytes or more)?  Are they inputs to software, or outputs?  Generally it is assumed that output files can be recreated given the full input configuration, so program outputs are often left out of the repository.
--
     David chapmandcchap...@acm.org  <mailto:dcchap...@acm.org>
     Chapman Consulting -- San Jose, CA
     EDA Software Developer, Expert Witness
     www.chapman-consulting-sj.com  
<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.chapman-consulting-sj.com%2F&data=04%7C01%7Cjkimmet%40allworldmail.com%7C0ff1c55f5f0a4b082c3508d973d8e298%7C59b582c195624de2a434b64a585e99be%7C1%7C1%7C637668197637333663%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=JV2Vs3t2okpH3UziGFo7iUQzoRdBxwheToMdIAsTzzk%3D&reserved=0>
     2018-2019 Chair, IEEE Consultants' Network of Silicon Valley

David,

PCSWMM files normally won't exceed 1 gigabyte. Rest of answers:

  * how much of a file changes between model runs?

Really depends … ranging from if perhaps a global model parameter edit is done during an iteration, or just changes to a study area like a detention pond.

  * Are the files text or binary?

Text

  * Are they inputs to software, or outputs?

Input file gets modified during design/analysis by the modeler.


Hopefully, this helps. thanks,

**

*Jason Kimmet*
www.allworldpm.com <https://www.allworldpm.com>


You should be able to use Subversion.  My normal use case is for much smaller files (software source code) but all you need is disk space, and any version control software will have to deal with the differences between file versions.  I presume that users are not typing a gigabyte each time, and that the PCSWMM files are assembled by a tool from other data.  In theory you could store the inputs to whatever tool is generating a particular PCSWMM file version, but that may be too much of a change from your present workflow.

The fact that they are text files is good too.  I work in the semiconductor industry, and the binary files our tools generate (GDS and OASIS format, in case anyone cares) tend to have major differences between versions.  We'd end up storing the entire file each time, even if the files are functionally equivalent - in large part, the formats are order independent, and tool A's ordering convention tends to differ from Tool B's convention.  That is a problem when a chip-level GDS file can be a terabyte in size!

--
    David Chapman      dcchap...@acm.org
    Chapman Consulting -- San Jose, CA
    EDA Software Developer, Expert Witness
    www.chapman-consulting-sj.com
    2018-2019 Chair, IEEE Consultants' Network of Silicon Valley

Reply via email to