Skip to content

Commit 63fe441

Browse files
committed
fix: always publish main component even if utils/desktop are empty
This fixes the case where repositories like debs-beta only have packages in the main/common component (e.g., sid with only kernel packages). Previously, the merge command would skip publishing if both utils and desktop repos were empty, resulting in an incomplete repository. Now we always publish at minimum the main/common component, ensuring all distributions with any packages get properly published.
1 parent 72ec2b1 commit 63fe441

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tools/repository/repo.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -962,12 +962,8 @@ merge_repos() {
962962
log "Desktop repo does not exist in main DB"
963963
fi
964964

965-
# Skip publishing if neither utils nor desktop has packages
966-
if [[ "$utils_has_packages" == false && "$desktop_has_packages" == false ]]; then
967-
log "Skipping $release - no packages in utils or desktop repos"
968-
continue
969-
fi
970-
965+
# Always publish - at minimum, the main/common component is included
966+
# This handles cases where a release only has main packages (no utils/desktop)
971967
log "Publishing $release with components: ${components_to_publish[*]}"
972968

973969
# Build publish command

0 commit comments

Comments
 (0)