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

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

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

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

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