[WIP] Git

This commit is contained in:
2018-06-25 15:18:37 +02:00
parent b1a3d94d23
commit 2017a5599a
17 changed files with 99 additions and 7803 deletions

View File

@ -15,11 +15,10 @@ namespace Yavsc.Server.Models.IT
[Required]
public string Name { get; set; }
[Required]
public string ProjectName { get; set;}
[ForeignKey("Name")]
public long ProjectId { get; set; }
[ForeignKey("ProjectId")]
public virtual Project TargetProject { get; set; }
}

View File

@ -20,5 +20,10 @@ namespace Yavsc.Server.Models.IT.SourceCode
[ForeignKey("OwnerId")]
public virtual ApplicationUser Owner { get; set; }
public override string ToString()
{
return $"[Git ref {Path} {Branch} {Url}]";
}
}
}

View File

@ -10966,7 +10966,7 @@
},
"Gapi.net45/1.0.0": {
"type": "package",
"sha512": "ZA31xhTPss1akMMgT3PvDNkqI46t9dvkxgyKVnjXKP9OFSNSSxvSomev5Srvq1tXyadCP0cFBM1GkS0qLwTtUg==",
"sha512": "9CdY4Bpoh5KyKjalhY/KpD31vV4zgLA3ocAJsWr8mGB12f3Ttr+CgyR0m4Z5baMG2d5p7UXT8h6KmRpx5LtMUw==",
"files": [
"Gapi.net45.1.0.0.nupkg",
"Gapi.net45.1.0.0.nupkg.sha512",
@ -11609,7 +11609,7 @@
"Microsoft.Extensions.PlatformAbstractions/1.0.0-rc1-final": {
"type": "package",
"serviceable": true,
"sha512": "26HS4c6MBisN+D7XUr8HObOI/JJvSJQYQR//Bfw/hi9UqhqK3lFpNKjOuYHI+gTxYdXT46HqZiz4D+k7d+ob3A==",
"sha512": "0b65CFB9nCxENPDjoOGeNaQBK1jhKfjQVcHg2KTWvPr+GaaBNyqmAo+7H+1ZoH6hmEYYl63aEbB1HXPRD4eQlQ==",
"files": [
"lib/dotnet5.4/Microsoft.Extensions.PlatformAbstractions.dll",
"lib/dotnet5.4/Microsoft.Extensions.PlatformAbstractions.xml",
@ -12158,7 +12158,7 @@
"System.Reflection.Metadata/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "a8VsRm/B0Ik1o5FumSMWmpwbG7cvIIajAYhzTTy9VB9XItByJDQHGZkQTIAdsvVJ6MI5O3uH/lb0izgQDlDIWA==",
"sha512": "RLIE4sSt2zngMLuqM6YmxBH99mTumtT4DNZE4+msfEaInUP5iCLQT+BHPl+2cjSAP1pdALyAjLB8RtCB+WGGWQ==",
"files": [
"lib/dotnet5.2/System.Reflection.Metadata.dll",
"lib/dotnet5.2/System.Reflection.Metadata.xml",