Difference between revisions of "User: Bgrenon/3"
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!-- finding all containers--> | <!-- finding all containers--> | ||
+ | <tabber> | ||
+ | Last 7 days= | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=ComponentRN,Component | tables=ComponentRN,Component | ||
Line 5: | Line 7: | ||
|fields=ComponentRN.ComponentId | |fields=ComponentRN.ComponentId | ||
|group by=ComponentRN.ComponentId | |group by=ComponentRN.ComponentId | ||
− | |format= | + | |format=template |
+ | |template=GetMaxPrivateEditionReleaseDate | ||
|named args=yes | |named args=yes | ||
|order by=Component.Name | |order by=Component.Name | ||
− | |intro=<table> | + | |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> | |outro=</table> | ||
− | |where=PrivateEditionReleaseDate IS NOT NULL | + | |where=PrivateEditionReleaseDate IS NOT NULL AND ComponentRN._pageNamespace="0" AND DATEDIFF(PrivateEditionReleaseDate,NOW()) >= -7 |
}} | }} | ||
+ | |-| | ||
+ | Last 30 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()) >= -30 | ||
+ | }} | ||
+ | |-| | ||
+ | Latest helm and containers= | ||
+ | {{#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" | ||
+ | }} | ||
+ | </tabber> |
Latest revision as of 16:06, April 12, 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)