machineconfig 5.84__py3-none-any.whl → 5.86__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/mapper.toml +3 -2
- machineconfig/scripts/python/devops_helpers/cli_config.py +9 -9
- machineconfig/scripts/python/devops_helpers/cli_nw.py +2 -1
- machineconfig/scripts/python/devops_helpers/cli_repos.py +1 -1
- machineconfig/scripts/python/devops_helpers/cli_self.py +13 -2
- machineconfig/scripts/python/devops_helpers/devops_update_repos.py +1 -1
- machineconfig/scripts/python/helpers_fire/template.sh +2 -2
- machineconfig/scripts/python/helpers_repos/secure_repo.py +2 -2
- machineconfig/scripts/python/nw/ssh_debug_windows.py +338 -0
- machineconfig/scripts/python/repos_helpers/action.py +5 -5
- machineconfig/scripts/python/repos_helpers/entrypoint.py +2 -2
- machineconfig/scripts/python/repos_helpers/update.py +2 -2
- machineconfig/settings/lf/linux/lfrc +23 -428
- machineconfig/settings/shells/bash/init.sh +19 -11
- machineconfig/settings/shells/pwsh/init.ps1 +9 -0
- machineconfig/setup_linux/web_shortcuts/interactive.sh +11 -23
- machineconfig/setup_windows/web_shortcuts/interactive.ps1 +11 -28
- {machineconfig-5.84.dist-info → machineconfig-5.86.dist-info}/METADATA +1 -1
- {machineconfig-5.84.dist-info → machineconfig-5.86.dist-info}/RECORD +22 -22
- machineconfig/jobs/python/vscode/sync_code.py +0 -73
- {machineconfig-5.84.dist-info → machineconfig-5.86.dist-info}/WHEEL +0 -0
- {machineconfig-5.84.dist-info → machineconfig-5.86.dist-info}/entry_points.txt +0 -0
- {machineconfig-5.84.dist-info → machineconfig-5.86.dist-info}/top_level.txt +0 -0
|
@@ -85,7 +85,6 @@ machineconfig/jobs/linux/msc/network.sh,sha256=j3kRV2mFEZK05XL2UdR9ssW2hkLH5rOYM
|
|
|
85
85
|
machineconfig/jobs/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
86
|
machineconfig/jobs/python/python_ve_symlink.py,sha256=Mw2SK_TDLK5Ct_mEESh_Pd-Rn-B1oBSp7a_9y_eZbqw,1140
|
|
87
87
|
machineconfig/jobs/python/vscode/api.py,sha256=Et0G-VUj13D1rshYMdDrw_CUYSO7Q6XRrEQO0WjVIKU,1683
|
|
88
|
-
machineconfig/jobs/python/vscode/sync_code.py,sha256=f9hxMg_nkIsC0xvfQMboJbc-Jhap9YQrV7k7a5YSI1c,2333
|
|
89
88
|
machineconfig/jobs/windows/archive/archive_pygraphviz.ps1,sha256=UbOApUB0UiAHANOnGFHIP3zY_UCtWBhT5I6vqPhwqgE,618
|
|
90
89
|
machineconfig/jobs/windows/archive/openssh-server_add_key.ps1,sha256=91cL3K4H2saAuzOS1GxGicpc64ZDpgvPY39YPBWyxZI,269
|
|
91
90
|
machineconfig/jobs/windows/archive/openssh-server_copy-ssh-id.ps1,sha256=-7pElYiGFXUvO4dp6rW0LXmNo65h3hFTHJWyHbmO3Xc,745
|
|
@@ -98,7 +97,7 @@ machineconfig/profile/create_helper.py,sha256=_iNeuwmcEGTx6sf_f40JKHfOCuJRZQRpyE
|
|
|
98
97
|
machineconfig/profile/create_links.py,sha256=K7T2bq08GZP9fo2NzCOE0pojAgQDe0Ofe7fNfbQlQpw,14219
|
|
99
98
|
machineconfig/profile/create_links_export.py,sha256=OEmuJE-F7FZX5xvOl1rqJzHg_BWtPKCiWdrq4RPOobs,3173
|
|
100
99
|
machineconfig/profile/create_shell_profile.py,sha256=ifsEAK90ovvY7ftyxuY5-Xh8f2JuQYX7IMYUXp6x2Sw,9538
|
|
101
|
-
machineconfig/profile/mapper.toml,sha256=
|
|
100
|
+
machineconfig/profile/mapper.toml,sha256=50q2VdR_PNLXGljH47R2cxuJvzlJQnq7lkJ05TMtJ5Q,12357
|
|
102
101
|
machineconfig/profile/records/generic/shares.toml,sha256=FduDztfyQtZcr5bfx-RSKhEEweweQSWfVXkKWnx8hCY,143
|
|
103
102
|
machineconfig/profile/records/linux/apps_summary_report.csv,sha256=pw9djvaRUPalKDLn2sl3odcbD2_Zx3aEupsQ8UPfaaY,2738
|
|
104
103
|
machineconfig/profile/records/linux/apps_summary_report.md,sha256=l77oofA6Rliql0ZgKGIZi8bstFoGyyGTxeS8p2PtOj0,5634
|
|
@@ -174,17 +173,17 @@ machineconfig/scripts/python/croshell_helpers/start_slidev.py,sha256=HfJReOusTPh
|
|
|
174
173
|
machineconfig/scripts/python/croshell_helpers/viewer.py,sha256=heQNjB9fwn3xxbPgMofhv1Lp6Vtkl76YjjexWWBM0pM,2041
|
|
175
174
|
machineconfig/scripts/python/croshell_helpers/viewer_template.py,sha256=ve3Q1-iKhCLc0VJijKvAeOYp2xaFOeIOC_XW956GWCc,3944
|
|
176
175
|
machineconfig/scripts/python/devops_helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
177
|
-
machineconfig/scripts/python/devops_helpers/cli_config.py,sha256=
|
|
176
|
+
machineconfig/scripts/python/devops_helpers/cli_config.py,sha256=91D4Hdk_ZhDtlJctBJ-gnVbbDCjyS9f7LE-MjRyRpkA,5276
|
|
178
177
|
machineconfig/scripts/python/devops_helpers/cli_config_dotfile.py,sha256=rjTys4FNf9_feP9flWM7Zvq17dxWmetSiGaHPxp25nk,2737
|
|
179
178
|
machineconfig/scripts/python/devops_helpers/cli_data.py,sha256=kvJ7g2CccjjXIhCwdu_Vlif8JHC0qUoLjuGcTSqT-IU,514
|
|
180
|
-
machineconfig/scripts/python/devops_helpers/cli_nw.py,sha256=
|
|
181
|
-
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=
|
|
182
|
-
machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=
|
|
179
|
+
machineconfig/scripts/python/devops_helpers/cli_nw.py,sha256=2MF9MgPCl4Slgy2n-g5-Wou-8EjgBRFsS-gmp_wai-4,4050
|
|
180
|
+
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=3d6UV39na-uAJC7dKqwnO79AKIeiVDie1_IPhk6SMNs,12015
|
|
181
|
+
machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=MvSfth2XILXHt_BWO9SeFKI9TCX-pUb8d-o0avNzVPc,4949
|
|
183
182
|
machineconfig/scripts/python/devops_helpers/cli_share_server.py,sha256=285OzxttCx7YsrpOkaapMKP1eVGHmG5TkkaSQnY7i3c,3976
|
|
184
183
|
machineconfig/scripts/python/devops_helpers/cli_terminal.py,sha256=k_PzXaiGyE0vXr0Ii1XcJz2A7UvyPJrR31TRWt4RKRI,6019
|
|
185
184
|
machineconfig/scripts/python/devops_helpers/devops_backup_retrieve.py,sha256=nK47Rc7gQuDCnkk6_sW1y82gBnDJ9TdHU8XwMPFBK9c,5591
|
|
186
185
|
machineconfig/scripts/python/devops_helpers/devops_status.py,sha256=PJVPhfhXq8der6Xd-_fjZfnizfM-RGfJApkRGhGBmNo,20525
|
|
187
|
-
machineconfig/scripts/python/devops_helpers/devops_update_repos.py,sha256=
|
|
186
|
+
machineconfig/scripts/python/devops_helpers/devops_update_repos.py,sha256=TLYhvMMDJCqLNsv1h4a0MtxYqQHWkRRvKnERyXd8MAs,10133
|
|
188
187
|
machineconfig/scripts/python/devops_helpers/themes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
189
188
|
machineconfig/scripts/python/devops_helpers/themes/choose_pwsh_theme.ps1,sha256=58gFOeynADHLTdk8zqEnndBtyNGrln0jvpo76O0UWTw,3136
|
|
190
189
|
machineconfig/scripts/python/devops_helpers/themes/choose_wezterm_theme.py,sha256=pRXAGe2IpysYshsaF8CKEwHI8EGPtLcM8PtiAqM7vmM,3425
|
|
@@ -206,7 +205,7 @@ machineconfig/scripts/python/helpers_fire/fire_agents_load_balancer.py,sha256=mp
|
|
|
206
205
|
machineconfig/scripts/python/helpers_fire/helpers4.py,sha256=iKR5vVJygaDIpFXhcdma9jOpyxKtUhmqcmalFxJmY0w,4749
|
|
207
206
|
machineconfig/scripts/python/helpers_fire/prompt.txt,sha256=Ni6r-Dh0Ez2XwfOZl3MOMDhfn6BJ2z4IdK3wFvA3c_o,116
|
|
208
207
|
machineconfig/scripts/python/helpers_fire/template.ps1,sha256=NWkYlM4_l9eT52lS9NdOxmEn548gyy-bl1Q3AU3YKxY,1085
|
|
209
|
-
machineconfig/scripts/python/helpers_fire/template.sh,sha256=
|
|
208
|
+
machineconfig/scripts/python/helpers_fire/template.sh,sha256=Pzmjzf7TTTkUDiEp3rMky0QesF8qHdS4gvLzbzfyKwI,1163
|
|
210
209
|
machineconfig/scripts/python/helpers_fire/agentic_frameworks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
211
210
|
machineconfig/scripts/python/helpers_fire/agentic_frameworks/fire_crush.json,sha256=YGuJF-qlMjhICPf0QnNfQlGNPsYrJJDlNcgmes0TFhM,252
|
|
212
211
|
machineconfig/scripts/python/helpers_fire/agentic_frameworks/fire_crush.py,sha256=NRcnjVu4-_6UqWdeRH4A2g79QIAOwnqVtiqOwn7qzlE,1614
|
|
@@ -221,7 +220,7 @@ machineconfig/scripts/python/helpers_fire_command/fire_jobs_streamlit_helper.py,
|
|
|
221
220
|
machineconfig/scripts/python/helpers_repos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
222
221
|
machineconfig/scripts/python/helpers_repos/cloud_repo_sync.py,sha256=XGwZYoSEt6e1Q2wyU-fH76I9lNgeSX8AEqw3Lmhj5CQ,9609
|
|
223
222
|
machineconfig/scripts/python/helpers_repos/grource.py,sha256=IywQ1NDPcLXM5Tr9xhmq4tHfYspLRs3pF20LP2TlgIQ,14595
|
|
224
|
-
machineconfig/scripts/python/helpers_repos/secure_repo.py,sha256=
|
|
223
|
+
machineconfig/scripts/python/helpers_repos/secure_repo.py,sha256=HWSCmSzSwmevDmnXO8iTm6l2Yhyt2G3E_MN63SHsyUM,1024
|
|
225
224
|
machineconfig/scripts/python/nw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
226
225
|
machineconfig/scripts/python/nw/add_ssh_key.py,sha256=dYOK9vCB6I9YSeCLO7Hid1IaFjiEs9n_gugDSddtGU8,9298
|
|
227
226
|
machineconfig/scripts/python/nw/devops_add_identity.py,sha256=aPjcHbTLhxYwWYcandyAHdwuO15ZBu3fB82u6bI0tMQ,3773
|
|
@@ -235,16 +234,17 @@ machineconfig/scripts/python/nw/mount_smb,sha256=7UN5EP1kuxYL_-CnyaH4f9Wuu2CgALD
|
|
|
235
234
|
machineconfig/scripts/python/nw/mount_ssh.py,sha256=qt0P4T4pheszexBxaDeLVrGdLIVRoOc-UdfYv5r0OLY,2587
|
|
236
235
|
machineconfig/scripts/python/nw/onetimeshare.py,sha256=xRd8by6qUm-od2Umty2MYsXyJwzXw-CBTd7VellNaKY,2498
|
|
237
236
|
machineconfig/scripts/python/nw/ssh_debug_linux.py,sha256=VSFhyzYQeLIoSwsUFJFW1Wc89DinrpZ_YxyYB2Ndy-4,30966
|
|
237
|
+
machineconfig/scripts/python/nw/ssh_debug_windows.py,sha256=2prJs3PMsoAUu5LlZhHIKGVgqj7h6OviGEjAMJLJ7LI,29986
|
|
238
238
|
machineconfig/scripts/python/nw/wifi_conn.py,sha256=4GdLhgma9GRmZ6OFg3oxOX-qY3sr45njPckozlpM_A0,15566
|
|
239
239
|
machineconfig/scripts/python/nw/wsl_windows_transfer.py,sha256=1ab9l-8MtAxofW5nGH9G2-BjlszaiLETu6WBECcNNhA,3546
|
|
240
|
-
machineconfig/scripts/python/repos_helpers/action.py,sha256=
|
|
240
|
+
machineconfig/scripts/python/repos_helpers/action.py,sha256=pl0U53FAGoH2yk-CGNIy3aggImXY5ZVz28-XVFHDvfA,14862
|
|
241
241
|
machineconfig/scripts/python/repos_helpers/clone.py,sha256=9vGb9NCXT0lkerPzOJjmFfhU8LSzE-_1LDvjkhgnal0,5461
|
|
242
242
|
machineconfig/scripts/python/repos_helpers/count_lines.py,sha256=ZLEajCLmlFFY969BehabqGOB9_kkpATO3Lt09L7KULk,15968
|
|
243
243
|
machineconfig/scripts/python/repos_helpers/count_lines_frontend.py,sha256=LuA4Tigy9eaBfdv2Y4Dnv0a8N0XikIUa-of9yR9LKqQ,568
|
|
244
|
-
machineconfig/scripts/python/repos_helpers/entrypoint.py,sha256=
|
|
244
|
+
machineconfig/scripts/python/repos_helpers/entrypoint.py,sha256=UagEar85QCAXX7oOqJjDJp2Vds5UQxehYPmckL_S0oI,2836
|
|
245
245
|
machineconfig/scripts/python/repos_helpers/record.py,sha256=3T5VmMbvywScZhTW2j4cGLK0T2LSWxKfnXkRTxkuLP4,10994
|
|
246
246
|
machineconfig/scripts/python/repos_helpers/sync.py,sha256=CLLWy2n2gY9beXPF-mblOQ6R7cKoenkJjMiX7tHQsBk,3091
|
|
247
|
-
machineconfig/scripts/python/repos_helpers/update.py,sha256=
|
|
247
|
+
machineconfig/scripts/python/repos_helpers/update.py,sha256=cUIMUMm-50HrY6fzxSMZnFplhToVjVPZMm1j_otTha4,11060
|
|
248
248
|
machineconfig/scripts/python/sessions_helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
249
249
|
machineconfig/scripts/python/sessions_helpers/sessions_multiprocess.py,sha256=6bmF1TOxzivNAIu8zsA9pu-f-RcYZLgdD4livjAf6ac,3069
|
|
250
250
|
machineconfig/scripts/windows/fzfb.ps1,sha256=Bmngm2aY8hnPa3iKAOK6EPDYdKzGLUc81wYOnJhNoqg,149
|
|
@@ -271,7 +271,7 @@ machineconfig/settings/keyboard/espanso/match/base.yml,sha256=A0QcNSzbdqSUNh42Wq
|
|
|
271
271
|
machineconfig/settings/keyboard/kanata/kanata.kbd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
272
272
|
machineconfig/settings/lf/linux/colors,sha256=uSW9O3CkiVomxK8-JN8hQRcM71yADuOSjichbfBFTpg,4148
|
|
273
273
|
machineconfig/settings/lf/linux/icons,sha256=liVoi5nOaxFyujil2z7Pcu8l5dG7_uurJ9IJD36jVhI,7147
|
|
274
|
-
machineconfig/settings/lf/linux/lfrc,sha256=
|
|
274
|
+
machineconfig/settings/lf/linux/lfrc,sha256=GC19HaiJoSjDXihE7hfxrLLoXk4gt5osndt55XLE7f4,5417
|
|
275
275
|
machineconfig/settings/lf/linux/autocall/delete.sh,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
276
276
|
machineconfig/settings/lf/linux/autocall/on-cd.sh,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
277
277
|
machineconfig/settings/lf/linux/autocall/on-quit.sh,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -323,7 +323,7 @@ machineconfig/settings/rofi/config.rasi,sha256=nDX5B8wdXQYF1fwiOTBRJUI4l_gQbYaLa
|
|
|
323
323
|
machineconfig/settings/rofi/config_default.rasi,sha256=rTfKnC-bZuWX1l-lWQACCUOE1ShhkfykAxtXX9PlQHE,4694
|
|
324
324
|
machineconfig/settings/shells/alacritty/alacritty.toml,sha256=EbL-2Y4QunW1pvRWB2yuLCw8MMPONheJr5LFoWRieUQ,871
|
|
325
325
|
machineconfig/settings/shells/alacritty/alacritty.yml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
326
|
-
machineconfig/settings/shells/bash/init.sh,sha256=
|
|
326
|
+
machineconfig/settings/shells/bash/init.sh,sha256=QK7RIX4LZRSFiaxKjwTijl4_QPRGtxJuLBvaZzCve8s,2263
|
|
327
327
|
machineconfig/settings/shells/hyper/.hyper.js,sha256=h-HqeYlvPvPD4Ee7828Cxo87uVkzbMGJFqXTZIWoegw,8884
|
|
328
328
|
machineconfig/settings/shells/ipy/profiles/default/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
329
|
machineconfig/settings/shells/ipy/profiles/default/startup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -331,7 +331,7 @@ machineconfig/settings/shells/ipy/profiles/default/startup/playext.py,sha256=OJ3
|
|
|
331
331
|
machineconfig/settings/shells/kitty/kitty.conf,sha256=lDdx-dUX3jbKGb3BkS2f2TOpmgGiS-CI-_-lFvhD5A4,52870
|
|
332
332
|
machineconfig/settings/shells/nushell/config.nu,sha256=ug0E0NXNlCzgStScFN6VTsAkUaOTPJZB69P-LS5L2VE,1047
|
|
333
333
|
machineconfig/settings/shells/nushell/env.nu,sha256=4VmaXb-qP6qnMD5TPzkXMLFNlB5QC4l9HEzCvXZE2GQ,315
|
|
334
|
-
machineconfig/settings/shells/pwsh/init.ps1,sha256=
|
|
334
|
+
machineconfig/settings/shells/pwsh/init.ps1,sha256=Srm187Y0ht_qGjI6QAyLcnmz-6jI3BdBGrtG5-V_e7g,2683
|
|
335
335
|
machineconfig/settings/shells/pwsh/profile.ps1,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
336
336
|
machineconfig/settings/shells/starship/starship.toml,sha256=5rQTY7ZpKnrnhgu2Y9OJKUYMz5lPLIftO1p1VRuVZwQ,1150
|
|
337
337
|
machineconfig/settings/shells/vtm/settings.xml,sha256=5TNXd-i0eUGo2w3tuhY9aOkwoJdqih8_HO_U6uL2Dts,18262
|
|
@@ -368,7 +368,7 @@ machineconfig/setup_linux/others/mint_keyboard_shortcuts.sh,sha256=F5dbg0n9RHsKG
|
|
|
368
368
|
machineconfig/setup_linux/ssh/openssh_all.sh,sha256=3dg6HEUFbHQOzLfSAtzK_D_GB8rGCCp_aBnxNdnidVc,824
|
|
369
369
|
machineconfig/setup_linux/ssh/openssh_wsl.sh,sha256=1eeRGrloVB34K5z8yWVUMG5b9pV-WBfHgV9jqXiYgCQ,1398
|
|
370
370
|
machineconfig/setup_linux/web_shortcuts/android.sh,sha256=gzep6bBhK7FCBvGcXK0fdJCtkSfBOftt0aFyDZq_eMs,68
|
|
371
|
-
machineconfig/setup_linux/web_shortcuts/interactive.sh,sha256=
|
|
371
|
+
machineconfig/setup_linux/web_shortcuts/interactive.sh,sha256=Rl_1taVURx4PTBhbhQSh1m18k0qMAeFUtCardPqv5dw,448
|
|
372
372
|
machineconfig/setup_windows/__init__.py,sha256=NnSVZkIBoxoMgkj-_KAqGonH3YziBIWXOKDEcmNAGTY,386
|
|
373
373
|
machineconfig/setup_windows/apps.ps1,sha256=G5GqZ9G0aiQr_A-HaahtRdzpaTTdW6n3DRKMZWDTSPc,11214
|
|
374
374
|
machineconfig/setup_windows/uv.ps1,sha256=ukk1Abh-q-RfpoEqI2XTE2dcQJmHk0VFF6WqkK3TW8Q,350
|
|
@@ -378,7 +378,7 @@ machineconfig/setup_windows/others/power_options.ps1,sha256=c7Hn94jBD5GWF29CxMhm
|
|
|
378
378
|
machineconfig/setup_windows/ssh/add-sshkey.ps1,sha256=qfPdqCpd9KP3VhH4ifsUm1Xvec7c0QVl4Wt8JIAm9HQ,1653
|
|
379
379
|
machineconfig/setup_windows/ssh/add_identity.ps1,sha256=b8ZXpmNUSw3IMYvqSY7ClpdWPG39FS7MefoWnRhWN2U,506
|
|
380
380
|
machineconfig/setup_windows/ssh/openssh-server.ps1,sha256=OMlYQdvuJQNxF5EILLPizB6BZAT3jAmDsv1WcVVxpFQ,2529
|
|
381
|
-
machineconfig/setup_windows/web_shortcuts/interactive.ps1,sha256=
|
|
381
|
+
machineconfig/setup_windows/web_shortcuts/interactive.ps1,sha256=7hQu8ywh0Cq258OK2rBE0X1dbNrXsaZ5SIQ7yLUZJj4,548
|
|
382
382
|
machineconfig/setup_windows/wt_and_pwsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
383
383
|
machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=ogxJnwpdcpH7N6dFJu95UCNoGYirZKQho_3X0F_hmXs,6791
|
|
384
384
|
machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -421,8 +421,8 @@ machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoS
|
|
|
421
421
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
422
422
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
423
423
|
machineconfig/utils/ssh_utils/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
424
|
-
machineconfig-5.
|
|
425
|
-
machineconfig-5.
|
|
426
|
-
machineconfig-5.
|
|
427
|
-
machineconfig-5.
|
|
428
|
-
machineconfig-5.
|
|
424
|
+
machineconfig-5.86.dist-info/METADATA,sha256=tBxtf8TPGwRCC6wxW0Oe01bWZTp1AVlFcmfU89P2z60,3013
|
|
425
|
+
machineconfig-5.86.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
426
|
+
machineconfig-5.86.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
|
|
427
|
+
machineconfig-5.86.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
428
|
+
machineconfig-5.86.dist-info/RECORD,,
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
from pathlib import Path
|
|
2
|
-
from configparser import SectionProxy
|
|
3
|
-
from rich import box
|
|
4
|
-
from rich.console import Console
|
|
5
|
-
from rich.panel import Panel
|
|
6
|
-
from rich.syntax import Syntax
|
|
7
|
-
from machineconfig.utils.io import read_ini
|
|
8
|
-
|
|
9
|
-
config = read_ini(Path.home().joinpath(".ssh", "config"))
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def sync_remote(machine_name: str) -> None:
|
|
13
|
-
console = Console()
|
|
14
|
-
console.print(
|
|
15
|
-
Panel.fit(
|
|
16
|
-
"\n".join([f"🖥️ Target machine: {machine_name}"]),
|
|
17
|
-
title="🔄 Sync Remote",
|
|
18
|
-
border_style="cyan",
|
|
19
|
-
box=box.ROUNDED,
|
|
20
|
-
)
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
machine_config: SectionProxy | None = None
|
|
24
|
-
if machine_name in config:
|
|
25
|
-
machine_config = config[machine_name]
|
|
26
|
-
|
|
27
|
-
if machine_config is None:
|
|
28
|
-
error_msg = f"Machine {machine_name} not found in SSH config."
|
|
29
|
-
console.print(
|
|
30
|
-
Panel.fit(
|
|
31
|
-
"\n".join([error_msg]),
|
|
32
|
-
title="❌ Error",
|
|
33
|
-
subtitle="⚠️ Unknown target machine",
|
|
34
|
-
border_style="red",
|
|
35
|
-
box=box.ROUNDED,
|
|
36
|
-
)
|
|
37
|
-
)
|
|
38
|
-
raise ValueError(error_msg)
|
|
39
|
-
|
|
40
|
-
code = f"""
|
|
41
|
-
ssh -o "HostName={machine_config["HostName"]}" -o "User={machine_config["User"]}" -o "ProxyCommand=cloudflared access ssh --hostname %h" -o "Port={machine_config["Port"]}" -o "RequestTTY=yes" -o "RemoteCommand=devops --which update; bash" {machine_name}
|
|
42
|
-
"""
|
|
43
|
-
|
|
44
|
-
syntax = Syntax(code, "bash", line_numbers=False, word_wrap=True)
|
|
45
|
-
console.print(
|
|
46
|
-
Panel(
|
|
47
|
-
syntax,
|
|
48
|
-
title=f"🔄 Sync Command | {machine_name}",
|
|
49
|
-
subtitle=f"🌐 Host: {machine_config['HostName']}",
|
|
50
|
-
border_style="blue",
|
|
51
|
-
box=box.ROUNDED,
|
|
52
|
-
)
|
|
53
|
-
)
|
|
54
|
-
|
|
55
|
-
code_path = Path.home().joinpath(".config", "machingconfig", "vscode_api", "code_temp")
|
|
56
|
-
code_path.parent.mkdir(parents=True, exist_ok=True)
|
|
57
|
-
code_path.write_text(code, encoding="utf-8")
|
|
58
|
-
code_path.chmod(0o755)
|
|
59
|
-
|
|
60
|
-
console.print(f"🚀 Executing sync command for {machine_name}...", style="bold yellow")
|
|
61
|
-
|
|
62
|
-
import subprocess
|
|
63
|
-
|
|
64
|
-
subprocess.run([str(code_path)], shell=True, check=True)
|
|
65
|
-
|
|
66
|
-
console.print(
|
|
67
|
-
Panel.fit(
|
|
68
|
-
"\n".join([f"🖥️ Machine: {machine_name}"]),
|
|
69
|
-
title="✅ Sync Completed",
|
|
70
|
-
border_style="green",
|
|
71
|
-
box=box.ROUNDED,
|
|
72
|
-
)
|
|
73
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|