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

@@ -39,7 +39,7 @@ def main(
39
39
  over_internet: Annotated[bool, typer.Option("--over-internet", "-i", help="Expose the share server over the internet using ngrok")] = False
40
40
  ) -> None:
41
41
  from machineconfig.utils.installer_utils.installer import install_if_missing
42
- install_if_missing(which="ezshare")
42
+ install_if_missing(which="easy-sharing")
43
43
  if over_internet: install_if_missing(which="ngrok", )
44
44
  if username is None:
45
45
  import getpass
@@ -49,7 +49,9 @@ def main(
49
49
  if pwd_path.exists():
50
50
  password = pwd_path.read_text(encoding="utf-8").strip()
51
51
  else:
52
- raise ValueError("Password not provided and default password file does not exist.")
52
+ # raise ValueError("Password not provided and default password file does not exist.")
53
+ typer.echo(f"⚠️ WARNING: Password not provided and default password file does not exist.\nPath: {pwd_path}\nUsing default password: 'quick_password' (insecure!)", err=True)
54
+ typer.Exit(code=1)
53
55
 
54
56
  if port is None:
55
57
  port = 8080 # Default port for ezshare
@@ -66,7 +68,7 @@ def main(
66
68
  import subprocess
67
69
  import time
68
70
  # Build ezshare command
69
- ezshare_cmd = f"ezshare --port {port} --username {username} --password {password} {path}"
71
+ ezshare_cmd = f"""easy-sharing --port {port} --username {username} --password "{password}" {path}"""
70
72
  ezshare_process = subprocess.Popen(ezshare_cmd, shell=True)
71
73
  processes = [ezshare_process]
72
74
 
@@ -16,12 +16,12 @@ add_to_path_if_not_already \
16
16
  "$HOME/.cargo/bin" \
17
17
  "$CONFIG_ROOT/scripts/linux" \
18
18
  "$HOME/dotfiles/scripts/linux" \
19
- "$HOME/.nix-profile/bin" \
20
- "/home/linuxbrew/.linuxbrew/bin" \
19
+
21
20
  "/usr/games"
22
21
  # this way, if the script was run multiple times, e.g. due to nested shells in zellij, there will be no duplicates in the path
23
22
  # export DISPLAY=localhost:0.0 # xming server
24
-
23
+ # "$HOME/.nix-profile/bin" \
24
+ # "/home/linuxbrew/.linuxbrew/bin" \
25
25
 
26
26
  # echo "Sourcing scripts ..."
27
27
  . $CONFIG_ROOT/settings/broot/br.sh
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- $MAC_ROOT = "$HOME\code\machineconfig"
3
+ $MAC_ROOT = "$HOME\.config\machineconfig
4
4
 
5
5
  function Add-ToPathIfNotAlready {
6
6
  param (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: machineconfig
3
- Version: 5.87
3
+ Version: 5.88
4
4
  Summary: Dotfiles management package
5
5
  Author-email: Alex Al-Saffar <programmer@usa.com>
6
6
  License: Apache 2.0
@@ -179,7 +179,7 @@ machineconfig/scripts/python/devops_helpers/cli_data.py,sha256=kvJ7g2CccjjXIhCwd
179
179
  machineconfig/scripts/python/devops_helpers/cli_nw.py,sha256=nI_zmcmUvijVeXIWT2dN5onoy3ou-lub1cL-SJImmDA,4125
180
180
  machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=GEsW0ykgu8mtoiXurOSjOlbY_Xrngy_aeBq4eRZY8ts,12335
181
181
  machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=6tNrchY6-QStf4LfpCRvy36gBM3_GJIGC2OVCiz-iNo,4986
182
- machineconfig/scripts/python/devops_helpers/cli_share_server.py,sha256=yJOIwKNB9qmtnjzwcoEVnJ8_8Z1L8MhiM1DupQ3vpNs,3957
182
+ machineconfig/scripts/python/devops_helpers/cli_share_server.py,sha256=q9pFJ6AxPuygMr3onMNOKEuuQHbVE_6Qoyo7xRT5FX0,4196
183
183
  machineconfig/scripts/python/devops_helpers/cli_terminal.py,sha256=k_PzXaiGyE0vXr0Ii1XcJz2A7UvyPJrR31TRWt4RKRI,6019
184
184
  machineconfig/scripts/python/devops_helpers/devops_backup_retrieve.py,sha256=nK47Rc7gQuDCnkk6_sW1y82gBnDJ9TdHU8XwMPFBK9c,5591
185
185
  machineconfig/scripts/python/devops_helpers/devops_status.py,sha256=PJVPhfhXq8der6Xd-_fjZfnizfM-RGfJApkRGhGBmNo,20525
@@ -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=QK7RIX4LZRSFiaxKjwTijl4_QPRGtxJuLBvaZzCve8s,2263
326
+ machineconfig/settings/shells/bash/init.sh,sha256=lrHOvhT5xrKGhdYiR3uBiC4gGJ0IU8-sKuSRvvlxNHo,2267
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=Srm187Y0ht_qGjI6QAyLcnmz-6jI3BdBGrtG5-V_e7g,2683
334
+ machineconfig/settings/shells/pwsh/init.ps1,sha256=ZbBKd1XkWLnKKkN-KgJBX__ynuc5aYIcIK5vmVXOyig,2685
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
@@ -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.87.dist-info/METADATA,sha256=YdkuR7-TR9i2FQTpjt7S75Lo50qOXyZtGU9nml6eph4,3012
425
- machineconfig-5.87.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
426
- machineconfig-5.87.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
427
- machineconfig-5.87.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
428
- machineconfig-5.87.dist-info/RECORD,,
424
+ machineconfig-5.88.dist-info/METADATA,sha256=-epwzNOMxIClqXyv0D85_N5be68VI9RPLl_-KqFoKZs,3012
425
+ machineconfig-5.88.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
426
+ machineconfig-5.88.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
427
+ machineconfig-5.88.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
428
+ machineconfig-5.88.dist-info/RECORD,,