Skip to content

Commit

Permalink
[migration-tools] Set release_repo_url to None (ros#36913)
Browse files Browse the repository at this point in the history
It seems that Bloom requires that this configuration be present, even if
null. Set to 'None' instead of removing it to keep Bloom happy.

Fixes: 77da761
  • Loading branch information
cottsay authored Apr 20, 2023
1 parent d7676d5 commit 613648a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration-tools/migrate-rosdistro.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def write_tracks_file(tracks, commit_msg=None):
set_patch_config(newref, config)
# Check for a release repo url in the track configuration
if 'release_repo_url' in dest_track:
del dest_track['release_repo_url']
dest_track['release_repo_url'] = None
write_tracks_file(tracks, f'Copy {args.source} track to {args.dest} with migrate-rosdistro.py.')
else:
dest_track = tracks['tracks'][args.dest]
Expand Down

0 comments on commit 613648a

Please sign in to comment.