mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Cleanup shebang and executable bit
- Add missing executable bits to all scripts - Remove executable bits from all files that are not scripts, e.g. js, html, and Python libraries. - Remove Python shebang from all Python library files. It's frown upon to have executable library files in site-packages. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Armando Neto <abiagion@redhat.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
#
|
||||
# FreeIPA 2FA companion daemon
|
||||
#
|
||||
|
||||
0
daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif
Executable file → Normal file
0
daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif
Executable file → Normal file
0
freeipa.spec.in
Executable file → Normal file
0
freeipa.spec.in
Executable file → Normal file
0
install/restart_scripts/renew_ca_cert
Normal file → Executable file
0
install/restart_scripts/renew_ca_cert
Normal file → Executable file
0
install/restart_scripts/renew_ra_cert
Normal file → Executable file
0
install/restart_scripts/renew_ra_cert
Normal file → Executable file
0
install/restart_scripts/restart_dirsrv
Normal file → Executable file
0
install/restart_scripts/restart_dirsrv
Normal file → Executable file
0
install/restart_scripts/restart_httpd
Normal file → Executable file
0
install/restart_scripts/restart_httpd
Normal file → Executable file
0
install/restart_scripts/stop_pkicad
Normal file → Executable file
0
install/restart_scripts/stop_pkicad
Normal file → Executable file
0
install/tools/ipa-cacert-manage
Normal file → Executable file
0
install/tools/ipa-cacert-manage
Normal file → Executable file
0
install/tools/ipa-kra-install
Normal file → Executable file
0
install/tools/ipa-kra-install
Normal file → Executable file
0
install/tools/ipa-server-upgrade
Normal file → Executable file
0
install/tools/ipa-server-upgrade
Normal file → Executable file
0
install/ui/less/patternfly/variables.less
Executable file → Normal file
0
install/ui/less/patternfly/variables.less
Executable file → Normal file
0
install/ui/src/freeipa/certificate.js
Executable file → Normal file
0
install/ui/src/freeipa/certificate.js
Executable file → Normal file
0
install/ui/test/aci_tests.html
Executable file → Normal file
0
install/ui/test/aci_tests.html
Executable file → Normal file
0
install/ui/test/certificate_tests.html
Executable file → Normal file
0
install/ui/test/certificate_tests.html
Executable file → Normal file
0
install/ui/test/certificate_tests.js
Executable file → Normal file
0
install/ui/test/certificate_tests.js
Executable file → Normal file
0
install/ui/test/ordered_map_tests.html
Executable file → Normal file
0
install/ui/test/ordered_map_tests.html
Executable file → Normal file
0
install/ui/test/ordered_map_tests.js
Executable file → Normal file
0
install/ui/test/ordered_map_tests.js
Executable file → Normal file
0
install/ui/test/widget_tests.html
Executable file → Normal file
0
install/ui/test/widget_tests.html
Executable file → Normal file
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
from cffi import FFI
|
||||
import ctypes.util
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
# Copyright (C) 2007 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
#
|
||||
|
||||
0
ipalib/aci.py
Executable file → Normal file
0
ipalib/aci.py
Executable file → Normal file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
# Copyright (C) 2007 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
# Copyright (C) 2014 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
#
|
||||
|
||||
1
ipapython/setup.py
Executable file → Normal file
1
ipapython/setup.py
Executable file → Normal file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
# Copyright (C) 2007 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
#
|
||||
|
||||
1
ipaserver/dnssec/localhsm.py
Executable file → Normal file
1
ipaserver/dnssec/localhsm.py
Executable file → Normal file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
#
|
||||
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
#
|
||||
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3 -E
|
||||
# Authors: Ade Lee <alee@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2014 Red Hat
|
||||
|
||||
2
ipaserver/setup.py
Executable file → Normal file
2
ipaserver/setup.py
Executable file → Normal file
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
# Authors:
|
||||
# Jason Gerard DeRose <jderose@redhat.com>
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
# Copyright (C) 2014 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
# Copyright (C) 2007 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
#
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/python3 -E
|
||||
#
|
||||
# Copyright (C) 2007 Red Hat
|
||||
# see file 'COPYING' for use and warranty information
|
||||
@@ -89,6 +88,3 @@ class TestValidate(unittest.TestCase):
|
||||
self.assertEqual(False, ipavalidate.GoodName("foo%bar"))
|
||||
self.assertEqual(False, ipavalidate.GoodName("*foo"))
|
||||
self.assertEqual(False, ipavalidate.GoodName("$foo.bar$"))
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
0
ipatests/test_ipaserver/test_install/test_adtrustinstance.py
Executable file → Normal file
0
ipatests/test_ipaserver/test_install/test_adtrustinstance.py
Executable file → Normal file
0
pypi/freeipa/setup.py
Executable file → Normal file
0
pypi/freeipa/setup.py
Executable file → Normal file
0
pypi/ipa/setup.py
Executable file → Normal file
0
pypi/ipa/setup.py
Executable file → Normal file
0
pypi/ipaserver/setup.py
Executable file → Normal file
0
pypi/ipaserver/setup.py
Executable file → Normal file
0
pypi/ipatests/setup.py
Executable file → Normal file
0
pypi/ipatests/setup.py
Executable file → Normal file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
||||
|
||||
import importlib
|
||||
|
||||
Reference in New Issue
Block a user