You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@incubator.apache.org by Dave Fisher <wa...@apache.org> on 2025/07/18 20:16:56 UTC
Re: svn commit: r1927326 - /incubator/public/trunk/clutch2.py
Awesome! Thank you!
> On Jul 18, 2025, at 1:10 PM, sebb@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-unsubscribe@incubator.apache.org
> For additional commands, e-mail: cvs-help@incubator.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org