99c94d88c96c2b0a45bbbef4c8a126fa018ce513,bootstrap/build.py,,main,#,11
Before Change
for reg in conf["registries"]:
if test_reg_name == reg["name"]:
src_registry = os.path.join(test_reg_path, reg["path"])
reg_path = os.path.join(tmp_dir, *os.path.join(reg["name"], reg["path"]).split("/")[:-1])
if not os.path.exists(reg_path):
os.makedirs(reg_path)
print("cp -r %s %s" % (src_registry, reg_path))
os.system("cp -r %s %s" % (src_registry, reg_path))
After Change
excludes = [".git*", ".idea", "vendor", "node_modules"]
sync_cmd = "rsync -a %s %s %s" % (test_reg_path, os_tmp_dir, " ".join(["--exclude=" + term for term in excludes]))
print(sync_cmd)
os.system(sync_cmd)
else:
reg_path = os.path.join(os_tmp_dir, reg["name"])
print("Adding registry %s from %s %s" % (reg["name"], reg["repo"], reg["version"]))
os.system("git clone --depth 1 --branch %s %s %s" % (reg["version"], reg["repo"], reg_path))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: kubeflow/kubeflow
Commit Name: 99c94d88c96c2b0a45bbbef4c8a126fa018ce513
Time: 2018-10-11
Author: 37601826+kunmingg@users.noreply.github.com
File Name: bootstrap/build.py
Class Name:
Method Name: main
Project Name: avinashpaliwal/Super-SloMo
Commit Name: f7a8a023870f3218c02c6f5940b258b49ebeb507
Time: 2020-08-20
Author: 42113029+tamasino52@users.noreply.github.com
File Name: video_to_slomo.py
Class Name:
Method Name: extract_frames
Project Name: avinashpaliwal/Super-SloMo
Commit Name: f7a8a023870f3218c02c6f5940b258b49ebeb507
Time: 2020-08-20
Author: 42113029+tamasino52@users.noreply.github.com
File Name: video_to_slomo.py
Class Name:
Method Name: create_video