machineconfig 6.22__py3-none-any.whl → 6.23__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/scripts/python/devops_helpers/cli_repos.py +1 -6
- machineconfig/scripts/python/repos_helpers/clone.py +3 -2
- {machineconfig-6.22.dist-info → machineconfig-6.23.dist-info}/METADATA +1 -1
- {machineconfig-6.22.dist-info → machineconfig-6.23.dist-info}/RECORD +7 -7
- {machineconfig-6.22.dist-info → machineconfig-6.23.dist-info}/WHEEL +0 -0
- {machineconfig-6.22.dist-info → machineconfig-6.23.dist-info}/entry_points.txt +0 -0
- {machineconfig-6.22.dist-info → machineconfig-6.23.dist-info}/top_level.txt +0 -0
|
@@ -59,16 +59,12 @@ def capture(directory: DirectoryArgument = None, cloud: CloudOption = None) -> N
|
|
|
59
59
|
def clone(directory: DirectoryArgument = None, cloud: CloudOption = None) -> None:
|
|
60
60
|
"""📥 Clone repositories described by a repos.json specification."""
|
|
61
61
|
from machineconfig.scripts.python.repos_helpers.entrypoint import clone_from_specs
|
|
62
|
-
|
|
63
|
-
|
|
64
62
|
clone_from_specs(directory, cloud, checkout_branch_flag=False, checkout_commit_flag=False)
|
|
65
63
|
|
|
66
64
|
|
|
67
65
|
def checkout_command(directory: DirectoryArgument = None, cloud: CloudOption = None) -> None:
|
|
68
66
|
"""🔀 Check out specific commits listed in the specification."""
|
|
69
|
-
from machineconfig.scripts.python.repos_helpers.entrypoint import clone_from_specs
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
from machineconfig.scripts.python.repos_helpers.entrypoint import clone_from_specs
|
|
72
68
|
clone_from_specs(directory, cloud, checkout_branch_flag=False, checkout_commit_flag=True)
|
|
73
69
|
|
|
74
70
|
|
|
@@ -82,7 +78,6 @@ def analyze(directory: DirectoryArgument = None) -> None:
|
|
|
82
78
|
"""📊 Analyze repository development over time."""
|
|
83
79
|
repo_path = directory if directory is not None else "."
|
|
84
80
|
from machineconfig.scripts.python.repos_helpers.count_lines_frontend import analyze_repo_development
|
|
85
|
-
|
|
86
81
|
analyze_repo_development(repo_path=repo_path)
|
|
87
82
|
|
|
88
83
|
|
|
@@ -8,7 +8,7 @@ from git.exc import GitCommandError
|
|
|
8
8
|
from rich import print as pprint
|
|
9
9
|
from rich.progress import BarColumn, MofNCompleteColumn, Progress, SpinnerColumn, TextColumn, TimeElapsedColumn
|
|
10
10
|
|
|
11
|
-
from machineconfig.utils.schemas.repos.repos_types import RepoRecordDict, RepoRemote
|
|
11
|
+
from machineconfig.utils.schemas.repos.repos_types import RepoRecordDict, RepoRecordFile, RepoRemote
|
|
12
12
|
from machineconfig.utils.io import read_json
|
|
13
13
|
|
|
14
14
|
|
|
@@ -95,7 +95,8 @@ def clone_single_repo(repo_spec: RepoRecordDict, preferred_remote: Optional[str]
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
def clone_repos(spec_path: Path, preferred_remote: Optional[str], checkout_branch_flag: bool, checkout_commit_flag: bool) -> list[tuple[CloneStatus, str]]:
|
|
98
|
-
|
|
98
|
+
spec_file = cast(RepoRecordFile, read_json(path=spec_path))
|
|
99
|
+
repos = spec_file["repos"]
|
|
99
100
|
results: list[tuple[CloneStatus, str]] = []
|
|
100
101
|
with Progress(SpinnerColumn(), TextColumn("[progress.description]{task.description}"), BarColumn(), MofNCompleteColumn(), TimeElapsedColumn()) as progress:
|
|
101
102
|
task_id = progress.add_task("Processing repositories...", total=len(repos))
|
|
@@ -177,7 +177,7 @@ machineconfig/scripts/python/devops_helpers/cli_config.py,sha256=yyzfxOKC1k6YRWE
|
|
|
177
177
|
machineconfig/scripts/python/devops_helpers/cli_config_dotfile.py,sha256=rjTys4FNf9_feP9flWM7Zvq17dxWmetSiGaHPxp25nk,2737
|
|
178
178
|
machineconfig/scripts/python/devops_helpers/cli_data.py,sha256=kvJ7g2CccjjXIhCwdu_Vlif8JHC0qUoLjuGcTSqT-IU,514
|
|
179
179
|
machineconfig/scripts/python/devops_helpers/cli_nw.py,sha256=nI_zmcmUvijVeXIWT2dN5onoy3ou-lub1cL-SJImmDA,4125
|
|
180
|
-
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=
|
|
180
|
+
machineconfig/scripts/python/devops_helpers/cli_repos.py,sha256=pQHG3hc7_39IqNEx9pknyLNVLsoDHcMpUniCqCmafO4,12326
|
|
181
181
|
machineconfig/scripts/python/devops_helpers/cli_self.py,sha256=PCTAOX5K4WBFWQ_ZRcLKyyHpsPH93Ou4RY56Cp1Xu_U,5733
|
|
182
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
|
|
@@ -238,7 +238,7 @@ machineconfig/scripts/python/nw/ssh_debug_windows.py,sha256=2prJs3PMsoAUu5LlZhHI
|
|
|
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
240
|
machineconfig/scripts/python/repos_helpers/action.py,sha256=pl0U53FAGoH2yk-CGNIy3aggImXY5ZVz28-XVFHDvfA,14862
|
|
241
|
-
machineconfig/scripts/python/repos_helpers/clone.py,sha256=
|
|
241
|
+
machineconfig/scripts/python/repos_helpers/clone.py,sha256=UULEG5xJuXlPGU0nqXH6U45jA9DOFqLw8B4iPytCwOQ,5471
|
|
242
242
|
machineconfig/scripts/python/repos_helpers/count_lines.py,sha256=Q5c7b-DxvTlQmljoic7niTuiAVyFlwYvkVQ7uRJHiTo,16009
|
|
243
243
|
machineconfig/scripts/python/repos_helpers/count_lines_frontend.py,sha256=KkkecMNXssfwBK9nLEXZgilq_DME1ah325MTRV6-z2c,607
|
|
244
244
|
machineconfig/scripts/python/repos_helpers/entrypoint.py,sha256=UagEar85QCAXX7oOqJjDJp2Vds5UQxehYPmckL_S0oI,2836
|
|
@@ -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-6.
|
|
425
|
-
machineconfig-6.
|
|
426
|
-
machineconfig-6.
|
|
427
|
-
machineconfig-6.
|
|
428
|
-
machineconfig-6.
|
|
424
|
+
machineconfig-6.23.dist-info/METADATA,sha256=ELfi_JmMdKtA7FOkTimiWrp5cDzNtjwCqkxsdIAxnOo,3012
|
|
425
|
+
machineconfig-6.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
426
|
+
machineconfig-6.23.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
|
|
427
|
+
machineconfig-6.23.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
428
|
+
machineconfig-6.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|