polygit 0.3.0__tar.gz → 0.3.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: polygit
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Manage multiple git repos from a single .pgit config file.
5
5
  Project-URL: Repository, https://gitlab.com/gary.schaetz/public/polygit
6
6
  Author-email: Gary Schaetz <gary@schaetzkc.com>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "polygit"
7
- version = "0.3.0"
7
+ version = "0.3.1"
8
8
  description = "Manage multiple git repos from a single .pgit config file."
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE.txt" }
@@ -18,10 +18,11 @@ _Y = "\033[33m" if _USE_COLOR else "" # yellow
18
18
  _DIM = "\033[2m" if _USE_COLOR else "" # dim
19
19
  _RST = "\033[0m" if _USE_COLOR else "" # reset
20
20
 
21
- OK = f"{_G}✓{_RST}"
22
- UPD = f"{_C}↓{_RST}"
23
- ERR = f"{_R}✗{_RST}"
24
- NEW = f"{_C}+{_RST}"
21
+ OK = f"{_G}✓{_RST}"
22
+ UPD = f"{_G}↓{_RST}"
23
+ ERR = f"{_R}✗{_RST}"
24
+ WARN = f"{_Y}{_RST}"
25
+ NEW = f"{_C}+{_RST}"
25
26
 
26
27
 
27
28
  def _emit(lines):
@@ -118,7 +119,7 @@ def _pull_one(platform, local_path, d):
118
119
  if result.returncode != 0:
119
120
  err = result.stderr.strip()
120
121
  if "no tracking information" in err or "no upstream" in err.lower():
121
- lines.append(f"{ERR} {label}: no upstream branch set")
122
+ lines.append(f"{WARN} {label}: no upstream branch set")
122
123
  else:
123
124
  lines.append(f"{ERR} {label}: {err.splitlines()[0]}")
124
125
  elif result.stdout.strip() and result.stdout.strip() != "Already up to date.":
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