// GET: /Builds/Official public ActionResult Index() { int[] trunk_rows = new int[] { 14, 41, 31, 110, 128, 129 }; int[] mono26_rows = new int[] { 75, 100, 98, 122, 163, 164 }; int[] mono24_rows = new int[] { 94, 101, 96, 123, 119, 120 }; WebServices ws = new WebServices (); WebServiceLogin login = new WebServiceLogin (); DateTime start = DateTime.Now; FrontPageResponse data = ws.GetFrontPageData2 (login, 10, null, null); TimeSpan data_elapsed = DateTime.Now - start; List<StatusStrip> strips = new List<StatusStrip> (); StatusStrip strip = new StatusStrip ("Mono - Trunk"); AddRowsToStrip (strip, "mono", trunk_rows, data); StatusStrip strip26 = new StatusStrip ("Mono - 2.6 Branch"); AddRowsToStrip (strip26, "mono26", mono26_rows, data); StatusStrip strip24 = new StatusStrip ("Mono - 2.4 Branch"); AddRowsToStrip (strip24, "mono24", mono24_rows, data); strips.Add (strip); strips.Add (strip26); strips.Add (strip24); // This adds the MSVC build to the page. // Disabled because the MSVC build doesn't support Git //start = DateTime.Now; //try { // MonkeyWrench.Public.Public ws2 = new MvcWrench.MonkeyWrench.Public.Public (); // var msvc = ws2.GetRecentData ("msvc"); // strip.Rows.Add (MonkeyWrenchHelper.GetRow (msvc)); // //strip.Rows.Insert (0, MonkeyWrenchHelper.GetHeaderRow (msvc)); //} catch { // // Carry on even if this fails //} //TimeSpan remote_elapsed = DateTime.Now - start; //ViewData["MsvcElapsed"] = remote_elapsed; ViewData["PageTitle"] = "MonkeyWrench - Mono Build Overview"; ViewData["MonkeyWrenchElapsed"] = data_elapsed; return View ("Index", strips); }
// GET: /Builds/monoextended public ActionResult MonoExtended() { int[] trunk_dist_rows = new int[] { 14, 110, 111, 128, 129 }; int[] trunk_rows = new int[] { 34, 35, 36, 37, 31, 41, 84 }; int[] trunk_rpm_rows = new int[] { 39 }; int[] trunk_40_rows = new int[] { 58 }; int[] trunk_minimal_rows = new int[] { 38 }; int[] mono_26_rows = new int[] { 75, 99, 98, 100, 116, 163, 164, 122, 125, 126 }; int[] mono_26_rpm_rows = new int[] { 112 }; int[] mono_243_rows = new int[] { 102, 94, 101, 96, 123, 119, 120, 97, 115, 124, 127 }; WebServices ws = new WebServices (); WebServiceLogin login = new WebServiceLogin (); FrontPageResponse data = ws.GetFrontPageData2 (login, 10, null, null); List<StatusStrip> strips = new List<StatusStrip> (); StatusStrip strip_trunk_dist = new StatusStrip ("Mono - Trunk - Dist"); AddRowsToStrip (strip_trunk_dist, null, trunk_dist_rows, data); StatusStrip strip_trunk = new StatusStrip ("Mono - Trunk"); AddRowsToStrip (strip_trunk, null, trunk_rows, data); StatusStrip strip_rpm = new StatusStrip ("Mono - Trunk - rpm"); AddRowsToStrip (strip_rpm, null, trunk_rpm_rows, data); StatusStrip strip_40 = new StatusStrip ("Mono - Trunk - 4.0"); AddRowsToStrip (strip_40, null, trunk_40_rows, data); StatusStrip strip_trunk_min = new StatusStrip ("Mono - Trunk - Minimal"); AddRowsToStrip (strip_trunk_min, null, trunk_minimal_rows, data); StatusStrip strip_26 = new StatusStrip ("Mono - 2.6"); AddRowsToStrip (strip_26, null, mono_26_rows, data); StatusStrip strip_rpm_26 = new StatusStrip ("Mono - 2.6 - rpm"); AddRowsToStrip (strip_rpm_26, null, mono_26_rpm_rows, data); StatusStrip strip24 = new StatusStrip ("Mono - 2.4.3"); AddRowsToStrip (strip24, null, mono_243_rows, data); strips.Add (strip_trunk_dist); strips.Add (strip_trunk); strips.Add (strip_rpm); strips.Add (strip_40); strips.Add (strip_26); strips.Add (strip_rpm_26); strips.Add (strip24); ViewData["PageTitle"] = "MonkeyWrench - Mono Extended Build Overview"; return View ("Index", strips); }
// GET: /Builds/other public ActionResult Other() { WebServices ws = new WebServices (); WebServiceLogin login = new WebServiceLogin (); FrontPageResponse data = ws.GetFrontPageData2 (login, 10, null, null); List<StatusStrip> strips = new List<StatusStrip> (); StatusStrip strip_md = new StatusStrip (); strip_md.Name = "MonoDevelop - 2.2 - Dist"; strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (49, data, "dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (50, data, "database-dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (51, data, "boo-dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (52, data, "java-dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (53, data, "vala-dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (54, data, "debugger-gdb-dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (55, data, "debugger-mdb-dist")); strip_md.Rows.Add (MonkeyWrenchHelper.GetRow (56, data, "python-dist")); StatusStrip strip_tools = new StatusStrip (); strip_tools.Name = "Tools - Trunk"; strip_tools.Rows.Add (MonkeyWrenchHelper.GetRow (10, data, "libgdiplus - dist")); strip_tools.Rows.Add (MonkeyWrenchHelper.GetRow (43, data, "libgdiplus - check")); strip_tools.Rows.Add (MonkeyWrenchHelper.GetRow (44, data, "mono-tools - dist")); strip_tools.Rows.Add (MonkeyWrenchHelper.GetRow (47, data, "xsp - dist")); strip_tools.Rows.Add (MonkeyWrenchHelper.GetRow (48, data, "debugger - dist")); StatusStrip strip_tools_26 = new StatusStrip (); strip_tools_26.Name = "Tools - 2.6"; strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (76, data, "libgdiplus - dist")); strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (78, data, "mono-tools - dist")); strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (79, data, "xsp - dist")); strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (77, data, "debugger - dist")); strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (80, data, "mono-basic - dist")); strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (81, data, "mod_mono - dist")); strip_tools_26.Rows.Add (MonkeyWrenchHelper.GetRow (82, data, "gluezilla - dist")); StatusStrip strip_tools_24 = new StatusStrip (); strip_tools_24.Name = "Tools - 2.4.3"; strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (108, data, "libgdiplus - dist")); strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (106, data, "mono-tools - dist")); strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (107, data, "xsp - dist")); strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (103, data, "debugger - dist")); strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (109, data, "mono-basic - dist")); strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (105, data, "mod_mono - dist")); strip_tools_24.Rows.Add (MonkeyWrenchHelper.GetRow (104, data, "gluezilla - dist")); StatusStrip strip_mw = new StatusStrip (); strip_mw.Name = "MonkeyWrench"; strip_mw.Rows.Add (MonkeyWrenchHelper.GetRow (57, data)); strips.Add (strip_md); strips.Add (strip_tools); strips.Add (strip_tools_26); strips.Add (strip_tools_24); strips.Add (strip_mw); ViewData["PageTitle"] = "MonkeyWrench - Other Projects Build Overview"; return View ("Index", strips); }
// GET: /Builds/monodevelop public ActionResult MonoDevelop() { WebServices ws = new WebServices (); WebServiceLogin login = new WebServiceLogin (); FrontPageResponse data = ws.GetFrontPageData2 (login, 10, null, null); List<StatusStrip> strips = new List<StatusStrip> (); StatusStrip strip_md = new StatusStrip ("MonoDevelop - Trunk"); AddRowsToStrip (strip_md, "monodevelop", new int[] { 131 }, data); strips.Add (strip_md); ViewData["PageTitle"] = "MonkeyWrench - MonoDevelop"; return View ("Index", strips); }