Skip to content

Commit

Permalink
Deprecate the bare catkin_* scripts (#368)
Browse files Browse the repository at this point in the history
These scripts are no longer used in any known scenarios.
  • Loading branch information
cottsay authored Apr 4, 2024
1 parent 9a09b99 commit b6c2234
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/catkin_create_pkg
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.create_pkg import main

if __name__ == '__main__':
print('The catkin_create_pkg script is deprecated. Use python '
"-m 'catkin_pkg.cli.create_pkg' instead.\n", file=sys.stderr)
sys.exit(main())
2 changes: 2 additions & 0 deletions bin/catkin_find_pkg
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.find_pkg import main

if __name__ == '__main__':
print('The catkin_find_pkg script is deprecated. Use python '
"-m 'catkin_pkg.cli.find_pkg' instead.\n", file=sys.stderr)
sys.exit(main())
2 changes: 2 additions & 0 deletions bin/catkin_generate_changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.generate_changelog import main_catching_runtime_error

if __name__ == '__main__':
print('The catkin_generate_changelog script is deprecated. Use python '
"-m 'catkin_pkg.cli.generate_changelog' instead.\n", file=sys.stderr)
sys.exit(main_catching_runtime_error())
2 changes: 2 additions & 0 deletions bin/catkin_package_version
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.package_version import main

if __name__ == '__main__':
print('The catkin_package_version script is deprecated. Use python '
"-m 'catkin_pkg.cli.package_version' instead.\n", file=sys.stderr)
sys.exit(main())
2 changes: 2 additions & 0 deletions bin/catkin_prepare_release
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.prepare_release import main

if __name__ == '__main__':
print('The catkin_prepare_release script is deprecated. Use python '
"-m 'catkin_pkg.cli.prepare_release' instead.\n", file=sys.stderr)
sys.exit(main())
2 changes: 2 additions & 0 deletions bin/catkin_tag_changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.tag_changelog import main

if __name__ == '__main__':
print('The catkin_tag_changelog script is deprecated. Use python '
"-m 'catkin_pkg.cli.tag_changelog' instead.\n", file=sys.stderr)
sys.exit(main())
2 changes: 2 additions & 0 deletions bin/catkin_test_changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ import sys
from catkin_pkg.cli.test_changelog import main

if __name__ == '__main__':
print('The catkin_test_changelog script is deprecated. Use python '
"-m 'catkin_pkg.cli.test_changelog' instead.\n", file=sys.stderr)
sys.exit(main())

0 comments on commit b6c2234

Please sign in to comment.