metadata: Add 'needs_deferral' canned query

Mon, 13 Mar 2023 18:27:00 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 13 Mar 2023 18:27:00 +0000
changeset 3
07136e6644cc
parent 2
e245cf75db68
child 4
444a46eadb74

metadata: Add 'needs_deferral' canned query

metadata.yml file | annotate | diff | comparison | revisions
--- a/metadata.yml	Mon Mar 13 17:56:43 2023 +0000
+++ b/metadata.yml	Mon Mar 13 18:27:00 2023 +0000
@@ -116,3 +116,18 @@
             xeps.number is null
           order by
             last_updated desc;
+      needs_deferral:
+        title: "XEPS: Due deferral"
+        description: "XEPs that are still Experimental but not updated for over a year"
+        sql: |-
+          select
+            xeps.number,
+            xeps.title,
+            xeps.last_updated
+          from
+            xeps
+          where
+            xeps.status = "Experimental"
+            and xeps.last_updated <= date('now','-12 months')
+          order by
+            xeps.last_updated asc;

mercurial