clapp-pm 1.0.18__tar.gz → 1.0.20__tar.gz

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.
Files changed (107) hide show
  1. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/PKG-INFO +1 -1
  2. clapp_pm-1.0.20/apps/test-app/README.md +51 -0
  3. clapp_pm-1.0.20/apps/test-app/main.py +55 -0
  4. clapp_pm-1.0.20/apps/test-app/manifest.json +15 -0
  5. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_pm.egg-info/SOURCES.txt +25 -12
  6. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_pm.egg-info/top_level.txt +3 -1
  7. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/cli_commands.py +34 -29
  8. clapp_pm-1.0.20/docs/developer_guide.md +361 -0
  9. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/install_command.py +12 -12
  10. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/installer.py +18 -12
  11. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/main.py +25 -16
  12. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/manifest_schema.py +20 -5
  13. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/manifest_validator.py +3 -3
  14. clapp_pm-1.0.20/new_command.py +181 -0
  15. clapp_pm-1.0.20/package_runner.py +187 -0
  16. clapp_pm-1.0.20/package_signing.py +148 -0
  17. clapp_pm-1.0.20/progress_utils.py +274 -0
  18. clapp_pm-1.0.20/templates/dart/manifest.json +11 -0
  19. clapp_pm-1.0.20/templates/lua/manifest.json +11 -0
  20. clapp_pm-1.0.20/templates/python/README.md +51 -0
  21. clapp_pm-1.0.20/templates/python/main.py +55 -0
  22. clapp_pm-1.0.20/templates/python/manifest.json +11 -0
  23. clapp_pm-1.0.20/test-app/README.md +51 -0
  24. clapp_pm-1.0.20/test-app/main.py +55 -0
  25. clapp_pm-1.0.20/test-app/manifest.json +15 -0
  26. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/version.json +1 -1
  27. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/version.py +1 -1
  28. clapp_pm-1.0.18/clapp-packages-repo/packages/hello-python/main.py +0 -0
  29. clapp_pm-1.0.18/clapp-packages-repo/packages/hello-python/manifest.json +0 -0
  30. clapp_pm-1.0.18/package_runner.py +0 -87
  31. clapp_pm-1.0.18/package_signing.py +0 -370
  32. clapp_pm-1.0.18/packages/test-app/main.py +0 -1
  33. clapp_pm-1.0.18/packages/test-app/manifest.json +0 -1
  34. clapp_pm-1.0.18/packages/test-app2/main.py +0 -1
  35. clapp_pm-1.0.18/packages/test-app2/manifest.json +0 -1
  36. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/CHANGELOG.md +0 -0
  37. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/GITHUB_SETUP.md +0 -0
  38. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/LICENSE +0 -0
  39. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/MANIFEST.in +0 -0
  40. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/PYPI_UPLOAD.md +0 -0
  41. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/README.md +0 -0
  42. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/advanced_test.py +0 -0
  43. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/build_index.py +0 -0
  44. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/check_env.py +0 -0
  45. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/clapp_core.py +0 -0
  46. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/clean_command.py +0 -0
  47. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/cli_commands.py +0 -0
  48. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/dependency_resolver.py +0 -0
  49. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/doctor_command.py +0 -0
  50. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/info_command.py +0 -0
  51. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/install_command.py +0 -0
  52. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/installer.py +0 -0
  53. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/list_command.py +0 -0
  54. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/main.py +0 -0
  55. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/manifest_schema.py +0 -0
  56. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/manifest_validator.py +0 -0
  57. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/package_registry.py +0 -0
  58. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/package_runner.py +0 -0
  59. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/post_install_hint.py +0 -0
  60. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/publish_command.py +0 -0
  61. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/remote_registry.py +0 -0
  62. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/setup.py +0 -0
  63. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/system_test.py +0 -0
  64. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/uninstall_command.py +0 -0
  65. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/validate_command.py +0 -0
  66. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/version.py +0 -0
  67. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/version_command.py +0 -0
  68. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/backup_current/where_command.py +0 -0
  69. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/build_index.py +0 -0
  70. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/cache_manager.py +0 -0
  71. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/check_env.py +0 -0
  72. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/README.md +0 -0
  73. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/index.json +0 -0
  74. {clapp_pm-1.0.18 → clapp_pm-1.0.20/clapp-packages-repo}/packages/hello-python/main.py +0 -0
  75. {clapp_pm-1.0.18 → clapp_pm-1.0.20/clapp-packages-repo}/packages/hello-python/manifest.json +0 -0
  76. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/packages/test-app/main.py +0 -0
  77. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/packages/test-app/manifest.json +0 -0
  78. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/packages/test-app2/main.py +0 -0
  79. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/packages/test-app2/manifest.json +0 -0
  80. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp-packages-repo/packages.json +0 -0
  81. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_app_structure.md +0 -0
  82. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_core.py +0 -0
  83. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_pm.egg-info/dependency_links.txt +0 -0
  84. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_pm.egg-info/entry_points.txt +0 -0
  85. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clapp_pm.egg-info/requires.txt +0 -0
  86. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/clean_command.py +0 -0
  87. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/dependency_resolver.py +0 -0
  88. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/deploy.py +0 -0
  89. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/doctor_command.py +0 -0
  90. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/index.json +0 -0
  91. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/info_command.py +0 -0
  92. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/list_command.py +0 -0
  93. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/package_registry.py +0 -0
  94. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/post_install_hint.py +0 -0
  95. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/publish_command.py +0 -0
  96. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/pyproject.toml +0 -0
  97. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/remote_registry.py +0 -0
  98. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/requirements.txt +0 -0
  99. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/setup.cfg +0 -0
  100. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/setup.py +0 -0
  101. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/smart_search.py +0 -0
  102. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/system_test.py +0 -0
  103. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/uninstall_command.py +0 -0
  104. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/validate_command.py +0 -0
  105. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/version_command.py +0 -0
  106. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/version_manager.py +0 -0
  107. {clapp_pm-1.0.18 → clapp_pm-1.0.20}/where_command.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clapp-pm
3
- Version: 1.0.18
3
+ Version: 1.0.20
4
4
  Summary: Lightweight cross-language app manager for Python and Lua
5
5
  Home-page: https://github.com/mburakmmm/clapp
6
6
  Author: Melih Burak Memiş
@@ -0,0 +1,51 @@
1
+ # Hello Python - clapp Örnek Uygulaması
2
+
3
+ Bu uygulama, clapp için Python uygulaması geliştirme örneğidir.
4
+
5
+ ## 🚀 Özellikler
6
+
7
+ - Basit kullanıcı etkileşimi
8
+ - Hata yönetimi
9
+ - Sistem bilgileri gösterimi
10
+ - Matematik işlemleri
11
+
12
+ ## 📦 Kurulum
13
+
14
+ ```bash
15
+ # Uygulamayı yükle
16
+ clapp install ./hello-python
17
+
18
+ # Uygulamayı çalıştır
19
+ clapp run hello-python
20
+ ```
21
+
22
+ ## 🧪 Test
23
+
24
+ ```bash
25
+ # Uygulamayı doğrula
26
+ clapp validate ./hello-python
27
+
28
+ # Bağımlılıkları kontrol et
29
+ clapp dependency check hello-python
30
+ ```
31
+
32
+ ## 📁 Dosya Yapısı
33
+
34
+ ```
35
+ hello-python/
36
+ ├── manifest.json # Uygulama manifesti
37
+ ├── main.py # Ana uygulama dosyası
38
+ └── README.md # Bu dosya
39
+ ```
40
+
41
+ ## 🔧 Geliştirme
42
+
43
+ Bu şablonu kendi uygulamanız için kullanabilirsiniz:
44
+
45
+ 1. `manifest.json` dosyasındaki `name` alanını değiştirin
46
+ 2. `main.py` dosyasını kendi kodunuzla değiştirin
47
+ 3. Gerekirse `requirements.txt` ekleyin
48
+
49
+ ## 📝 Lisans
50
+
51
+ MIT License
@@ -0,0 +1,55 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Hello Python - clapp Örnek Uygulaması
4
+
5
+ Bu uygulama clapp için Python uygulaması geliştirme örneğidir.
6
+ """
7
+
8
+ import sys
9
+ import os
10
+ from datetime import datetime
11
+
12
+ def main():
13
+ """Ana fonksiyon"""
14
+ print("=" * 50)
15
+ print("🚀 Hello Python - clapp Örnek Uygulaması")
16
+ print("=" * 50)
17
+
18
+ # Temel bilgiler
19
+ print(f"📅 Tarih: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")
20
+ print(f"🐍 Python Sürümü: {sys.version}")
21
+ print(f"📁 Çalışma Dizini: {os.getcwd()}")
22
+
23
+ # Kullanıcı etkileşimi
24
+ name = input("\n👋 Adınızı girin: ")
25
+ if name.strip():
26
+ print(f"Merhaba {name}! clapp'e hoş geldiniz!")
27
+ else:
28
+ print("Merhaba! clapp'e hoş geldiniz!")
29
+
30
+ # Örnek işlemler
31
+ print("\n🔢 Basit Hesaplama Örneği:")
32
+ try:
33
+ a = float(input("Birinci sayıyı girin: "))
34
+ b = float(input("İkinci sayıyı girin: "))
35
+
36
+ print(f"Toplam: {a + b}")
37
+ print(f"Çarpım: {a * b}")
38
+ print(f"Bölüm: {a / b if b != 0 else 'Tanımsız'}")
39
+
40
+ except ValueError:
41
+ print("❌ Geçersiz sayı girişi!")
42
+ except ZeroDivisionError:
43
+ print("❌ Sıfıra bölme hatası!")
44
+
45
+ print("\n✅ Uygulama başarıyla tamamlandı!")
46
+ print("=" * 50)
47
+
48
+ if __name__ == "__main__":
49
+ try:
50
+ main()
51
+ except KeyboardInterrupt:
52
+ print("\n\n👋 Uygulama kullanıcı tarafından sonlandırıldı.")
53
+ except Exception as e:
54
+ print(f"\n❌ Beklenmeyen hata: {e}")
55
+ sys.exit(1)
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "test-app",
3
+ "version": "1.0.0",
4
+ "language": "python",
5
+ "entry": "main.py",
6
+ "description": "Basit bir Python Hello World uygulaması",
7
+ "author": "clapp Developer",
8
+ "license": "MIT",
9
+ "tags": [
10
+ "example",
11
+ "hello",
12
+ "python"
13
+ ],
14
+ "category": "demo"
15
+ }
@@ -22,10 +22,12 @@ list_command.py
22
22
  main.py
23
23
  manifest_schema.py
24
24
  manifest_validator.py
25
+ new_command.py
25
26
  package_registry.py
26
27
  package_runner.py
27
28
  package_signing.py
28
29
  post_install_hint.py
30
+ progress_utils.py
29
31
  publish_command.py
30
32
  pyproject.toml
31
33
  remote_registry.py
@@ -63,10 +65,12 @@ where_command.py
63
65
  ./main.py
64
66
  ./manifest_schema.py
65
67
  ./manifest_validator.py
68
+ ./new_command.py
66
69
  ./package_registry.py
67
70
  ./package_runner.py
68
71
  ./package_signing.py
69
72
  ./post_install_hint.py
73
+ ./progress_utils.py
70
74
  ./publish_command.py
71
75
  ./remote_registry.py
72
76
  ./requirements.txt
@@ -80,6 +84,9 @@ where_command.py
80
84
  ./version_command.py
81
85
  ./version_manager.py
82
86
  ./where_command.py
87
+ ./apps/test-app/README.md
88
+ ./apps/test-app/main.py
89
+ ./apps/test-app/manifest.json
83
90
  ./backup_current/build_index.py
84
91
  ./backup_current/check_env.py
85
92
  ./backup_current/clapp_core.py
@@ -120,12 +127,15 @@ where_command.py
120
127
  ./clapp_pm.egg-info/entry_points.txt
121
128
  ./clapp_pm.egg-info/requires.txt
122
129
  ./clapp_pm.egg-info/top_level.txt
123
- ./packages/hello-python/main.py
124
- ./packages/hello-python/manifest.json
125
- ./packages/test-app/main.py
126
- ./packages/test-app/manifest.json
127
- ./packages/test-app2/main.py
128
- ./packages/test-app2/manifest.json
130
+ ./docs/developer_guide.md
131
+ ./templates/dart/manifest.json
132
+ ./templates/lua/manifest.json
133
+ ./templates/python/README.md
134
+ ./templates/python/main.py
135
+ ./templates/python/manifest.json
136
+ ./test-app/README.md
137
+ ./test-app/main.py
138
+ ./test-app/manifest.json
129
139
  backup_current/build_index.py
130
140
  backup_current/check_env.py
131
141
  backup_current/clapp_core.py
@@ -161,9 +171,12 @@ clapp-packages-repo/packages/test-app/main.py
161
171
  clapp-packages-repo/packages/test-app/manifest.json
162
172
  clapp-packages-repo/packages/test-app2/main.py
163
173
  clapp-packages-repo/packages/test-app2/manifest.json
164
- packages/hello-python/main.py
165
- packages/hello-python/manifest.json
166
- packages/test-app/main.py
167
- packages/test-app/manifest.json
168
- packages/test-app2/main.py
169
- packages/test-app2/manifest.json
174
+ docs/developer_guide.md
175
+ templates/dart/manifest.json
176
+ templates/lua/manifest.json
177
+ templates/python/README.md
178
+ templates/python/main.py
179
+ templates/python/manifest.json
180
+ test-app/README.md
181
+ test-app/main.py
182
+ test-app/manifest.json
@@ -7,6 +7,7 @@ clean_command
7
7
  cli_commands
8
8
  dependency_resolver
9
9
  dist
10
+ docs
10
11
  doctor_command
11
12
  info_command
12
13
  install_command
@@ -18,11 +19,12 @@ manifest_validator
18
19
  package_registry
19
20
  package_runner
20
21
  package_signing
21
- packages
22
22
  post_install_hint
23
23
  publish_command
24
24
  remote_registry
25
25
  smart_search
26
+ templates
27
+ test-app
26
28
  uninstall_command
27
29
  validate_command
28
30
  version
@@ -5,6 +5,7 @@ from installer import install_package, uninstall_package, create_package_from_di
5
5
  from package_registry import list_packages, get_manifest
6
6
  from dependency_resolver import get_dependency_report, get_system_dependency_report
7
7
  from manifest_validator import validate_manifest_file, get_validation_summary
8
+ from progress_utils import show_success_message, show_error_message, show_info_message, show_warning_message
8
9
 
9
10
  # Yeni komut modüllerini import et
10
11
  from publish_command import publish_app
@@ -51,30 +52,30 @@ def install_from_remote_legacy(app_name, force=False):
51
52
  if not download_url:
52
53
  return False, f"'{app_name}' için indirme URL'si bulunamadı"
53
54
 
54
- print(f"📦 {app_name} v{package_info.get('version', '0.0.0')}")
55
- print(f"📝 {package_info.get('description', 'Açıklama yok')}")
56
- print(f"💻 Dil: {package_info.get('language', 'Bilinmiyor')}")
55
+ show_info_message(f"📦 {app_name} v{package_info.get('version', '0.0.0')}")
56
+ show_info_message(f"📝 {package_info.get('description', 'Açıklama yok')}")
57
+ show_info_message(f"💻 Dil: {package_info.get('language', 'Bilinmiyor')}")
57
58
 
58
59
  # Bağımlılıkları göster
59
60
  dependencies = package_info.get('dependencies', [])
60
61
  if dependencies:
61
- print(f"🔗 Bağımlılıklar: {', '.join(dependencies)}")
62
+ show_info_message(f"🔗 Bağımlılıklar: {', '.join(dependencies)}")
62
63
 
63
- print(f"⬇️ İndiriliyor: {download_url}")
64
+ show_info_message(f"⬇️ İndiriliyor: {download_url}")
64
65
 
65
66
  # Paketi yükle
66
67
  success, message = install_package(download_url, force)
67
68
 
68
69
  if success:
69
- print(f"✅ {message}")
70
+ show_success_message(message)
70
71
 
71
72
  # Bağımlılık kontrolü
72
- print("\n🔍 Bağımlılıklar kontrol ediliyor...")
73
+ show_info_message("🔍 Bağımlılıklar kontrol ediliyor...")
73
74
  dep_report = get_dependency_report(app_name)
74
75
  print(dep_report)
75
76
 
76
77
  else:
77
- print(f"❌ {message}")
78
+ show_error_message(message)
78
79
 
79
80
  return success, message
80
81
 
@@ -118,7 +119,11 @@ def list_installed_apps(format_type="table", language_filter=None, search_term=N
118
119
  tuple: (success: bool, message: str)
119
120
  """
120
121
  try:
121
- output = list_apps(format_type, language_filter, search_term)
122
+ output = list_apps(
123
+ format_type,
124
+ language_filter or "",
125
+ search_term or ""
126
+ )
122
127
  print(output)
123
128
  return True, "Liste gösterildi"
124
129
  except Exception as e:
@@ -148,15 +153,15 @@ def upgrade_package(app_name):
148
153
 
149
154
  remote_version = remote_package.get('version', '0.0.0')
150
155
 
151
- print(f"📦 {app_name}")
152
- print(f"📱 Yerel sürüm: {local_version}")
153
- print(f"🌐 Uzak sürüm: {remote_version}")
156
+ show_info_message(f"📦 {app_name}")
157
+ show_info_message(f"📱 Yerel sürüm: {local_version}")
158
+ show_info_message(f"🌐 Uzak sürüm: {remote_version}")
154
159
 
155
160
  # Sürüm karşılaştırması (basit string karşılaştırması)
156
161
  if local_version == remote_version:
157
162
  return True, f"'{app_name}' zaten güncel (v{local_version})"
158
163
 
159
- print(f"🔄 Güncelleme mevcut: {local_version} → {remote_version}")
164
+ show_info_message(f"🔄 Güncelleme mevcut: {local_version} → {remote_version}")
160
165
 
161
166
  # Güncelleme için yeniden yükle
162
167
  return install_from_remote(app_name, force=True)
@@ -177,13 +182,13 @@ def publish_package(app_path):
177
182
  if not os.path.isdir(app_path):
178
183
  return False, f"'{app_path}' bir dizin değil"
179
184
 
180
- print(f"📁 Paket hazırlanıyor: {app_path}")
185
+ show_info_message(f"📁 Paket hazırlanıyor: {app_path}")
181
186
 
182
187
  # Manifest doğrulama
183
188
  manifest_path = os.path.join(app_path, "manifest.json")
184
189
  is_valid, errors = validate_manifest_file(manifest_path)
185
190
 
186
- print("🔍 Manifest doğrulanıyor...")
191
+ show_info_message("🔍 Manifest doğrulanıyor...")
187
192
  print(get_validation_summary(errors))
188
193
 
189
194
  if not is_valid:
@@ -193,15 +198,15 @@ def publish_package(app_path):
193
198
  success, message, output_file = create_package_from_directory(app_path)
194
199
 
195
200
  if success:
196
- print(f"✅ {message}")
197
- print("\n📋 Yayınlama talimatları:")
201
+ show_success_message(message)
202
+ show_info_message("\n📋 Yayınlama talimatları:")
198
203
  print("1. Oluşturulan .clapp.zip dosyasını GitHub'a yükleyin")
199
204
  print("2. packages.json dosyasını güncelleyin")
200
205
  print("3. Pull request oluşturun")
201
206
  print(f"\n📁 Paket dosyası: {output_file}")
202
207
 
203
208
  else:
204
- print(f"❌ {message}")
209
+ show_error_message(message)
205
210
 
206
211
  return success, message
207
212
 
@@ -215,14 +220,14 @@ def search_remote_packages(query):
215
220
  Returns:
216
221
  tuple: (success: bool, message: str)
217
222
  """
218
- print(f"🔍 Arama yapılıyor: '{query}'")
223
+ show_info_message(f"🔍 Arama yapılıyor: '{query}'")
219
224
 
220
225
  results = search_packages(query)
221
226
 
222
227
  if not results:
223
228
  return False, f"'{query}' için sonuç bulunamadı"
224
229
 
225
- print(f"{len(results)} sonuç bulundu:\n")
230
+ show_success_message(f"{len(results)} sonuç bulundu:\n")
226
231
 
227
232
  for package in results:
228
233
  name = package.get('name', 'Bilinmiyor')
@@ -319,25 +324,25 @@ def check_system_health():
319
324
  Returns:
320
325
  tuple: (success: bool, message: str)
321
326
  """
322
- print("🏥 Sistem Sağlık Kontrolü")
327
+ show_info_message("🏥 Sistem Sağlık Kontrolü")
323
328
  print("=" * 40)
324
329
 
325
330
  # Bağımlılık kontrolü
326
- print("🔍 Bağımlılıklar kontrol ediliyor...")
331
+ show_info_message("🔍 Bağımlılıklar kontrol ediliyor...")
327
332
  dep_report = get_system_dependency_report()
328
333
  print(dep_report)
329
334
 
330
335
  # Uzak bağlantı kontrolü
331
- print("🌐 Uzak bağlantı kontrol ediliyor...")
336
+ show_info_message("🌐 Uzak bağlantı kontrol ediliyor...")
332
337
  from remote_registry import check_remote_connectivity
333
338
 
334
339
  if check_remote_connectivity():
335
- print("Uzak paket deposuna bağlantı başarılı")
340
+ show_success_message("Uzak paket deposuna bağlantı başarılı")
336
341
  else:
337
- print("Uzak paket deposuna bağlantı kurulamadı")
342
+ show_error_message("Uzak paket deposuna bağlantı kurulamadı")
338
343
 
339
344
  # Manifest doğrulama
340
- print("\n🔍 Tüm manifest'ler doğrulanıyor...")
345
+ show_info_message("\n🔍 Tüm manifest'ler doğrulanıyor...")
341
346
  local_packages = list_packages()
342
347
  invalid_count = 0
343
348
 
@@ -348,13 +353,13 @@ def check_system_health():
348
353
 
349
354
  is_valid, errors = validate_manifest_file(manifest_path)
350
355
  if not is_valid:
351
- print(f"{app_name}: Geçersiz manifest")
356
+ show_error_message(f"{app_name}: Geçersiz manifest")
352
357
  invalid_count += 1
353
358
 
354
359
  if invalid_count == 0:
355
- print("Tüm manifest'ler geçerli")
360
+ show_success_message("Tüm manifest'ler geçerli")
356
361
  else:
357
- print(f"{invalid_count} geçersiz manifest bulundu")
362
+ show_error_message(f"{invalid_count} geçersiz manifest bulundu")
358
363
 
359
364
  return True, "Sistem sağlık kontrolü tamamlandı"
360
365