annotate scripts/run-all-cleanup @ 7786:0f33c1da2fd5

kallithea-cli: set ssh_locale when creating .ini file so it doesn't have to be set manually before using ssh The Python standard library does not seem to provide a simple way to determine the current locale without calling locale.setlocale() and thus potentially influencing the rest of the program. Instead, try to determine the locale based on environment variables present when 'kallithea-cli config-create' is run, and use it to prepopulate the ini file.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Mon, 01 Jul 2019 10:05:00 +0200
parents 40edadecda69
children 51af7c12ffb1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6060
40edadecda69 run-all-cleanup: fix incorrect interpreter
Søren Løvborg <sorenl@unity3d.com>
parents: 5885
diff changeset
1 #!/bin/sh
5885
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
2
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
3 # Convenience script for running various idempotent source code cleanup scripts
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
4
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
5 set -e
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
6 set -x
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
7
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
8 scripts/docs-headings.py
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
9 scripts/generate-ini.py
f0b9706d8d7e scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff changeset
10 scripts/whitespacecleanup.sh