<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository mpbot-github.
</pre>
<p><a href="https://github.com/macports/mpbot-github/commit/98fa1eff643614051a52936e3bb9d2c982f4d146">https://github.com/macports/mpbot-github/commit/98fa1eff643614051a52936e3bb9d2c982f4d146</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 98fa1ef pr: Comment on Portfile regex
</span>98fa1ef is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 98fa1eff643614051a52936e3bb9d2c982f4d146
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sun Jan 6 02:17:16 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> pr: Comment on Portfile regex
</span>---
ci/portlist.go | 2 +-
pr/githubapi/pull_request.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ci/portlist.go b/ci/portlist.go
</span><span style='display:block; white-space:pre;color:#808080;'>index 2421fbb..58e7026 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ci/portlist.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ci/portlist.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,7 +17,7 @@ func GetChangedPortList() ([]string, error) {
</span> return nil, err
}
ports := make([]string, 0, 1)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- gitRegexp := regexp.MustCompile(`[AM]\t[^\._/][^/]*/([^/]+)/Portfile`)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gitRegexp := regexp.MustCompile(`[AM]\t[^\._/][^/]*/([^/]+)/Portfile`) // Ignore hidden and _* top directories
</span> stdoutScanner := bufio.NewScanner(stdout)
for stdoutScanner.Scan() {
line := stdoutScanner.Text()
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/pr/githubapi/pull_request.go b/pr/githubapi/pull_request.go
</span><span style='display:block; white-space:pre;color:#808080;'>index 9cf8a97..058cbbb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/pr/githubapi/pull_request.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/pr/githubapi/pull_request.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,7 @@ func (client *githubClient) ListChangedPortsAndFiles(owner, repo string, number
</span> opt.Page = resp.NextPage
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- portfileRegexp := regexp.MustCompile(`[^\._/][^/]*/([^/]+)/Portfile`)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ portfileRegexp := regexp.MustCompile(`[^\._/][^/]*/([^/]+)/Portfile`) // Ignore hidden and _* top directories
</span> for _, file := range allFiles {
if match := portfileRegexp.FindStringSubmatch(*file.Filename); match != nil {
ports = append(ports, match[1])
</pre><pre style='margin:0'>
</pre>