Module:Gerrit dashboard/RelEng

From Bonkipedia
< Module:Gerrit dashboard
Revision as of 18:20, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Module Import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Gerrit dashboard/RelEng/doc

-- Gerrit open code review dashboard for the RelEng team
-- Displays all open code reviews filed by RelEng team members
-- Usage: {{#invoke:Gerrit dashboard/RelEng|link}}

local dashboard = require( 'Module:Gerrit dashboard' )
local link_to_dashboard = dashboard._link_to_dashboard

local team_members = {}
local dashboard_def = {}

local add_team_member = function ( member, name )
	table.insert( dashboard_def, { member, {
		{ 'status', 'open' },
		{ 'owner', name }
	} } )
	
	table.insert( team_members, { member, name } )
end

add_team_member( 'Antoine Musso', 'Hashar' )
add_team_member( 'Chad Horohoe', 'Chad' )
add_team_member( 'Dan Duvall', 'Dduvall' )
add_team_member( 'Mukunda Modell', '20after4' )
add_team_member( 'Tyler Cipriani', 'thcipriani' )
add_team_member( 'Željko Filipin', 'Zfilipin' )

return {
	link = function ( frame )
		return link_to_dashboard( dashboard_def, 'Release Engineering', 'Release Engineering dashboard on Gerrit' ) .. ' <sup>[[Module:Gerrit dashboard/RelEng|(source)]]</sup>'
	end
}