<div dir="ltr"><div>Ye ole Line Endings strike again. Thanks to <a class="gmail_plusreply" id="plusReplyChip-0" href="mailto:jmckenna@gatewaygeomatics.com" tabindex="-1">@Jeff McKenna</a> for the PR and GH action to check things!</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 7, 2026 at 9:15 AM Christopher Hughes via GeoMoose-users <<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-8598579614604890473">




<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm assuming it's just an issue on Windows, and that it's dependent on how you've set up git. On my latest installs of git I've just chosen the default options for line endings, which were to convert to CRLF on checkout, and back to LF on commit. </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
On one of my other servers I had it setup to make no changes to line endings - this issue doesn't show up on that server.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="m_-8598579614604890473Signature">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-size:15px;color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)">--</span></div>
<div style="background-color:rgb(255,255,255);margin:0px">
<div style="direction:ltr;text-align:left;margin:0px;font-size:18px;color:rgb(0,0,0)">
Chris Hughes</div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:12.79px;color:rgb(0,0,0)">
<br>
</div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:12.79px;color:rgb(0,0,0)">
GIS Analyst</div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:10px;color:rgb(0,0,0)">
Lincoln County GIS Department </div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:10px;color:rgb(0,0,0)">
<span style="font-family:Roboto,arial,sans-serif">880 NE 7th St</span><span>. l Newport, OR 97365</span></div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:10px;color:rgb(0,0,0)">
Tel: (541) 574 1283</div>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
</div>
<div id="m_-8598579614604890473appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-8598579614604890473divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> GeoMoose-users <<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a>> on behalf of Jim Klassen via GeoMoose-users <<a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a>><br>
<b>Sent:</b> Tuesday, April 7, 2026 6:31 AM<br>
<b>To:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a> <<a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: [GeoMoose-users] Errors building geomoose from source</font>
<div> </div>
</div>
<div>I presume when we upgraded the checker that it now has a default rule about line endings.<br>
<br>
Do we need a .gitattributes file to with something like<br>
<br>
    *.less text eol=lf<br>
<br>
??<br>
<br>
Are we doing sane things with normalizing line endings in the repo or is it a free-for-all?  (Either having git convert them for window or forcing everything to always be LF)?  I'd worry about converting them causing inconsistencies in the builds (in case we
 care), but not converting them causing notepad.exe to fail.<br>
<br>
Off the top of my head, I think the git default is to auto-detect if it think a file is a text file, and if so it will convert line endings on Windows. <br>
<br>
<div>On 4/6/26 8:53 PM, Dan Little via GeoMoose-users wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Let me check on this in the morning. I suspect we got an errant formatting issue... I'm not having the problem locally but I've been juggling a lot of branches.</div>
<br>
<div>
<div dir="ltr">On Mon, Apr 6, 2026 at 1:32 PM Christopher Hughes via GeoMoose-users <<a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I've run into a recent issue building geomoose from source (following the process at
<a href="https://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fdocs.geomoose.org%2f3.x%2fquickstarts%2fdevelop%2don%2dwindows.html&umid=1ed60d5d-3286-11f1-90f3-000d3a366e53&rct=1775568714&auth=dc2ed28abfc38f9dccdc580b0625a9783b471d36-c94480ab5042c1cc51d75acf6ad619e82cdd78cc" id="m_-8598579614604890473x_m_-3575027798693525495OWA3865712c-2824-6742-2ad4-08d5f9683cee" target="_blank">
Developer Quickstart for Windows — GeoMoose documentation</a>). </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
After cloning geomoose and running npm install, npm run build fails at the checking formatting part - it gives me formatting warnings for all the .less files with a comment to run Prettier to fix them, and then aborts. Running prettier on the files with warnings
 fixes the issues, and then npm run build succeeds. Looking at the changed files, it looks like it only changed the line endings.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
This doesn't happen when building on 3.15, only when building on the 3.15-beta.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I was just curious if anyone else has run into this (it might be Windows specific). Running Prettier on the .less files fixes it, but it'd be nice to not have to do that each time.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Chris</div>
<div id="m_-8598579614604890473x_m_-3575027798693525495Signature">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-size:15px;color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">--</span></div>
<div style="background-color:rgb(255,255,255);margin:0px">
<div style="direction:ltr;text-align:left;margin:0px;font-size:18px;color:rgb(0,0,0)">
Chris Hughes</div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:12.79px;color:rgb(0,0,0)">
<br>
</div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:12.79px;color:rgb(0,0,0)">
GIS Analyst</div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:10px;color:rgb(0,0,0)">
Lincoln County GIS Department </div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:10px;color:rgb(0,0,0)">
<span style="font-family:Roboto,arial,sans-serif">880 NE 7th St</span><span>. l Newport, OR 97365</span></div>
<div style="direction:ltr;text-align:left;margin:0px;font-size:10px;color:rgb(0,0,0)">
Tel: (541) 574 1283</div>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
</div>
</div>
_______________________________________________<br>
GeoMoose-users mailing list<br>
<a href="mailto:GeoMoose-users@lists.osgeo.org" target="_blank">GeoMoose-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
</div>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
GeoMoose-users mailing list
<a href="mailto:GeoMoose-users@lists.osgeo.org" target="_blank">GeoMoose-users@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
</blockquote>
<br>
</div>
</div>

_______________________________________________<br>
GeoMoose-users mailing list<br>
<a href="mailto:GeoMoose-users@lists.osgeo.org" target="_blank">GeoMoose-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
</div></blockquote></div>