basstler 4.2.0__tar.gz → 4.2.2__tar.gz
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.
- {basstler-4.2.0 → basstler-4.2.2}/PKG-INFO +11 -11
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_session_start.py +29 -0
- {basstler-4.2.0 → basstler-4.2.2}/.gitignore +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/LICENSE +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/NOTICE +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/pyproject.toml +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/src/basstler/__main__.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/__init__.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/bash_path.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/conftest.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/__init__.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_basstler_entry_point.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_check_setup.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_create_personal_notes_branch.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_git_identity_sync.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_personal_notes_saving.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_personal_settings_sync.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_plan_updates_since.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_save_plan.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/hooks/test_save_pr_progress.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/publish_jobs.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/__init__.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/test_manifest_staleness_document.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/test_setup_prerequisite_documents.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/test_setup_skill_rows.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/test_skill_document_sizes.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/test_skill_documents.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/skills/test_starter_notes_stay_generic.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_basstler_command.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_distribution_build.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_license.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_package_contract.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_publish_workflow.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_shipped_locations.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_windows_setup_workflow.py +0 -0
- {basstler-4.2.0 → basstler-4.2.2}/tests/test_windows_tests_workflow.py +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: basstler
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.2
|
|
4
4
|
Summary: Workflow tooling: stacked-pull-request maintenance, the plan site, personal-notes hooks and upstream review reading.
|
|
5
5
|
Project-URL: Source, https://github.com/KAOS-repositories/basstler
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/KAOS-repositories/basstler/issues
|
|
7
7
|
Author-email: Abdelrhman Bassiouny <bido.bassuny@gmail.com>
|
|
8
8
|
License-Expression: Apache-2.0
|
|
9
9
|
Requires-Python: >=3.12
|
|
10
|
-
Requires-Dist: basstler-core==4.2.
|
|
11
|
-
Requires-Dist: basstler-git==4.2.
|
|
12
|
-
Requires-Dist: basstler-github==4.2.
|
|
13
|
-
Requires-Dist: basstler-hub==4.2.
|
|
14
|
-
Requires-Dist: basstler-notes==4.2.
|
|
15
|
-
Requires-Dist: basstler-plan==4.2.
|
|
16
|
-
Requires-Dist: basstler-review-triage==4.2.
|
|
17
|
-
Requires-Dist: basstler-reviews==4.2.
|
|
18
|
-
Requires-Dist: basstler-rules==4.2.
|
|
19
|
-
Requires-Dist: basstler-stack==4.2.
|
|
10
|
+
Requires-Dist: basstler-core==4.2.2
|
|
11
|
+
Requires-Dist: basstler-git==4.2.2
|
|
12
|
+
Requires-Dist: basstler-github==4.2.2
|
|
13
|
+
Requires-Dist: basstler-hub==4.2.2
|
|
14
|
+
Requires-Dist: basstler-notes==4.2.2
|
|
15
|
+
Requires-Dist: basstler-plan==4.2.2
|
|
16
|
+
Requires-Dist: basstler-review-triage==4.2.2
|
|
17
|
+
Requires-Dist: basstler-reviews==4.2.2
|
|
18
|
+
Requires-Dist: basstler-rules==4.2.2
|
|
19
|
+
Requires-Dist: basstler-stack==4.2.2
|
|
20
20
|
Requires-Dist: cyclopts>=5.3
|
|
@@ -1844,6 +1844,35 @@ def test_tells_the_session_where_the_plugin_is(
|
|
|
1844
1844
|
assert exported == BashPath(session_start_repository.plugin_root).text
|
|
1845
1845
|
|
|
1846
1846
|
|
|
1847
|
+
def test_a_later_command_finds_the_plugin_after_its_directory_is_renamed(
|
|
1848
|
+
session_start_repository: ScratchRepository, tmp_path: Path
|
|
1849
|
+
):
|
|
1850
|
+
"""
|
|
1851
|
+
Claude Code replaces a synced plugin's directory with a renamed sibling while the
|
|
1852
|
+
session runs, so the path the hook exported no longer exists; the commands the
|
|
1853
|
+
session runs afterwards find the renamed directory.
|
|
1854
|
+
"""
|
|
1855
|
+
environment_file = tmp_path / "session-environment"
|
|
1856
|
+
publish_and_run(
|
|
1857
|
+
session_start_repository,
|
|
1858
|
+
environment={ScrubbedEnvironmentPrefix.ENVIRONMENT_FILE: str(environment_file)},
|
|
1859
|
+
)
|
|
1860
|
+
plugin_root = session_start_repository.plugin_root
|
|
1861
|
+
renamed = plugin_root.rename(plugin_root.with_name(f"{plugin_root.name}~g2"))
|
|
1862
|
+
|
|
1863
|
+
exported = subprocess.run(
|
|
1864
|
+
Bash.locate(os.environ).command(
|
|
1865
|
+
"-c",
|
|
1866
|
+
f'source "$0" && printf "%s" "${{{BasstlerVariable.PLUGIN_ROOT}}}"',
|
|
1867
|
+
environment_file,
|
|
1868
|
+
),
|
|
1869
|
+
capture_output=True,
|
|
1870
|
+
encoding="utf-8",
|
|
1871
|
+
check=True,
|
|
1872
|
+
).stdout
|
|
1873
|
+
assert exported == BashPath(renamed).text
|
|
1874
|
+
|
|
1875
|
+
|
|
1847
1876
|
def test_tells_the_session_which_interpreter_runs_the_package(
|
|
1848
1877
|
session_start_repository: ScratchRepository, tmp_path: Path
|
|
1849
1878
|
):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|