Quantcast

[OSGeo] #874: Translators-Table shows up comments from csv-File

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OSGeo] #874: Translators-Table shows up comments from csv-File

OSGeo
#874: Translators-Table shows up comments from csv-File
---------------------+------------------------------------------------------
 Reporter:  fgdrf    |       Owner:  live-demo@…              
     Type:  task     |      Status:  new                      
 Priority:  normal   |   Milestone:                          
Component:  LiveDVD  |    Keywords:  doc                      
---------------------+------------------------------------------------------
 the Translators table (http://live.osgeo.org/en/sponsors.html) shows a
 comment

 {{{
 # please add the names of all translators
 }}}

 from csv file followed by two empty lines.[[BR]]
 Properly it would be an enhancement to read the csv directly from rst (see
 http://docutils.sourceforge.net/docs/ref/rst/directives.html#csv-table for
 more Details). [[BR]]

 We should update the Wiki-Section at
 http://wiki.osgeo.org/wiki/Live_GIS_Disc#Subversion
 to describe the columns and the procedure how to add a new committer to
 the list(s) - translators and contributors.

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/874>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.

_______________________________________________
Live-demo mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OSGeo] #874: Translators-Table shows up comments from csv-File

OSGeo
#874: Translators-Table shows up comments from csv-File
---------------------+------------------------------------------------------
 Reporter:  fgdrf    |       Owner:  live-demo@…              
     Type:  task     |      Status:  new                      
 Priority:  normal   |   Milestone:                          
Component:  LiveDVD  |    Keywords:  doc                      
---------------------+------------------------------------------------------

Comment(by camerons):

 The commented line mentioned above should be removed by the following
 statement in the doc/Makefile (although it is not seeming to work at the
 moment)


 {{{
 %.rst: %.csv
         # create contributors.rst and translators.rst from csv files
         echo ".. csv-table::" > $@
         echo "" >> $@
         sed -e 's/^ *#.*//' \
           -e "s/^/  /" \
           $< \
           >> $@
 }}}

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/874#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.

_______________________________________________
Live-demo mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OSGeo] #874: Translators-Table shows up comments from csv-File

OSGeo
In reply to this post by OSGeo
#874: Translators-Table shows up comments from csv-File
---------------------+------------------------------------------------------
 Reporter:  fgdrf    |       Owner:  live-demo@…              
     Type:  task     |      Status:  new                      
 Priority:  normal   |   Milestone:                          
Component:  LiveDVD  |    Keywords:  doc                      
---------------------+------------------------------------------------------

Comment(by fgdrf):

 would you agree, that it makes more sense to have native access to the
 csv-table file than generating an rst from csv? IMHO its easier to
 maintain a rst file than the sed script within the makefile, isn't it?

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/874#comment:2>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.

_______________________________________________
Live-demo mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OSGeo] #874: Translators-Table shows up comments from csv-File

OSGeo
In reply to this post by OSGeo
#874: Translators-Table shows up comments from csv-File
---------------------+------------------------------------------------------
 Reporter:  fgdrf    |        Owner:  fgdrf
     Type:  task     |       Status:  closed
 Priority:  normal   |    Milestone:        
Component:  LiveDVD  |   Resolution:  fixed
 Keywords:  doc      |  
---------------------+------------------------------------------------------
Changes (by hamish):

 * cc: live-demo@… (added)


Comment:

 Hi,

 if y'all take ownership of a ticket, please move the mailing list address
 from the "owner" to the "cc" field or else no one will see your & future
 comments (unless they happen to dig deep).


 the comment line from `translators.csv` was present in the final .html
 file because very recently someone checked in a copy of the .csv file
 which had been saved in Unicode format with byte-order mark binary
 characters as the first characters in the .csv file (<EF><BB><BF>). This
 broke the regex which skipped the comment lines (but fwiw with fancier
 regex, or re-removal of BOM, it could have been repaired).

 As the contributor listings tend to get messy, it is desirable to figure a
 way to re-include the header instructions:
 {{{
 contributors.csv:
 # please add the names of everyone with SVN write access to this file
 #  - alphabetical by first name
 #  - remove punctuation from email addresses to stop harvesting for junk
 mail
 }}}
 {{{
 translators.csv:
 # please add the names of all translators
 #  - Order alphabetically by language, then by first name
 #  - remove punctuation from email addresses to stop harvesting for junk
 mail
 }}}


 I have now resumed the nightly doc builds, preview at:
   http://adhoc.osgeo.osuosl.org/livedvd/

 (the header-line bolding is nice, can we make the country code column less
 wide?)


 thanks,
 Hamish

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/874#comment:5>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.

_______________________________________________
Live-demo mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc
Loading...