You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/06/20 17:04:13 UTC
[whimsy] branch master updated (b3b47cc -> d78214a)
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git.
from b3b47cc handle multiple private sections and allow lines that exceed 80 columns only due to containing HTML entities.
new cc35970 more long line tweaks
new d78214a follow where the board commits are being sent
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
DEPLOYMENT.md | 2 +-
www/board/agenda/views/pages/report.js.rb | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].
[whimsy] 02/02: follow where the board commits are being sent
Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit d78214ade9fbf06ff717c0606b598124304ed06d
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Jun 20 13:03:53 2017 -0400
follow where the board commits are being sent
---
DEPLOYMENT.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
index 8dd6366..3d470bc 100644
--- a/DEPLOYMENT.md
+++ b/DEPLOYMENT.md
@@ -95,7 +95,7 @@ and running - these are only needed for a new deployment.
This is done by updating [crontab_apmail](https://svn.apache.org/repos/infra/infrastructure/apmail/trunk/crontab_apmail.txt); then follow the instructions there.
* Add the following mail subscriptions:
- * Subscribe `svnupdate@whimsy-vm4.apache.org` to `board@apache.org`.
+ * Subscribe `svnupdate@whimsy-vm4.apache.org` to `board-commits@apache.org`.
Alternately, add it to the `board-cvs` alias.
* Subscribe `svnupdate@whimsy-vm4.apache.org` to
`committers-cvs@apache.org`.
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.
[whimsy] 01/02: more long line tweaks
Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit cc35970f05c691d4fc6aec7a2c6102ee62f7a820
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Jun 20 12:56:12 2017 -0400
more long line tweaks
---
www/board/agenda/views/pages/report.js.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/board/agenda/views/pages/report.js.rb b/www/board/agenda/views/pages/report.js.rb
index 23763dd..8b4f105 100644
--- a/www/board/agenda/views/pages/report.js.rb
+++ b/www/board/agenda/views/pages/report.js.rb
@@ -96,10 +96,10 @@ class Report < React
return text.gsub 'TODO', '<span class="missing">TODO</span>'
end
- # Break long lines
+ # Break long lines, treating HTML Entities (like &) as one character
def linebreak(text)
# find long, breakable lines
- regex = Regexp.new(/.{80}.+/, 'g')
+ regex = Regexp.new(/(\&\w+;|.){80}.+/, 'g')
result = nil
indicies = [];
while result = regex.exec(text)
@@ -107,7 +107,7 @@ class Report < React
break if line.gsub(/\&\w+;/, '.').length < 80
lastspace = /^.*\s\S/.exec(line)
- if lastspace and lastspace[0].length - 1 > 40
+ if lastspace and lastspace[0].gsub(/\&\w+;/, '.').length - 1 > 40
indicies.unshift([line, result.index])
end
end
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.