machineconfig 5.43__py3-none-any.whl → 5.44__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/profile/create_shell_profile.py +2 -2
- machineconfig/scripts/python/devops_helpers/cli_config.py +10 -0
- machineconfig/scripts/python/devops_helpers/cli_self.py +7 -7
- machineconfig/setup_linux/__init__.py +0 -1
- machineconfig/setup_windows/__init__.py +0 -1
- {machineconfig-5.43.dist-info → machineconfig-5.44.dist-info}/METADATA +1 -1
- {machineconfig-5.43.dist-info → machineconfig-5.44.dist-info}/RECORD +10 -10
- {machineconfig-5.43.dist-info → machineconfig-5.44.dist-info}/WHEEL +0 -0
- {machineconfig-5.43.dist-info → machineconfig-5.44.dist-info}/entry_points.txt +0 -0
- {machineconfig-5.43.dist-info → machineconfig-5.44.dist-info}/top_level.txt +0 -0
|
@@ -45,10 +45,10 @@ def create_default_shell_profile() -> None:
|
|
|
45
45
|
|
|
46
46
|
if system == "Windows":
|
|
47
47
|
init_script = PathExtended(CONFIG_ROOT).joinpath("settings/shells/pwsh/init.ps1")
|
|
48
|
-
source_line = f""". {str(init_script.collapseuser(
|
|
48
|
+
source_line = f""". {str(init_script.collapseuser(placeholder="$HOME"))}"""
|
|
49
49
|
else:
|
|
50
50
|
init_script = PathExtended(CONFIG_ROOT).joinpath("settings/shells/bash/init.sh")
|
|
51
|
-
source_line = f"""source {str(init_script
|
|
51
|
+
source_line = f"""source {str(init_script.collapseuser(placeholder="$HOME"))}"""
|
|
52
52
|
|
|
53
53
|
was_shell_updated = False
|
|
54
54
|
if source_line in shell_profile:
|
|
@@ -49,3 +49,13 @@ def pwsh_theme():
|
|
|
49
49
|
file = Path(themes.__file__).parent / "choose_pwsh_theme.ps1"
|
|
50
50
|
import subprocess
|
|
51
51
|
subprocess.run(["pwsh", "-File", str(file)])
|
|
52
|
+
|
|
53
|
+
@config_apps.command(no_args_is_help=False)
|
|
54
|
+
def copy_assets(which: Literal["scripts", "settings", "both"] = typer.Option(..., "--which", "-w", help="Which assets to copy")):
|
|
55
|
+
"""🔗 Copy asset files from library to machine."""
|
|
56
|
+
import machineconfig.profile.create_helper as create_helper
|
|
57
|
+
if which == "both":
|
|
58
|
+
create_helper.copy_assets_to_machine(which="scripts")
|
|
59
|
+
create_helper.copy_assets_to_machine(which="settings")
|
|
60
|
+
else:
|
|
61
|
+
create_helper.copy_assets_to_machine(which=which)
|
|
@@ -21,18 +21,18 @@ def status():
|
|
|
21
21
|
import machineconfig.scripts.python.devops_helpers.devops_status as helper
|
|
22
22
|
helper.main()
|
|
23
23
|
@cli_app.command()
|
|
24
|
-
def
|
|
24
|
+
def install():
|
|
25
25
|
"""📋 CLONE machienconfig locally and incorporate to shell profile for faster execution and nightly updates."""
|
|
26
|
-
import platform
|
|
27
26
|
from machineconfig.utils.code import run_shell_script
|
|
28
27
|
from machineconfig.profile.create_shell_profile import create_default_shell_profile
|
|
28
|
+
# from machineconfig.profile.create_links_export import main_public_from_parser
|
|
29
|
+
create_default_shell_profile()
|
|
30
|
+
# main_public_from_parser()
|
|
31
|
+
import platform
|
|
29
32
|
if platform.system() == "Windows":
|
|
30
|
-
|
|
31
|
-
create_default_shell_profile()
|
|
33
|
+
run_shell_script(r"""$HOME\.local\bin\uv.exe tool install machineconfig""")
|
|
32
34
|
else:
|
|
33
|
-
|
|
34
|
-
create_default_shell_profile()
|
|
35
|
-
run_shell_script(MACHINECONFIG.read_text(encoding="utf-8"))
|
|
35
|
+
run_shell_script("""$HOME/.local/bin/uv tool install machineconfig""")
|
|
36
36
|
|
|
37
37
|
@cli_app.command(no_args_is_help=False)
|
|
38
38
|
def navigate():
|
|
@@ -95,7 +95,7 @@ machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
95
95
|
machineconfig/profile/create_helper.py,sha256=IKUspFNg4LDeQO4t3elt9rI9Hhi8b37ZHqBkyBNU6Qk,1018
|
|
96
96
|
machineconfig/profile/create_links.py,sha256=yBqfcujukllbHI1P8M5XDbLXMZ_gb38ZvQK901EPbaA,13962
|
|
97
97
|
machineconfig/profile/create_links_export.py,sha256=OEmuJE-F7FZX5xvOl1rqJzHg_BWtPKCiWdrq4RPOobs,3173
|
|
98
|
-
machineconfig/profile/create_shell_profile.py,sha256=
|
|
98
|
+
machineconfig/profile/create_shell_profile.py,sha256=ifsEAK90ovvY7ftyxuY5-Xh8f2JuQYX7IMYUXp6x2Sw,9538
|
|
99
99
|
machineconfig/profile/records/generic/shares.toml,sha256=FduDztfyQtZcr5bfx-RSKhEEweweQSWfVXkKWnx8hCY,143
|
|
100
100
|
machineconfig/profile/records/linux/apps_summary_report.csv,sha256=pw9djvaRUPalKDLn2sl3odcbD2_Zx3aEupsQ8UPfaaY,2738
|
|
101
101
|
machineconfig/profile/records/linux/apps_summary_report.md,sha256=l77oofA6Rliql0ZgKGIZi8bstFoGyyGTxeS8p2PtOj0,5634
|
|
@@ -166,12 +166,12 @@ machineconfig/scripts/python/croshell_helpers/start_slidev.py,sha256=HfJReOusTPh
|
|
|
166
166
|
machineconfig/scripts/python/croshell_helpers/viewer.py,sha256=heQNjB9fwn3xxbPgMofhv1Lp6Vtkl76YjjexWWBM0pM,2041
|
|
167
167
|
machineconfig/scripts/python/croshell_helpers/viewer_template.py,sha256=ve3Q1-iKhCLc0VJijKvAeOYp2xaFOeIOC_XW956GWCc,3944
|
|
168
168
|
machineconfig/scripts/python/devops_helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
169
|
-
machineconfig/scripts/python/devops_helpers/cli_config.py,sha256=
|
|
169
|
+
machineconfig/scripts/python/devops_helpers/cli_config.py,sha256=lIEKz0v3ANvTHOrcQzHD5Th8gXbgOTShgnnUvPZG5GA,3534
|
|
170
170
|
machineconfig/scripts/python/devops_helpers/cli_config_dotfile.py,sha256=rjTys4FNf9_feP9flWM7Zvq17dxWmetSiGaHPxp25nk,2737
|
|
171
171
|
machineconfig/scripts/python/devops_helpers/cli_data.py,sha256=f_2espL92n6SoNb5sFVMvrK7LA29HzfrFAKhxKaud1M,510
|
|
172
172
|
machineconfig/scripts/python/devops_helpers/cli_nw.py,sha256=4Ko4dA8YXqiRJvuOuwZv3YOvnSJQ7-A11ezJ8EztDis,2068
|
|
173
173
|
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=GQJaCSnvNbIo_CmpYBDZOUyi0kPgn8VCr3a5Dnfy0_w,9681
|
|
174
|
-
machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=
|
|
174
|
+
machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=GfUph3LjXKruT6C50AJ8JNTLgJOJDBwe17Jp2MEMOW0,2051
|
|
175
175
|
machineconfig/scripts/python/devops_helpers/cli_share_server.py,sha256=285OzxttCx7YsrpOkaapMKP1eVGHmG5TkkaSQnY7i3c,3976
|
|
176
176
|
machineconfig/scripts/python/devops_helpers/cli_terminal.py,sha256=k_PzXaiGyE0vXr0Ii1XcJz2A7UvyPJrR31TRWt4RKRI,6019
|
|
177
177
|
machineconfig/scripts/python/devops_helpers/devops_add_identity.py,sha256=wvjNgqsLmqD2SxbNCW_usqfp0LI-TDvcJJKGOWt2oFw,3775
|
|
@@ -338,7 +338,7 @@ machineconfig/settings/zellij/layouts/panes.kdl,sha256=KlhKtelBy4Z2ENV_pix4xE7NH
|
|
|
338
338
|
machineconfig/settings/zellij/layouts/st.kdl,sha256=QXLRK7Wx05aKbKRHVmm4RspLYzPmEa44JMK1TwXQk58,523
|
|
339
339
|
machineconfig/settings/zellij/layouts/st2.kdl,sha256=1FKTH3qQWYMWp_wPMreP7fKOTlVd4cfBy3J8fv4zCBc,1489
|
|
340
340
|
machineconfig/settings/zellij/layouts/stacked_panes.kdl,sha256=usY8kKKwX1KUMXnWDivPg0i0drpM1Biw-tOnNZVjiZU,163
|
|
341
|
-
machineconfig/setup_linux/__init__.py,sha256=
|
|
341
|
+
machineconfig/setup_linux/__init__.py,sha256=7VLvb9uj9XJYtlYu9lgavQuxjX3tVCE9i8WdOjB3Qa4,314
|
|
342
342
|
machineconfig/setup_linux/apps.sh,sha256=dP_caRCXwtQe9XjAWiyV4KU0TxOdn07H8fl07DASdZg,3329
|
|
343
343
|
machineconfig/setup_linux/apps_desktop.sh,sha256=L2b_pcw3GiQdoAaoMO7J4bVvUoG5Pnuy9kDhV8JqprU,3325
|
|
344
344
|
machineconfig/setup_linux/apps_gui.sh,sha256=lFPYq7H2bRogPwW6QoEuSr9GnTjHS-jRM_eYg2rjOmM,2301
|
|
@@ -349,7 +349,7 @@ machineconfig/setup_linux/ssh/openssh_all.sh,sha256=3dg6HEUFbHQOzLfSAtzK_D_GB8rG
|
|
|
349
349
|
machineconfig/setup_linux/ssh/openssh_wsl.sh,sha256=1eeRGrloVB34K5z8yWVUMG5b9pV-WBfHgV9jqXiYgCQ,1398
|
|
350
350
|
machineconfig/setup_linux/web_shortcuts/android.sh,sha256=gzep6bBhK7FCBvGcXK0fdJCtkSfBOftt0aFyDZq_eMs,68
|
|
351
351
|
machineconfig/setup_linux/web_shortcuts/interactive.sh,sha256=MWVH5wzMJuk2WnsfJeui1JbC5HI2Ux4875d1kO-5tp4,926
|
|
352
|
-
machineconfig/setup_windows/__init__.py,sha256=
|
|
352
|
+
machineconfig/setup_windows/__init__.py,sha256=NnSVZkIBoxoMgkj-_KAqGonH3YziBIWXOKDEcmNAGTY,386
|
|
353
353
|
machineconfig/setup_windows/apps.ps1,sha256=G5GqZ9G0aiQr_A-HaahtRdzpaTTdW6n3DRKMZWDTSPc,11214
|
|
354
354
|
machineconfig/setup_windows/uv.ps1,sha256=mzkFJUQ57dukVQtY7WqAQIVUDMcixnkir8aNM_TYrl4,350
|
|
355
355
|
machineconfig/setup_windows/others/docker.ps1,sha256=M8NfsSxH8YlmY92J4rSe1xWOwTW8IFrdgb8cI8Riu2E,311
|
|
@@ -398,8 +398,8 @@ machineconfig/utils/schemas/fire_agents/fire_agents_input.py,sha256=Xbi59rU35AzR
|
|
|
398
398
|
machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoSpdmTIdgS9LS-RvE-QZ-D260tD3o,1214
|
|
399
399
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
400
400
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
401
|
-
machineconfig-5.
|
|
402
|
-
machineconfig-5.
|
|
403
|
-
machineconfig-5.
|
|
404
|
-
machineconfig-5.
|
|
405
|
-
machineconfig-5.
|
|
401
|
+
machineconfig-5.44.dist-info/METADATA,sha256=uqskiIsubxV2ff2s9y87jNHo7D-prnwk6p71cKOtwMs,3111
|
|
402
|
+
machineconfig-5.44.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
403
|
+
machineconfig-5.44.dist-info/entry_points.txt,sha256=z7b9guivf0GSKUG6b8ALgbDoRg2LuPfkGP_p-PxgX9g,469
|
|
404
|
+
machineconfig-5.44.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
405
|
+
machineconfig-5.44.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|