bmsdna-devtools 0.2.2__tar.gz → 0.2.3__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.
Files changed (28) hide show
  1. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/PKG-INFO +3 -3
  2. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/README.md +1 -1
  3. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/cli.py +1 -1
  4. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/pyproject.toml +1 -1
  5. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/skills/bmsdna-devtools/SKILL.md +1 -1
  6. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/uv.lock +1 -1
  7. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/.github/workflows/python-publish.yml +0 -0
  8. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/.github/workflows/python-test.yml +0 -0
  9. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/.gitignore +0 -0
  10. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/.python-version +0 -0
  11. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/__init__.py +0 -0
  12. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/ado_auth.py +0 -0
  13. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/app_service_logs.py +0 -0
  14. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/cli_tools.py +0 -0
  15. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/commit.py +0 -0
  16. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/env_config.py +0 -0
  17. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/gh_pr.py +0 -0
  18. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/gitrepo.py +0 -0
  19. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/logs.py +0 -0
  20. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/pr_build.py +0 -0
  21. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/bmsdna/devtools/worktree.py +0 -0
  22. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/justfile +0 -0
  23. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/tests/test_app_service_logs.py +0 -0
  24. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/tests/test_commit.py +0 -0
  25. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/tests/test_env_config.py +0 -0
  26. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/tests/test_gh_pr.py +0 -0
  27. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/tests/test_gitrepo.py +0 -0
  28. {bmsdna_devtools-0.2.2 → bmsdna_devtools-0.2.3}/tests/test_pr_build.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: bmsdna-devtools
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Shared Azure DevOps / GitHub / git / Azure Monitor developer tooling for BMS projects
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: requests>=2.32.0
@@ -53,7 +53,7 @@ Exit code 1 either way.
53
53
  **Azure DevOps**: org/project/repo are auto-detected from
54
54
  `git remote get-url origin` (handles SSH, `dev.azure.com` HTTPS, and
55
55
  `*.visualstudio.com` HTTPS forms). Auth is an explicit PAT (`--pat` or
56
- `AZURE_DEVOPS_PAT` env var), falling back to a short-lived token from the
56
+ `AZURE_DEVOPS_EXT_PAT`/`AZURE_DEVOPS_PAT` env var), falling back to a short-lived token from the
57
57
  caller's own `az login` — never embed a PAT literal in a script or CI file.
58
58
  `--target-branch` selects which PR to look at (ADO's search API needs one).
59
59
 
@@ -43,7 +43,7 @@ Exit code 1 either way.
43
43
  **Azure DevOps**: org/project/repo are auto-detected from
44
44
  `git remote get-url origin` (handles SSH, `dev.azure.com` HTTPS, and
45
45
  `*.visualstudio.com` HTTPS forms). Auth is an explicit PAT (`--pat` or
46
- `AZURE_DEVOPS_PAT` env var), falling back to a short-lived token from the
46
+ `AZURE_DEVOPS_EXT_PAT`/`AZURE_DEVOPS_PAT` env var), falling back to a short-lived token from the
47
47
  caller's own `az login` — never embed a PAT literal in a script or CI file.
48
48
  `--target-branch` selects which PR to look at (ADO's search API needs one).
49
49
 
@@ -63,7 +63,7 @@ def pr_create(
63
63
  def pr_status(
64
64
  target_branch: str = typer.Option("main", "--target-branch", help="Target branch of the PR (Azure DevOps only — gh has no equivalent filter, it always resolves the PR for the current branch)"),
65
65
  wait: bool = typer.Option(False, "--wait", help="Poll until all pipelines/checks are completed"),
66
- pat: str | None = typer.Option(None, "--pat", envvar="AZURE_DEVOPS_PAT", help="Azure DevOps PAT (else falls back to `az` login)"),
66
+ pat: str | None = typer.Option(None, "--pat", envvar=["AZURE_DEVOPS_EXT_PAT", "AZURE_DEVOPS_PAT"], help="Azure DevOps PAT (else falls back to `az` login)"),
67
67
  ) -> None:
68
68
  """Show build/check status for the PR opened from the current branch (Azure DevOps or GitHub, auto-detected)."""
69
69
  remote = current_remote()
@@ -10,7 +10,7 @@ packages = ["bmsdna"]
10
10
 
11
11
  [project]
12
12
  name = "bmsdna-devtools"
13
- version = "0.2.2"
13
+ version = "0.2.3"
14
14
  description = "Shared Azure DevOps / GitHub / git / Azure Monitor developer tooling for BMS projects"
15
15
  readme = "README.md"
16
16
  requires-python = ">=3.11"
@@ -51,7 +51,7 @@ current branch regardless, so the flag is ignored there — the PR's actual
51
51
  base branch is shown in the output instead.
52
52
 
53
53
  Auth: Azure DevOps works with no setup if the caller is already `az
54
- login`'d (only pass `--pat`/`AZURE_DEVOPS_PAT` if there's no `az` session
54
+ login`'d (only pass `--pat`/`AZURE_DEVOPS_EXT_PAT`/`AZURE_DEVOPS_PAT` if there's no `az` session
55
55
  available); GitHub uses whatever `gh auth login` session is active.
56
56
 
57
57
  ## Creating a PR
@@ -13,7 +13,7 @@ wheels = [
13
13
 
14
14
  [[package]]
15
15
  name = "bmsdna-devtools"
16
- version = "0.2.2"
16
+ version = "0.2.3"
17
17
  source = { editable = "." }
18
18
  dependencies = [
19
19
  { name = "requests" },