[postgis-devel] extras/tiger_geocoder/upgrade_geocoder.bat and CRLF

Regina Obe lr at pcorp.us
Mon Aug 7 11:31:34 PDT 2017


I don't quite understand why this is happening at all.

 

We have in place svnprop that forces these files to have CRLF.

 

We also have in place .gitattributes that if people check out with git also forces bat files to end in CRLF.

 

So why is this a problem?  

 

From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of John Harvey
Sent: Monday, August 07, 2017 12:40 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: Re: [postgis-devel] extras/tiger_geocoder/upgrade_geocoder.bat and CRLF

 

Hello folks,

 

For what it's worth, as an end user, I'd be happy with a transition to git.

 

I can think of one other option, although it's a little messier.  There could be a CI job that detects and corrects these situations when they occur.  I don't think it would be that painful to set up, although the downside to such a thing is that it basically continues the back-and-forth model that strk referenced.

 

It's worth noting that since this situation has occurred, it's causing some of my builds that use the git repo to fail.  Currently, "git clone" followed by "git checkout" does not work due to the famous "files would be overwritten by checkout" error.  For now, I can get around it with "git checkout --force", but it's worth noting that there could be other users similarly affected.

 

Regards,

  -John

 

On Sun, Aug 6, 2017 at 8:47 PM, Paul Ramsey <pramsey at cleverelephant.ca <mailto:pramsey at cleverelephant.ca> > wrote:

I'm open to just switching to github. Year zero, all that.

P.

 

On Sun, Aug 6, 2017 at 3:41 PM, Sandro Santilli <strk at kbt.io <mailto:strk at kbt.io> > wrote:

On Sun, Aug 06, 2017 at 03:04:36PM -0700, Paul Ramsey wrote:
> We do need the CRLF for .bat files or they won't execute on windows, which
> is the whole point of them. How to fix the back'n'forth problem is
> something I don't know the magic for...

I think it's something about svnprop. Mateusz should know.
I'm too lazy to learn SVN nowadays, how about switching repo to GIT
like it was done for GEOS ? (code under GIT, tickets in trac) -
are we ready now ?


--strk;
_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/postgis-devel

 


_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/postgis-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20170807/d72da5ac/attachment.html>


More information about the postgis-devel mailing list