[WIP/IT] Batch interface & project controller

* the batch don't expose any format consideration for the log file
* a generated project controller, mostly to get a DbSet from db context
This commit is contained in:
2018-06-22 17:47:57 +02:00
parent 1ea0e2daa6
commit e95872e161
12 changed files with 787 additions and 34 deletions

View File

@ -44,13 +44,11 @@ namespace Yavsc.Server.Models.IT.SourceCode
}
bool Pull (GitRepositoryReference input)
{
HtmlLogPath = Path.Combine( WorkingDir, "git.log");
LogPath = Path.Combine( WorkingDir, "git.log");
var pStart = new ProcessStartInfo("git", "pull");
pStart.WorkingDirectory = Path.Combine(WorkingDir,input.Path);
pStart.RedirectStandardOutput = true;
HtmlLogPath = Path.Combine( WorkingDir, "git.log");
using (var mem = new MemoryStream())
{