Compare commits

..

2 Commits

Author SHA1 Message Date
William Douglas 61a91af0ff Fix logic for detecting new vendor
Missing grouping in vendor .git changed caused detection failures.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-06-01 15:08:51 -07:00
clrbuilder fc6b90aaa5 Update packages file for version 38830
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-18 07:56:02 -07:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -4164,6 +4164,7 @@ pypi-pillow
pypi-pint
pypi-pip
pypi-pip_tools
pypi-pipdeptree
pypi-pkgconfig
pypi-pkginfo
pypi-pkgutil_resolve_name
@@ -4564,6 +4565,7 @@ pypi-wrapt
pypi-wsgiproxy2
pypi-wsproto
pypi-wurlitzer
pypi-xcffib
pypi-xgboost
pypi-xmldiff
pypi-xmljson
@@ -4971,6 +4973,7 @@ wine
wireless-regdb-master
wireplumber
wireshark
wl-clipboard
wlroots
wmctrl
woff2
+1 -1
View File
@@ -75,7 +75,7 @@ def update_cargo_vendor(path, name, git):
subprocess.run(f"cp -a {backup_vendor_git} {vendor_git}", cwd=path,
shell=True, check=True)
repo = Repo(vendor_path)
if not len(repo.untracked_files) > 0 or repo.is_dirty():
if not (len(repo.untracked_files) > 0 or repo.is_dirty()):
return False
subprocess.run('git add .', cwd=vendor_path, shell=True, check=True)
subprocess.run('git commit -m "vendor update"', cwd=vendor_path,