-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-add deprecated scripts, drop shebang from cli modules (#187)
This is a follow-up change to re-add deprecated scripts so we don't break any existing use of those scripts while folks migrate to better ways to invoke them. Additionally, we can drop the shebangs and executable permissions from the CLI modules that were renamed in the previous commit.
- Loading branch information
Showing
16 changed files
with
88 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_build_cache import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_build_cache script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_build_cache' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_convert import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_convert is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_convert' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_freeze_source import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_freeze_source script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_freeze_source' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_generate_cache import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_generate_cache script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_generate_cache' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_migrate_to_rep_141 import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_migrate_to_rep_141 script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_migrate_to_rep_141' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_migrate_to_rep_143 import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_migrate_to_rep_143 script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_migrate_to_rep_143' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
|
||
from rosdistro.cli.rosdistro_reformat import main | ||
|
||
if __name__ == '__main__': | ||
print('The rosdistro_reformat script is deprecated. Use python3 ' | ||
"-m 'rosdistro.cli.rosdistro_reformat' instead.\n", | ||
file=sys.stderr) | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import optparse | ||
import sys | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# Software License Agreement (BSD License) | ||
# | ||
# Copyright (c) 2016, Clearpath Robotics | ||
|
2 changes: 0 additions & 2 deletions
2
src/rosdistro/cli/rosdistro_generate_cache.py
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import optparse | ||
import sys | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
src/rosdistro/cli/rosdistro_migrate_to_rep_141.py
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import argparse | ||
import gzip | ||
import os | ||
|
2 changes: 0 additions & 2 deletions
2
src/rosdistro/cli/rosdistro_migrate_to_rep_143.py
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import argparse | ||
import sys | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters