incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Fisher <dave2w...@comcast.net>
Subject Re: board report duplication
Date Sat, 13 Apr 2019 17:43:47 GMT


> On Apr 13, 2019, at 8:48 AM, Sam Ruby <rubys@intertwingly.net> wrote:
> 
> On Sat, Apr 13, 2019 at 7:29 AM Shane Curcuru <asf@shanecurcuru.org> wrote:
>> 
>> Sam Ruby wrote on 4/12/19 9:48 PM:
>>> On Fri, Apr 12, 2019 at 2:42 PM Sam Ruby <rubys@intertwingly.net> wrote:
>>>> 
>>>> 3) Somebody uses the whimsy board agenda tool to update the incubator
>>>> report, and it dutifully strips out the previous report (up to said
>>>> row of dashes) an inserts a new report.
>>> 
>>> Here is the regular expression in question:
>>> 
>>> https://github.com/apache/whimsy/blob/00d8c5d473beae972138e6c1b3bac2633b6ea342/www/board/agenda/views/actions/post.json.rb#L118
>> 
>> Thus, a key short term solution is to never put lines of 40 dashes in
>> the Incubator report, right?
> 
> +1.  Or at least avoid starting a line of dashes in column 1.  Indent
> the dashes and you still have a visual separator without it looking
> like a report separator.

I’ve adjusted https://svn.apache.org/repos/asf/incubator/public/trunk/clutch2report.py so
that the two separators on either side of the Table of Contents start with a “|”. That
way no trimming that might be applied makes trouble. (don’t know if that is so, but I know
that Justin does something about wrapping.)

Next month’s report should be fine and if we go to using Confluence then we should be good.

$ svn diff -r1857448
Index: clutch2report.py
===================================================================
--- clutch2report.py	(revision 1857448)
+++ clutch2report.py	(working copy)
@@ -97,10 +97,10 @@
 
 * Credits
 
-----------------------------------------------------------------------
+|----------------------------------------------------------------------
                        Table of Contents
 {toc}
-----------------------------------------------------------------------
+|----------------------------------------------------------------------
 """
 
 perproject = """

Regards,
Dave

> 
> - Sam Ruby
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message