machineconfig 2.2__py3-none-any.whl → 2.4__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.

Files changed (101) hide show
  1. machineconfig/__init__.py +30 -0
  2. machineconfig/cluster/sessions_managers/enhanced_command_runner.py +0 -2
  3. machineconfig/cluster/sessions_managers/layout_types.py +29 -0
  4. machineconfig/cluster/sessions_managers/wt_local.py +68 -62
  5. machineconfig/cluster/sessions_managers/wt_local_manager.py +51 -22
  6. machineconfig/cluster/sessions_managers/wt_remote.py +30 -108
  7. machineconfig/cluster/sessions_managers/wt_remote_manager.py +14 -11
  8. machineconfig/cluster/sessions_managers/wt_utils/layout_generator.py +33 -37
  9. machineconfig/cluster/sessions_managers/wt_utils/process_monitor.py +22 -17
  10. machineconfig/cluster/sessions_managers/wt_utils/session_manager.py +59 -10
  11. machineconfig/cluster/sessions_managers/wt_utils/status_reporter.py +16 -14
  12. machineconfig/cluster/sessions_managers/zellij_local.py +75 -57
  13. machineconfig/cluster/sessions_managers/zellij_local_manager.py +51 -23
  14. machineconfig/cluster/sessions_managers/zellij_remote.py +47 -27
  15. machineconfig/cluster/sessions_managers/zellij_remote_manager.py +13 -12
  16. machineconfig/cluster/sessions_managers/zellij_utils/example_usage.py +14 -10
  17. machineconfig/cluster/sessions_managers/zellij_utils/layout_generator.py +31 -15
  18. machineconfig/cluster/sessions_managers/zellij_utils/process_monitor.py +47 -21
  19. machineconfig/cluster/sessions_managers/zellij_utils/session_manager.py +1 -1
  20. machineconfig/cluster/sessions_managers/zellij_utils/status_reporter.py +8 -7
  21. machineconfig/cluster/templates/utils.py +1 -1
  22. machineconfig/profile/create.py +4 -0
  23. machineconfig/scripts/__pycache__/__init__.cpython-313.pyc +0 -0
  24. machineconfig/scripts/linux/checkout_versions +1 -7
  25. machineconfig/scripts/linux/choose_wezterm_theme +1 -7
  26. machineconfig/scripts/linux/cloud_copy +1 -8
  27. machineconfig/scripts/linux/cloud_manager +1 -7
  28. machineconfig/scripts/linux/cloud_mount +1 -23
  29. machineconfig/scripts/linux/cloud_repo_sync +1 -21
  30. machineconfig/scripts/linux/cloud_sync +1 -23
  31. machineconfig/scripts/linux/croshell +1 -23
  32. machineconfig/scripts/linux/devops +0 -21
  33. machineconfig/scripts/linux/fire +1 -27
  34. machineconfig/scripts/linux/fire_agents +1 -26
  35. machineconfig/scripts/linux/gh_models +1 -10
  36. machineconfig/scripts/linux/kill_process +1 -9
  37. machineconfig/scripts/linux/mcinit +1 -26
  38. machineconfig/scripts/linux/mount_nfs +1 -13
  39. machineconfig/scripts/linux/repos +1 -23
  40. machineconfig/scripts/linux/scheduler +1 -7
  41. machineconfig/scripts/linux/start_slidev +1 -22
  42. machineconfig/scripts/linux/start_terminals +1 -9
  43. machineconfig/scripts/linux/url2md +1 -9
  44. machineconfig/scripts/python/__pycache__/__init__.cpython-313.pyc +0 -0
  45. machineconfig/scripts/python/__pycache__/croshell.cpython-313.pyc +0 -0
  46. machineconfig/scripts/python/__pycache__/devops.cpython-313.pyc +0 -0
  47. machineconfig/scripts/python/__pycache__/devops_update_repos.cpython-313.pyc +0 -0
  48. machineconfig/scripts/python/cloud_mount.py +4 -2
  49. machineconfig/scripts/python/cloud_repo_sync.py +5 -2
  50. machineconfig/scripts/python/cloud_sync.py +4 -2
  51. machineconfig/scripts/python/croshell.py +5 -3
  52. machineconfig/scripts/python/devops.py +3 -2
  53. machineconfig/scripts/python/devops_devapps_install.py +1 -0
  54. machineconfig/scripts/python/fire_agents.py +6 -6
  55. machineconfig/scripts/python/fire_jobs.py +26 -72
  56. machineconfig/scripts/python/fire_jobs_args_helper.py +84 -0
  57. machineconfig/scripts/python/fire_jobs_layout_helper.py +66 -0
  58. machineconfig/scripts/python/helpers/helpers4.py +0 -1
  59. machineconfig/scripts/python/mount_nfs.py +12 -8
  60. machineconfig/scripts/python/mount_nw_drive.py +6 -6
  61. machineconfig/scripts/python/mount_ssh.py +4 -2
  62. machineconfig/scripts/python/start_slidev.py +4 -2
  63. machineconfig/scripts/python/start_terminals.py +4 -2
  64. machineconfig/scripts/python/wifi_conn.py +0 -1
  65. machineconfig/settings/__pycache__/__init__.cpython-313.pyc +0 -0
  66. machineconfig/settings/shells/ipy/profiles/default/__pycache__/__init__.cpython-313.pyc +0 -0
  67. machineconfig/settings/shells/ipy/profiles/default/startup/__pycache__/__init__.cpython-313.pyc +0 -0
  68. machineconfig/utils/code.py +5 -6
  69. machineconfig/utils/installer_utils/installer_abc.py +0 -1
  70. machineconfig/utils/options.py +7 -7
  71. machineconfig/utils/path.py +12 -12
  72. machineconfig/utils/path_reduced.py +6 -1
  73. machineconfig/utils/source_of_truth.py +2 -2
  74. machineconfig/utils/ssh.py +11 -1
  75. machineconfig/utils/upgrade_packages.py +12 -12
  76. {machineconfig-2.2.dist-info → machineconfig-2.4.dist-info}/METADATA +1 -1
  77. {machineconfig-2.2.dist-info → machineconfig-2.4.dist-info}/RECORD +90 -93
  78. machineconfig-2.4.dist-info/entry_points.txt +2 -0
  79. machineconfig/cluster/sessions_managers/archive/create_zellij_template.py +0 -60
  80. machineconfig/cluster/sessions_managers/archive/session_managers.py +0 -183
  81. machineconfig/cluster/sessions_managers/demo_rich_zellij.py +0 -0
  82. machineconfig/jobs/__pycache__/__init__.cpython-313.pyc +0 -0
  83. machineconfig/jobs/python_generic_installers/__pycache__/__init__.cpython-313.pyc +0 -0
  84. machineconfig/jobs/python_linux_installers/__pycache__/__init__.cpython-313.pyc +0 -0
  85. machineconfig/scripts/linux/archive/tmate_conn +0 -12
  86. machineconfig/scripts/linux/archive/tmate_start +0 -12
  87. machineconfig/scripts/linux/archive/transfer_wsl_win +0 -5
  88. machineconfig/scripts/python/__pycache__/devops_devapps_install.cpython-313.pyc +0 -0
  89. machineconfig/scripts/python/__pycache__/fire_agents.cpython-313.pyc +0 -0
  90. /machineconfig/cluster/{cloud_manager.py → remote/cloud_manager.py} +0 -0
  91. /machineconfig/cluster/{data_transfer.py → remote/data_transfer.py} +0 -0
  92. /machineconfig/cluster/{distribute.py → remote/distribute.py} +0 -0
  93. /machineconfig/cluster/{file_manager.py → remote/file_manager.py} +0 -0
  94. /machineconfig/cluster/{job_params.py → remote/job_params.py} +0 -0
  95. /machineconfig/cluster/{loader_runner.py → remote/loader_runner.py} +0 -0
  96. /machineconfig/cluster/{remote_machine.py → remote/remote_machine.py} +0 -0
  97. /machineconfig/cluster/{script_execution.py → remote/script_execution.py} +0 -0
  98. /machineconfig/cluster/{script_notify_upon_completion.py → remote/script_notify_upon_completion.py} +0 -0
  99. /machineconfig/{cluster/sessions_managers/archive/__init__.py → scripts/python/fire_jobs_streamlit_helper.py} +0 -0
  100. {machineconfig-2.2.dist-info → machineconfig-2.4.dist-info}/WHEEL +0 -0
  101. {machineconfig-2.2.dist-info → machineconfig-2.4.dist-info}/top_level.txt +0 -0
@@ -1,40 +1,37 @@
1
- machineconfig/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1
+ machineconfig/__init__.py,sha256=-tZH4o0r1HULXXzqvbpWsic_nRlrzZB-OngfXrqg7Vc,733
2
2
  machineconfig/logger.py,sha256=XLckvZ8cPDpC5v75ESP3YNTputIrDYuvoYisj0YZtGw,1415
3
3
  machineconfig/cluster/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- machineconfig/cluster/cloud_manager.py,sha256=DCkA0XCOrhdBzPJ8M0_V1TuY8Mj7MW82iHr9NN3luxU,26037
5
- machineconfig/cluster/data_transfer.py,sha256=1QxIUetqlhmyl67icBx0nFZEZ7Z2DRjygXofKLMOz-0,4385
6
- machineconfig/cluster/distribute.py,sha256=TWnOcTcItu3QQTDP3cNsUprnteYYt7WM7oHpNuoPSFo,15273
7
- machineconfig/cluster/file_manager.py,sha256=w1edpBcH8mHDEzRF5tqQDu5MJYsySIQrMCbgN23A4zM,13966
8
- machineconfig/cluster/job_params.py,sha256=_t5QKqRHReShaBlJfSgVS5E3_oHYcRUIRO_Uz1mbA-k,7698
9
- machineconfig/cluster/loader_runner.py,sha256=Ia62ALepM3TP7kHaymfp0jEMuHJ0HjF31VbNJOCYYtM,7061
10
- machineconfig/cluster/remote_machine.py,sha256=cKqrB9HpSt8bTttQ6UixlOvUw4Wf2ouFrFTeqTA3No0,19749
11
- machineconfig/cluster/script_execution.py,sha256=4U70FDtjOh6A6C2Ei-Xh90S888q64VhRPbExoEbdepk,9980
12
- machineconfig/cluster/script_notify_upon_completion.py,sha256=GRxnnbnOl1-hTovTN-zI_M9wdV7x293yA77_mou9I1o,2032
4
+ machineconfig/cluster/remote/cloud_manager.py,sha256=DCkA0XCOrhdBzPJ8M0_V1TuY8Mj7MW82iHr9NN3luxU,26037
5
+ machineconfig/cluster/remote/data_transfer.py,sha256=1QxIUetqlhmyl67icBx0nFZEZ7Z2DRjygXofKLMOz-0,4385
6
+ machineconfig/cluster/remote/distribute.py,sha256=TWnOcTcItu3QQTDP3cNsUprnteYYt7WM7oHpNuoPSFo,15273
7
+ machineconfig/cluster/remote/file_manager.py,sha256=w1edpBcH8mHDEzRF5tqQDu5MJYsySIQrMCbgN23A4zM,13966
8
+ machineconfig/cluster/remote/job_params.py,sha256=_t5QKqRHReShaBlJfSgVS5E3_oHYcRUIRO_Uz1mbA-k,7698
9
+ machineconfig/cluster/remote/loader_runner.py,sha256=Ia62ALepM3TP7kHaymfp0jEMuHJ0HjF31VbNJOCYYtM,7061
10
+ machineconfig/cluster/remote/remote_machine.py,sha256=cKqrB9HpSt8bTttQ6UixlOvUw4Wf2ouFrFTeqTA3No0,19749
11
+ machineconfig/cluster/remote/script_execution.py,sha256=4U70FDtjOh6A6C2Ei-Xh90S888q64VhRPbExoEbdepk,9980
12
+ machineconfig/cluster/remote/script_notify_upon_completion.py,sha256=GRxnnbnOl1-hTovTN-zI_M9wdV7x293yA77_mou9I1o,2032
13
13
  machineconfig/cluster/sessions_managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- machineconfig/cluster/sessions_managers/demo_rich_zellij.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- machineconfig/cluster/sessions_managers/enhanced_command_runner.py,sha256=2RhIS641zpcT1CLavVQXPnd1DMg7fne2_PwNoz7QLWo,5319
16
- machineconfig/cluster/sessions_managers/wt_local.py,sha256=8wF4zdy6QKU0zSGoPv08Yz-iNtqS1d4qRbUZrAaD0ak,17970
17
- machineconfig/cluster/sessions_managers/wt_local_manager.py,sha256=-NeKeCZkgxJmByU-LonmMA4C1452I92h65bkCX5K15A,23181
18
- machineconfig/cluster/sessions_managers/wt_remote.py,sha256=sd4r6P-cdFmEskVMbFqvUFb1PFqp0BS9PM0X8pzQN5w,12450
19
- machineconfig/cluster/sessions_managers/wt_remote_manager.py,sha256=BOTf_B3MPFH5SJNYP7ONt4c3D604c7Q9scakvyaRnQI,19379
20
- machineconfig/cluster/sessions_managers/zellij_local.py,sha256=6-c1_C7ktCYYwn7vcr1U5TDkokLCXIXsf5Va_TaJRJw,16368
21
- machineconfig/cluster/sessions_managers/zellij_local_manager.py,sha256=G3B38xReWkzPGzqWdA7IvwLO6jZqG3c_ndoevQhIsDg,23175
22
- machineconfig/cluster/sessions_managers/zellij_remote.py,sha256=2mrY45FPK4CDcckW1A4n4jDGsKCk6-bjzoDxI8F_r8o,9881
23
- machineconfig/cluster/sessions_managers/zellij_remote_manager.py,sha256=R0vlLMeXBd6yfsf3KHh4jEJv5gmTXWBHNY3vUdiR-ns,8089
24
- machineconfig/cluster/sessions_managers/archive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
- machineconfig/cluster/sessions_managers/archive/create_zellij_template.py,sha256=bbhQ0-X6VUXeS-6BFQzuQI7J7T-cLXxkS1ljzIQxNUQ,1515
26
- machineconfig/cluster/sessions_managers/archive/session_managers.py,sha256=dT3hSJS4-atl-x3r58u3gn395vukzZasc97-t5NSQEg,10279
27
- machineconfig/cluster/sessions_managers/wt_utils/layout_generator.py,sha256=dfPgDBKl4nDW69R_wemwZQhkt6-MELv7IwdDfzpxxMk,7677
28
- machineconfig/cluster/sessions_managers/wt_utils/process_monitor.py,sha256=5cb3Pog5IlELdxAZPBchvh9sBLMdTew-YMUkBvIe1m8,14931
14
+ machineconfig/cluster/sessions_managers/enhanced_command_runner.py,sha256=H2DZ3we9zx3Px0vCvFRkWfiA44um7ReouKbgylL873w,5317
15
+ machineconfig/cluster/sessions_managers/layout_types.py,sha256=OmiOX9xtakPz4l6IobWnpFHpbn95fitEE9q0YL1WxjQ,617
16
+ machineconfig/cluster/sessions_managers/wt_local.py,sha256=gp0sGSo0-AXJNt8HnaTd8L7HcLHi-Hg1BOWAAgirD8w,18237
17
+ machineconfig/cluster/sessions_managers/wt_local_manager.py,sha256=g0rQTW5EVF7vPMpFg81U5XvjWM-u0dnNGiMOWlUClfw,24196
18
+ machineconfig/cluster/sessions_managers/wt_remote.py,sha256=WrhB9NjHKYFMmKdN-vjFU3TnlTujtpuMjylwryIz4H4,8759
19
+ machineconfig/cluster/sessions_managers/wt_remote_manager.py,sha256=1PTlYIa3TrHgGIK1yHjFzlpkyDQQ8blj5x5BMT3BiQ0,19762
20
+ machineconfig/cluster/sessions_managers/zellij_local.py,sha256=N6c7oouu5vi00xwAk6xUkf0pwG5YfxmPqXZIVOtuk0g,17085
21
+ machineconfig/cluster/sessions_managers/zellij_local_manager.py,sha256=6w6jzlX5i353-MIZrdpj2s2WUhwmOfCHmJ6fO67-qoQ,24237
22
+ machineconfig/cluster/sessions_managers/zellij_remote.py,sha256=aLpjZe7bqENccvbArq5iswq6eMUMsOP2HX7F1AWHHkI,11043
23
+ machineconfig/cluster/sessions_managers/zellij_remote_manager.py,sha256=w5bfTqRrtmvjmArdyN2Kywaffu6iR-VHg1UgdCrMjsc,8120
24
+ machineconfig/cluster/sessions_managers/wt_utils/layout_generator.py,sha256=N-CwiyARLQ7nPhvpKSi2LAWZ8YH9S9YWKwBtVGPYkkI,7449
25
+ machineconfig/cluster/sessions_managers/wt_utils/process_monitor.py,sha256=WIerUrzC_ft5JHyFWuWX6zvPEtzihsmsci7RTCoQJhc,15200
29
26
  machineconfig/cluster/sessions_managers/wt_utils/remote_executor.py,sha256=lApUy67_WhfaBXqt0meZSx_QvwiXjN0YLdyE3c7kP_s,6744
30
- machineconfig/cluster/sessions_managers/wt_utils/session_manager.py,sha256=5DOi1qQ8-rqurqzdKRRTZuhy4mY_SPVb2njxelnZu9E,11387
31
- machineconfig/cluster/sessions_managers/wt_utils/status_reporter.py,sha256=ckYw77F0rmePPZvZQGaWN-xNMutLrPPuH05p19HB8B0,9287
32
- machineconfig/cluster/sessions_managers/zellij_utils/example_usage.py,sha256=NeyUw1sPWc1QHtABmqHGmHNyJ97NZJrdc9VPBiHQViQ,2501
33
- machineconfig/cluster/sessions_managers/zellij_utils/layout_generator.py,sha256=hG0OH2LF6tnDbIMMLDj4yYMWUYfWYu0i3M6N6Of8Xrk,4697
34
- machineconfig/cluster/sessions_managers/zellij_utils/process_monitor.py,sha256=jdMDaxIhT37hnHf8ZbLXP-11I-a3HBd3SBmW7nqDlmE,12303
27
+ machineconfig/cluster/sessions_managers/wt_utils/session_manager.py,sha256=-PNcYwPqwdNRnLU9QGKxRR9i6ewY02Id-tgnODB_OzQ,12552
28
+ machineconfig/cluster/sessions_managers/wt_utils/status_reporter.py,sha256=YPMMt101peN4SAY6fs5MFJaQyknmbQzhy3wiUySAZj4,9503
29
+ machineconfig/cluster/sessions_managers/zellij_utils/example_usage.py,sha256=z_wmo09KqCJBtJjPsvkX1WyoEVqfNzJ7vCbJsxJotEY,2856
30
+ machineconfig/cluster/sessions_managers/zellij_utils/layout_generator.py,sha256=5CE7BfHYzqHFfe8XX18i-V-Tjv_D6LDR3h3buvzNGds,5267
31
+ machineconfig/cluster/sessions_managers/zellij_utils/process_monitor.py,sha256=ZVvTaniB23jKkZB0zchaXGtt9Sy02AWCFVGICowya5U,13302
35
32
  machineconfig/cluster/sessions_managers/zellij_utils/remote_executor.py,sha256=Nkd5QFw5yG2qD2-WLioqi-e3WKuOqGA8C35epGmB49g,2602
36
- machineconfig/cluster/sessions_managers/zellij_utils/session_manager.py,sha256=g_b6e6XG0Yz6_KDiIKzNaUzJAjFdT9wEyrmdWS4ANQ0,4884
37
- machineconfig/cluster/sessions_managers/zellij_utils/status_reporter.py,sha256=vqx3JqhKV7dfGuxmDphTC_4atOxXF4eOJC7cP_0qqag,3603
33
+ machineconfig/cluster/sessions_managers/zellij_utils/session_manager.py,sha256=U_Gvhf-uPwY8jFoxg4aOWsIQbYjd8ueRsfPim1Wv0Pc,4936
34
+ machineconfig/cluster/sessions_managers/zellij_utils/status_reporter.py,sha256=plodEzMGSTP_IbW6lPcUbTM-0Tyux-1CPmX7mSpPf4I,3762
38
35
  machineconfig/cluster/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
36
  machineconfig/cluster/templates/cli_click.py,sha256=7v6w-dj1whBd9ydKeOAQFuD5kF7_6ivyPAqNl8BEvc0,5084
40
37
  machineconfig/cluster/templates/cli_gooey.py,sha256=KUiZDuqmHDkGS7NqwBTzZUbxysgasq-M0DWmwd44vOE,5534
@@ -42,9 +39,8 @@ machineconfig/cluster/templates/cli_trogon.py,sha256=PFWGy8SFYIhT9r3ZV4oIEYfImsQ
42
39
  machineconfig/cluster/templates/run_cloud.py,sha256=0o4-v5yFEqvlHzoKDXljRCR5ikx_r5w4oYE5OCtVIK8,2378
43
40
  machineconfig/cluster/templates/run_cluster.py,sha256=ZFNl4EDybicedWKX5qBwSSeKKfdV2lQFD_1kcAyjHYM,4691
44
41
  machineconfig/cluster/templates/run_remote.py,sha256=vCc56t8BUAUJp7tyb0PFfwy5hlmIdRdzcjlpP9gcLdc,3247
45
- machineconfig/cluster/templates/utils.py,sha256=tgNAbND5gwZFsc5_jeGMDMbvVc3UIMxi9MvWOH81ZL4,1646
42
+ machineconfig/cluster/templates/utils.py,sha256=hrtaDkGxl9p9SAdPz46ppTtbrIW2OonsO42DEA-qoS8,1646
46
43
  machineconfig/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
- machineconfig/jobs/__pycache__/__init__.cpython-313.pyc,sha256=XCpGeTOsCIrHvdkU0hZ-ISJF86afNZ4mr5dY9n0K8Gg,161
48
44
  machineconfig/jobs/linux/msc/cli_agents.sh,sha256=X94rDsNHokIWQyHUQu0n2d0AbR39ak-nw4PbrUsJr7w,377
49
45
  machineconfig/jobs/linux/msc/lid.sh,sha256=09LeoSaXCGjCn7YxPcIFQpHroYdglJlEtFU2agarh3I,1302
50
46
  machineconfig/jobs/linux/msc/network.sh,sha256=dmISsh0hioDheinqee3qHfo2k7ClFx6G_GfGDxuflmc,1796
@@ -92,12 +88,10 @@ machineconfig/jobs/python_custom_installers/scripts/linux/warp-cli.sh,sha256=PVN
92
88
  machineconfig/jobs/python_custom_installers/scripts/linux/wezterm.sh,sha256=m697rRoIIVk-f8JdI1YQmphk-JWpMc5IYbD5YaQ3SeQ,1874
93
89
  machineconfig/jobs/python_generic_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
90
  machineconfig/jobs/python_generic_installers/config.json,sha256=dkrLpAs-xJ1gvpFd42yuWGoRkkE1MG-8fAhrMNrxt34,20678
95
- machineconfig/jobs/python_generic_installers/__pycache__/__init__.cpython-313.pyc,sha256=knHc0czISCOGlMdoXh0vJGcyr0TTsRAzNIk8iYo26VM,187
96
91
  machineconfig/jobs/python_generic_installers/dev/config.archive.json,sha256=1rZO1-5lxtbVGuXXoTTuvWjs54xlHHIAIIZYDAy8FSA,823
97
92
  machineconfig/jobs/python_generic_installers/dev/config.json,sha256=dKzCQNuQigcuTGw1uvhHkhG-kvp2UPHpv0X6XOTYtBE,29760
98
93
  machineconfig/jobs/python_linux_installers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
94
  machineconfig/jobs/python_linux_installers/config.json,sha256=rn2mss51IgiAKKmhPdQ0nmTC_aPFm-6rIfHdCBlEFBE,5324
100
- machineconfig/jobs/python_linux_installers/__pycache__/__init__.cpython-313.pyc,sha256=VPZBY1nwCPNRdlftZPBK6pJb-b44HTw7qG6ce-AvLuM,185
101
95
  machineconfig/jobs/python_linux_installers/archive/config.json,sha256=haf6H05bW2AC-CptfZBeNeMoQK60w8iWmCZ2aDiL4O0,302
102
96
  machineconfig/jobs/python_linux_installers/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
97
  machineconfig/jobs/python_linux_installers/dev/config.json,sha256=IxlCuMfWX-SWCnQxQN5JBlxDIAHPvZRlSFbszqERj2w,9951
@@ -115,7 +109,7 @@ machineconfig/jobs/windows/archive/openssh-server_copy-ssh-id.ps1,sha256=-7pElYi
115
109
  machineconfig/jobs/windows/msc/cli_agents.bat,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
110
  machineconfig/jobs/windows/msc/cli_agents.ps1,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
111
  machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
118
- machineconfig/profile/create.py,sha256=GHElQbP_ji6x0lPJiy_JkEeDVQJL8TjJNE1ZxQx5HF0,6428
112
+ machineconfig/profile/create.py,sha256=Xur6u5xc2YkHGILnJiIOsAqIhTPy_0SIW1HVWRKZyMI,6432
119
113
  machineconfig/profile/create_hardlinks.py,sha256=5rDftMifdwSpQ-kEgR9LUSCwGVlAWCrwF6Ko10hxUxo,5652
120
114
  machineconfig/profile/shell.py,sha256=haNn70imxRIMxOIZ8N6jU26-OepqS5HkCtO0vAP-Zvs,10958
121
115
  machineconfig/profile/records/generic/shares.toml,sha256=FduDztfyQtZcr5bfx-RSKhEEweweQSWfVXkKWnx8hCY,143
@@ -124,89 +118,88 @@ machineconfig/profile/records/linux/apps_summary_report.md,sha256=l77oofA6Rliql0
124
118
  machineconfig/profile/records/windows/apps_summary_report.csv,sha256=nN5BoACBqXgKNczm2t5KaCLdDnxFCIscX8iRkWBm0a4,47
125
119
  machineconfig/profile/records/windows/apps_summary_report.md,sha256=O5hmAcpObaLmOjYLvHg9kkPJryqFwFaP8OsmfPwfR1o,137
126
120
  machineconfig/scripts/__init__.py,sha256=v0cMjnaIo39C3ltLiTf1S0fCTMAqWtEU7zrVenUj4PQ,71
127
- machineconfig/scripts/__pycache__/__init__.cpython-313.pyc,sha256=ygO0oHmMcx06IQQo4uYMnTHHtjOckjootiTk2z-6s0c,244
121
+ machineconfig/scripts/__pycache__/__init__.cpython-313.pyc,sha256=CeuCbS3dXPoxqWgpfgFFM97BtcXpCY4rGXqqxj9E1FY,244
128
122
  machineconfig/scripts/cloud/init.sh,sha256=yNsseCLMceO50Eg72ra6_NIJCxkGZmpmos1EXe-mvzY,4649
129
- machineconfig/scripts/linux/checkout_versions,sha256=0W-Px2qAiswg8IElABV6awE-EHPzXOFcCxO1SBd8Rj4,187
130
- machineconfig/scripts/linux/choose_wezterm_theme,sha256=Pn679w5en-_9NWD7PnGwB3EwyWA6cm28G6mGdrjNACM,233
131
- machineconfig/scripts/linux/cloud_copy,sha256=H_IpiexwCO_NsCOf6_EX0q674qlK4evB65NEgb93ghU,180
132
- machineconfig/scripts/linux/cloud_manager,sha256=1TfYXstwm2AWUwRdtW4x1DE-eacgAOIUAfDuMOFToKU,185
133
- machineconfig/scripts/linux/cloud_mount,sha256=gDp1OMnzJMoyrlpdSYytPz5kK8C27ummmxGBsaTnmDs,532
134
- machineconfig/scripts/linux/cloud_repo_sync,sha256=3Aqj8OUHlXAcch14q-3dYk0YxPK5VfCqlukqBqtS9rQ,375
135
- machineconfig/scripts/linux/cloud_sync,sha256=XZTIRkvM5E8HFoX0mXCXQCpsgIlDVHJMFgshFq9zegE,523
136
- machineconfig/scripts/linux/croshell,sha256=WsRJE7k2AKbiXTKmk81ZgllwgCAvEQD_I62cDkx6mhc,761
137
- machineconfig/scripts/linux/devops,sha256=FD-VjArFRlzqmEk8DMcYeH-Yq92F6dDoLSDL6RYqNps,671
138
- machineconfig/scripts/linux/fire,sha256=XSP5lmcDHWmWO8E62ztgsCPopJA1zOy9N_6zgMfWP84,849
139
- machineconfig/scripts/linux/fire_agents,sha256=qezkGuG8otoZbE4cwuEcqW5CagddufzadWKqbRHYchI,830
123
+ machineconfig/scripts/linux/checkout_versions,sha256=66cXUHJtl9nax0w1J7_-9oNnP89OxUjmfcTPSptd3sc,134
124
+ machineconfig/scripts/linux/choose_wezterm_theme,sha256=oxsJnwk5I2CrgF9lQ6SQa54RHPqXwhoL-PbhAMB70iY,180
125
+ machineconfig/scripts/linux/cloud_copy,sha256=pqhnpqhLMwc52BHbzRgWs_2AuqrM7yqBkto0fH7Oo8U,125
126
+ machineconfig/scripts/linux/cloud_manager,sha256=gySbq6rB8myICUuzUOCybvm2dEAxRiufJDJyoEJrfXU,132
127
+ machineconfig/scripts/linux/cloud_mount,sha256=wPpSjdGHhragBWqXqxdM0ttoUfuR-6xcv1gQ7bnH63Q,127
128
+ machineconfig/scripts/linux/cloud_repo_sync,sha256=7fAsbp61A6s7VIS3keeJAw83DfvIxC_4hXyMBJon9u8,134
129
+ machineconfig/scripts/linux/cloud_sync,sha256=TCSpZDAH6iIlnmOO0FV7jr6uUtLStyEIAROmHHGqnYM,126
130
+ machineconfig/scripts/linux/croshell,sha256=0BbWSxxPo_bcGykU8k3LvDzckFy_-QjHArd00AvcDKk,124
131
+ machineconfig/scripts/linux/devops,sha256=oC2LXTFdNv2J8Xmyf1tluljC31Oi8Of2bmNPDT_EdvU,203
132
+ machineconfig/scripts/linux/fire,sha256=LWszNKv3Rk4JPWHVEB93Wkk4zcJieL2aMy_qg1NJo-s,125
133
+ machineconfig/scripts/linux/fire_agents,sha256=VgIv-X9yMMQgZ3qAY9HvOiZ2hcUecGQ-H5uOCetQnk8,127
140
134
  machineconfig/scripts/linux/ftpx,sha256=hF8WlySKa6r9O5pOQp6HJPU1_sbt8pnoSJnD_4K4HnQ,176
141
135
  machineconfig/scripts/linux/fzf2g,sha256=YK_YLmxCm6zms24ytylgoUHnvWqq8oTdRTiskzDClS0,831
142
136
  machineconfig/scripts/linux/fzfag,sha256=x0rX7vM_YjKLZ822D2Xh0HdaTj5kR_gG3g_5_w6ring,679
143
137
  machineconfig/scripts/linux/fzffg,sha256=jjeeyFkWmBbwH2taRqC3EOzZep2KR-ZYoI4UI-5kHqg,1090
144
138
  machineconfig/scripts/linux/fzfg,sha256=ClGnJZUsIk4y0qs3W5iXGo-nd0FaqAHMsnh8uoXQFy8,1190
145
139
  machineconfig/scripts/linux/fzfrga,sha256=xSdws6ae28ZXkkqz_uupZ0MYw_vxE2qpLT2DLS3WITM,460
146
- machineconfig/scripts/linux/gh_models,sha256=NkSBS3AcAAwVPnQ0kXL3Ko5O1Xl0kYmQA81vZApSBGU,181
147
- machineconfig/scripts/linux/kill_process,sha256=CjE6M1U9y70VzgX6GMiflN6ihvCFR6IZwYa3ipb7PTY,227
148
- machineconfig/scripts/linux/mcinit,sha256=Vqp6WII0ffWeKUFnKlR4uYqaXolhrYUg4a6vLrHB_O0,847
140
+ machineconfig/scripts/linux/gh_models,sha256=LsStENOwHeBcVErDEHj37rTply4eFmG8t1xna7Lbwac,125
141
+ machineconfig/scripts/linux/kill_process,sha256=a825jyQN3D134VotRZ04yufWzy0lbmvvUMuNjiITSbE,172
142
+ machineconfig/scripts/linux/mcinit,sha256=HjI1jGJYhpFBk3E3ncTKvuggDKQ79GC2K9vJ4QKDRF4,125
149
143
  machineconfig/scripts/linux/mount_drive,sha256=zemKofv7hOmRN_V3qK0q580GkfWw3VdikyVVQyiu8j8,3514
150
- machineconfig/scripts/linux/mount_nfs,sha256=HLWF7ocUjuDXaFFtOzEA9JlROTcsbDEhgosBdBpBUUA,2061
144
+ machineconfig/scripts/linux/mount_nfs,sha256=bLKfyhHckLKU-XWB1VLyrZ6GLQJdi9ABucN66LeIQJM,1856
151
145
  machineconfig/scripts/linux/mount_nw_drive,sha256=fZWV2x7Slne2c0NU-65qXBmTIeJNvjAHY-NqkDgoq1U,2527
152
146
  machineconfig/scripts/linux/mount_smb,sha256=7UN5EP1kuxYL_-CnyaH4f9Wuu2CgALDZpJ0mPcdvCiY,94
153
147
  machineconfig/scripts/linux/programs,sha256=KlKTLhreJ0CRHvtm61ilOtVm8VUia7gb0zWD1IP6rNY,472
154
- machineconfig/scripts/linux/repos,sha256=m_4hu6dkgLphd7EO5NIG5z0dNC1nyGgHck_EnGIEbWc,517
155
- machineconfig/scripts/linux/scheduler,sha256=fYdjQHI3ku68xwv0O7oWWRpgm5Pd1hFwAaiupzivZwo,178
148
+ machineconfig/scripts/linux/repos,sha256=Mhk2eWDUBlU4nrG5AxNcIoD12iLm3XOJaq-R68lqSMo,121
149
+ machineconfig/scripts/linux/scheduler,sha256=I81R27Ozq-0EJ_liQbZYTi4Ho6Hif7Ft-eRmpwsX7pw,125
156
150
  machineconfig/scripts/linux/share_cloud.sh,sha256=75IzCm7Nob1wO-zlfaNyPPod1IjAsVCG5lcMFdXmiI4,3010
157
151
  machineconfig/scripts/linux/share_nfs,sha256=LDQZQ9TV7z2y7RtNHiO4Wb513MztyGjaAV-GzTGwUdc,1374
158
152
  machineconfig/scripts/linux/share_smb,sha256=HZX8BKgMlS9JzkGIYnxTsPvoxEBBuVLVkqzR3pmGFGY,20
159
153
  machineconfig/scripts/linux/skrg,sha256=JgQJGwxaChr148bDnpTB0rrqZMe2o2zGSDA9x_oUhWM,133
160
154
  machineconfig/scripts/linux/start_docker,sha256=_yDN_PPqgzSUnPT7dmniMTpL4IfeeaGy1a2OL3IJlDU,525
161
- machineconfig/scripts/linux/start_slidev,sha256=MYQmrcx-3WP1gzUtSPpgbbGIlxOoRUWQe5GZa9FZOx4,616
162
- machineconfig/scripts/linux/start_terminals,sha256=SRsk9M7dizTHTyO1Msu6KFCDhIW-cFo_1xaiZ_D83AM,260
155
+ machineconfig/scripts/linux/start_slidev,sha256=D2DQ6l9U-RCbUy8p_5lNCYOLalUXI1JI4YZxsQGc2c4,128
156
+ machineconfig/scripts/linux/start_terminals,sha256=8hgSkCW09OF0IeKLwiz_5trZxh5jqc1j6_vpHWC9jDQ,205
163
157
  machineconfig/scripts/linux/switch_ip,sha256=NQfeKMBSbFY3eP6M-BadD-TQo5qMP96DTp77KHk2tU8,613
164
- machineconfig/scripts/linux/url2md,sha256=eOPlXIwgpPzVYB_x217hISkQIzIZEGCEOQsBMLA-Pds,171
158
+ machineconfig/scripts/linux/url2md,sha256=OCY_FOVhTfANPZ_G3jpBmiaUlyFi4ZfTnWARVRoHjxE,116
165
159
  machineconfig/scripts/linux/warp-cli.sh,sha256=shFFZ9viet_DSEEHT8kxlGRHoJpO6o85pKYnc3rIkaA,3868
166
160
  machineconfig/scripts/linux/wifi_conn,sha256=zsmP1e3WK1apdafjYjfsdXJY8YItzFEp9f1QP3614ec,513
167
161
  machineconfig/scripts/linux/z_ls,sha256=ATZtu0ccN3AKvAOxkwLq1xgQjJ3en5byEWJ3Q8afnNg,3340
168
- machineconfig/scripts/linux/archive/tmate_conn,sha256=mDymJCJ-scdYhoG06EAMncjoSAj8irg3YqZzP69vLgI,378
169
- machineconfig/scripts/linux/archive/tmate_start,sha256=eyaknKoVb-XtJnZcfB0CCxm9z9zkD0dsuIDeFLKbIO8,452
170
- machineconfig/scripts/linux/archive/transfer_wsl_win,sha256=KzSaO4CWbuM6UNoNasdJhaWWjRhN0lWIiJrBZMmONz0,137
171
162
  machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
172
163
  machineconfig/scripts/python/choose_wezterm_theme.py,sha256=xCDLLJKlYNOQ0tOZ4cgkBN5hTPGn-0llkyupmoN2rb8,3320
173
164
  machineconfig/scripts/python/cloud_copy.py,sha256=NjUOKztK5zHzK9krTPgyZCCVohooZNF48EGJ96kfIVw,8547
174
165
  machineconfig/scripts/python/cloud_manager.py,sha256=MAVOKqXGxnlMaQGEv6k-q_PrgN0at6J8qQDhPiH2lI8,3488
175
- machineconfig/scripts/python/cloud_mount.py,sha256=6iaEidaHj3CMgH6udCd1I04BdUtSsyEO3n5A1OAKpjI,6790
176
- machineconfig/scripts/python/cloud_repo_sync.py,sha256=HUaFhSl9f7y2BJgBfXWKnb-xymsi0lB1hqRl8xU_H-E,9861
177
- machineconfig/scripts/python/cloud_sync.py,sha256=grlWuY7E0NadylxUU14YAcym6vICYvoI9PyF5a4G4_c,3846
178
- machineconfig/scripts/python/croshell.py,sha256=1UOOk1esyP-YOIZuhe_d22I69So_fZIZsBpNfQnGIIQ,9551
179
- machineconfig/scripts/python/devops.py,sha256=rIBsyBTnK0kB-g_GKZ-K3xCpsev-Wn6mOvaZcLWSnGU,8388
166
+ machineconfig/scripts/python/cloud_mount.py,sha256=QdokpaQ31S5oVBsZTApVNXbquWfJL1I4ULKVyGiDO_U,6802
167
+ machineconfig/scripts/python/cloud_repo_sync.py,sha256=-aGiNw-K706vcuVwsuBXUL2FMHpa6OnHiKIIaydAt38,9940
168
+ machineconfig/scripts/python/cloud_sync.py,sha256=UVxFG2mRARU0CEU51RvdjyR4vxxF8bemzmDgWvZ9SRs,3858
169
+ machineconfig/scripts/python/croshell.py,sha256=u9VgF4BnlWUDzpuYy4ScYy2wCyLqOzE-qnqArBEeFNo,9559
170
+ machineconfig/scripts/python/devops.py,sha256=Ss38XnmiG5_T46az6iEyotq8M5JChUYKXZ56UJA6IXk,8331
180
171
  machineconfig/scripts/python/devops_add_identity.py,sha256=gYcRzUZGr-truU2l5iPLEiWSZpKLzz5a6v5VPrEMVwg,3869
181
172
  machineconfig/scripts/python/devops_add_ssh_key.py,sha256=D66vyl4NnvwL306yJXSFI4ht0sz-m9yczuBf82VCodo,6760
182
173
  machineconfig/scripts/python/devops_backup_retrieve.py,sha256=noN0pgZkj7wdQSZpyCOKYVV_npcKn1CkXtqt1l2QO4w,6201
183
- machineconfig/scripts/python/devops_devapps_install.py,sha256=5eagtkIoitPM08Y-dy1jCV3cIjDT2Bk7ooRpdYju3SM,8138
174
+ machineconfig/scripts/python/devops_devapps_install.py,sha256=HrKa1mSwMXtdFPOy4LCHUAY6LvrlHFtDW_kCrIYL90w,8160
184
175
  machineconfig/scripts/python/devops_update_repos.py,sha256=q8mCIqCYsJdGCf4sBUeVe6hJIQX4pGLYPAF3rDpTQZI,11221
185
176
  machineconfig/scripts/python/dotfile.py,sha256=miL8mQH2AqPdnHSz0Cxa7qQavaOmzTD9DAF66H2PRzA,2259
186
- machineconfig/scripts/python/fire_agents.py,sha256=d0zVilyBeFs1B-dh8fhBWqKqIh9UTOsWROUpmiFb7Vw,9254
187
- machineconfig/scripts/python/fire_jobs.py,sha256=4182jV9jh0lOxP0Q_ZgmCKZdSzFhcU-nfAcGM9fGKAU,20079
177
+ machineconfig/scripts/python/fire_agents.py,sha256=VhmB_onoLYRAqqaEUV2UJytxQQBb_0d0j6KCTkUMW7c,9358
178
+ machineconfig/scripts/python/fire_jobs.py,sha256=V6ULEOyBaNzhHxeYmpOEyVI-VFBcSrFvUiFlxyXvc10,16566
179
+ machineconfig/scripts/python/fire_jobs_args_helper.py,sha256=TfCKSExGZhYrZ6JmXIHsd0wpNSWcKeLeRh9gFR3FG-M,4330
180
+ machineconfig/scripts/python/fire_jobs_layout_helper.py,sha256=Ph3nc6_-Q80xJNqTspWUN1SVxzA6afGHDnWUlgQykZw,3226
181
+ machineconfig/scripts/python/fire_jobs_streamlit_helper.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
188
182
  machineconfig/scripts/python/ftpx.py,sha256=WQ-6Z043q3yQOgWQV9g-R5QjouilWC0grOc6hydvbvg,9914
189
183
  machineconfig/scripts/python/get_zellij_cmd.py,sha256=e35-18hoXM9N3PFbvbizfkNY_-63iMicieWE3TbGcCQ,576
190
184
  machineconfig/scripts/python/gh_models.py,sha256=3BLfW25mBRiPO5VKtVm-nMlKLv-PaZDw7mObajq6F6M,5538
191
- machineconfig/scripts/python/mount_nfs.py,sha256=KleZz9Np1csQLNZ4_gdIpTwYQqIkiarjrXJLzB0xCvw,3178
192
- machineconfig/scripts/python/mount_nw_drive.py,sha256=q7URYlipteXdhFKBaqS-PB7kAJq4oMWsvsu47rQ_xdI,1546
193
- machineconfig/scripts/python/mount_ssh.py,sha256=NObjRZZXb7Jw-ytM66mpFx9B0AsvW4u_n3y_KtETo-c,2222
185
+ machineconfig/scripts/python/mount_nfs.py,sha256=v1vhxzpNJSVLdkGkdC84pV7T32xmoVCTMLFbsxe8SA8,3314
186
+ machineconfig/scripts/python/mount_nw_drive.py,sha256=_7Rq-OGdJ8eYivESqGqdtWfSERuZd-E4w_glMBaCY7Q,1550
187
+ machineconfig/scripts/python/mount_ssh.py,sha256=uALax_ZVKihspQF6TuUtvtoAo-VRHCkdKQ7N9GRcry8,2234
194
188
  machineconfig/scripts/python/onetimeshare.py,sha256=bmGsNnskym5OWfIhpOfZG5jq3m89FS0a6dF5Sb8LaZM,2539
195
189
  machineconfig/scripts/python/pomodoro.py,sha256=SPkfeoZGv8rylGiOyzQ7UK3aXZ3G2FIOuGkSuBUggOI,2019
196
190
  machineconfig/scripts/python/repos.py,sha256=rlUff2c_hyJZ-6WXQ6goKhOt4n7k0pP_Gq0V8Z6IVIg,18076
197
191
  machineconfig/scripts/python/scheduler.py,sha256=7IBjMMOHMkklcWzYwz93EH9XzbJ5uPqU03bJ_lYbRNo,3083
198
192
  machineconfig/scripts/python/snapshot.py,sha256=aDvKeoniZaeTSNv9zWBUajaj2yagAxVdfuvO1_tgq5Y,1026
199
- machineconfig/scripts/python/start_slidev.py,sha256=pwqTTmfGSV26NQ9yyhMnsgkPka6Z6V88yJuWGzLwRu0,4458
200
- machineconfig/scripts/python/start_terminals.py,sha256=r5NVU00ghkNsuifp2eU8Z-z_0WJ5NhZk8qjuPoY5PUM,6206
193
+ machineconfig/scripts/python/start_slidev.py,sha256=MPCN0JgRzOAXywj6n9s0iZYcLFAscP-eOPQvkUyElRA,4525
194
+ machineconfig/scripts/python/start_terminals.py,sha256=HaHv5EqeSos1XtlmVD9gMjZVgkSPS5mmx2lJbM4d7zE,6206
201
195
  machineconfig/scripts/python/viewer.py,sha256=heQNjB9fwn3xxbPgMofhv1Lp6Vtkl76YjjexWWBM0pM,2041
202
196
  machineconfig/scripts/python/viewer_template.py,sha256=ve3Q1-iKhCLc0VJijKvAeOYp2xaFOeIOC_XW956GWCc,3944
203
- machineconfig/scripts/python/wifi_conn.py,sha256=C-vZr-vEtTxlXuiO7hhKQ8f86Cb9m2XO8p3356jxFxw,15577
197
+ machineconfig/scripts/python/wifi_conn.py,sha256=2FJ4srVthGHsy3KSXpvndAyVkNO8n_XeSgVRnd_PjZA,15576
204
198
  machineconfig/scripts/python/wsl_windows_transfer.py,sha256=RfSf5SJejnqrg36YfXSwu52ceEW77uNP4WC6QQUyRTA,3650
205
- machineconfig/scripts/python/__pycache__/__init__.cpython-313.pyc,sha256=IppPGJ6Wk5Ma5oPWfJpN5QDW6-NvCk29la5JGbgAJ6E,171
206
- machineconfig/scripts/python/__pycache__/devops.cpython-313.pyc,sha256=YYhD3mAAgmuTzFPQSqlhrsxmSXT3Ou9x1futZv-jyRM,11555
207
- machineconfig/scripts/python/__pycache__/devops_devapps_install.cpython-313.pyc,sha256=vfTHoOoAgNaGDna6MW5De9opJHictly6E9MEAE3_q_s,8616
208
- machineconfig/scripts/python/__pycache__/devops_update_repos.cpython-313.pyc,sha256=0uDZbL7JxKuZ9y1r82LvJWAuf9z_hux7MUmzrG7FjFk,12175
209
- machineconfig/scripts/python/__pycache__/fire_agents.cpython-313.pyc,sha256=XsvsbYKZNux9qalKHdCH7tUWZjqeM2ZbxhmaL6URM3c,11767
199
+ machineconfig/scripts/python/__pycache__/__init__.cpython-313.pyc,sha256=8muD9pM0PjydSqWOb5Vt0PqZMDLWVx8tiv4rTzca3_Q,171
200
+ machineconfig/scripts/python/__pycache__/croshell.cpython-313.pyc,sha256=JU3-6dV9_1yhVRi3xZtc5mZCv63kAdrHGXArv4BtBxQ,9923
201
+ machineconfig/scripts/python/__pycache__/devops.cpython-313.pyc,sha256=NNA2Z-b903hVbpUzJ3mYZk-iBSwz-5dA-nGcdRtMC9A,11377
202
+ machineconfig/scripts/python/__pycache__/devops_update_repos.cpython-313.pyc,sha256=Tf5urpeVHjZpFdyZjakvxZ2HuiPrmVoVMnXg8B1SDmA,12175
210
203
  machineconfig/scripts/python/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
211
204
  machineconfig/scripts/python/ai/generate_files.py,sha256=Vfjgd0skJu-WTgqUxmOVFzaNMfSFBaFmY5oGGVY7MZY,2860
212
205
  machineconfig/scripts/python/ai/mcinit.py,sha256=IuUclOpQ0-5YJ4AghbPCglyMi6DPtP0zqIOhB-28wmQ,5251
@@ -224,7 +217,7 @@ machineconfig/scripts/python/archive/tmate_start.py,sha256=Hp7xv32u-fRuCG_f-Cy6q
224
217
  machineconfig/scripts/python/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
225
218
  machineconfig/scripts/python/helpers/cloud_helpers.py,sha256=R8xFPcgsdRHn4ta9QjQUjch3P5Bwnv8oiY-UpFE982U,4966
226
219
  machineconfig/scripts/python/helpers/helpers2.py,sha256=TU1sA0GKNXHXT1_0y8piBLT_BeXfk0uBmkmUeyVYj58,7295
227
- machineconfig/scripts/python/helpers/helpers4.py,sha256=HA8-888DIoQawyaOkf0vtPD5SyDt_cKLrNKChhTjLd0,7709
220
+ machineconfig/scripts/python/helpers/helpers4.py,sha256=SFYfxRleEq3gIbffIxFM8d1Ra5zNheUuTIOi2iBsqlE,7708
228
221
  machineconfig/scripts/python/helpers/helpers5.py,sha256=dPBvA9Tcyx9TMgM6On49A1CueGMhBdRzikDnlJGf3J0,1123
229
222
  machineconfig/scripts/python/helpers/repo_sync_helpers.py,sha256=c4IkoVQMGkO-D00-q2YE6Jvte39jDHsOBr2sr0c7y5Q,5331
230
223
  machineconfig/scripts/windows/checkout_version.ps1,sha256=5bwjbKoBeyFJ6DEGgQiWWHp-VahrtvfU0w_g69zP3CM,131
@@ -275,6 +268,7 @@ machineconfig/scripts/windows/archive/secure_push.ps1,sha256=GeAHwy8o5lv4Cta5pNE
275
268
  machineconfig/scripts/windows/archive/tmate_conn.ps1,sha256=D3h4FNmVSwL6fbGkG4wwIToH57yVXWlULSqyEOozS8U,193
276
269
  machineconfig/scripts/windows/utils/op_script_delete.ps1,sha256=tX5drodmlzbM5kEYXc8oCsiWFtOlMRXouuBxX6AGsmQ,167
277
270
  machineconfig/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
271
+ machineconfig/settings/__pycache__/__init__.cpython-313.pyc,sha256=tRO9mF8S4gAUlEngtzK4OB0x4XXu2epueVip5OgfRPk,165
278
272
  machineconfig/settings/broot/br.sh,sha256=UoiQN5ULJqCnwVudUonZ5_sO0TEHZE8LEROgArnDD7k,1747
279
273
  machineconfig/settings/broot/brootcd.ps1,sha256=BB8uGnoVywxFWSgwsHxlbS8V4W_Qom3L1SedekGpgWA,877
280
274
  machineconfig/settings/broot/conf.toml,sha256=2C2ggpFR0Z-Sceu0iwHW0LFz45AjwyeCBD0PSP0VIoo,55
@@ -346,8 +340,10 @@ machineconfig/settings/shells/bash/.inputrc,sha256=KUPj9Rj1_5quvDmB7vZORN43TIv7K
346
340
  machineconfig/settings/shells/bash/init.sh,sha256=EOCNg7h4roNDTappkddwy7U_0R_NKiLzbuZZ4gnmTPc,2352
347
341
  machineconfig/settings/shells/hyper/.hyper.js,sha256=h-HqeYlvPvPD4Ee7828Cxo87uVkzbMGJFqXTZIWoegw,8884
348
342
  machineconfig/settings/shells/ipy/profiles/default/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
343
+ machineconfig/settings/shells/ipy/profiles/default/__pycache__/__init__.cpython-313.pyc,sha256=jDr5Q0qA-Ii5vez2e_aPL5XsY7SGOdSzPTMTKCoJV_8,193
349
344
  machineconfig/settings/shells/ipy/profiles/default/startup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
350
345
  machineconfig/settings/shells/ipy/profiles/default/startup/playext.py,sha256=-RINJ7SH3ieHGw2C1_ENnRitbVM9u26sUYD8kF7I3uQ,3503
346
+ machineconfig/settings/shells/ipy/profiles/default/startup/__pycache__/__init__.cpython-313.pyc,sha256=tnsC80HmsEa7Nan5NEfNHNdCZtGxzog9AG51EPGqTZ8,201
351
347
  machineconfig/settings/shells/kitty/kitty.conf,sha256=lDdx-dUX3jbKGb3BkS2f2TOpmgGiS-CI-_-lFvhD5A4,52870
352
348
  machineconfig/settings/shells/nushell/config.nu,sha256=ug0E0NXNlCzgStScFN6VTsAkUaOTPJZB69P-LS5L2VE,1047
353
349
  machineconfig/settings/shells/nushell/env.nu,sha256=4VmaXb-qP6qnMD5TPzkXMLFNlB5QC4l9HEzCvXZE2GQ,315
@@ -399,20 +395,20 @@ machineconfig/setup_windows/wt_and_pwsh/install_fonts.ps1,sha256=JsQfGAMkvirhiUm
399
395
  machineconfig/setup_windows/wt_and_pwsh/set_pwsh_theme.py,sha256=JgJZMP93xPQwr_6tsRmimOMllu-vsXn6ZgW-4ZEfRt0,4538
400
396
  machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=-XLcrpWv_iPPNTFjp5cUEGsvLrkLNMq93b0KhGX7tPw,9217
401
397
  machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
402
- machineconfig/utils/code.py,sha256=kYPN8I0fauSF0UYCNbOKbctS4M6sAdZbU2ML9_4GXko,4536
398
+ machineconfig/utils/code.py,sha256=y2CTzD9elNOqMfiAJgxyTNhYG28IaYtKOv5zjTiRchE,4459
403
399
  machineconfig/utils/installer.py,sha256=725N-0gmMbrWWh6_9sn-2w9aXrfjIPrnuu9o13T4N4o,10941
404
400
  machineconfig/utils/io_save.py,sha256=iC1YTH0MOlBS8bWUB8Xhdl4CG_bEKQ3OVwMohdCOazI,3145
405
401
  machineconfig/utils/links.py,sha256=Lkzp1yZFyMe0ikbVsnWBektZy-9_Km69zt7hJ33MHp0,10309
406
402
  machineconfig/utils/notifications.py,sha256=7OQmcOMhJIOQ2Rhgm9HDeyhXtjUkC4Ldl1Rrgnv311g,8423
407
- machineconfig/utils/options.py,sha256=MHO2j1yNFLaTAZGNGBzNNb0O4t9kkCpLulKK3rdurAI,8027
408
- machineconfig/utils/path.py,sha256=OjZmCprrl462bqTvTdZ8hL7Suh8OGAapBwvAn745x7Y,8008
409
- machineconfig/utils/path_reduced.py,sha256=x90Uf95a2GMMiWr2NVVkvJnLAFOETMFb3q1yZTPab40,52468
403
+ machineconfig/utils/options.py,sha256=ez3U8UuhjuSMcuUneHEYYg3JWEFLC-LVcZdlT8hlBK4,8198
404
+ machineconfig/utils/path.py,sha256=4PNyyYsjPdJGDx1FbhPT4Sv6uR6PHAk9tMZiGQCGkIc,8071
405
+ machineconfig/utils/path_reduced.py,sha256=hccGUTSMtggU-LpLNS7W_c1s-CqhjHMbTQ59-1EqgmY,52473
410
406
  machineconfig/utils/procs.py,sha256=6uB8lvmipNviMExjgFpZ3nGInatLf7GFTMmDNcI7paU,10828
411
407
  machineconfig/utils/scheduling.py,sha256=4RRrrtjzOxk02IZENhIw6aGj5eMaWr0Tb73R68lhbGY,11271
412
- machineconfig/utils/source_of_truth.py,sha256=QUxJ4eyY-O2cAFGknLY9Xz2E12w3cAJWuDFiIjERVWY,952
413
- machineconfig/utils/ssh.py,sha256=AED-k9lwqN5uxYPU4T6D7cGZMsja6n0ApEL-aD9XJFk,20108
408
+ machineconfig/utils/source_of_truth.py,sha256=IrhXFf0YlsUIgpd0We8y4zuBOheRKjwQQKvZjYEJyOE,956
409
+ machineconfig/utils/ssh.py,sha256=ZVgFpr940OApfy07rFNujYAZ0AJG4xGPteupBG-Gdkc,20130
414
410
  machineconfig/utils/terminal.py,sha256=k3xoMwJPGvmaeL9CxEIwrcQjRNN6EnJItoIIxXrUY8c,12258
415
- machineconfig/utils/upgrade_packages.py,sha256=hkEDA5vDFca2N05QBZHPEq1PieI54ASLo5Hr6QEUYic,3373
411
+ machineconfig/utils/upgrade_packages.py,sha256=H96zVJEWXJW07nh5vhjuSCrPtXGqoUb7xeJsFYYdmCI,3330
416
412
  machineconfig/utils/utils2.py,sha256=Y9bX4gaaPih7gbOeTcfPhQ3CcMFKGXgVCEQhVhljH4Q,2526
417
413
  machineconfig/utils/utils5.py,sha256=s2NFUBcm4Jeuet8sUC7WKGSrYT4BnqTog39bsynXLik,15166
418
414
  machineconfig/utils/ve.py,sha256=2-XzS2LV1c-iW3SZ3elELrCeAisXLNLqQU4Ayieq6Ho,2763
@@ -423,9 +419,10 @@ machineconfig/utils/ai/url2md.py,sha256=vuFRHFhke6rqhiazk_p_c8T8BES9blxX7kmVNveH
423
419
  machineconfig/utils/cloud/onedrive/setup_oauth.py,sha256=ZTVkqgrwbV_EoPvyT8dyOTUE0ur3BW4sa9o6QYtt5Bo,2341
424
420
  machineconfig/utils/cloud/onedrive/transaction.py,sha256=m-aNcnWj_gfZVvJOSpkdIqjZxU_3nXx2CA-qKbQgP3I,26232
425
421
  machineconfig/utils/installer_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
426
- machineconfig/utils/installer_utils/installer_abc.py,sha256=NPuvs8mzMbZVq-KpG85iKtfMcaFzjvDE5QMw82kh92M,5320
422
+ machineconfig/utils/installer_utils/installer_abc.py,sha256=jR5XvrCjisIzoxk2VL0VhoVv-PkKdstDHGLcYky5Mqs,5319
427
423
  machineconfig/utils/installer_utils/installer_class.py,sha256=l0UM-u6ZfWx-uLvAk_mmojbppj4sxDrHX3wmVwQv12w,20366
428
- machineconfig-2.2.dist-info/METADATA,sha256=hI4oi4LCUQ6c5_wcFnSpfHc1nmOiBmkjL3ydHsPAugI,7165
429
- machineconfig-2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
430
- machineconfig-2.2.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
431
- machineconfig-2.2.dist-info/RECORD,,
424
+ machineconfig-2.4.dist-info/METADATA,sha256=yhaxBKtZZtK4xZZp5W9DCU0rBGJq8wuzNBTR23Q3kHA,7165
425
+ machineconfig-2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
426
+ machineconfig-2.4.dist-info/entry_points.txt,sha256=9qZRmyzJ6rPMBjF7f3E_T6I8VLIJHUB_y1qmTvc8TZY,75
427
+ machineconfig-2.4.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
428
+ machineconfig-2.4.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ devops = machineconfig.scripts.python.devops:args_parser
@@ -1,60 +0,0 @@
1
- """ZT"""
2
-
3
- import socket
4
- from machineconfig.utils.options import choose_ssh_host
5
- from machineconfig.utils.code import write_shell_script_to_default_program_path
6
- from machineconfig.utils.path_reduced import PathExtended as PathExtended
7
-
8
- prefix = """
9
-
10
- layout {
11
- default_tab_template {
12
- pane size=1 borderless=true {
13
- plugin location="zellij:compact-bar"
14
- }
15
- children
16
-
17
- }
18
-
19
- """
20
-
21
- suffix = """
22
-
23
- tab name="THISMACHINE" focus=true // the default_tab_template
24
- }
25
- """
26
-
27
- tab = """
28
-
29
- tab name="TABNAME" focus=false { // the default_tab_template with three vertical panes between the plugins
30
- pane name="fpane" {
31
- command "TABCOMMAND"
32
- args "TABARGS"
33
- }
34
- }
35
-
36
- """
37
-
38
-
39
- def build_template(tabs: list[str]):
40
- res = prefix
41
- for t in tabs:
42
- res += tab.replace("TABNAME", t).replace("TABCOMMAND", "ssh").replace("TABARGS", t)
43
- res += suffix.replace("THISMACHINE", socket.gethostname())
44
- file = PathExtended.tmp().joinpath("tmp_files/templates/zellij_template.kdl")
45
- file.parent.mkdir(parents=True, exist_ok=True)
46
- file.write_text(res, encoding="utf-8")
47
- res = f"zellij --layout {file}"
48
- return res
49
-
50
-
51
- def launch_from_ssh_config():
52
- hosts = choose_ssh_host(multi=True)
53
- assert isinstance(hosts, list)
54
- res = build_template(hosts)
55
- write_shell_script_to_default_program_path(res, execute=False, desc="zellij launch script", preserve_cwd=False, display=False)
56
- return None
57
-
58
-
59
- if __name__ == "__main__":
60
- launch_from_ssh_config()
@@ -1,183 +0,0 @@
1
- # """
2
- # Session Manager
3
- # """
4
-
5
- # from machineconfig.cluster.self_ssh import SelfSSH
6
-
7
- # from machineconfig.utils.io_save import save_yaml
8
- # import time
9
- # import subprocess
10
- # from typing import Union
11
-
12
-
13
- # class Zellij:
14
- # @staticmethod
15
- # def get_current_zellij_session() -> str:
16
- # try:
17
- # output_lines = Terminal().run("zellij ls --no-formatting").op.split("\n")
18
- # current_lines = [line for line in output_lines if "(current)" in line]
19
- # return current_lines[0].split(" [Created")[0]
20
- # except IndexError as ie:
21
- # print("""Fails if there is no zellij session running, fails if there is no (current) suffix against the session name.""")
22
- # raise ie
23
- # @staticmethod
24
- # def get_new_session_command(sess_name: str) -> str: return f"zellij attach {sess_name} -c " # -c means create if not exists.
25
- # @staticmethod
26
- # def get_new_session_ssh_command(ssh: Union[SSH, SelfSSH], sess_name: str):
27
- # if isinstance(ssh, SelfSSH): return Zellij.get_new_session_command(sess_name=sess_name)
28
- # return f"{ssh.get_ssh_conn_str()} -t {Zellij.get_new_session_command(sess_name=sess_name)}"
29
- # @staticmethod
30
- # def open_console(ssh: Union[SSH, SelfSSH], sess_name: str):
31
- # if isinstance(ssh, SelfSSH):
32
- # # return Terminal().run_async(Zellij.get_new_session_command(sess_name=sess_name), shell="powershell")
33
- # # currently, there is a limitation in zellij on creating a detached sessions, there is no way to fix this now.
34
- # # this will get stuck in the new session and won't run parallel.
35
- # return subprocess.Popen(["zellij", "--session", sess_name], shell=True, stdin=None, stdout=None, stderr=None)
36
- # return Terminal().run_async(Zellij.get_new_session_ssh_command(ssh=ssh, sess_name=sess_name))
37
- # @staticmethod
38
- # def asssert_session_started(ssh: Union[SSH, SelfSSH], sess_name: str):
39
- # while True:
40
- # raw_resp = ssh.run("zellij ls --no-formatting", verbose=False).op.split("\n")
41
- # current_sessions = [item.split(" [Created")[0] for item in raw_resp if "EXITED" not in item]
42
- # if sess_name in current_sessions:
43
- # print(f"--> Session {sess_name} has started at the remote.")
44
- # time.sleep(6)
45
- # break
46
- # time.sleep(2)
47
- # print(f"--> Waiting for zellij session {sess_name} to start before sending fire commands ...")
48
-
49
- # @staticmethod
50
- # def close_tab(sess_name: str, tab_name: str):
51
- # cmd = f"""
52
- # zellij --session {sess_name} action close-tab --tab-name '{tab_name}'
53
- # zellij --session {sess_name} action new-tab --name '🖥️{tab_name}'
54
- # zellij --session {sess_name} action new-tab --name '🔍{tab_name}'
55
- # zellij --session {sess_name} action new-tab --name '🪪{tab_name}'
56
- # zellij --session {sess_name} action new-tab --name '🧑‍💻{tab_name}'
57
- # """
58
- # print(f"Closing tab `{tab_name}` in zellij session `{sess_name}` with command \n{cmd}")
59
- # return Terminal().run_script(cmd)
60
-
61
- # @staticmethod
62
- # def setup_layout(ssh: Union[SSH, SelfSSH], sess_name: str, cmd: str = "", run: bool = False, job_wd: str = "$HOME/tmp_results/remote_machines", tab_name: str = "", compact: bool = False):
63
- # sleep = 0.9
64
- # if run:
65
- # if cmd.startswith(". "): cmd = cmd[2:]
66
- # elif cmd.startswith("source "): cmd = cmd[7:]
67
- # else: pass
68
- # exe = f"""
69
- # zellij --session {sess_name} action new-tab --name '{tab_name}'; sleep {sleep}
70
- # zellij --session {sess_name} run -d down -- /bin/bash {cmd}; sleep {sleep}
71
- # zellij --session {sess_name} action move-focus up; sleep {sleep}
72
- # zellij --session {sess_name} action close-pane; sleep {sleep}
73
- # """
74
- # else: exe = f"""
75
- # zellij --session {sess_name} action write-chars "{cmd}"
76
- # """
77
- # if not compact: cmd = f"""
78
- # zellij --session {sess_name} action new-tab --name '{tab_name}'; sleep {sleep}
79
- # zellij --session {sess_name} action rename-tab '🖥️{tab_name}'; sleep {sleep} # rename the focused first tab
80
- # zellij --session {sess_name} action new-tab --name '🔍{tab_name}'; sleep {sleep}
81
- # zellij --session {sess_name} action write-chars htop; sleep {sleep}
82
-
83
- # zellij --session {sess_name} action new-tab --name '📁{tab_name}'; sleep {sleep}
84
- # zellij --session {sess_name} run --direction down --cwd {job_wd} -- lf; sleep {sleep}
85
- # zellij --session {sess_name} action move-focus up; sleep {sleep}
86
- # zellij --session {sess_name} action close-pane; sleep {sleep}
87
-
88
- # zellij --session {sess_name} action new-tab --name '🪪{tab_name}'; sleep {sleep}
89
- # zellij --session {sess_name} run --direction down -- neofetch;cpufetch; sleep {sleep}
90
- # zellij --session {sess_name} action move-focus up; sleep {sleep}
91
- # zellij --session {sess_name} action close-pane; sleep {sleep}
92
-
93
- # zellij --session {sess_name} action new-tab --name '🧑‍💻{tab_name}'; sleep {sleep}
94
- # zellij --session {sess_name} action write-chars "cd {job_wd}"; sleep {sleep}
95
- # zellij --session {sess_name} action go-to-tab 1; sleep {sleep}
96
- # {exe}
97
-
98
- # """
99
- # else: cmd = exe
100
- # if isinstance(ssh, SelfSSH):
101
- # # print(1)
102
- # print(f"Setting up zellij layout `{sess_name}` on `{ssh.get_remote_repr()}` to run `{P(job_wd).name}`")
103
- # # return Terminal().run_script(cmd) # Zellij not happy with launching scripts of zellij commands.
104
- # return Response.from_completed_process(subprocess.run(cmd, shell=True, check=True, capture_output=True, text=True))
105
- # # print(2)
106
- # return ssh.run(cmd, desc=f"Setting up zellij layout on `{ssh.get_remote_repr()}`", verbose=False)
107
- # @staticmethod
108
- # def kill_session(ssh: Union[SSH, SelfSSH], sess_name: str):
109
- # cmd = f'zellij kill-session {sess_name}'
110
- # return ssh.run(cmd, desc=f"Killing zellij session `{sess_name}` on `{ssh.get_remote_repr()}`", verbose=False)
111
-
112
-
113
- # class WindowsTerminal:
114
- # @staticmethod
115
- # def kill_session(sess_name: str):
116
- # from machineconfig.utils.procs import ProcessManager
117
- # pm = ProcessManager()
118
- # pm.kill(commands=[sess_name])
119
- # @staticmethod
120
- # def open_reference(): PathExtended(r"https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows")()
121
- # @staticmethod
122
- # def get_new_session_command(sess_name: str): return f"wt -w {sess_name} -d ."
123
- # @staticmethod
124
- # def get_new_session_ssh_command(ssh: Union[SSH, SelfSSH], sess_name: str):
125
- # if isinstance(ssh, SelfSSH): return WindowsTerminal.get_new_session_command(sess_name=sess_name)
126
- # return f"{ssh.get_ssh_conn_str()} -t {WindowsTerminal.get_new_session_command(sess_name=sess_name)}"
127
- # @staticmethod
128
- # def open_console(ssh: Union[SSH, SelfSSH], sess_name: str):
129
- # if isinstance(ssh, SelfSSH):
130
- # # return Terminal().run_async(WindowsTerminal.get_new_session_command(sess_name=sess_name), shell="powershell")
131
- # return subprocess.Popen(["wt", "--window", sess_name], shell=True, stdin=None, stdout=None, stderr=None)
132
- # return Terminal().run_async(WindowsTerminal.get_new_session_ssh_command(ssh=ssh, sess_name=sess_name), shell="pwsh")
133
- # @staticmethod
134
- # def asssert_session_started(ssh: Union[SSH, SelfSSH], sess_name: str):
135
- # _ = sess_name, ssh
136
- # time.sleep(6)
137
- # return True
138
- # @staticmethod
139
- # def setup_layout(ssh: Union[SSH, SelfSSH], sess_name: str, tab_name: str = "", cmd: str = "", run: bool = True, job_wd: str = "$HOME/tmp_results/remote_machines", compact: bool = True):
140
- # if run:
141
- # if cmd.startswith(". "): cmd = cmd[2:]
142
- # elif cmd.startswith("source "): cmd = cmd[7:]
143
- # else: pass
144
- # exe: str = f"""
145
- # wt --window {sess_name} new-tab --title '{tab_name}' pwsh -noExit -Command {cmd}
146
- # """
147
- # else: raise NotImplementedError("I don't know how to write-chars in Windows Terminal") # exe = f""" wt --window {sess_name} action write-chars "{cmd}" """
148
- # sleep = 0.9
149
- # if compact: cmd = f"""
150
- # wt --window {sess_name} new-tab --title '💻{tab_name}' htop `; split-pane --horizontal --title '📁{tab_name}' --startingDirectory {job_wd} --profile pwsh lf `; split-pane --vertical --title '🪪{tab_name}' powershell -noExit "$HOME/scripts/neofetch.ps1" `; move-focus up `; split-pane --vertical --startingDirectory {job_wd} --title '🧑‍💻{tab_name}' --profile pwsh
151
- # """ # when pane-splitting, the tab title goes to the last pane declared.
152
- # else: cmd = f"""'
153
- # wt --window {sess_name} new-tab --title '💻{tab_name}' htop; sleep {sleep}
154
- # wt --window {sess_name} new-tab --title '📁{tab_name}' --startingDirectory {job_wd} lf; sleep {sleep}
155
- # wt --window {sess_name} new-tab --title '🪪{tab_name}' powershell -noExit "$HOME/scripts/neofetch.ps1"; sleep {sleep}
156
- # wt --window {sess_name} new-tab --title '🧑‍💻{tab_name}' --startingDirectory {job_wd} --profile pwsh; sleep {sleep}
157
- # """
158
- # cmd = cmd + f"\nsleep {sleep};" + exe
159
- # # print(cmd)
160
- # if isinstance(ssh, SelfSSH):
161
- # print(f"Firing WindowsTerminal Session `{sess_name}` on `{ssh.get_remote_repr()}` to run `{P(job_wd).name}`")
162
- # return Terminal().run_script(cmd, shell="pwsh")
163
- # return ssh.run(cmd, desc=f"Setting up WindowsTerminal layout on `{ssh.get_remote_repr()}`", verbose=False)
164
-
165
-
166
- # class Mprocs:
167
- # @staticmethod
168
- # def get_template():
169
- # import machineconfig
170
- # return PathExtended(machineconfig.__file__).parent.joinpath(r"settings/mprocs/windows/mprocs.yaml").readit()
171
- # # def get_new_session_name(self): return f"mprocs{self.id}"
172
- # @staticmethod
173
- # def get_ssh_command(): return ""
174
- # def open_console(self, cmd: str, shell: str = "powershell"):
175
- # _ = cmd, shell
176
- # return "wt -w 0 -d ."
177
- # def get_layout(self):
178
- # temp = self.get_template()
179
- # temp.procs['main']['shell']['windows'] = "croshell"
180
- # _template_file = save_yaml(obj=temp, path=PathExtended.tmpfile(suffix=".yaml"))
181
- # def asssert_session_started(self):
182
- # time.sleep(3)
183
- # return True
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # https://tmate.io/
4
- #api_key=echo ~/dotfiles/creds/tmate/api_key
5
- #sess_name=echo ~/dotfiles/creds/tmate/$1
6
- #ssh $username/$sess_name@sgp1.tmate.io
7
-
8
- . $HOME/scripts/activate_ve ''
9
- machineconfig_path=$(python -c "print(__import__('machineconfig').__file__[:-12])")
10
- pyfile=$machineconfig_path/scripts/python/tmate_conn.py
11
- python3 $pyfile $1
12
- deactivate || true
@@ -1,12 +0,0 @@
1
- #!/usr/bin/bash
2
-
3
- #sess_name=$(cat ~/dotfiles/creds/tmate/$1)
4
- #api_key=$(cat ~/dotfiles/creds/tmate/api_key)
5
- #tmate -a ~/.ssh/authorized_keys -k $api_key -n $sess_name -F
6
- # use sslh and shellinthebox to cirumvent the need for port forwarding
7
-
8
- . $HOME/scripts/activate_ve ''
9
- machineconfig_path=$(python -c "print(__import__('machineconfig').__file__[:-12])")
10
- pyfile=$machineconfig_path/scripts/python/tmate_start.py
11
- python3 $pyfile $1
12
- deactivate || true
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- . $HOME/scripts/activate_ve 've'
4
- python $(dirname $(dirname $0))/python/transfer_wsl_win.py "$@"
5
- deactivate || true