pkgmgr-kunrunic 0.1.0.dev6__tar.gz → 0.1.0.dev7__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.
- {pkgmgr_kunrunic-0.1.0.dev6/pkgmgr_kunrunic.egg-info → pkgmgr_kunrunic-0.1.0.dev7}/PKG-INFO +1 -1
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/__init__.py +1 -1
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/release.py +11 -3
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7/pkgmgr_kunrunic.egg-info}/PKG-INFO +1 -1
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/LICENSE +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/README.md +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/__main__.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/cli.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/collectors/__init__.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/collectors/base.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/collectors/checksums.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/config.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/gitcollect.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/points.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/shell_integration.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/snapshot.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/templates/pkg.yaml.sample +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/templates/pkgmgr.yaml.sample +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/watch.py +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/SOURCES.txt +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/dependency_links.txt +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/entry_points.txt +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/not-zip-safe +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/requires.txt +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/top_level.txt +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pyproject.toml +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/setup.cfg +0 -0
- {pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/tests/test_config.py +0 -0
|
@@ -280,10 +280,10 @@ def _collect_git_hits(pkg_cfg, pkg_root):
|
|
|
280
280
|
"log",
|
|
281
281
|
"--name-only",
|
|
282
282
|
"--pretty=format:%H\t%s",
|
|
283
|
-
"--grep",
|
|
284
|
-
kw,
|
|
283
|
+
"--grep=%s" % kw,
|
|
285
284
|
"--regexp-ignore-case",
|
|
286
285
|
"--all",
|
|
286
|
+
"--",
|
|
287
287
|
]
|
|
288
288
|
if since:
|
|
289
289
|
cmd.append("--since=%s" % since)
|
|
@@ -314,6 +314,8 @@ def _collect_git_hits(pkg_cfg, pkg_root):
|
|
|
314
314
|
for c in commits.values():
|
|
315
315
|
c["files"] = sorted(c["files"])
|
|
316
316
|
c["keywords"] = sorted(c["keywords"])
|
|
317
|
+
# Provide stable, user-facing aliases.
|
|
318
|
+
c["commit"] = c.get("hash")
|
|
317
319
|
# fetch author and full commit message body for richer context
|
|
318
320
|
try:
|
|
319
321
|
info = subprocess.check_output(
|
|
@@ -327,10 +329,16 @@ def _collect_git_hits(pkg_cfg, pkg_root):
|
|
|
327
329
|
c["author_name"] = parts[0] if len(parts) > 0 else ""
|
|
328
330
|
c["author_email"] = parts[1] if len(parts) > 1 else ""
|
|
329
331
|
c["authored_at"] = parts[2] if len(parts) > 2 else ""
|
|
330
|
-
c["message"] = body.
|
|
332
|
+
c["message"] = body.rstrip("\n")
|
|
331
333
|
except Exception as e:
|
|
332
334
|
print("[git] show failed for %s: %s" % (c["hash"], str(e)))
|
|
333
335
|
c["message"] = c.get("subject", "")
|
|
336
|
+
if c.get("author_name") or c.get("author_email"):
|
|
337
|
+
if c.get("author_email"):
|
|
338
|
+
c["author"] = "%s <%s>" % (c.get("author_name", ""), c.get("author_email", ""))
|
|
339
|
+
else:
|
|
340
|
+
c["author"] = c.get("author_name", "")
|
|
341
|
+
c["date"] = c.get("authored_at", "")
|
|
334
342
|
result["commits"].append(c)
|
|
335
343
|
result["commits"] = sorted(result["commits"], key=lambda c: c["hash"])
|
|
336
344
|
return result, files
|
|
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
|
{pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr/templates/pkgmgr.yaml.sample
RENAMED
|
File without changes
|
|
File without changes
|
{pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/requires.txt
RENAMED
|
File without changes
|
{pkgmgr_kunrunic-0.1.0.dev6 → pkgmgr_kunrunic-0.1.0.dev7}/pkgmgr_kunrunic.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|