This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #567 from github/grokys/maintainer-workflow
Maintainer workflow
- Loading branch information
Showing
53 changed files
with
2,707 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
|
||
namespace GitHub.Models | ||
{ | ||
public class PullRequestFileModel : IPullRequestFileModel | ||
{ | ||
public PullRequestFileModel(string fileName, PullRequestFileStatus status) | ||
{ | ||
FileName = fileName; | ||
Status = status; | ||
} | ||
|
||
public string FileName { get; set; } | ||
public PullRequestFileStatus Status { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.ComponentModel; | ||
using System.Threading.Tasks; | ||
using GitHub.Models; | ||
using GitHub.Primitives; | ||
using GitHub.UI; | ||
using NullGuard; | ||
|
||
namespace GitHub.App.SampleData | ||
{ | ||
[NullGuard(ValidationFlags.None)] | ||
public class LocalRepositoryModelDesigner : ILocalRepositoryModel | ||
{ | ||
public UriString CloneUrl { get; set; } | ||
public IBranch CurrentBranch { get; set; } | ||
public Octicon Icon { get; set; } | ||
public string LocalPath { get; set; } | ||
public string Name { get; set; } | ||
public string Owner { get; set; } | ||
|
||
#pragma warning disable CS0067 | ||
public event PropertyChangedEventHandler PropertyChanged; | ||
#pragma warning restore CS0067 | ||
|
||
public Task<UriString> GenerateUrl(string path = null, int startLine = -1, int endLine = -1) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public void Refresh() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public void SetIcon(bool isPrivate, bool isFork) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.