Awesome! Thank you! > On Jul 18, 2025, at 1:10 PM, s...@apache.org wrote: > > Author: sebb > Date: Fri Jul 18 20:10:37 2025 > New Revision: 1927326 > > URL: http://svn.apache.org/viewvc?rev=1927326&view=rev > Log: > retired and graduated projects should have end dates > > Modified: > incubator/public/trunk/clutch2.py > > Modified: incubator/public/trunk/clutch2.py > URL: > http://svn.apache.org/viewvc/incubator/public/trunk/clutch2.py?rev=1927326&r1=1927325&r2=1927326&view=diff > ============================================================================== > --- incubator/public/trunk/clutch2.py (original) > +++ incubator/public/trunk/clutch2.py Fri Jul 18 20:10:37 2025 > @@ -353,6 +353,10 @@ for row in dom.getElementsByTagName("pod > resource = row.getAttribute("resource") > > if row.getAttribute("status") == 'graduated': > + if not endDate: > + errorMsg = "{0}: graduated podling does not have > endDate".format(id) > + print("ERROR: ", errorMsg) > + otherIssues.append(errorMsg) > graduatedProjects[resource.lower()] = {'name': name, 'startdate': > startDate, 'enddate': endDate} > # Should have resolution; should not have reporting > if len(row.getElementsByTagName("resolution")) == 0: > @@ -365,6 +369,10 @@ for row in dom.getElementsByTagName("pod > otherIssues.append(errorMsg) > > if row.getAttribute("status") == 'retired': > + if not endDate: > + errorMsg = "{0}: retired podling does not have > endDate".format(id) > + print("ERROR: ", errorMsg) > + otherIssues.append(errorMsg) > retiredProjects[resource.lower()] = {'name': name, 'startdate': > startDate, 'enddate': endDate} > # Should have resolution; should not have reporting > if len(row.getElementsByTagName("resolution")) == 0: > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cvs-unsubscr...@incubator.apache.org > For additional commands, e-mail: cvs-h...@incubator.apache.org >
--------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org For additional commands, e-mail: general-h...@incubator.apache.org