Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 16, 2024
1 parent 2118ca9 commit 3a1a8eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 119 deletions.
117 changes: 0 additions & 117 deletions python.repos

This file was deleted.

5 changes: 3 additions & 2 deletions src/scripts/upstream_rebuilds.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ def resolve(rosdep_name):
for dep in pkg.build_depends:
if dep.evaluated_condition:
for name in resolve(dep.name):
print(f"Checking {name}:", list(debs.glob(f"{name}*.deb")))
# check whether file debs/name*.deb exists
if any(debs.glob(f"{name}*.deb")):
print(f"Rebuild needed due to {name}")
exit(0) # rebuild needed
exit(1) # rebuild needed

exit(1) # no rebuild needed
exit(0) # no rebuild needed

0 comments on commit 3a1a8eb

Please sign in to comment.