maintainers/scripts/update.nix: mention when there were no changes committed
This commit is contained in:
parent
b828285933
commit
b351de0971
|
@ -117,8 +117,12 @@ async def merge_changes(merge_lock: asyncio.Lock, package: Dict, update_info: st
|
||||||
if temp_dir is not None:
|
if temp_dir is not None:
|
||||||
worktree, branch = temp_dir
|
worktree, branch = temp_dir
|
||||||
changes = await check_changes(package, worktree, update_info)
|
changes = await check_changes(package, worktree, update_info)
|
||||||
await commit_changes(package['name'], merge_lock, worktree, branch, changes)
|
|
||||||
|
|
||||||
|
if len(changes) > 0:
|
||||||
|
await commit_changes(package['name'], merge_lock, worktree, branch, changes)
|
||||||
|
else:
|
||||||
|
eprint(f" - {package['name']}: DONE, no changes.")
|
||||||
|
else:
|
||||||
eprint(f" - {package['name']}: DONE.")
|
eprint(f" - {package['name']}: DONE.")
|
||||||
|
|
||||||
async def updater(temp_dir: Optional[Tuple[str, str]], merge_lock: asyncio.Lock, packages_to_update: asyncio.Queue[Optional[Dict]], keep_going: bool, commit: bool):
|
async def updater(temp_dir: Optional[Tuple[str, str]], merge_lock: asyncio.Lock, packages_to_update: asyncio.Queue[Optional[Dict]], keep_going: bool, commit: bool):
|
||||||
|
|
Loading…
Reference in New Issue