diff --git a/MANIFEST.in b/MANIFEST.in old mode 100755 new mode 100644 diff --git a/init.d/kallithea-daemon-arch b/init.d/kallithea-daemon-arch old mode 100644 new mode 100755 diff --git a/init.d/kallithea-daemon-redhat b/init.d/kallithea-daemon-redhat old mode 100644 new mode 100755 diff --git a/kallithea/bin/ldap_sync.py b/kallithea/bin/ldap_sync.py old mode 100755 new mode 100644 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/config.py b/kallithea/lib/dbmigrate/migrate/versioning/config.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/script/__init__.py b/kallithea/lib/dbmigrate/migrate/versioning/script/__init__.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/script/base.py b/kallithea/lib/dbmigrate/migrate/versioning/script/base.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/script/py.py b/kallithea/lib/dbmigrate/migrate/versioning/script/py.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/script/sql.py b/kallithea/lib/dbmigrate/migrate/versioning/script/sql.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/shell.py b/kallithea/lib/dbmigrate/migrate/versioning/shell.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/util/__init__.py b/kallithea/lib/dbmigrate/migrate/versioning/util/__init__.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/util/keyedinstance.py b/kallithea/lib/dbmigrate/migrate/versioning/util/keyedinstance.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/migrate/versioning/version.py b/kallithea/lib/dbmigrate/migrate/versioning/version.py old mode 100644 new mode 100755 diff --git a/kallithea/lib/dbmigrate/schema/db_1_2_0.py b/kallithea/lib/dbmigrate/schema/db_1_2_0.py old mode 100755 new mode 100644 diff --git a/kallithea/lib/dbmigrate/schema/db_2_1_0.py b/kallithea/lib/dbmigrate/schema/db_2_1_0.py old mode 100755 new mode 100644 diff --git a/kallithea/lib/dbmigrate/schema/db_2_2_0.py b/kallithea/lib/dbmigrate/schema/db_2_2_0.py old mode 100755 new mode 100644 diff --git a/kallithea/lib/dbmigrate/schema/db_2_2_3.py b/kallithea/lib/dbmigrate/schema/db_2_2_3.py old mode 100755 new mode 100644 diff --git a/kallithea/model/db.py b/kallithea/model/db.py old mode 100755 new mode 100644 diff --git a/kallithea/templates/changelog/changelog.html b/kallithea/templates/changelog/changelog.html old mode 100755 new mode 100644 diff --git a/kallithea/templates/errors/error_document.html b/kallithea/templates/errors/error_document.html old mode 100755 new mode 100644 diff --git a/kallithea/tests/other/manual_test_vcs_operations.py b/kallithea/tests/other/manual_test_vcs_operations.py old mode 100755 new mode 100644 diff --git a/kallithea/tests/scripts/manual_test_crawler.py b/kallithea/tests/scripts/manual_test_crawler.py --- a/kallithea/tests/scripts/manual_test_crawler.py +++ b/kallithea/tests/scripts/manual_test_crawler.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python2 # -*- coding: utf-8 -*- # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/kallithea/tests/scripts/mem_watch b/kallithea/tests/scripts/mem_watch --- a/kallithea/tests/scripts/mem_watch +++ b/kallithea/tests/scripts/mem_watch @@ -1,1 +1,2 @@ -ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }'|grep [p]aster +#!/bin/sh +ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' | grep '[p]aster' diff --git a/setup.cfg b/setup.cfg --- a/setup.cfg +++ b/setup.cfg @@ -50,4 +50,3 @@ all_files = 1 [upload_sphinx] upload-dir = docs/_build/html - diff --git a/whitespacecleanup.sh b/whitespacecleanup.sh --- a/whitespacecleanup.sh +++ b/whitespacecleanup.sh @@ -18,4 +18,7 @@ sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, sed -i -e 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt +hg mani | xargs chmod -x +hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x + hg diff