We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f629e4 commit ade2036Copy full SHA for ade2036
minecode_pipelines/pipes/cran.py
@@ -28,16 +28,21 @@
28
29
30
def mine_and_publish_cran_packageurls(fed_repo, db_path):
31
+ batch_counter = 0
32
for purls in extract_cran_packages(db_path):
33
+ batch_counter += 1
34
if not purls:
35
continue
36
37
first_purl = purls[0]
38
purl_yaml_path = get_package_purls_yml_file_path(first_purl)
39
git_stage_purls(purls, fed_repo, purl_yaml_path)
40
- commit_and_push_changes(fed_repo)
41
+ if batch_counter > 1000:
42
+ commit_and_push_changes(fed_repo)
43
44
45
46
47
def extract_cran_packages(json_file_path: str) -> list:
48
"""
0 commit comments