[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:
parent
491b8461d2
commit
87f4e0f696
12 changed files with 787 additions and 34 deletions
|
|
@ -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())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue