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