[postgis-devel] [PostGIS] #1605: Set SVN properties for EOL or MIME type
PostGIS
trac at osgeo.org
Thu Feb 23 02:12:40 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: |
------------------------+---------------------------------------------------
Comment(by mwtoews):
It turns out the original patch file was created with a too old version of
SVN (1.5?). I've replaced the file, and regenerated the patch file using
SVN 1.7.3, which does the trick (`svn patch modify_svn_properties.patch`).
Commands to generate patch were along the lines of the following:
{{{
svn propdel -R svn:mime-type *.sh
find . -iname \*.pl | xargs svn propset svn:eol-type native
find . -iname \*.py | xargs svn propset svn:eol-type native
find . -iname \*.sh | xargs svn propset svn:eol-type native
find . -iname \*-sh | xargs svn propset svn:eol-type native
find . -iname \*.bat | xargs svn propset svn:eol-type CRLF
find . -iname \*.xml | xargs svn propset svn:eol-type native
find . -iname \*.c | xargs svn propset svn:eol-type native
find . -iname \*.h | xargs svn propset svn:eol-type native
find . -iname \*.in | xargs svn propset svn:eol-type native
find . -iname \*.ac | xargs svn propset svn:eol-type native
find . -iname \*.txt | xargs svn propset svn:eol-type native
find . -iname \*.java | xargs svn propset svn:eol-type native
find . -iname \*.sql | xargs svn propset svn:eol-type native
find . -iname \*.wkt | xargs svn propset svn:eol-type native
find . -iname \*.properties | xargs svn propset svn:eol-type native
find . -iname \*.conf | xargs svn propset svn:eol-type native
find . -iname \*.config | xargs svn propset svn:eol-type native
find . -iname \*.prefs | xargs svn propset svn:eol-type native
find . -iname \*.css | xargs svn propset svn:eol-type native
find . -iname \*.m4 | xargs svn propset svn:eol-type native
find . -iname README\* | xargs svn propset svn:eol-type native
find . -iname LICENSE\* | xargs svn propset svn:eol-type native
find . -iname COPYING\* | xargs svn propset svn:eol-type native
find . -iname CREDITS | xargs svn propset svn:eol-type native
find . -iname NEWS | xargs svn propset svn:eol-type native
find . -iname TODO\* | xargs svn propset svn:eol-type native
find . -iname Makefile\* | xargs svn propset svn:eol-type native
find . -iname \*_expected | xargs svn propset svn:eol-type native
propset svn:eol-type native HOWTO_RELEASE MIGRATION STYLE
liblwgeom/lwin_wkt_lex.l liblwgeom/lwin_wkt_parse.y
find . -iname \*.png | xargs svn propset svn:mime-type image/png
find . -iname \*.gif | xargs svn propset svn:mime-type image/gif
find . -iname \*.tif | xargs svn propset svn:mime-type image/tiff
find . -iname \*.svg | xargs svn propset svn:mime-type image/svg+xml
find . -iname \*.ico | xargs svn propset svn:mime-type
image/vnd.microsoft.icon
find . -iname \*.fig | xargs svn propset svn:mime-type image/x-xfig
find . -iname \*.jar | xargs svn propset svn:mime-type application/java-
archive
find . -iname \*.shp | xargs svn propset svn:mime-type application/octet-
stream
find . -iname \*.shp.expected | xargs svn propset svn:mime-type
application/octet-stream
find . -iname \*.dbf | xargs svn propset svn:mime-type application/dbf
find . -iname \*.odt | xargs svn propset svn:mime-type
application/vnd.oasis.opendocument.text
find . -iname \*.pdf | xargs svn propset svn:mime-type application/pdf
find . -iname \*.bat | xargs svn propset svn:executable yes
find . -iname \*.sh | xargs svn propset svn:executable yes
find . -iname \*-sh | xargs svn propset svn:executable yes
find . -iname \*.pl | xargs svn propset svn:executable yes
find . -iname \*.py | xargs svn propset svn:executable yes
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1605#comment:4>
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