annotate scripts/run-all-cleanup @ 8910:2a57d3660003 stable

git: show warning when removing existing unused Kallithea hook These hooks are no longer used and should be removed, but it is nice to have explicit logging when it happens.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 10 Jun 2021 14:20:08 +0200
parents 52816813cbec
children
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
8772
52816813cbec docs: describe, visualize, and verify internal code structure and layering
Mads Kiilerich <mads@kiilerich.com>
parents: 8771
diff changeset
8 hg files 'set:!binary()&grep("^#!.*python")' 'set:**.py' | xargs scripts/deps.py
52816813cbec docs: describe, visualize, and verify internal code structure and layering
Mads Kiilerich <mads@kiilerich.com>
parents: 8771
diff changeset
9 dot -Tsvg deps.dot > deps.svg
52816813cbec docs: describe, visualize, and verify internal code structure and layering
Mads Kiilerich <mads@kiilerich.com>
parents: 8771
diff changeset
10
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
11 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
12 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
13 scripts/whitespacecleanup.sh
8771
f8971422795e scripts: introduce source_format.py to fix up the module name in file headers
Mads Kiilerich <mads@kiilerich.com>
parents: 8770
diff changeset
14 hg files 'set:!binary()&grep("^#!.*python")' 'set:**.py' | xargs scripts/source_format.py
8240
51af7c12ffb1 cleanup: run pyflakes as a part of scripts/run-all-cleanup
Mads Kiilerich <mads@kiilerich.com>
parents: 6060
diff changeset
15
8770
0a84ef075575 scripts: handle running with pending deleted files
Mads Kiilerich <mads@kiilerich.com>
parents: 8295
diff changeset
16 hg files 'set:!binary()&grep("^#!.*python")' 'set:**.py' | xargs scripts/pyflakes
8295
8d663d23ab85 scripts: make output from run-all-cleanup easier to parse
Mads Kiilerich <mads@kiilerich.com>
parents: 8240
diff changeset
17 echo "no blocking problems found by $0"