Skip to content

Commit 8ba3ab6

Browse files
remove use_explicit_build_number=False old logic
1 parent 7d3a05e commit 8ba3ab6

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

vinca/main.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,19 +1165,6 @@ def main():
11651165
# only URLs
11661166
if "://" in fn:
11671167
selected_bn = vinca_conf.get("build_number", 0)
1168-
if not vinca_conf.get("use_explicit_build_number", True):
1169-
distro = vinca_conf["ros_distro"]
1170-
all_pkgs = repodata.get("packages", {})
1171-
all_pkgs.update(repodata.get("packages.conda", {}))
1172-
for pkg_name, pkg in all_pkgs.items():
1173-
if pkg_name.startswith(f"ros-{distro}"):
1174-
if pkg_name.rsplit("-", 2)[0] in additional_recipe_names:
1175-
print(
1176-
f"Skipping additional recipe for build number computation {pkg_name}"
1177-
)
1178-
continue
1179-
selected_bn = max(selected_bn, pkg["build_number"])
1180-
11811168

11821169
explicitly_selected_pkgs = [
11831170
f"ros-{distro}-{pkg.replace('_', '-')}"

0 commit comments

Comments
 (0)