25 references to Segments
Microsoft.DotNet.VersionTools (25)
Automation\GitHubApi\GitHubClient.cs (21)
70
string url = $"https://api.github.com/repos/{project.
Segments
}/contents/{path}?ref={@ref}";
166
string pullUrl = $"https://api.github.com/repos/{baseBranch.Project.
Segments
}/pulls";
207
string url = $"https://api.github.com/repos/{project.
Segments
}/pulls/{number}";
230
string queryString = $"repo:{project.
Segments
}+head:{headPrefix}+author:{author}+state:open";
255
string pullRequestUrl = $"https://api.github.com/repos/{project.
Segments
}/pulls/{pullRequestNumber}";
265
string url = $"https://api.github.com/repos/{project.
Segments
}/commits/{@ref}/status";
269
Trace.TraceInformation($"Getting info about ref {@ref} in {project.
Segments
}");
283
string url = $"https://api.github.com/repos/{project.
Segments
}/issues/{issueNumber}/comments";
294
string url = $"https://api.github.com/repos/{project.
Segments
}/git/commits/{sha}";
298
Trace.TraceInformation($"Getting info about commit {sha} in {project.
Segments
}");
305
string url = $"https://api.github.com/repos/{project.
Segments
}/git/refs/{@ref}";
309
Trace.TraceInformation($"Getting info about ref {@ref} in {project.
Segments
}");
324
string url = $"https://api.github.com/repos/{project.
Segments
}/git/trees";
329
Trace.TraceInformation($"Posting new tree to {project.
Segments
}:\n{body}");
349
string url = $"https://api.github.com/repos/{project.
Segments
}/git/commits";
354
Trace.TraceInformation($"Posting new commit for tree '{tree}' with parents '{string.Join(", ", parents)}' to {project.
Segments
}");
369
string url = $"https://api.github.com/repos/{project.
Segments
}/git/refs";
393
string url = $"https://api.github.com/repos/{project.
Segments
}/git/refs/{@ref}";
402
Trace.TraceInformation($"Patching reference '{@ref}' to '{sha}' with force={force} in {project.
Segments
}");
412
$"Could not update {project.
Segments
} '{@ref}' to '{sha}': " +
420
public string CreateGitRemoteUrl(GitHubProject project) => $"github.com/{project.
Segments
}.git";
Automation\PullRequestCreator.cs (1)
96
$"Pull request already exists for {upgradeBranchPrefix} in {upstream.
Segments
}. " +
Automation\VstsApi\VstsAdapterClient.cs (2)
283
Trace.TraceInformation($"Getting info about commit {sha} in {project.
Segments
}");
315
Trace.TraceInformation($"Getting info about ref {@ref} in {project.
Segments
}");
Dependencies\BuildManifest\OrchestratedBuildDependencyInfo.cs (1)
30
$"'{project.
Segments
}' '{basePath}' ref '{@ref}'");