You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/05 05:59:45 UTC
svn commit: r1864413 - in /comdev/reporter.apache.org/trunk/site/wizard/js:
source/generators.js wizard.js
Author: humbedooh
Date: Mon Aug 5 05:59:45 2019
New Revision: 1864413
URL: http://svn.apache.org/viewvc?rev=1864413&view=rev
Log:
if project is new TLP, note such
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1864413&r1=1864412&r2=1864413&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Mon Aug 5 05:59:45 2019
@@ -76,7 +76,10 @@ function generate_pmc_roster(pdata) {
}
if (!no_added) {
- if (last_added) {
+ if (founded.isBefore(three_months_ago)) {
+ txt += "No new PMC members (project graduated recently).";
+ }
+ else if (last_added) {
txt += "- No new PMC members. Last addition was %s on %s.\n".format(last_added[0], moment(last_added[1]*1000.0).format('YYYY-MM-DD'));
} else {
txt += "- No new PMC members were added.\n";
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864413&r1=1864412&r2=1864413&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Mon Aug 5 05:59:45 2019
@@ -1255,7 +1255,10 @@ function generate_pmc_roster(pdata) {
}
if (!no_added) {
- if (last_added) {
+ if (founded.isBefore(three_months_ago)) {
+ txt += "No new PMC members (project graduated recently).";
+ }
+ else if (last_added) {
txt += "- No new PMC members. Last addition was %s on %s.\n".format(last_added[0], moment(last_added[1]*1000.0).format('YYYY-MM-DD'));
} else {
txt += "- No new PMC members were added.\n";