glusterfs/extras
Kaleb S. KEITHLEY 29024cfdd5 core/build/various: python3 compat, prepare for python2 -> python3
Note 1) we're not supposed to be using #!/usr/bin/env python, see
https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Shebang_lines

Note 2) we're also not supposed to be using "!/usr/bin/python,
see https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out

The previous patch (https://review.gluster.org/19767) tried to do too
much in one patch, so it was abandoned.

This patch does two things:
1) minor cleanup of configure(.ac) to explicitly use python2
2) change all the shebang lines to #!/usr/bin/python2 and add them
where they were missing based on warnings emitted during rpmbuild.

In a follow-up patch python2 will eventually be changed to python3.

Before that python2-isms (e.g. print, string.join(), etc.) need to be
converted to python3. Some of those can be rewritten in version agnostic
python. E.g. print statements become print() with "from __future_ import
print_function". The python 2to3 utility will be used for some of those.
Also Aravinda has given guidance in the comments to the first patch for
changes.

updates: #411
Change-Id: I471730962b2526022115a1fc33629fb078b74338
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-04-12 11:04:27 +00:00
..
benchmarking
cliutils core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
command-completion bash-completion: Swap order of characters in egrep bracket expression 2015-09-08 07:49:30 -07:00
create_new_xlator core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
devel-tools extras/devel-tools: Fix print-backtrace script 2017-11-26 23:05:14 +00:00
distributed-testing core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
firewalld build: add --without-server option 2018-02-19 17:38:55 +00:00
FreeBSD
geo-rep core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
hook-scripts core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
init.d build: add --without-server option 2018-02-19 17:38:55 +00:00
LinuxRPM build: conditionally build legacy gNFS server and associated sub-packaging 2017-04-28 14:08:41 +00:00
ocf ocf: use glusterd-workdir for finding volume status files 2018-04-02 12:59:12 +00:00
profiler core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
quota core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
snap_scheduler core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
Solaris
systemd build: add --without-server option 2018-02-19 17:38:55 +00:00
test storage/posix: Adding implementation for posix_do_futimes 2017-10-05 12:57:35 +00:00
Ubuntu
who-wrote-glusterfs who-wrote-glusterfs: add an alias for potatogim@potatogim.net 2017-11-16 15:43:08 +00:00
backend-cleanup.sh scripts: correct the usage of -perm in backend-cleanup.sh 2016-01-14 03:40:58 -08:00
backend-xattr-sanitize.sh
check_goto.pl gluster: Fix the recursive goto outs in the source code. 2014-07-21 10:26:20 -07:00
clang-checker.sh clang-analyzer: adding clang static analysis support 2016-06-07 06:56:09 -07:00
clear_xattrs.sh
control-cpu-load.sh extras: scripts to control CPU/MEMORY for any gluster daemon during runtime 2017-11-13 11:07:06 +00:00
control-mem.sh extras: scripts to control CPU/MEMORY for any gluster daemon during runtime 2017-11-13 11:07:06 +00:00
disk_usage_sync.sh
failed-tests.py core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
file_size_contri.sh
gfid-to-dirname.sh extras:add gfid-to-dirname.sh 2016-03-22 19:24:17 -07:00
git-branch-diff.py core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
gluster-rsyslog-5.8.conf
gluster-rsyslog-7.2.conf
glusterd-sysconfig
glusterd.vol.in glusterd : introduce timer in mgmt_v3_lock 2017-10-17 15:44:49 +00:00
glusterfs-georep-logrotate Stop logrotate from complaining about missing files. 2014-12-11 00:04:36 -08:00
glusterfs-logrotate debug/io-stats: Add FOP sampling feature 2015-11-01 09:14:34 -08:00
glusterfs-mode.el extras: glusterfs-mode.el has incorrect FSF address 2017-02-02 12:47:17 -05:00
glusterfs.vim
gnfs-loganalyse.py
group-gluster-block gluster-block: strict-o-direct should be on 2017-08-29 13:36:07 +00:00
group-metadata-cache extras/group: Change the server inode table size when upcall is on 2018-03-24 05:38:47 +00:00
group-nl-cache extras/group: Change the server inode table size when upcall is on 2018-03-24 05:38:47 +00:00
group-virt.example extras: Enable stat-prefetch in virt profile 2017-07-10 07:53:36 +00:00
logger.conf.example
Makefile.am build: add --without-server option 2018-02-19 17:38:55 +00:00
migrate-unify-to-distribute.sh
mount-shared-storage.sh systemd/glusterfssharedstorage : remove dependency for var-run-gluster-shared_storage 2017-07-17 11:41:00 +00:00
peer_add_secret_pub.in geo-rep: Fix ssh issue in geo-rep 2015-06-25 04:48:31 -07:00
post-upgrade-script-for-quota.sh NetBSD build fixes 2014-05-17 11:53:34 -07:00
pre-upgrade-script-for-quota.sh NetBSD build fixes 2014-05-17 11:53:34 -07:00
prot_filter.py core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
rebalance.py core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
run-gluster.tmpfiles.in packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps 2017-04-27 15:57:15 +00:00
specgen.scm
stop-all-gluster-processes.sh glusterd: Gluster should keep PID file in correct location 2017-08-11 07:36:41 +00:00
stripe-merge.c
volfilter.py