From 163fb5ae051c1e2910b6b78bdbfaf85926e632bf Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 2 Apr 2024 15:58:52 -0500 Subject: [PATCH] Deprecate the bare catkin_* scripts These scripts are no longer used in any known scenarios. --- bin/catkin_create_pkg | 2 ++ bin/catkin_find_pkg | 2 ++ bin/catkin_generate_changelog | 2 ++ bin/catkin_package_version | 2 ++ bin/catkin_prepare_release | 2 ++ bin/catkin_tag_changelog | 2 ++ bin/catkin_test_changelog | 2 ++ 7 files changed, 14 insertions(+) diff --git a/bin/catkin_create_pkg b/bin/catkin_create_pkg index 00e9ac2f..a499174f 100755 --- a/bin/catkin_create_pkg +++ b/bin/catkin_create_pkg @@ -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()) diff --git a/bin/catkin_find_pkg b/bin/catkin_find_pkg index 6e518c6e..837ec13b 100755 --- a/bin/catkin_find_pkg +++ b/bin/catkin_find_pkg @@ -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()) diff --git a/bin/catkin_generate_changelog b/bin/catkin_generate_changelog index 4df82797..7caf14e4 100755 --- a/bin/catkin_generate_changelog +++ b/bin/catkin_generate_changelog @@ -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()) diff --git a/bin/catkin_package_version b/bin/catkin_package_version index 45345617..bcb5d53a 100755 --- a/bin/catkin_package_version +++ b/bin/catkin_package_version @@ -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()) diff --git a/bin/catkin_prepare_release b/bin/catkin_prepare_release index 2424878b..e57b1a4b 100755 --- a/bin/catkin_prepare_release +++ b/bin/catkin_prepare_release @@ -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()) diff --git a/bin/catkin_tag_changelog b/bin/catkin_tag_changelog index f0cf27c1..3d277a40 100755 --- a/bin/catkin_tag_changelog +++ b/bin/catkin_tag_changelog @@ -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()) diff --git a/bin/catkin_test_changelog b/bin/catkin_test_changelog index b4fdba5f..c7ece776 100755 --- a/bin/catkin_test_changelog +++ b/bin/catkin_test_changelog @@ -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())