Ticket already opened, as per Radim suggestion. Is there anybody planning to implement this soon, or should I start copying the new icons? Thanks. --- http://faunalia.it/pc
----- Reply message ----- Da: "Alex Mandel" <tech_...@wildintellect.com> Data: mar, gen 11, 2011 19:09 Oggetto: [Qgis-developer] symlinks in GRASS plugins A: <qgis-developer@lists.osgeo.org> I think the easiest solution to keep track of in the long run is to simply allow the image file to be defined in the qgm file for a given tool, and default to matching as currently done if none is specified. Radim thought this was also a good approach and asked that a ticket be filed for it (sounded like he might implement it). Thanks, Alex On 01/11/2011 06:09 AM, cavall...@faunalia.it wrote: > Thanks. What is the advantage of this approach respect to simply copying it? > All the best. > --- > http://faunalia.it/pc > > ----- Reply message ----- > Da: "Maciej Sieczka" <msiec...@sieczka.org> > Data: lun, gen 10, 2011 20:36 > Oggetto: [Qgis-developer] symlinks in GRASS plugins > A: "qgis-developer" <qgis-developer@lists.osgeo.org>, "Paolo Cavallini" > <cavall...@faunalia.it> > > W dniu 09.01.2011 11:16, Paolo Cavallini pisze: > >> In the GRASS plugin there are tens of repeated icons. I would like to >> replace them with symlinks, to keep everything more tidy. In principle >> this should work: >> http://www.rekk.de/bloggy/2008/versioning-symlinks-with-subversion-on-linux/ >> but in practice it does not: >> https://trac.osgeo.org/qgis/changeset/15006/trunk >> I replaced v.in.gns.?.* with links, but the module do not see them. >> I do not know if: >> - the method does not work (unlikely) >> - I did something wrong >> - the GRASS plugin requires the image, and does not accept a link. > > Hi Paolo, > > Maybe a file external instead? SVN >= 1.6 is needed. An example: > > ### CREATE THE FILE ### > > $ echo 'file1 content' > repo_wc/file_1.txt > > $ svn add repo_wc/file_1.txt > A repo_wc/file_1.txt > > $ svn ci repo_wc/file_1.txt -m 'adding file_1.txt to version control' > Adding repo_wc/file_1.txt > Transmitting file data . > Committed revision 1. > > ### LINK IT ### > > $ svn up repo_wc/ > At revision 1. > > $ svn propset svn:externals 'file_2.txt > file:///home/pok/repo/file_1.txt' repo_wc/ > property 'svn:externals' set on 'repo_wc' > > $ svn ci repo_wc/ -m 'file_2.txt is a copy of file_1.txt' > Sending repo_wc > Committed revision 2. > > $ svn up repo_wc/ > Fetching external item into 'repo_wc/file_2.txt' > E repo_wc/file_2.txt > Updated external to revision 2. > Updated to revision 2. > > ### BOTH FILES ARE NOW THERE AND HAVE THE SAME CONTENT ### > > $ ls -l repo_wc/ > total 8 > -rw-r--r-- 1 pok pok 14 Jan 10 20:23 file_1.txt > -rw-r--r-- 1 pok pok 14 Jan 10 20:24 file_2.txt > > $ cat repo_wc/* > file1 content > file1 content > > Maciek _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer