Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the bare catkin_* scripts #368

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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())