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.
- {polygit-0.3.0 → polygit-0.3.1}/PKG-INFO +1 -1
- {polygit-0.3.0 → polygit-0.3.1}/pyproject.toml +1 -1
- {polygit-0.3.0 → polygit-0.3.1}/src/polygit/repo.py +6 -5
- {polygit-0.3.0 → polygit-0.3.1}/.gitignore +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/.gitlab-ci.yml +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/LICENSE.txt +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/README.md +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/src/polygit/__init__.py +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/src/polygit/cli.py +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/src/polygit/config.py +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/src/polygit/repos.py +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/tests/__init__.py +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/tests/test_polygit.py +0 -0
- {polygit-0.3.0 → polygit-0.3.1}/uv.lock +0 -0
|
@@ -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
|
|
22
|
-
UPD
|
|
23
|
-
ERR
|
|
24
|
-
|
|
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"{
|
|
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
|