greenmining 1.2.2__py3-none-any.whl → 1.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- greenmining/__init__.py +1 -1
- greenmining/services/local_repo_analyzer.py +6 -0
- {greenmining-1.2.2.dist-info → greenmining-1.2.3.dist-info}/METADATA +1 -1
- {greenmining-1.2.2.dist-info → greenmining-1.2.3.dist-info}/RECORD +7 -7
- {greenmining-1.2.2.dist-info → greenmining-1.2.3.dist-info}/WHEEL +0 -0
- {greenmining-1.2.2.dist-info → greenmining-1.2.3.dist-info}/licenses/LICENSE +0 -0
- {greenmining-1.2.2.dist-info → greenmining-1.2.3.dist-info}/top_level.txt +0 -0
greenmining/__init__.py
CHANGED
|
@@ -639,6 +639,9 @@ class LocalRepoAnalyzer:
|
|
|
639
639
|
colored_print(f"\n[{i}/{len(urls)}] Processing repository...", "cyan")
|
|
640
640
|
try:
|
|
641
641
|
result = self.analyze_repository(url)
|
|
642
|
+
if result.total_commits == 0:
|
|
643
|
+
colored_print(f" Skipping {result.name}: no commits in date range", "yellow")
|
|
644
|
+
continue
|
|
642
645
|
results.append(result)
|
|
643
646
|
except Exception as e:
|
|
644
647
|
colored_print(f" Error analyzing {url}: {e}", "red")
|
|
@@ -656,6 +659,9 @@ class LocalRepoAnalyzer:
|
|
|
656
659
|
url = future_to_url[future]
|
|
657
660
|
try:
|
|
658
661
|
result = future.result()
|
|
662
|
+
if result.total_commits == 0:
|
|
663
|
+
colored_print(f" Skipping {result.name}: no commits in date range", "yellow")
|
|
664
|
+
continue
|
|
659
665
|
results.append(result)
|
|
660
666
|
colored_print(f" Completed: {result.name}", "green")
|
|
661
667
|
except Exception as e:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
greenmining/__init__.py,sha256=
|
|
1
|
+
greenmining/__init__.py,sha256=2giUY7aYzaq81FQ1t2GsJAvuIMmBK9VYkPW63c0FbCw,4165
|
|
2
2
|
greenmining/__main__.py,sha256=NYOVS7D4w2XDLn6SyXHXPKE5GrNGOeoWSTb_KazgK5c,590
|
|
3
3
|
greenmining/gsf_patterns.py,sha256=UvNJPY3HlAx1SicwUqci40TlLg8lCL0tszSOH4haxQs,55921
|
|
4
4
|
greenmining/utils.py,sha256=-dnLUw9taCzvQ2dk6uc66GAohOFiXJFKs9TLSEPk5kM,2893
|
|
@@ -25,10 +25,10 @@ greenmining/services/commit_extractor.py,sha256=qBM9QpGzPZRmGMFufJ6gP8eWIuufTowL
|
|
|
25
25
|
greenmining/services/data_aggregator.py,sha256=BU_HUb-8c0n0sa_7VZRB8jIVnaVhRLf-E6KA4ASh-08,19427
|
|
26
26
|
greenmining/services/data_analyzer.py,sha256=0XqW-slrnt7RotrHDweOqKtoN8XIA7y6p7s2Jau6cMg,7431
|
|
27
27
|
greenmining/services/github_graphql_fetcher.py,sha256=ZklXdEAc60KeFL83zRYMwW_-2OwMKpfPY7Wrifl0D50,11539
|
|
28
|
-
greenmining/services/local_repo_analyzer.py,sha256=
|
|
28
|
+
greenmining/services/local_repo_analyzer.py,sha256=RfhIdI6GBmHndBl1zZQwUlEuVIO55PILIE_ShP6eQtA,25668
|
|
29
29
|
greenmining/services/reports.py,sha256=nhJuYiA5tPD_9AjtgSLEnrpW3x15sZXrwIxpxQEBbh0,23219
|
|
30
|
-
greenmining-1.2.
|
|
31
|
-
greenmining-1.2.
|
|
32
|
-
greenmining-1.2.
|
|
33
|
-
greenmining-1.2.
|
|
34
|
-
greenmining-1.2.
|
|
30
|
+
greenmining-1.2.3.dist-info/licenses/LICENSE,sha256=M7ma3JHGeiIZIs3ea0HTcFl_wLFPX2NZElUliYs4bCA,1083
|
|
31
|
+
greenmining-1.2.3.dist-info/METADATA,sha256=33ItQrNW_1q2J4iuefPKJlL4uUZmxO4WKP8ZmN9ZnUg,10522
|
|
32
|
+
greenmining-1.2.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
33
|
+
greenmining-1.2.3.dist-info/top_level.txt,sha256=nreXgXxZIWI-42yQknQ0HXtUrFnzZ8N1ra4Mdy2KcsI,12
|
|
34
|
+
greenmining-1.2.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|