Difference between revisions of "User: Bgrenon"
Line 1: | Line 1: | ||
− | + | <!-- finding all containers--> | |
− | |||
<tabber> | <tabber> | ||
− | + | Last 7 days= | |
− | + | {{#cargo_query: | |
+ | tables=ComponentRN,Component | ||
+ | |join on=ComponentRN.ComponentId HOLDS Component.Id | ||
+ | |fields=ComponentRN.ComponentId | ||
+ | |group by=ComponentRN.ComponentId | ||
+ | |format=template | ||
+ | |template=GetMaxPrivateEditionReleaseDate | ||
+ | |named args=yes | ||
+ | |order by=Component.Name | ||
+ | |intro=<table class="wikitable sortable"><tr><th>Service</th><th>Release</th><th>Released On</th><th>Helm</th><th>Containers</th></tr> | ||
+ | |outro=</table> | ||
+ | |where=PrivateEditionReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" AND DATEDIFF(PrivateEditionReleaseDate,NOW()) >= -7 | ||
+ | }} | ||
|-| | |-| | ||
− | + | Last 30 days= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#cargo_query: | {{#cargo_query: | ||
− | tables= | + | tables=ComponentRN,Component |
− | |join on= | + | |join on=ComponentRN.ComponentId HOLDS Component.Id |
− | | | + | |fields=ComponentRN.ComponentId |
− | | | + | |group by=ComponentRN.ComponentId |
− | + | |format=template | |
− | + | |template=GetMaxPrivateEditionReleaseDate | |
− | + | |named args=yes | |
+ | |order by=Component.Name | ||
+ | |intro=<table class="wikitable sortable"><tr><th>Service</th><th>Release</th><th>Released On</th><th>Helm</th><th>Containers</th></tr> | ||
+ | |outro=</table> | ||
+ | |where=PrivateEditionReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" AND DATEDIFF(PrivateEditionReleaseDate,NOW()) >= -30 | ||
}} | }} | ||
|-| | |-| | ||
− | + | Latest helm and containers= | |
{{#cargo_query: | {{#cargo_query: | ||
− | tables= | + | tables=ComponentRN,Component |
− | |join on= | + | |join on=ComponentRN.ComponentId HOLDS Component.Id |
− | | | + | |fields=ComponentRN.ComponentId |
− | | | + | |group by=ComponentRN.ComponentId |
− | | | + | |format=template |
− | | | + | |template=GetMaxPrivateEditionReleaseDate |
+ | |named args=yes | ||
+ | |order by=Component.Name | ||
+ | |intro=<table class="wikitable sortable"><tr><th>Service</th><th>Release</th><th>Released On</th><th>Helm</th><th>Containers</th></tr> | ||
+ | |outro=</table> | ||
+ | |where=PrivateEditionReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" | ||
}} | }} | ||
− | + | </tabber> | |
− |
Revision as of 12:20, April 20, 2022
Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE PrivateEditionReleaseDate IS NOT NULL AND `cargo__ComponentRN`.`_pageNamespace`="0" AND DATEDIFF(PrivateEditionReleaseDate,NOW()) >= -7 GROUP BY `cargo__ComponentRN`.`ComponentId` ORDER BY `cargo__Component`.`Name` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE PrivateEditionReleaseDate IS NOT NULL AN' at line 1 (127.0.0.1)
Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE PrivateEditionReleaseDate IS NOT NULL AND `cargo__ComponentRN`.`_pageNamespace`="0" AND DATEDIFF(PrivateEditionReleaseDate,NOW()) >= -30 GROUP BY `cargo__ComponentRN`.`ComponentId` ORDER BY `cargo__Component`.`Name` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE PrivateEditionReleaseDate IS NOT NULL AN' at line 1 (127.0.0.1)
Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE PrivateEditionReleaseDate IS NOT NULL AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `cargo__ComponentRN`.`ComponentId` ORDER BY `cargo__Component`.`Name` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE PrivateEditionReleaseDate IS NOT NULL AN' at line 1 (127.0.0.1)