mirror of
https://github.com/dlang/tools.git
synced 2025-04-27 05:30:35 +03:00
Remove GIT_NAMESPACE
This commit is contained in:
parent
97253e9767
commit
2e0f669268
1 changed files with 2 additions and 4 deletions
|
@ -94,8 +94,6 @@ auto getIssues(string revRange)
|
|||
import std.process : execute, pipeProcess, Redirect, wait;
|
||||
import std.regex : ctRegex, match, splitter;
|
||||
|
||||
enum gitNamespace = ["GIT_NAMESPACE": "changed"];
|
||||
|
||||
// see https://github.com/github/github-services/blob/2e886f407696261bd5adfc99b16d36d5e7b50241/lib/services/bugzilla.rb#L155
|
||||
enum closedRE = ctRegex!(`((close|fix|address)e?(s|d)? )?(ticket|bug|tracker item|issue)s?:? *([\d ,\+&#and]+)`, "i");
|
||||
|
||||
|
@ -105,11 +103,11 @@ auto getIssues(string revRange)
|
|||
{
|
||||
auto cmd = ["git", "-C", repo, "fetch", "--tags", "https://github.com/dlang/" ~ repo.baseName,
|
||||
"+refs/heads/*:refs/remotes/upstream/*"];
|
||||
auto p = pipeProcess(cmd, Redirect.stdout, gitNamespace);
|
||||
auto p = pipeProcess(cmd, Redirect.stdout);
|
||||
enforce(wait(p.pid) == 0, "Failed to execute '%(%s %)'.".format(cmd));
|
||||
|
||||
cmd = ["git", "-C", repo, "log", revRange];
|
||||
p = pipeProcess(cmd, Redirect.stdout, gitNamespace);
|
||||
p = pipeProcess(cmd, Redirect.stdout);
|
||||
scope(exit) enforce(wait(p.pid) == 0, "Failed to execute '%(%s %)'.".format(cmd));
|
||||
|
||||
foreach (line; p.stdout.byLine())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue