[postgis-devel] [PostGIS] #1605: Set SVN properties for EOL or MIME type

PostGIS trac at osgeo.org
Wed Feb 22 14:57:36 PST 2012


#1605: Set SVN properties for EOL or MIME type
------------------------+---------------------------------------------------
 Reporter:  mwtoews     |       Owner:  chodgson     
     Type:  patch       |      Status:  new          
 Priority:  low         |   Milestone:  PostGIS 2.0.0
Component:  management  |     Version:  trunk        
 Keywords:              |  
------------------------+---------------------------------------------------
 This is an extension to #1598, but modifies other details. Goes through
 the depth of `trunk`.

 Here is a summary of the modifications:

 Set text files to `svn:eol-style native` for:
  * in general: *.txt, *.c, *.h, *.in, *.sql, *.java, *.xml
  * other misc: *.ac, *.properties, *.m4, *.l, *.y, *_expected
  * README*, Makefile*, and others without extensions

 Set text files to `svn:eol-style CRLF` for:
  * *.bat

 Set image MIME types:
  * *.png -> `image/png`
  * *.gif -> `image/gif`
  * *.tif -> `image/tiff`
  * *.svg -> `image/svg+xml`
  * *.ico -> `image/vnd.microsoft.icon`
  * *.fig -> `image/x-xfig`

 Set other binary files:
  * *.jar -> `application/java-archive`
  * *.shp, *.shp.expected -> `application/octet-stream`
  * *.dbf -> `application/dbf`
  * *.odt -> `application/vnd.oasis.opendocument.text`
  * *.pdf -> `application/pdf`

 Other changes:
  * Corrected some odd "application/''octed''-stream" types to ''octet''
  * Removed `svn:mime-type` for *sh files (was `application/x-sh`), as
 these are not binary files
  * Switched the 'yes' (or '*') switch for `svn:executable` (some were 'no'
 or ' ')
  * Made several other *.py, *.sh, *.bat files "executable yes"

 Although the patch only modifies SVN properties (no source changes), the
 subsequent `svn up` command from clients will want to re-download the
 affected files. Please read through patch.

 Also, you can view all properties with `svn proplist -R -v * >
 allproperties`

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1605>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list