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

Change shebang line to #!/usr/bin/env python #6042

Merged
merged 5 commits into from
Oct 24, 2023
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 CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ in development

Fixed
~~~~~
* Fix issue with linux pack actions failed to run remotely due to incorrect python shebang. #5983 #6042
Contributed by Ronnie Hoffmann (@ZoeLeah Schwarz IT KG)

* Fix proxy auth mode in HA environments #5766
Contributed by @floatingstatic
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/actions/print_ctx.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/actions/python_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/actions/pythonpath.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/debug/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ description: Debug utilities for StackStorm
ref: debug
author: StackStorm Authors
email: [email protected]
version: "0.0.1"
version: "0.0.2"
python_versions:
- "3"
2 changes: 1 addition & 1 deletion contrib/linux/actions/checks/check_loadavg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/stackstorm/st2/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/actions/checks/check_processes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/stackstorm/st2/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/actions/dig.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/actions/service.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/stackstorm/st2/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contrib/linux/pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords:
- open ports
- processes
- ps
version : 1.2.0
version : 1.2.1
python_versions:
- "2"
- "3"
Expand Down
2 changes: 1 addition & 1 deletion st2client/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
Expand Down
2 changes: 1 addition & 1 deletion st2common/bin/paramiko_ssh_evenlets_tester.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
Expand Down
2 changes: 1 addition & 1 deletion st2tests/testpacks/checks/actions/checks/check_loadavg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
Expand Down
Loading