2eb9e2686dabb686c8114760abec9d5546c24fc6,doc/release/contribs.py,,,#,27
Before Change
merges = call("git log --since="%s" --merges --format=">>>%%B" --reverse" % tag_date)
merges = [m for m in merges if m.strip()]
merges = "\n".join(merges).split(">>>")
merges = [m.split("\n")[:2] for m in merges]
merges = [m for m in merges if len(m) == 2 and m[1].strip()]
num_commits = call("git rev-list %s..HEAD --count" % tag)[0]
After Change
query_string = ("user:" + USER + "+"
+ "repo:" + REPO + "+"
+ "merged:>=" + tag_date)
merges_url = ("https://api.github.com/search/issues?"
+ urlencode(dict(q=query_string)))
merges = urlopen(merges_url)
merges = merges["items"]
PRs = []
print("It contained the following %d merged pull requests:\n" % len(merges))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: scikit-image/scikit-image
Commit Name: 2eb9e2686dabb686c8114760abec9d5546c24fc6
Time: 2017-12-20
Author: contact@kne42.me
File Name: doc/release/contribs.py
Class Name:
Method Name:
Project Name: acl-org/acl-anthology
Commit Name: 7419eacac2dfa909b280881524e685d7ea4d7ec7
Time: 2020-04-24
Author: post@cs.jhu.edu
File Name: bin/add_attachments.py
Class Name:
Method Name: add_attachment
Project Name: tensorflow/datasets
Commit Name: 161014d590fcf3d8af24628c1199be370ef9c88f
Time: 2019-03-14
Author: rickdey1998@gmail.com
File Name: tensorflow_datasets/core/download/downloader.py
Class Name: _Downloader
Method Name: _sync_download