Skip to content

Conversation

@reactive-firewall
Copy link
Owner

  • Improves the stablitity of the CI configurations
  • releases blocked features from version 0.2.8
  • bump version to 0.2.9
  • added stable circle-CI config and other QA integrations for the development work-flow
  • due to overwhelming burden caused by xcode6.4 support xcode6.4 support has been dropped

THE_TEMP_FILE=/tmp/swapfile_spellcheck_$RANDOM.tmp.txt
(spellintian ${@:-./**/*} 2>/dev/null | fgrep " -> " ) & (spellintian ${@:-./*} 2>/dev/null | fgrep " -> " ) & (spellintian ${@:-./**/**/*} 2>/dev/null | fgrep " -> " ) | sort -h | uniq | tee -a ${THE_TEMP_FILE:-/dev/null}
wait ;
THECOUNT=$((wc -l ${THE_TEMP_FILE} 2>/dev/null || echo 0 )| cut -d\ -f 1 )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't parse this $((..)) expression.
The mentioned parser error was in this $((..)) expression.
Expected "))". Fix any mentioned problems and try again.

@reactive-firewall
Copy link
Owner Author

Stickler CI failed to correctly parse balanced parenthesis ) and mislabels a nested function as a $((...)) style evaluation. Nevertheless

THECOUNT=$((wc -l ${THE_TEMP_FILE} 2>/dev/null || echo 0 )| cut -d\ -f 1 )
should be changed to a more readable form.
This issue will cause more delays due to degraded build times on CI

#! /bin/bash

THE_TEMP_FILE=/tmp/swapfile_spellcheck_$RANDOM.tmp.txt
(spellintian ${@:-./**/*} 2>/dev/null | fgrep " -> " ) & (spellintian ${@:-./*} 2>/dev/null | fgrep " -> " ) & (spellintian ${@:-./**/**/*} 2>/dev/null | fgrep " -> " ) | sort -h | uniq | tee -a ${THE_TEMP_FILE:-/dev/null}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double quote array expansions, otherwise they're like $* and break on spaces.

#! /bin/bash

# exit fast if command is missing
test -x $(which spellintian) || exit 0 ;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quote this to prevent word splitting.

test -x $(which spellintian) || exit 0 ;

THE_TEMP_FILE="/tmp/swapfile_spellcheck_${RANDOM}.tmp.txt" ;
( (spellintian ${@:-./**/*} 2>/dev/null | fgrep " -> ") & (spellintian ${@:-./*} 2>/dev/null | fgrep " -> ") & (spellintian ${@:-./**/**/*} 2>/dev/null | fgrep " -> ") ) | sort -h | uniq | tee -a ${THE_TEMP_FILE:-/dev/null} ;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double quote array expansions, otherwise they're like $* and break on spaces.

@coveralls
Copy link

coveralls commented Sep 21, 2017

Coverage Status

Coverage decreased (-0.1%) to 89.517% when pulling b253dd1 on master into 06b8905 on stable.

@codecov-io
Copy link

codecov-io commented Sep 21, 2017

Codecov Report

Merging #49 into stable will decrease coverage by 2.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           stable      #49      +/-   ##
==========================================
- Coverage   89.12%   87.09%   -2.03%     
==========================================
  Files          28       28              
  Lines        2317     2317              
==========================================
- Hits         2065     2018      -47     
- Misses        252      299      +47
Impacted Files Coverage Δ
piaplib/pku/config.py 73.52% <0%> (-11.77%) ⬇️
piaplib/lint/users_check_status.py 75.68% <0%> (-10.99%) ⬇️
piaplib/lint/clients_check_status.py 76.05% <0%> (-1.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06b8905...60d45ce. Read the comment docs.

@coveralls
Copy link

coveralls commented Sep 21, 2017

Coverage Status

Coverage decreased (-0.1%) to 89.499% when pulling 60d45ce on master into 06b8905 on stable.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 89.517% when pulling 60d45ce on master into 06b8905 on stable.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 89.517% when pulling 60d45ce on master into 06b8905 on stable.

@reactive-firewall reactive-firewall merged commit 60d45ce into stable Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants