Merge pull request #95 from fraga/addReleaseName

Adds the release name (target update version)
This commit is contained in:
Florian Hopfner 2024-04-16 18:45:50 +02:00 коммит произвёл GitHub
Родитель ec2979f995 3ad7bd111a
Коммит e29b8c4355
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 163 добавлений и 167 удалений

276
2LCS/Forms/UpcomingUpdates.Designer.cs сгенерированный
Просмотреть файл

@ -28,196 +28,187 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.upcomingUpdatesDataGridView = new System.Windows.Forms.DataGridView(); upcomingUpdatesDataGridView = new System.Windows.Forms.DataGridView();
this.Status = new System.Windows.Forms.DataGridViewTextBoxColumn(); Status = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UtcStartDateTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); UtcStartDateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Month = new System.Windows.Forms.DataGridViewTextBoxColumn(); Month = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Date = new System.Windows.Forms.DataGridViewTextBoxColumn(); Date = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Time = new System.Windows.Forms.DataGridViewTextBoxColumn(); Time = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DownTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); DownTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EnvironmentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); EnvironmentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EventName = new System.Windows.Forms.DataGridViewTextBoxColumn(); EventName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StatusEnum = new System.Windows.Forms.DataGridViewTextBoxColumn(); StatusEnum = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EventNameEnum = new System.Windows.Forms.DataGridViewTextBoxColumn(); EventNameEnum = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CalendarId = new System.Windows.Forms.DataGridViewTextBoxColumn(); CalendarId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EnvironmentId = new System.Windows.Forms.DataGridViewTextBoxColumn(); EnvironmentId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsModified = new System.Windows.Forms.DataGridViewTextBoxColumn(); IsModified = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.WorkflowInstanceId = new System.Windows.Forms.DataGridViewTextBoxColumn(); WorkflowInstanceId = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.upcomingUpdatesDataGridView)).BeginInit(); ReleaseName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)upcomingUpdatesDataGridView).BeginInit();
SuspendLayout();
// //
// upcomingUpdatesDataGridView // upcomingUpdatesDataGridView
// //
this.upcomingUpdatesDataGridView.AllowUserToAddRows = false; upcomingUpdatesDataGridView.AllowUserToAddRows = false;
this.upcomingUpdatesDataGridView.AllowUserToDeleteRows = false; upcomingUpdatesDataGridView.AllowUserToDeleteRows = false;
this.upcomingUpdatesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) upcomingUpdatesDataGridView.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
| System.Windows.Forms.AnchorStyles.Left) upcomingUpdatesDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
| System.Windows.Forms.AnchorStyles.Right))); upcomingUpdatesDataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
this.upcomingUpdatesDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; upcomingUpdatesDataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText;
this.upcomingUpdatesDataGridView.BackgroundColor = System.Drawing.SystemColors.Window; upcomingUpdatesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.upcomingUpdatesDataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; upcomingUpdatesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { Status, UtcStartDateTime, Month, Date, Time, DownTime, EnvironmentName, EventName, StatusEnum, EventNameEnum, CalendarId, EnvironmentId, IsModified, WorkflowInstanceId, ReleaseName });
this.upcomingUpdatesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; upcomingUpdatesDataGridView.Location = new System.Drawing.Point(10, 10);
this.upcomingUpdatesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { upcomingUpdatesDataGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.Status, upcomingUpdatesDataGridView.Name = "upcomingUpdatesDataGridView";
this.UtcStartDateTime, upcomingUpdatesDataGridView.ReadOnly = true;
this.Month, upcomingUpdatesDataGridView.RowHeadersWidth = 30;
this.Date, upcomingUpdatesDataGridView.RowTemplate.Height = 28;
this.Time, upcomingUpdatesDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.DownTime, upcomingUpdatesDataGridView.Size = new System.Drawing.Size(928, 285);
this.EnvironmentName, upcomingUpdatesDataGridView.TabIndex = 0;
this.EventName, upcomingUpdatesDataGridView.ColumnHeaderMouseClick += UpcomingUpdatesDataGridView_ColumnHeaderMouseClick;
this.StatusEnum,
this.EventNameEnum,
this.CalendarId,
this.EnvironmentId,
this.IsModified,
this.WorkflowInstanceId});
this.upcomingUpdatesDataGridView.Location = new System.Drawing.Point(15, 16);
this.upcomingUpdatesDataGridView.Margin = new System.Windows.Forms.Padding(4);
this.upcomingUpdatesDataGridView.Name = "upcomingUpdatesDataGridView";
this.upcomingUpdatesDataGridView.ReadOnly = true;
this.upcomingUpdatesDataGridView.RowHeadersWidth = 30;
this.upcomingUpdatesDataGridView.RowTemplate.Height = 28;
this.upcomingUpdatesDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.upcomingUpdatesDataGridView.Size = new System.Drawing.Size(1459, 456);
this.upcomingUpdatesDataGridView.TabIndex = 0;
this.upcomingUpdatesDataGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.UpcomingUpdatesDataGridView_ColumnHeaderMouseClick);
// //
// Status // Status
// //
this.Status.DataPropertyName = "Status"; Status.DataPropertyName = "Status";
this.Status.HeaderText = "Status"; Status.HeaderText = "Status";
this.Status.MinimumWidth = 9; Status.MinimumWidth = 9;
this.Status.Name = "Status"; Status.Name = "Status";
this.Status.ReadOnly = true; Status.ReadOnly = true;
// //
// UtcStartDateTime // UtcStartDateTime
// //
this.UtcStartDateTime.DataPropertyName = "UtcStartDateTime"; UtcStartDateTime.DataPropertyName = "UtcStartDateTime";
this.UtcStartDateTime.HeaderText = "UTC Start DateTime"; UtcStartDateTime.HeaderText = "UTC Start DateTime";
this.UtcStartDateTime.MinimumWidth = 9; UtcStartDateTime.MinimumWidth = 9;
this.UtcStartDateTime.Name = "UtcStartDateTime"; UtcStartDateTime.Name = "UtcStartDateTime";
this.UtcStartDateTime.ReadOnly = true; UtcStartDateTime.ReadOnly = true;
// //
// Month // Month
// //
this.Month.DataPropertyName = "Month"; Month.DataPropertyName = "Month";
this.Month.HeaderText = "Month"; Month.HeaderText = "Month";
this.Month.MinimumWidth = 9; Month.MinimumWidth = 9;
this.Month.Name = "Month"; Month.Name = "Month";
this.Month.ReadOnly = true; Month.ReadOnly = true;
// //
// Date // Date
// //
this.Date.DataPropertyName = "Date"; Date.DataPropertyName = "Date";
this.Date.HeaderText = "Date"; Date.HeaderText = "Date";
this.Date.MinimumWidth = 9; Date.MinimumWidth = 9;
this.Date.Name = "Date"; Date.Name = "Date";
this.Date.ReadOnly = true; Date.ReadOnly = true;
// //
// Time // Time
// //
this.Time.DataPropertyName = "Time"; Time.DataPropertyName = "Time";
this.Time.HeaderText = "Time (local)"; Time.HeaderText = "Time (local)";
this.Time.MinimumWidth = 9; Time.MinimumWidth = 9;
this.Time.Name = "Time"; Time.Name = "Time";
this.Time.ReadOnly = true; Time.ReadOnly = true;
// //
// DownTime // DownTime
// //
this.DownTime.DataPropertyName = "DownTime"; DownTime.DataPropertyName = "DownTime";
this.DownTime.HeaderText = "Estimated downtime (minutes)"; DownTime.HeaderText = "Estimated downtime (minutes)";
this.DownTime.MinimumWidth = 9; DownTime.MinimumWidth = 9;
this.DownTime.Name = "DownTime"; DownTime.Name = "DownTime";
this.DownTime.ReadOnly = true; DownTime.ReadOnly = true;
// //
// EnvironmentName // EnvironmentName
// //
this.EnvironmentName.DataPropertyName = "EnvironmentName"; EnvironmentName.DataPropertyName = "EnvironmentName";
this.EnvironmentName.HeaderText = "Environment name"; EnvironmentName.HeaderText = "Environment name";
this.EnvironmentName.MinimumWidth = 9; EnvironmentName.MinimumWidth = 9;
this.EnvironmentName.Name = "EnvironmentName"; EnvironmentName.Name = "EnvironmentName";
this.EnvironmentName.ReadOnly = true; EnvironmentName.ReadOnly = true;
// //
// EventName // EventName
// //
this.EventName.DataPropertyName = "EventName"; EventName.DataPropertyName = "EventName";
this.EventName.HeaderText = "Event"; EventName.HeaderText = "Event";
this.EventName.MinimumWidth = 9; EventName.MinimumWidth = 9;
this.EventName.Name = "EventName"; EventName.Name = "EventName";
this.EventName.ReadOnly = true; EventName.ReadOnly = true;
// //
// StatusEnum // StatusEnum
// //
this.StatusEnum.DataPropertyName = "StatusEnum"; StatusEnum.DataPropertyName = "StatusEnum";
this.StatusEnum.HeaderText = "Status enum"; StatusEnum.HeaderText = "Status enum";
this.StatusEnum.MinimumWidth = 9; StatusEnum.MinimumWidth = 9;
this.StatusEnum.Name = "StatusEnum"; StatusEnum.Name = "StatusEnum";
this.StatusEnum.ReadOnly = true; StatusEnum.ReadOnly = true;
this.StatusEnum.Visible = false; StatusEnum.Visible = false;
// //
// EventNameEnum // EventNameEnum
// //
this.EventNameEnum.DataPropertyName = "EventNameEnum"; EventNameEnum.DataPropertyName = "EventNameEnum";
this.EventNameEnum.HeaderText = "Event name enum"; EventNameEnum.HeaderText = "Event name enum";
this.EventNameEnum.MinimumWidth = 9; EventNameEnum.MinimumWidth = 9;
this.EventNameEnum.Name = "EventNameEnum"; EventNameEnum.Name = "EventNameEnum";
this.EventNameEnum.ReadOnly = true; EventNameEnum.ReadOnly = true;
this.EventNameEnum.Visible = false; EventNameEnum.Visible = false;
// //
// CalendarId // CalendarId
// //
this.CalendarId.DataPropertyName = "CalendarId"; CalendarId.DataPropertyName = "CalendarId";
this.CalendarId.HeaderText = "Calendar Id"; CalendarId.HeaderText = "Calendar Id";
this.CalendarId.MinimumWidth = 9; CalendarId.MinimumWidth = 9;
this.CalendarId.Name = "CalendarId"; CalendarId.Name = "CalendarId";
this.CalendarId.ReadOnly = true; CalendarId.ReadOnly = true;
this.CalendarId.Visible = false; CalendarId.Visible = false;
// //
// EnvironmentId // EnvironmentId
// //
this.EnvironmentId.DataPropertyName = "EnvironmentId"; EnvironmentId.DataPropertyName = "EnvironmentId";
this.EnvironmentId.HeaderText = "Environment Id"; EnvironmentId.HeaderText = "Environment Id";
this.EnvironmentId.MinimumWidth = 9; EnvironmentId.MinimumWidth = 9;
this.EnvironmentId.Name = "EnvironmentId"; EnvironmentId.Name = "EnvironmentId";
this.EnvironmentId.ReadOnly = true; EnvironmentId.ReadOnly = true;
this.EnvironmentId.Visible = false; EnvironmentId.Visible = false;
// //
// IsModified // IsModified
// //
this.IsModified.DataPropertyName = "IsModified"; IsModified.DataPropertyName = "IsModified";
this.IsModified.HeaderText = "IsModified"; IsModified.HeaderText = "IsModified";
this.IsModified.MinimumWidth = 9; IsModified.MinimumWidth = 9;
this.IsModified.Name = "IsModified"; IsModified.Name = "IsModified";
this.IsModified.ReadOnly = true; IsModified.ReadOnly = true;
this.IsModified.Visible = false; IsModified.Visible = false;
// //
// WorkflowInstanceId // WorkflowInstanceId
// //
this.WorkflowInstanceId.DataPropertyName = "WorkflowInstanceId"; WorkflowInstanceId.DataPropertyName = "WorkflowInstanceId";
this.WorkflowInstanceId.HeaderText = "WorkflowInstanceId"; WorkflowInstanceId.HeaderText = "WorkflowInstanceId";
this.WorkflowInstanceId.MinimumWidth = 9; WorkflowInstanceId.MinimumWidth = 9;
this.WorkflowInstanceId.Name = "WorkflowInstanceId"; WorkflowInstanceId.Name = "WorkflowInstanceId";
this.WorkflowInstanceId.ReadOnly = true; WorkflowInstanceId.ReadOnly = true;
this.WorkflowInstanceId.Visible = false; WorkflowInstanceId.Visible = false;
//
// ReleaseName
//
ReleaseName.DataPropertyName = "ReleaseName";
ReleaseName.HeaderText = "Release Name";
ReleaseName.Name = "ReleaseName";
ReleaseName.ReadOnly = true;
// //
// UpcomingUpdates // UpcomingUpdates
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F); AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1489, 533); ClientSize = new System.Drawing.Size(948, 333);
this.Controls.Add(this.upcomingUpdatesDataGridView); Controls.Add(upcomingUpdatesDataGridView);
this.Icon = global::LCS.Properties.Resources.favicon_blue; Icon = Properties.Resources.favicon_blue;
this.Margin = new System.Windows.Forms.Padding(4); Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.MinimizeBox = false; MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(948, 467); MinimumSize = new System.Drawing.Size(609, 307);
this.Name = "UpcomingUpdates"; Name = "UpcomingUpdates";
this.ShowInTaskbar = false; ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Load += new System.EventHandler(this.UpcomingUpdates_Load); Load += UpcomingUpdates_Load;
((System.ComponentModel.ISupportInitialize)(this.upcomingUpdatesDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)upcomingUpdatesDataGridView).EndInit();
this.ResumeLayout(false); ResumeLayout(false);
} }
#endregion #endregion
@ -236,5 +227,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn EnvironmentId; private System.Windows.Forms.DataGridViewTextBoxColumn EnvironmentId;
private System.Windows.Forms.DataGridViewTextBoxColumn IsModified; private System.Windows.Forms.DataGridViewTextBoxColumn IsModified;
private System.Windows.Forms.DataGridViewTextBoxColumn WorkflowInstanceId; private System.Windows.Forms.DataGridViewTextBoxColumn WorkflowInstanceId;
private System.Windows.Forms.DataGridViewTextBoxColumn ReleaseName;
} }
} }

Просмотреть файл

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.0
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes various data types are done through the TypeConverter classes
associated with the data types. associated with the data types.
Example: Example:
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader> <resheader name="version">2.0</resheader>
@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment> <comment>This is a comment</comment>
</data> </data>
There are any number of "resheader" rows that contain simple There are any number of "resheader" rows that contain simple
name/value pairs. name/value pairs.
Each data row contains a name, and value. The row also contains a Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture. text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the Classes that don't support this are serialized and stored with the
mimetype set. mimetype set.
The mimetype is used for serialized objects, and tells the The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly: extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below. read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64 mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64 mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter : using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
--> -->
@ -159,4 +159,7 @@
<metadata name="WorkflowInstanceId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="WorkflowInstanceId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="ReleaseName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root> </root>

Просмотреть файл

@ -707,6 +707,7 @@ namespace LCS.JsonObjects
public string Status { get; set; } public string Status { get; set; }
public bool IsModified { get; set; } public bool IsModified { get; set; }
public int WorkflowInstanceId { get; set; } public int WorkflowInstanceId { get; set; }
public string ReleaseName { get; set; }
} }
public class JITOptions public class JITOptions