Issue #1383
closedConvert shebangs to python2
Description
Currently, most (maybe all?) of our shell script shebangs call the 'python' executable, either via /usr/bin/python, or /usr/bin/env python. Many of the platforms we'd like to support either point /usr/bin/python at the python 3 interpreter or do not provide the 'python' interpreter at all. To the best of my knowledge, all of those platforms do provide a 'python2' executable, so for our packages to work on all platforms we want to update our shebangs to be using the '/usr/bin/python2' executable, not '/usr/bin/python' (e.g. /usr/bin/env python2).
Updated by mhrivnak over 8 years ago
- Project changed from Packaging to Pulp
- Priority changed from Normal to High
- Severity changed from 2. Medium to 1. Low
- Platform Release set to 2.8.0
- Triaged changed from No to Yes
- Tags Easy Fix added
Updated by ipanova@redhat.com over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Updated by ipanova@redhat.com over 8 years ago
- Status changed from ASSIGNED to POST
https://github.com/pulp/nectar/pull/34
https://github.com/pulp/pulp/pull/2216
https://github.com/pulp/pulp_deb/pull/15
https://github.com/pulp/pulp_docker/pull/112
https://github.com/pulp/pulp_openstack/pull/23
https://github.com/pulp/pulp_ostree/pull/54
https://github.com/pulp/pulp_packaging/pull/81
https://github.com/pulp/pulp_puppet/pull/203
https://github.com/pulp/pulp_python/pull/55
https://github.com/pulp/pulp_rpm/pull/738
Updated by semyers over 8 years ago
All the PRs look good.
@ipanova++ for also fixing the /usr/bin/python shebangs despite my rather unclear issue description. Also good call on removing the -tt from some shebangs because they were silly (flake8 for the win).
Updated by ipanova@redhat.com over 8 years ago
- Status changed from POST to MODIFIED
Updated by dkliban@redhat.com about 8 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com about 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE