clapp-pm 1.0.28__py3-none-any.whl → 1.0.29__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.
- {clapp_pm-1.0.28.data → clapp_pm-1.0.29.data}/data/version.json +1 -1
- {clapp_pm-1.0.28.dist-info → clapp_pm-1.0.29.dist-info}/METADATA +1 -1
- {clapp_pm-1.0.28.dist-info → clapp_pm-1.0.29.dist-info}/RECORD +9 -9
- install_command.py +15 -9
- version.py +1 -1
- {clapp_pm-1.0.28.dist-info → clapp_pm-1.0.29.dist-info}/WHEEL +0 -0
- {clapp_pm-1.0.28.dist-info → clapp_pm-1.0.29.dist-info}/entry_points.txt +0 -0
- {clapp_pm-1.0.28.dist-info → clapp_pm-1.0.29.dist-info}/licenses/LICENSE +0 -0
- {clapp_pm-1.0.28.dist-info → clapp_pm-1.0.29.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ cli_commands.py,sha256=nC7bGzUQZwV11KI4iV0s-tvmnT8nwZHFLy0GfV0a1qE,13143
|
|
6
6
|
dependency_resolver.py,sha256=OyzWOW45OWTr8BX0gcy5fFbk9qIVBP9JQyMtXrKPmEM,24499
|
7
7
|
doctor_command.py,sha256=8Tv_em4mp-ibaDPXli6uyhYV--Fb6lHyDnnS2S0_d7c,7654
|
8
8
|
info_command.py,sha256=b74Pl1-x_PSezALx-lS3FkEcVNTF7a9McTKk5XTDhjM,5629
|
9
|
-
install_command.py,sha256=
|
9
|
+
install_command.py,sha256=SiYxrmzZGi46dOfi8iOX4SUm7HbU06xIExZpeoHHnio,9928
|
10
10
|
installer.py,sha256=dmhPZ63IZGY2-LHCIOSKi6gI8lpbB-t6tgwWbXv0vf4,12470
|
11
11
|
list_command.py,sha256=qbeocvrg2eXRklxbYS3audQhYHGXTlMBk_tNh1cMxd0,8391
|
12
12
|
main.py,sha256=LTchncUoZQTKBP-EFQtNIJs2ax9H1nSi7TicuC_0XAM,23893
|
@@ -23,7 +23,7 @@ remote_registry.py,sha256=rPBIM_ESXUt0br5cARQ4YbzUoTda0G4e1KGzfyYMbpQ,8235
|
|
23
23
|
smart_search.py,sha256=R5O5CDXqlQc-N-6R6D5k36_-arCB-wnKfmWr5zMYWUI,15741
|
24
24
|
uninstall_command.py,sha256=rQYbZ-XMw8Xxw1fmgGdDaBQmgBGqyJ_rTBZkvEV5HV0,7066
|
25
25
|
validate_command.py,sha256=idaujErzrwuZNT6DYCVTVwZqBDEEi1GTxIXAGBgKMKM,7623
|
26
|
-
version.py,sha256=
|
26
|
+
version.py,sha256=Z83ADKxvQxf81OWdQZuIHRvzI5N_v3ukJ12rDoQcWlo,224
|
27
27
|
version_command.py,sha256=DZuYWtohSeM5PJNYCflBy36_k0vex3tYV2C8ixEA9ho,4259
|
28
28
|
version_manager.py,sha256=fpC7jxhIW1wZhJ9IkVwyqkgJN4mhBjUUbaLefXLDMiM,11423
|
29
29
|
where_command.py,sha256=TcLoXLGmrPSHQuvlceVuuKBsfeadIwz-E0G_5okH14g,6420
|
@@ -63,8 +63,8 @@ clapp-packages-repo/packages/cloud-finder/requirements.txt,sha256=WI7vvqMxYC4vvH
|
|
63
63
|
clapp-packages-repo/packages/test-app-2/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
64
64
|
clapp-packages-repo/packages/test-app-2/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
65
65
|
clapp-packages-repo/packages/test-app-2/manifest.json,sha256=dzxPwC-GebvxX9DodLAtdRB0WsZBm204uGGsHbpGhyY,286
|
66
|
-
clapp_pm-1.0.
|
67
|
-
clapp_pm-1.0.
|
66
|
+
clapp_pm-1.0.29.data/data/version.json,sha256=jSjPpg9rY0aoPxKzajOtmfXlQ73Bi7AbUJu0z52X7Kc,239
|
67
|
+
clapp_pm-1.0.29.dist-info/licenses/LICENSE,sha256=_hryv9pKR6udRexceUYuoYCJGmYBz7e-vRuFWmm38UY,1075
|
68
68
|
docs/developer_guide.md,sha256=B-S141TSNy7e8T9KaV6Fr-ZAFhYqqgcwqWijjX0C2Xc,7336
|
69
69
|
packages/cloud-finder/README.md,sha256=3W5VWCpv1HG9qIube4ytUVK8tpXbk1pB_rSEQU3auQw,5868
|
70
70
|
packages/cloud-finder/main.py,sha256=ivPzRbL3Qlu10mSarpwff9s7kOyxqa7L3jPCaDbdLEg,39106
|
@@ -84,8 +84,8 @@ test-app/manifest.json,sha256=MM1nl5Bljrnsik3fwsrgFBchfgwIb2REoBwwzNpFHQU,284
|
|
84
84
|
test-app-2/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
85
85
|
test-app-2/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
86
86
|
test-app-2/manifest.json,sha256=dzxPwC-GebvxX9DodLAtdRB0WsZBm204uGGsHbpGhyY,286
|
87
|
-
clapp_pm-1.0.
|
88
|
-
clapp_pm-1.0.
|
89
|
-
clapp_pm-1.0.
|
90
|
-
clapp_pm-1.0.
|
91
|
-
clapp_pm-1.0.
|
87
|
+
clapp_pm-1.0.29.dist-info/METADATA,sha256=lXAWe4dVUXxOYsV6HAHS7zqMKN8wu45fs6WFNJLznd0,3983
|
88
|
+
clapp_pm-1.0.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
89
|
+
clapp_pm-1.0.29.dist-info/entry_points.txt,sha256=7j-3pQVpQfnaVzUV83g7zlCA30ePlnXkhHLAGGz9xrQ,36
|
90
|
+
clapp_pm-1.0.29.dist-info/top_level.txt,sha256=-nbfxZD1zt1LMxzElOZyNhKpdwHhZD-d5ZWrwIArCtE,495
|
91
|
+
clapp_pm-1.0.29.dist-info/RECORD,,
|
install_command.py
CHANGED
@@ -40,13 +40,7 @@ def load_index(index_path: str = "index.json") -> Tuple[bool, str, Optional[list
|
|
40
40
|
(success, message, apps_list)
|
41
41
|
"""
|
42
42
|
try:
|
43
|
-
#
|
44
|
-
if os.path.exists(index_path):
|
45
|
-
with open(index_path, 'r', encoding='utf-8') as f:
|
46
|
-
apps = json.load(f)
|
47
|
-
return True, "Yerel index yüklendi", apps
|
48
|
-
|
49
|
-
# GitHub'dan index.json'u indir
|
43
|
+
# Her zaman GitHub'dan güncel index.json'u indir
|
50
44
|
print("🔄 GitHub'dan index.json indiriliyor...")
|
51
45
|
url = "https://raw.githubusercontent.com/mburakmmm/clapp-packages/main/index.json"
|
52
46
|
response = requests.get(url, timeout=10)
|
@@ -58,10 +52,22 @@ def load_index(index_path: str = "index.json") -> Tuple[bool, str, Optional[list
|
|
58
52
|
json.dump(apps, f, indent=2, ensure_ascii=False)
|
59
53
|
return True, "GitHub'dan index indirildi", apps
|
60
54
|
else:
|
61
|
-
|
55
|
+
# GitHub'dan indirilemezse yerel dosyayı dene
|
56
|
+
if os.path.exists(index_path):
|
57
|
+
with open(index_path, 'r', encoding='utf-8') as f:
|
58
|
+
apps = json.load(f)
|
59
|
+
return True, "Yerel index yüklendi (GitHub erişilemez)", apps
|
60
|
+
else:
|
61
|
+
return False, f"GitHub'dan index indirilemedi: {response.status_code}", None
|
62
62
|
|
63
63
|
except requests.RequestException as e:
|
64
|
-
|
64
|
+
# Network hatası durumunda yerel dosyayı dene
|
65
|
+
if os.path.exists(index_path):
|
66
|
+
with open(index_path, 'r', encoding='utf-8') as f:
|
67
|
+
apps = json.load(f)
|
68
|
+
return True, "Yerel index yüklendi (network hatası)", apps
|
69
|
+
else:
|
70
|
+
return False, f"Network hatası: {e}", None
|
65
71
|
except json.JSONDecodeError as e:
|
66
72
|
return False, f"JSON parse hatası: {e}", None
|
67
73
|
except Exception as e:
|
version.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|