machineconfig 4.97__py3-none-any.whl → 4.98__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.
Potentially problematic release.
This version of machineconfig might be problematic. Click here for more details.
- machineconfig/jobs/installer/installer_data.json +1 -1
- machineconfig/jobs/installer/package_groups.py +2 -1
- machineconfig/scripts/python/devops.py +1 -1
- machineconfig/scripts/python/interactive.py +1 -1
- machineconfig/scripts/python/share_terminal.py +1 -1
- machineconfig/{scripts/python/devops_devapps_install.py → utils/installer_utils/installer.py} +2 -3
- machineconfig/utils/path_extended.py +4 -2
- {machineconfig-4.97.dist-info → machineconfig-4.98.dist-info}/METADATA +1 -1
- {machineconfig-4.97.dist-info → machineconfig-4.98.dist-info}/RECORD +12 -12
- {machineconfig-4.97.dist-info → machineconfig-4.98.dist-info}/WHEEL +0 -0
- {machineconfig-4.97.dist-info → machineconfig-4.98.dist-info}/entry_points.txt +0 -0
- {machineconfig-4.97.dist-info → machineconfig-4.98.dist-info}/top_level.txt +0 -0
|
@@ -44,8 +44,9 @@ PACKAGES_BROWSERS = [
|
|
|
44
44
|
]
|
|
45
45
|
|
|
46
46
|
# Code Editors & IDEs - Code editing tools
|
|
47
|
+
# NOTE: Entries must match the corresponding `appName` in installer_data.json for filtering to work.
|
|
47
48
|
PACKAGES_CODE_EDITORS = [
|
|
48
|
-
"
|
|
49
|
+
"code",
|
|
49
50
|
"Cursor",
|
|
50
51
|
"lvim",
|
|
51
52
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""devops with emojis"""
|
|
2
2
|
|
|
3
|
-
import machineconfig.
|
|
3
|
+
import machineconfig.utils.installer_utils.installer as installer_entry_point
|
|
4
4
|
import machineconfig.scripts.python.share_terminal as share_terminal
|
|
5
5
|
import machineconfig.scripts.python.repos as repos
|
|
6
6
|
|
|
@@ -124,7 +124,7 @@ def execute_installations(selected_options: list[str]) -> None:
|
|
|
124
124
|
console.print(Panel("⚡ [bold bright_yellow]CLI APPLICATIONS[/bold bright_yellow]\n[italic]Command-line tools installation[/italic]", border_style="bright_yellow"))
|
|
125
125
|
console.print("🔧 Installing CLI applications", style="bold cyan")
|
|
126
126
|
try:
|
|
127
|
-
from machineconfig.
|
|
127
|
+
from machineconfig.utils.installer_utils.installer import main as devops_devapps_install_main
|
|
128
128
|
devops_devapps_install_main(group=maybe_a_group) # type: ignore
|
|
129
129
|
console.print("✅ CLI applications installed successfully", style="bold green")
|
|
130
130
|
except Exception as e:
|
|
@@ -58,7 +58,7 @@ def install_ttyd():
|
|
|
58
58
|
print("✅ ttyd is already installed.")
|
|
59
59
|
return
|
|
60
60
|
print("⏳ ttyd not found. Installing...")
|
|
61
|
-
from machineconfig.
|
|
61
|
+
from machineconfig.utils.installer_utils.installer import main
|
|
62
62
|
main(which="ttyd")
|
|
63
63
|
|
|
64
64
|
|
machineconfig/{scripts/python/devops_devapps_install.py → utils/installer_utils/installer.py}
RENAMED
|
@@ -162,12 +162,11 @@ def install_clis(clis_names: list[str]):
|
|
|
162
162
|
|
|
163
163
|
total_messages: list[str] = []
|
|
164
164
|
for a_which in clis_names:
|
|
165
|
-
all_installers = get_installers(os=get_os_name(), arch=get_normalized_arch(), which_cats=
|
|
165
|
+
all_installers = get_installers(os=get_os_name(), arch=get_normalized_arch(), which_cats=None)
|
|
166
166
|
selected_installer = None
|
|
167
167
|
for installer in all_installers:
|
|
168
|
-
exe_name = installer["appName"]
|
|
169
168
|
app_name = installer["appName"]
|
|
170
|
-
if
|
|
169
|
+
if app_name.lower() == a_which.lower():
|
|
171
170
|
selected_installer = installer
|
|
172
171
|
break
|
|
173
172
|
if selected_installer is None:
|
|
@@ -9,8 +9,6 @@ import os
|
|
|
9
9
|
from platform import system
|
|
10
10
|
from typing import Any, Optional, Union, Callable, TypeAlias, Literal
|
|
11
11
|
|
|
12
|
-
from machineconfig.utils.terminal import Response
|
|
13
|
-
|
|
14
12
|
|
|
15
13
|
OPLike: TypeAlias = Union[str, "PathExtended", Path, None]
|
|
16
14
|
PLike: TypeAlias = Union[str, "PathExtended", Path]
|
|
@@ -925,6 +923,8 @@ class PathExtended(type(Path()), Path): # type: ignore # pylint: disable=E0241
|
|
|
925
923
|
shell_to_use = "powershell" if sys.platform == "win32" else "bash"
|
|
926
924
|
command = f"rclone link '{cloud}:{rp.as_posix()}'"
|
|
927
925
|
completed = _run_shell_command(command, shell_to_use)
|
|
926
|
+
from machineconfig.utils.terminal import Response
|
|
927
|
+
|
|
928
928
|
res = Response.from_completed_process(completed).capture()
|
|
929
929
|
tmp = res.op2path(strict_err=False, strict_returncode=False)
|
|
930
930
|
if tmp is None:
|
|
@@ -1001,6 +1001,8 @@ class PathExtended(type(Path()), Path): # type: ignore # pylint: disable=E0241
|
|
|
1001
1001
|
stdout_target: Optional[int] = None if verbose else subprocess.PIPE
|
|
1002
1002
|
stderr_target: Optional[int] = None if verbose else subprocess.PIPE
|
|
1003
1003
|
completed = _run_shell_command(rclone_cmd, shell_to_use, stdout=stdout_target, stderr=stderr_target)
|
|
1004
|
+
from machineconfig.utils.terminal import Response
|
|
1005
|
+
|
|
1004
1006
|
res = Response.from_completed_process(completed)
|
|
1005
1007
|
success = res.is_successful(strict_err=False, strict_returcode=True)
|
|
1006
1008
|
if not success:
|
|
@@ -43,8 +43,8 @@ machineconfig/cluster/templates/run_remote.py,sha256=vCc56t8BUAUJp7tyb0PFfwy5hlm
|
|
|
43
43
|
machineconfig/cluster/templates/utils.py,sha256=5lHgjHvodoSPBD31AwluHBBNgwimwThUsDNWGN8iH9I,1647
|
|
44
44
|
machineconfig/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
machineconfig/jobs/installer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
-
machineconfig/jobs/installer/installer_data.json,sha256=
|
|
47
|
-
machineconfig/jobs/installer/package_groups.py,sha256=
|
|
46
|
+
machineconfig/jobs/installer/installer_data.json,sha256=K6B6EPD8IXIeOzkY7sIIpphBmDVwnV_tczULAx-Y2ps,72114
|
|
47
|
+
machineconfig/jobs/installer/package_groups.py,sha256=VuI4WZEDpgApBptxqu7mbfKxrQ99JY52L1n2devP-y0,6822
|
|
48
48
|
machineconfig/jobs/installer/custom/gh.py,sha256=iZZI4ND87eiWlj-Y5uJ7LuN8ln2QkqjJyeOMFZ0o-YA,2963
|
|
49
49
|
machineconfig/jobs/installer/custom/hx.py,sha256=FrUD0mlhWG2GxrnarccVIaW_sHJ5mxeF6yyzbBWyx6w,5840
|
|
50
50
|
machineconfig/jobs/installer/custom_dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -148,11 +148,10 @@ machineconfig/scripts/python/cloud_mount.py,sha256=RFMzRUep2D5HtVXANIi-pab3EkI-W
|
|
|
148
148
|
machineconfig/scripts/python/cloud_repo_sync.py,sha256=PTZ4gyhMFwW77DxE86GyNQK0JDFLcMUSF69AM80SvxY,9781
|
|
149
149
|
machineconfig/scripts/python/cloud_sync.py,sha256=RWGpAfJ9fnN18yNBSgN44dzA38Hmd4879JL5r2pcyrM,3514
|
|
150
150
|
machineconfig/scripts/python/croshell.py,sha256=wYi8xWkzYzpfg8YNppmu22mvx0Gxtbs979ERO3kZS2w,8587
|
|
151
|
-
machineconfig/scripts/python/devops.py,sha256=
|
|
151
|
+
machineconfig/scripts/python/devops.py,sha256=C2aHrYJqXcvgTOam1zucWflLjUYZnNwpFrZ7ccltqXk,3428
|
|
152
152
|
machineconfig/scripts/python/devops_add_identity.py,sha256=JfN3ZrYMCgmt4ks_VCfnV9BIIHAsOYO3E0W0wZ15FR8,3791
|
|
153
153
|
machineconfig/scripts/python/devops_add_ssh_key.py,sha256=KaoX83KltBsmutfKhSfZjd7nP_R1hJ2OLAWRhbswO7o,6889
|
|
154
154
|
machineconfig/scripts/python/devops_backup_retrieve.py,sha256=jZe5Vki7E2GCMG8hvqUZeOONFC4cNzISoGzq_dMG4GA,5601
|
|
155
|
-
machineconfig/scripts/python/devops_devapps_install.py,sha256=2MZsR5aOY_z7dhgrdeffxVhq1i3kxeuthtHLpKmCA18,9333
|
|
156
155
|
machineconfig/scripts/python/devops_update_repos.py,sha256=c5qBc9cuTGDEqDHufkjDT4d_vvJsswv3tlqk9MAulYk,8063
|
|
157
156
|
machineconfig/scripts/python/dotfile.py,sha256=SRcX-9Ak1jRvF-killBTTm2IWcsNxfiLucH6ZsytAFA,2202
|
|
158
157
|
machineconfig/scripts/python/fire_agents_help_launch.py,sha256=1ymWiszfjCyPv3ofinWzfOmbzLEt3d7ntac_afLh-V4,5017
|
|
@@ -166,7 +165,7 @@ machineconfig/scripts/python/fire_jobs_streamlit_helper.py,sha256=47DEQpj8HBSa-_
|
|
|
166
165
|
machineconfig/scripts/python/ftpx.py,sha256=l_gdJS0QB2wVZErubtZvm4HJD9HZAJxSP68sbY73xwo,10278
|
|
167
166
|
machineconfig/scripts/python/get_zellij_cmd.py,sha256=e35-18hoXM9N3PFbvbizfkNY_-63iMicieWE3TbGcCQ,576
|
|
168
167
|
machineconfig/scripts/python/gh_models.py,sha256=3BLfW25mBRiPO5VKtVm-nMlKLv-PaZDw7mObajq6F6M,5538
|
|
169
|
-
machineconfig/scripts/python/interactive.py,sha256=
|
|
168
|
+
machineconfig/scripts/python/interactive.py,sha256=NHAniZPgEfhgA3higTRD3U76nHIDpZLygWebhKc6ld0,11791
|
|
170
169
|
machineconfig/scripts/python/mount_nfs.py,sha256=5HmtsAelFSVzl8o_F9mBoKiuVNIyRHjvdqKzFJR1P64,3376
|
|
171
170
|
machineconfig/scripts/python/mount_nw_drive.py,sha256=iru6AtnTyvyuk6WxlK5R4lDkuliVpPV5_uBTVVhXtjQ,1550
|
|
172
171
|
machineconfig/scripts/python/mount_ssh.py,sha256=7dYCBtkJE43rwuvhxiYzyTlJ230RFQbZOA29veYQbuU,2284
|
|
@@ -179,7 +178,7 @@ machineconfig/scripts/python/repos_helper_record.py,sha256=YEEQORfEiLddOIIgePo5e
|
|
|
179
178
|
machineconfig/scripts/python/repos_helper_update.py,sha256=AYyKIB7eQ48yoYmFjydIhRI1lV39TBv_S4_LCa-oKuQ,11042
|
|
180
179
|
machineconfig/scripts/python/scheduler.py,sha256=rKhssuxkD697EY6qaV6CSdNhxpAQLDWO4fE8GMCQ9FA,3061
|
|
181
180
|
machineconfig/scripts/python/sessions.py,sha256=moLdAPHMn90zd6blugplQ2V__xurOcMBH2WRYqRf-hA,8415
|
|
182
|
-
machineconfig/scripts/python/share_terminal.py,sha256=
|
|
181
|
+
machineconfig/scripts/python/share_terminal.py,sha256=lBZgfFH34P9dfcy3eZNjFUR5OsR6sVfq1vV2eiqQYxQ,5003
|
|
183
182
|
machineconfig/scripts/python/snapshot.py,sha256=aDvKeoniZaeTSNv9zWBUajaj2yagAxVdfuvO1_tgq5Y,1026
|
|
184
183
|
machineconfig/scripts/python/start_slidev.py,sha256=0rVK7uQL70FAYvVk1SQ-tKRlT1fEj-5wIKCLAnM4-9M,4913
|
|
185
184
|
machineconfig/scripts/python/start_terminals.py,sha256=DRWbMZumhPmL0DvvsCsbRNFL5AVQn1SgaziafTio3YQ,6149
|
|
@@ -386,7 +385,7 @@ machineconfig/utils/io.py,sha256=ZXB3aataS1IZ_0WMcCRSmoN1nbkvEO-bWYcs-TpngqU,287
|
|
|
386
385
|
machineconfig/utils/links.py,sha256=riNUrG8aGElRszdOPOic4M2AyOcpdcth_-y8JEiZpJ4,10253
|
|
387
386
|
machineconfig/utils/notifications.py,sha256=vvdsY5IX6XEiILTnt5lNyHxhCi0ljdGX2T_67VRfrG4,9009
|
|
388
387
|
machineconfig/utils/options.py,sha256=8pG-apcc28xxJ5BQiACsGNTKwWtkQyH3hCtzBEhokK8,8366
|
|
389
|
-
machineconfig/utils/path_extended.py,sha256=
|
|
388
|
+
machineconfig/utils/path_extended.py,sha256=Xjdn2AVnB8p1jfNMNe2kJutVa5zGnFFJVGZbw-Bp_hg,53200
|
|
390
389
|
machineconfig/utils/path_helper.py,sha256=jqOf3TAlw5cqSp4HBAlOqjAR_bzC8_fvjA-_-CooI6Y,8030
|
|
391
390
|
machineconfig/utils/procs.py,sha256=Bm-yopmj19yiBO9tywJHEcs9rZmeRyJqbgTSe216LTU,11349
|
|
392
391
|
machineconfig/utils/scheduler.py,sha256=bUHDviS_HE9_6LaA1k9Nnfz5rr2FJIfrk5qO2FJ-oUs,15119
|
|
@@ -402,14 +401,15 @@ machineconfig/utils/cloud/onedrive/setup_oauth.py,sha256=ZTVkqgrwbV_EoPvyT8dyOTU
|
|
|
402
401
|
machineconfig/utils/cloud/onedrive/transaction.py,sha256=m-aNcnWj_gfZVvJOSpkdIqjZxU_3nXx2CA-qKbQgP3I,26232
|
|
403
402
|
machineconfig/utils/installer_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
403
|
machineconfig/utils/installer_utils/github_release_bulk.py,sha256=WJf_qZlF02SmIc6C7o1h4Gy4gAaJAfeAS8O9s2Itj-k,6535
|
|
404
|
+
machineconfig/utils/installer_utils/installer.py,sha256=_XcatwArhwRepMYfaGYpjd-lqNGfijnjeZB8l4uKd-c,9266
|
|
405
405
|
machineconfig/utils/installer_utils/installer_abc.py,sha256=MRVfkjCPlPgCQQcSxXdVJMVnr_9CC3SQbFVDJxWy1zI,10813
|
|
406
406
|
machineconfig/utils/installer_utils/installer_class.py,sha256=6IQswaC9mxIdeaMG-rOt-vqyKGYibBRMvC0UglZ_3mI,20268
|
|
407
407
|
machineconfig/utils/schemas/fire_agents/fire_agents_input.py,sha256=pTxvLzIpD5RF508lUUBBkWcc4V1B10J4ylvVgVGkcM0,2037
|
|
408
408
|
machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoSpdmTIdgS9LS-RvE-QZ-D260tD3o,1214
|
|
409
409
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
410
410
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
411
|
-
machineconfig-4.
|
|
412
|
-
machineconfig-4.
|
|
413
|
-
machineconfig-4.
|
|
414
|
-
machineconfig-4.
|
|
415
|
-
machineconfig-4.
|
|
411
|
+
machineconfig-4.98.dist-info/METADATA,sha256=Xtvi0zedO2u7yGDMu2GlOZtwTVZgrldIp8on4VJ-kcQ,7061
|
|
412
|
+
machineconfig-4.98.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
413
|
+
machineconfig-4.98.dist-info/entry_points.txt,sha256=LcwklRJPY_uKBvStgtOJn5G_pmFCEdpgRNzUUc6twAQ,1134
|
|
414
|
+
machineconfig-4.98.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
415
|
+
machineconfig-4.98.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|