<div>Hi!</div><div><br /></div><div><br /></div><div>( I write this on mobile phone... I carefully read all, but should write short answer)</div><div><br /></div><div><br /></div><div>> <span style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">if Windows tar supports it. :)</span></div><div><span style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><br /></span></div><div><span style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> Best use 7z.exe. Even for creating .tar.</span></div><div><span style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><br /></span></div><div>==</div><div><blockquote><div dir="ltr"><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><div>Please, avoid any type of using LAN/WAN/Internet access ( "downloading")  in .msi / .deb.</div><div><br /></div><div>Good point, though the .tgz provide that.</div></div></div></blockquote></div><div>==</div><div><br /></div><div>  </div><div>   Installing by .msi prepare PATH environment variable etc.</div><div>Tar.exe have not this functional.</div><div><br /></div><div>(</div><div> </div><div><br /></div><div>  In fact, variant of .msi with all .dll and .pkg but with carefully striped compiler ( cm3.exe and Co) is more usefull.</div><div><br /></div><div>)</div><div><br /></div><div><br /></div><div><br /></div><div>==</div><div><blockquote><div dir="ltr"><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><div>There's just too many archives for beginners to ponder.</div><div><br /></div></div></div></blockquote></div><div>==</div><div><br /></div><div> Yes, I remember 2009 year...</div><div><br /></div><div>==</div><div><blockquote><div dir="ltr"><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">And experts build their own. </div></div></blockquote></div><div>==</div><div> +</div><div>==</div><div><blockquote><div dir="ltr"><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">You can just extract where yo wish.</div></div></blockquote></div><div><div dir="ltr"><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">==</div><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"><br /></div><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> Yes, I can, but...</div><div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt"> </div></div></div><div>How about "green world" and "saving trees"?</div><div><br /></div><div>Multiple using of "v220 of electrical energy" to 245 users of Modula-3 for Win/ReactOs...</div><div><br /></div><div> I think, we need produce .7z instead of .zip.</div><div>We need place .pdb in separate archive ( in "symbolic.7z).</div><div>We should have mklib.exe in cm3-min*.*.</div><div><br /></div><div> Oh, I forgot about xDelta.exe.</div><div>It's "binary diff" ( and "binary patch.exe")</div><div><br /></div><div>My mistake: we can create relative small .xd files:</div><div>1) cm3-min ( in .tar or even .iso) to .msi</div><div>2) cm3-min to cm3-all</div><div>3) cm3-all to "complete .msi"</div><div><br /></div><div> I think only N2 produced usefull i.e. small .xd, </div><div>but even this is good result.</div><div><br /></div><div><br /></div><div>Best regards, Victor Miasnikov</div><div><br /></div><div><br /></div><div><br /></div><div>14.03.2021, 11:52, "Jay K" <jayk123@hotmail.com>:</div><blockquote><div dir="ltr">
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">
"Eliminate" in this case would mean, "stop producing" and uploading.
<div>Not "delete whatever is out there"</div>
<div>nor likely "Delete the code that does it".</div>
<div> (see make-dist.py and pylib.py)</div>
<div><br />
</div>
<div>I forgot to say, the pdbs don't add too much size</div>
<div>to the download, at least. Thus combining the archives, perhaps.</div>
<div><br />
</div>
<div>The reason I shy away from xz/lzma though,</div>
<div>is that they are much slower to produce</div>
<div>and are slower and use memory to decompress.</div>
<div><br />
</div>
<div>So much of the production is just to test and throw away also.</div>
<div> At least until we have a decent CI pipeline.</div>
<div><br />
</div>
<div>The decompression does seem fast on modern hardware</div>
<div>but I read that OpenBSD sticks to gzip for its</div>
<div>efficiency esp. on old hardware. And I just checked,</div>
<div>they still use .tgz.</div>
<div><br />
</div>
<div>But I can try. Esp. if Windows tar supports it. :)</div>
<div><br />
</div>
<div>I like .pdb in bin because debuggers find them most</div>
<div>easily when they are next to the code, at least for non-remote debugging.</div>
<div>I know they can look elsewhere.</div>
<div><br />
</div>
<div>Perhaps bickering over placement is well resolved</div>
<div>by the separate download? You can just extract where yo wish.</div>
<div><br />
</div>
<div>I don't know.</div>
<div>As I said, debugging is too important, to use strip.</div>
<div>But building your own isn't horribly difficult. Arguable.</div>
<div><br />
</div>
<div>There's just too many archives for beginners to ponder.</div>
<div>And experts build their own. Perhaps.</div>
<div><br />
</div>
<div>I am reminded of Eclipse, which is confusing to install.</div>
<div>Too many choices.</div>
<div><br />
</div>
<div>> Please, avoid any type of using LAN/WAN/Internet access ( "downloading")  in .msi / .deb.</div>
<div><br />
</div>
<div>Good point, though the .tgz provide that.</div>
<div><br />
</div>
<div>Long ago the release was split into not just min and all, but some variety.</div>
<div>I find that also gets confusing which is why I reduced it to just min and all.</div>
<div>Perhaps I was lazy in reimplementing the packages, perhaps.</div>
<div>(You see, I wrote none of the .sh, but all of the .py, including make-dist.py).</div>
<div><br />
</div>
<div>More important is presumably to setup GitHub actions.</div>
<div>Currently this stuff is insufficiently automated.</div>
<div><br />
</div>
<div>If anyone else wants to take on some of this stuff, please do.</div>
<div>I will probably run out of time again soon. :(</div>
<div><br />
</div>
 - Jay<br />
</div>
<div>
<div id="dd8fcbc3886f6beba9d56dd35eeb1be5appendonsend"></div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">
<br />
</div>
<hr style="display:inline-block;width:98%" />
<div id="f2e387f28ef856c18dfa722bbcbb9bfadivRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> <a href="mailto:vvm@tut.by" target="_blank">vvm@tut.by</a> <<a href="mailto:vvm@tut.by" target="_blank">vvm@tut.by</a>><br />
<b>Sent:</b> Sunday, March 14, 2021 8:38 AM<br />
<b>To:</b> Jay K <<a href="mailto:jayk123@hotmail.com" target="_blank">jayk123@hotmail.com</a>>; m3devel <<a href="mailto:m3devel@elegosoft.com" target="_blank">m3devel@elegosoft.com</a>><br />
<b>Subject:</b> Re: [M3devel] packaging formats and sets?</font>
<div> </div>
</div>
<div>
<div>Hi!</div>
<div><br />
</div>
<div><br />
</div>
<div>(</div>
<div><br />
</div>
<div>eliminate eq "completely remove"</div>
<div>and(or) "destroy"?</div>
<div><br />
</div>
<div>)</div>
<div><br />
</div>
<div><br />
</div>
<div>
<blockquote>
<div dir="ltr">
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">
<div> 1. Eliminate "min"?</div>
<div>  2. Combine symbols with binaries?</div>
<div>  3. Consider eliminating deb and msi?</div>
<div>     I realize they are pretty nice to have though.</div>
<div>     It might also be easy enough..would require some research to</div>
<div>     make a very small .msi that downloads the all.tgz or something.</div>
<div>     I put together the .msi and .deb very trivially.</div>
<div>  4. Consider replacing tgz with tar.xz or similar.</div>
</div>
</div>
</blockquote>
</div>
<div><br />
</div>
<div><br />
</div>
<div>  Important first:</div>
<div><br />
</div>
<div>z)  Yes, please replace .tar.gzip to .tar.xz.</div>
<div>.xz has a smaller size.</div>
<div><br />
</div>
<div>z) It's better replace zip to 7Zip ( .zip to .7z).</div>
<div><br />
</div>
<div>y) Please, avoid any type of using LAN/WAN/Internet access ( "downloading")  in .msi / .deb.</div>
<div>We must have possibility of full __offline__ installation of M3 in DMZ or equal environment. By security reasons.</div>
<div><br />
</div>
<div><br />
</div>
<div>3) Avoid "completely destroying" .msi and .deb.</div>
<div>Save both cm3-min and cm3-all variants.</div>
<div><br />
</div>
<div>2) Please, continue storing .pdb separately.</div>
<div>May be best store it with .m3 generated from .m3g.</div>
<div>And don't store .pdb in bin folder.</div>
<div><br />
</div>
<div>Store .pdb in folders that srore in correlated .exe/.dll</div>
<div>I specifically place source code in c:\cm3\src\ before compiling.</div>
<div><br />
</div>
<div>1) cm3-min must contain mklib.exe.</div>
<div>There are usefull both variants of distributies.</div>
<div>I.e. need cm3-min and cm3-all.</div>
<div><br />
</div>
<div>  May be best place cube.exe, games, etc to cm3-examples-binary.7z , but it doesn't principal.</div>
<div><br />
</div>
<div>  Thanks!</div>
<div>Beat regards, Victor Miasnikov</div>
<div><br />
</div>
<div><br />
</div>
<div>14.03.2021, 02:51, "Jay K" <<a href="mailto:jayk123@hotmail.com" target="_blank">jayk123@hotmail.com</a>>:</div>
<blockquote>
<div dir="ltr">
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">
<div>I have a nagging feeling I went overboard here, and the result is too confusing.<br />
</div>
<div><br />
</div>
<div>reference <a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmodula3%2Fcm3%2Freleases%2Ftag%2F20210312&data=04%7C01%7C%7Ca12eade8e7be41366c2d08d8e6c482a9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637513078965611283%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8b6qP59huel6ydZEqJGRrnmrP9%2FjJIDEqQAj4oCWPxE%3D&reserved=0" target="_blank">Release
 20210312 (March 12 2021) · modula3/cm3 (github.com)</a></div>
<div><br />
</div>
<div>For Windows we have roughly:</div>
<div><br />
</div>
<div> cm3-min-win32.zip</div>
<div> cm3-min-win32-symbols.zip </div>
<div> cm3-all-win32.zip  </div>
<div> cm3-all-win32-symbols.zip  </div>
<div> cm3-min-win32.msi </div>
<div> cm3-all-win32.msi </div>
<div> cm3-boot.tgz</div>
<div><br />
</div>
<div>For Unix we have roughly: </div>
<div> </div>
<div> cm3-min-win32.tgz  </div>
<div> cm3-all-win32.tgz  </div>
<div> cm3-min-win32.deb  </div>
<div> cm3-all-win32.deb </div>
<div> cm3-boot.tgz </div>
<div><br />
</div>
<div><br />
</div>
<div>The .deb and .msi files are little more than all.tgz.</div>
<div>The .deb is compressed better, to half the size.</div>
<div>The .msi installs to c:\cm3 (user selectable?) and adds c:\cm3\bin to %PATH%.</div>
<div>Something like that.</div>
<div><br />
</div>
<div>min is just cm3 + mklib + m3core + libm3 + maybe cm3cg (gcc backend) + config files
</div>
<div>all is everything I could build</div>
<div>boot is only enough to build cm3 with minimal dependnecies, i.e. a C toolset</div>
<div>boot is perhaps esoteric but also quite important</div>
<div> It could be augmented easily to build m3core and libm3, it already</div>
<div>  has their source or assembly</div>
<div><br />
</div>
<div>In the 3.6 release there was just boot per target that was assembly source,</div>
<div>and C for m3build I think. (Critical Mass reimplemened quake in Modula-3.)</div>
<div><br />
</div>
<div>Plus the full source release.</div>
<div><br />
</div>
<div>It was good enough then? Or people wants things easier these days?</div>
<div>And there are fewer platforms today so that makes it easier?</div>
<div><br />
</div>
<div>I generally do not strip Unix binaries, as debugging matters too much.</div>
<div><br />
</div>
<div>Current Windows builds, whatever I am running, contain tar, that can create/extract tgz.</div>
<div>I know GUI zip support goes back longer, but there remains no command line zip support.</div>
<div>I have to add a zip from where to create the packages.</div>
<div><br />
</div>
<div>It seems well motivated, but seems like it is too much also.</div>
<div><br />
</div>
<div>Thoughts?</div>
<div><br />
</div>
<div>My thinking drifts towards:</div>
<div>  1. Eliminate "min"?</div>
<div>  2. Combine symbols with binaries?</div>
<div>  3. Consider eliminating deb and msi?</div>
<div>     I realize they are pretty nice to have though.</div>
<div>     It might also be easy enough..would require some research to</div>
<div>     make a very small .msi that downloads the all.tgz or something.</div>
<div>     I put together the .msi and .deb very trivially.</div>
<div>  4. Consider replacing tgz with tar.xz or similar.</div>
<div><br />
</div>
<div>I don't know. As I said, everything has some motivation.</div>
<div>min is much smaller than all, etc.</div>
<div><br />
</div>
 - Jay<br />
</div>
</div>
,
<p style="margin-bottom:0;margin-top:0">_______________________________________________<br />
M3devel mailing list<br />
<a href="mailto:M3devel@elegosoft.com" target="_blank">M3devel@elegosoft.com</a><br />
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fm3lists.elegosoft.com%2Fmailman%2Flistinfo%2Fm3devel&data=04%7C01%7C%7Ca12eade8e7be41366c2d08d8e6c482a9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637513078965621278%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MoiemhR1nUVwsyLJU6ZaP3xqeCMDD%2FNiacG1NEI%2FGfM%3D&reserved=0" target="_blank">https://m3lists.elegosoft.com/mailman/listinfo/m3devel</a><br />
</p>
</blockquote>
</div>
</div>
</div>
</blockquote>