Changeset - e285bb7abb28
[Not reviewed]
default
1 14 0
Mads Kiilerich (mads) - 9 years ago 2016-12-19 04:46:48
mads@kiilerich.com
scripts: apply whitespace cleanup to more files - opt out instead of opt in
9 files changed with 5 insertions and 9 deletions:
0 comments (0 inline, 0 general)
docs/images/.img
Show inline comments
 
deleted file
docs/theme/nature/static/nature.css_t
Show inline comments
 
@@ -94,7 +94,6 @@ div.sphinxsidebar h3 a {
 
    color: #444;
 
}
 
 
 
 
 
div.sphinxsidebar p {
 
    color: #888;
 
    padding: 5px 20px;
init.d/kallithea-daemon-arch
Show inline comments
 
@@ -67,4 +67,4 @@ status)
 
    ;;
 
*)
 
    echo "usage: $0 {start|stop|restart|status}"
 
esac
 
\ No newline at end of file
 
esac
init.d/kallithea-daemon-debian
Show inline comments
 
@@ -87,4 +87,4 @@ case "$1" in
 
  *)
 
    echo "Usage: $0 {start|stop|restart}"
 
    exit 1
 
esac
 
\ No newline at end of file
 
esac
init.d/kallithea-daemon-redhat
Show inline comments
 
@@ -129,4 +129,4 @@ case "$1" in
 
    ;;
 
esac
 

	
 
exit $RETVAL
 
\ No newline at end of file
 
exit $RETVAL
kallithea/bin/ldap_sync.conf
Show inline comments
 
@@ -8,4 +8,4 @@ ldap_user = cn=kallithea,dc=example,dc=c
 
ldap_key = XXXXXXXXX
 
base_dn = dc=example,dc=com
 

	
 
sync_users = True
 
\ No newline at end of file
 
sync_users = True
kallithea/tests/vcs/aconfig
Show inline comments
 
@@ -7,4 +7,3 @@ username = Foo Bar foo.bar@example.com
 

	
 
[universal]
 
foo = bar
 

	
scripts/dbmigrate-test
Show inline comments
 
@@ -119,4 +119,3 @@ install_kallithea "$temp/to" "$to_rev_ha
 
    announce "Upgrade complete, now at the shown Alembic revision:"
 
    alembic -c "$config_file" current -v
 
)
 

	
scripts/whitespacecleanup.sh
Show inline comments
 
@@ -2,7 +2,7 @@
 

	
 
# Enforce some consistency in whitespace - just to avoid spurious whitespaces changes
 

	
 
files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' '*.ini' '*.cfg' CONTRIBUTORS LICENSE.md | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9|jquery.dataTables)\.js$|/email_templates/|/test_dump_html_mails.ref.html'`
 
files=`hg mani | egrep -v '/codemirror/|/fontello/|/email_templates/|(/lockfiles.py|^LICENSE-MERGELY.html|^docs/Makefile|^scripts/whitespacecleanup.sh|/(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9|jquery.dataTables)\.js|/test_dump_html_mails.ref.html|\.png|\.gif|\.ico|\.pot|\.po|\.mo|\.tar\.gz|\.diff)$'`
 

	
 
sed -i -e "s,`printf '\t'`,    ,g" $files
 
sed -i -e "s,  *$,,g" $files
 
@@ -17,7 +17,6 @@ sed -i -e 's/^\(    [^: ]*\) *: *\([^/]\
 
sed -i -e '1s|, |,|g' kallithea/public/css/{style,contextbar}.css
 
sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css
 
sed -i -e 's/^\([^ ,/].*\)   */\1 /g' kallithea/public/css/{style,contextbar}.css
 
sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt
 
sed -i -e 's,[ 	][ 	]*$,,g' -e 's, 	,	,g' kallithea/public/js/graph.js
 

	
 
hg mani | xargs chmod -x
0 comments (0 inline, 0 general)