git-muster 0.4.0__tar.gz → 0.4.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-muster
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: See every local Git branch and what needs attention
5
5
  Keywords: branch,cli,git,github,worktree
6
6
  Author: Dan O'Leary
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Programming Language :: Python :: 3.13
14
14
  Classifier: Programming Language :: Python :: 3.14
15
15
  Classifier: Topic :: Software Development :: Version Control :: Git
16
- Requires-Dist: rich>=14,<15
16
+ Requires-Dist: rich>=14,<16
17
17
  Requires-Dist: typer>=0.27,<0.28
18
18
  Requires-Python: >=3.13, <3.15
19
19
  Project-URL: Homepage, https://github.com/olearydj/git-muster
@@ -57,7 +57,7 @@ BRANCH (4 local) REMOTE STATE WORKTREE UPDATED PULL REQUES
57
57
  - Conditional linked-worktree names and checkout paths.
58
58
  - Draft, open, approved, changes-requested, merged, and closed GitHub pull requests.
59
59
  - Clickable, underlined PR numbers in supported interactive terminals.
60
- - Responsive terminal layout plus stable ASCII output for logs and pipes.
60
+ - Responsive terminal layout plus stable plain output with ASCII interface glyphs for logs and pipes.
61
61
  - Read-only operation with `--no-fetch`; no branch switching, deletion, merging, rebasing, or pushing.
62
62
 
63
63
  ## Requirements
@@ -131,7 +131,7 @@ Color, Unicode symbols, and clickable pull-request numbers appear when the repor
131
131
  | `FORCE_COLOR`, `CLICOLOR_FORCE` | Keep color when output is redirected to a file or pipe. |
132
132
  | `COLUMNS` | Overrides the detected terminal width used to fit columns. |
133
133
 
134
- `--plain` overrides all of them and emits pure ASCII, without color or terminal hyperlinks. Git Muster also falls back to those ASCII glyphs on its own whenever the destination stream cannot encode its symbols, so redirected output never fails to encode.
134
+ `--plain` overrides all of them and uses ASCII interface glyphs without color or terminal hyperlinks. Repository-provided text, including branch, remote, and worktree names, is preserved and may contain Unicode. Git Muster also falls back to the ASCII glyph set on its own whenever the destination stream cannot encode its symbols, so its built-in decorations never cause an encoding failure.
135
135
 
136
136
  ## Reading the report
137
137
 
@@ -33,7 +33,7 @@ BRANCH (4 local) REMOTE STATE WORKTREE UPDATED PULL REQUES
33
33
  - Conditional linked-worktree names and checkout paths.
34
34
  - Draft, open, approved, changes-requested, merged, and closed GitHub pull requests.
35
35
  - Clickable, underlined PR numbers in supported interactive terminals.
36
- - Responsive terminal layout plus stable ASCII output for logs and pipes.
36
+ - Responsive terminal layout plus stable plain output with ASCII interface glyphs for logs and pipes.
37
37
  - Read-only operation with `--no-fetch`; no branch switching, deletion, merging, rebasing, or pushing.
38
38
 
39
39
  ## Requirements
@@ -107,7 +107,7 @@ Color, Unicode symbols, and clickable pull-request numbers appear when the repor
107
107
  | `FORCE_COLOR`, `CLICOLOR_FORCE` | Keep color when output is redirected to a file or pipe. |
108
108
  | `COLUMNS` | Overrides the detected terminal width used to fit columns. |
109
109
 
110
- `--plain` overrides all of them and emits pure ASCII, without color or terminal hyperlinks. Git Muster also falls back to those ASCII glyphs on its own whenever the destination stream cannot encode its symbols, so redirected output never fails to encode.
110
+ `--plain` overrides all of them and uses ASCII interface glyphs without color or terminal hyperlinks. Repository-provided text, including branch, remote, and worktree names, is preserved and may contain Unicode. Git Muster also falls back to the ASCII glyph set on its own whenever the destination stream cannot encode its symbols, so its built-in decorations never cause an encoding failure.
111
111
 
112
112
  ## Reading the report
113
113
 
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "git-muster"
7
- version = "0.4.0"
7
+ version = "0.4.1"
8
8
  description = "See every local Git branch and what needs attention"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.13,<3.15"
@@ -27,7 +27,7 @@ classifiers = [
27
27
  "Topic :: Software Development :: Version Control :: Git",
28
28
  ]
29
29
  dependencies = [
30
- "rich>=14,<15",
30
+ "rich>=14,<16",
31
31
  "typer>=0.27,<0.28",
32
32
  ]
33
33
 
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "git-muster"
7
- version = "0.4.0"
7
+ version = "0.4.1"
8
8
  description = "See every local Git branch and what needs attention"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.13,<3.15"
@@ -21,7 +21,7 @@ classifiers = [
21
21
  "Programming Language :: Python :: 3.14",
22
22
  "Topic :: Software Development :: Version Control :: Git",
23
23
  ]
24
- dependencies = ["rich>=14,<15", "typer>=0.27,<0.28"]
24
+ dependencies = ["rich>=14,<16", "typer>=0.27,<0.28"]
25
25
 
26
26
  [project.scripts]
27
27
  git-muster = "git_muster.cli:entrypoint"
@@ -38,7 +38,7 @@ EPILOG = """
38
38
  Use the remote-tracking data already on disk.
39
39
 
40
40
  [cyan]git muster --plain[/cyan]
41
- Emit stable ASCII output without color for logs and pipes.
41
+ Emit stable output with ASCII decorations and no color for logs and pipes.
42
42
 
43
43
  [bold]Linked worktrees[/bold]
44
44
 
@@ -315,7 +315,10 @@ def github_pull_requests() -> tuple[list[dict[str, object]], str | None]:
315
315
  return [], "unusable"
316
316
  if not isinstance(parsed, list):
317
317
  return [], "unusable"
318
- return [row for row in parsed if isinstance(row, dict)], None
318
+ rows = [row for row in parsed if isinstance(row, dict)]
319
+ if parsed and not rows:
320
+ return [], "unusable"
321
+ return rows, None
319
322
 
320
323
 
321
324
  def parse_track(track: str) -> tuple[int, int] | None:
@@ -747,7 +750,10 @@ def main(
747
750
  bool,
748
751
  typer.Option(
749
752
  "--plain",
750
- help="Disable color and Unicode symbols for stable logs and pipes.",
753
+ help=(
754
+ "Disable color, hyperlinks, and Unicode interface symbols for stable logs and "
755
+ "pipes. Repository-provided text is preserved."
756
+ ),
751
757
  rich_help_panel="Report options",
752
758
  ),
753
759
  ] = False,
File without changes