Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

shellcheck conformity #460

Closed
AladW opened this issue Mar 30, 2016 · 4 comments
Closed

shellcheck conformity #460

AladW opened this issue Mar 30, 2016 · 4 comments

Comments

@AladW
Copy link
Contributor

AladW commented Mar 30, 2016

Right now, it's not pretty with 343 warnings, mostly quoting errors:

shellcheck -f gcc /usr/bin/pacaur | wc -l
343

Some warnings can be suppressed with -e, for example:

/usr/bin/pacaur:64:1: warning: Can't follow non-constant source. Use a directive to specify location. [SC1090]

would be shellcheck -e 1090

See also #457.

@rmarquis
Copy link
Owner

See also #175 and #315. I had done some shellcheck cleanup in the past, but some of them actually introduced issues so I didn't aim to a 100% pass on shellcheck test. Might be worth having a look again.

@rmarquis rmarquis added the todo label Mar 31, 2016
@rmarquis rmarquis added this to the 4.6.x - new features milestone Mar 31, 2016
@rmarquis
Copy link
Owner

rmarquis commented Apr 3, 2016

Partially done in 580261c.

Ignoring some warnings that doesn't make sense in this context, we get:

$shellcheck -f gcc ./pacaur -e 2053 -e 2068 -e 2086 -e 2076 -e 1090 -e 1091 -e 2034 -e 1001 -e 2174 -e 2153 | wc -l
21

@rmarquis
Copy link
Owner

Note: #490 issue is due to SC2068, and should also be fixed.

@rmarquis rmarquis modified the milestones: 4.6.x - maintenance, 5.0.x - later Oct 1, 2016
@rmarquis rmarquis modified the milestones: 4.7.x - new features, 5.0.x - later Oct 11, 2016
@rmarquis
Copy link
Owner

Closing this ticket now, since I'll likely not do this by myself. Further work can be tracked in #443 where better code is discussed.

@rmarquis rmarquis added community and removed todo labels Feb 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants