Re: SVN: PCSWMM Use

2021-09-09 Thread David Chapman

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 and 
https://svnbook.red-bean.com/en/1.7/svn.forcvs.binary-and-trans.html 
(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 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



Re: SVN: PCSWMM Use

2021-09-10 Thread Justin MASSIOT | Zentek
Hi Jason!

David is right, I don't know PCSWMM either and you didn't provide any
information about the *file format* used/generated by this software.
And I second what David says: the way to go is to "version control" the
source files ; we don't care about output files much because generally we
don't want to put them under version control, since we are able to
re-generate all of them from the source files.

If your *source* files are in binary format, then you're in the same
situation as mine: I work everyday with binary files of ~10Mo and
Subversion really works well for that. If you're interested I wrote a blog
article discussing the use of SVN or Git in the Electronic/Mechanical
engineering context

(CAD files).
Unfortunately, with binary files you will generally miss the "diff" feature
which David talked about. Unless your software supports a "file comparison"
feature! Example: Altium Designer (electronic CAD)

Even MS Office files can be diff'ed quite easily

;-)

Hope it helps.

Justin MASSIOT  |  Zentek


On Thu, 9 Sept 2021 at 23:29, David Chapman  wrote:

> 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
> and https://svnbook.red-bean.com/en/1.7/svn.forcvs.binary-and-trans.html
> (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 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
>
>


Re: SVN: PCSWMM Use

2021-09-14 Thread Jason Kimmet
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>


From: David Chapman 
Sent: Thursday, September 9, 2021 4:29 PM
To: Jason Kimmet ; 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 Chapman  dcchap...@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


Re: SVN: PCSWMM Use

2021-09-14 Thread David Chapman

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

(snipped to avoid top-posting)


*From:* David Chapman 
*Sent:* Thursday, September 9, 2021 4:29 PM
*To:* Jason Kimmet ; 
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 f

Re: SVN: PCSWMM Use

2021-10-06 Thread Mark Phippard
On Wed, Oct 6, 2021 at 1:26 PM Jason Kimmet 
wrote:

> What do you recommend as the easiest subversion for experimental purposes?
>
>
If you are on Windows, install TortoiseSVN. Create a repository somewhere
on your local disk and access it via file:// protocol. If all goes well
then you just need to install a server somewhere that you probably would
access via https://

If you have never used SVN then the first 2 chapters of the SVN Book are
highly recommended as an introduction.

https://svnbook.red-bean.com/en/1.7/index.html

The book uses the command line client for everything as opposed to the
TortoiseSVN GUI, but that is the best way to learn. TSVN can install the
command line client as part of its installer.

If you are on MacOS os Linux, then just install the command line client and
try that ... again using a local repository and file:// protocol.

Mark


Re: SVN: PCSWMM Use

2021-10-07 Thread Lorenz
Mark Phippard wrote:

>On Wed, Oct 6, 2021 at 1:26 PM Jason Kimmet 
>wrote:
>
>> What do you recommend as the easiest subversion for experimental purposes?
>>
>>
>If you are on Windows, install TortoiseSVN. Create a repository somewhere
>on your local disk and access it via file:// protocol. If all goes well
>then you just need to install a server somewhere that you probably would
>access via https://
>
>If you have never used SVN then the first 2 chapters of the SVN Book are
>highly recommended as an introduction.
>
>https://svnbook.red-bean.com/en/1.7/index.html

Tortoise SVN comes with a very good online help.
The first chapters are very similar to the SVN book.


>The book uses the command line client for everything as opposed to the
>TortoiseSVN GUI, but that is the best way to learn. TSVN can install the
>command line client as part of its installer.
>
>If you are on MacOS os Linux, then just install the command line client and
>try that ... again using a local repository and file:// protocol.
>
>Mark
-- 

Lorenz