Commit Graph

6 Commits

Author SHA1 Message Date
Eitan Adler
9ff7bf7a93 arc lint: ignore /tests/ in chmod
shell scripts in scripts don't need
to be chmod +x to work. In fact most are not.
Of the tests I found from a simple search:
65 are chmod +x
84 are chmod -x

simply disable the check for test shell scripts.

Recommit requested by:	cem, rgrimes
2017-12-19 03:38:06 +00:00
Eitan Adler
8fbecf7b2e arclint: revert in prep for recommitting 2017-12-19 03:35:39 +00:00
Eitan Adler
9ae26a5cb9 arc lint: Explain linting explain
shell scripts in scripts don't need
to be chmod +x to work. In fact most are not.
Of the tests I found from a simple search:
65 are chmod +x
84 are chmod -x

simply disable the check for test shell scripts.
2017-12-09 08:21:29 +00:00
Eitan Adler
7202e5e8f6 sponge(1): initial commit
sponge(1) is a utility that reads input until
complete, then opens the output file, then
writes to it. This makes it useful in pipelines
that read and write to the same file.

Reviewed by:	wblock, jilles, imp, cem, danfe (all: various iterations)
Inspired by:	https://joeyh.name/code/moreutils/
2017-12-05 03:55:10 +00:00
Eitan Adler
db29be839a phabricator related changes:
- don't lint either contrib or crypto: these are both externally written
	  directories
	- add additional linters for spelling (check common typos like teh ->
	  the)
	- chmod linter checks for executible bit on bad files
	- merge-conflict checks for merge conflict tokens then may have been
	  resolved incorrectly
	- filename checks for back characters in filenames
	- json for json syntax correctness

	- remove history.immutable: it is meaningless on subversion, and causes
	  workflow problems when trying to use git.  It it set to 'true' by
	  default with hg
2015-04-20 20:33:22 +00:00
Eitan Adler
ebfbfab668 arc: add linting for python files 2014-06-02 00:21:42 +00:00