Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90be770027 |
+1
-1
@@ -1 +1 @@
|
|||||||
1.0.47
|
1.0.48
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
|
|||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.0.47")]
|
[assembly: AssemblyVersion("1.0.48")]
|
||||||
[assembly: AssemblyFileVersion("1.0.47")]
|
[assembly: AssemblyFileVersion("1.0.48")]
|
||||||
[assembly: AssemblyInformationalVersion("1.0.47")]
|
[assembly: AssemblyInformationalVersion("1.0.48")]
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ namespace JiraTimeBot.TaskTime
|
|||||||
public List<TaskTimeItem> CalculateTaskTime(List<MercurialCommitItem> commits, Settings settings, CancellationToken cancellationToken = default(CancellationToken))
|
public List<TaskTimeItem> CalculateTaskTime(List<MercurialCommitItem> commits, Settings settings, CancellationToken cancellationToken = default(CancellationToken))
|
||||||
{
|
{
|
||||||
int minutesPerWorkDay = settings.MinuterPerWorkDay;
|
int minutesPerWorkDay = settings.MinuterPerWorkDay;
|
||||||
int remainMinutes = settings.MinuterPerWorkDay;
|
|
||||||
int workHours = (settings.MinuterPerWorkDay / 60);
|
int workHours = (settings.MinuterPerWorkDay / 60);
|
||||||
int totalCommitsCount = commits.Count;
|
int totalCommitsCount = commits.Count;
|
||||||
|
|
||||||
@@ -56,6 +55,7 @@ namespace JiraTimeBot.TaskTime
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int remainMinutes = minutesPerWorkDay;
|
||||||
//Нам нужно раскидать 480 минут в день.
|
//Нам нужно раскидать 480 минут в день.
|
||||||
foreach (var taskGroup in commits.GroupBy(f => f.Branch).OrderByDescending(f=>f.Count()))
|
foreach (var taskGroup in commits.GroupBy(f => f.Branch).OrderByDescending(f=>f.Count()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user