clapp-pm 1.0.39__py3-none-any.whl → 1.0.41__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.39.data → clapp_pm-1.0.41.data}/data/version.json +1 -1
- {clapp_pm-1.0.39.dist-info → clapp_pm-1.0.41.dist-info}/METADATA +1 -1
- {clapp_pm-1.0.39.dist-info → clapp_pm-1.0.41.dist-info}/RECORD +9 -9
- publish_command.py +23 -14
- version.py +1 -1
- {clapp_pm-1.0.39.dist-info → clapp_pm-1.0.41.dist-info}/WHEEL +0 -0
- {clapp_pm-1.0.39.dist-info → clapp_pm-1.0.41.dist-info}/entry_points.txt +0 -0
- {clapp_pm-1.0.39.dist-info → clapp_pm-1.0.41.dist-info}/licenses/LICENSE +0 -0
- {clapp_pm-1.0.39.dist-info → clapp_pm-1.0.41.dist-info}/top_level.txt +0 -0
@@ -18,12 +18,12 @@ package_runner.py,sha256=yTWIlIXRBQq-FiuoS2qifnJHLajgDOnMv2wPPFL1HtI,5787
|
|
18
18
|
package_signing.py,sha256=ModMAzLk08rkI6zd8QKhyCH5BFbB-7dy8pwqKYatFQo,4579
|
19
19
|
post_install_hint.py,sha256=wjMPCgRurZiGu6hv_se-XA36KqBCdeYdRCD1q7FrJzQ,4918
|
20
20
|
progress_utils.py,sha256=ZH73QNLd5mI4h-JU0hSFR2OU8lesr2XteSZdmFD0bFA,5995
|
21
|
-
publish_command.py,sha256=
|
21
|
+
publish_command.py,sha256=BBuT_EJUYbjdsgVoZhDS1ntk2K65Voh34b40qO7xiuU,16139
|
22
22
|
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=r8A7kKkKLWIf16ARZuaw7RPSeYlkg8j-J2ItFMpSWVI,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
|
@@ -67,8 +67,8 @@ clapp-packages-repo/packages/cloud-web-browser/requirements.txt,sha256=fJMjUewTq
|
|
67
67
|
clapp-packages-repo/packages/test-app-2/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
68
68
|
clapp-packages-repo/packages/test-app-2/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
69
69
|
clapp-packages-repo/packages/test-app-2/manifest.json,sha256=dzxPwC-GebvxX9DodLAtdRB0WsZBm204uGGsHbpGhyY,286
|
70
|
-
clapp_pm-1.0.
|
71
|
-
clapp_pm-1.0.
|
70
|
+
clapp_pm-1.0.41.data/data/version.json,sha256=3h_6S1AVVzzeIAX1NHZlwzrSA8BP0Lev8DhGtgo5Yho,239
|
71
|
+
clapp_pm-1.0.41.dist-info/licenses/LICENSE,sha256=_hryv9pKR6udRexceUYuoYCJGmYBz7e-vRuFWmm38UY,1075
|
72
72
|
docs/developer_guide.md,sha256=B-S141TSNy7e8T9KaV6Fr-ZAFhYqqgcwqWijjX0C2Xc,7336
|
73
73
|
packages/cloud-finder/README.md,sha256=3W5VWCpv1HG9qIube4ytUVK8tpXbk1pB_rSEQU3auQw,5868
|
74
74
|
packages/cloud-finder/main.py,sha256=ivPzRbL3Qlu10mSarpwff9s7kOyxqa7L3jPCaDbdLEg,39106
|
@@ -112,8 +112,8 @@ test-app/packages/test-app/manifest.json,sha256=_oJaNcbc7RINIQZ8ivzp3I75hUU2pth1
|
|
112
112
|
test-app-2/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
113
113
|
test-app-2/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
114
114
|
test-app-2/manifest.json,sha256=dzxPwC-GebvxX9DodLAtdRB0WsZBm204uGGsHbpGhyY,286
|
115
|
-
clapp_pm-1.0.
|
116
|
-
clapp_pm-1.0.
|
117
|
-
clapp_pm-1.0.
|
118
|
-
clapp_pm-1.0.
|
119
|
-
clapp_pm-1.0.
|
115
|
+
clapp_pm-1.0.41.dist-info/METADATA,sha256=cKht9ooQ0QSA4aus6n4-zyHaBErUGiHbQmd7u2AML0c,3983
|
116
|
+
clapp_pm-1.0.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
117
|
+
clapp_pm-1.0.41.dist-info/entry_points.txt,sha256=7j-3pQVpQfnaVzUV83g7zlCA30ePlnXkhHLAGGz9xrQ,36
|
118
|
+
clapp_pm-1.0.41.dist-info/top_level.txt,sha256=-nbfxZD1zt1LMxzElOZyNhKpdwHhZD-d5ZWrwIArCtE,495
|
119
|
+
clapp_pm-1.0.41.dist-info/RECORD,,
|
publish_command.py
CHANGED
@@ -272,10 +272,17 @@ def push_to_clapp_packages_repo(app_name: str, app_version: str) -> Tuple[bool,
|
|
272
272
|
shutil.copytree(source_app, target_app)
|
273
273
|
print(f"✅ {app_name} uygulaması clapp-packages reposuna kopyalandı")
|
274
274
|
|
275
|
-
# index.json'u
|
276
|
-
|
277
|
-
|
278
|
-
|
275
|
+
# Ana clapp dizinindeki index.json'u kopyala
|
276
|
+
clapp_root, _ = find_clapp_root_with_build_index()
|
277
|
+
if clapp_root:
|
278
|
+
source_index = os.path.join(clapp_root, "index.json")
|
279
|
+
if os.path.exists(source_index):
|
280
|
+
shutil.copy(source_index, os.path.join(packages_repo_path, "index.json"))
|
281
|
+
print("✅ index.json clapp-packages reposuna kopyalandı")
|
282
|
+
else:
|
283
|
+
print("⚠️ Ana clapp dizininde index.json bulunamadı")
|
284
|
+
else:
|
285
|
+
print("⚠️ Ana clapp dizini bulunamadı, index.json kopyalanamadı")
|
279
286
|
|
280
287
|
# clapp-packages reposuna git işlemleri
|
281
288
|
os.chdir(packages_repo_path)
|
@@ -284,16 +291,18 @@ def push_to_clapp_packages_repo(app_name: str, app_version: str) -> Tuple[bool,
|
|
284
291
|
result = subprocess.run(['git', 'status', '--porcelain'],
|
285
292
|
capture_output=True, text=True)
|
286
293
|
|
287
|
-
#
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
294
|
+
# Working tree'de değişiklik var mı kontrol et
|
295
|
+
if result.stdout.strip():
|
296
|
+
# Değişiklik var, add ve commit yap
|
297
|
+
print("📦 Değişiklikler commit ediliyor...")
|
298
|
+
subprocess.run(['git', 'add', '.'], check=True)
|
299
|
+
|
300
|
+
# Commit oluştur
|
301
|
+
commit_message = f"📦 Publish {app_name} v{app_version}\n\n- {app_name} uygulaması packages/ klasörüne eklendi\n- index.json güncellendi\n- Otomatik publish işlemi"
|
302
|
+
subprocess.run(['git', 'commit', '-m', commit_message], check=True)
|
303
|
+
else:
|
304
|
+
# Working tree temiz, sadece push yapılıyor...
|
305
|
+
print("📦 Working tree temiz, sadece push yapılıyor...")
|
297
306
|
|
298
307
|
# Push et
|
299
308
|
try:
|
version.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|