[FAI-commit] [faiproject/fai] be9fff: Add graceful handling for when optpattern is undef...

GitHub noreply at github.com
Tue Apr 29 15:06:33 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/faiproject/fai
  Commit: be9fff2615869a8bd770477eb2200aa0db9247ed
      https://github.com/faiproject/fai/commit/be9fff2615869a8bd770477eb2200aa0db9247ed
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Add graceful handling for when optpattern is undefined.


  Commit: a793a9dd3cc2a2a006dd2dd3d319d7779de45be8
      https://github.com/faiproject/fai/commit/a793a9dd3cc2a2a006dd2dd3d319d7779de45be8
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Spelling fix for debug output


  Commit: 13b013f89d305682482e77ce5f40d17e403f0945
      https://github.com/faiproject/fai/commit/13b013f89d305682482e77ce5f40d17e403f0945
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Correct a descriptive comment


  Commit: 9888ee4bbf7241f19cefa3d4eefe3039277509b3
      https://github.com/faiproject/fai/commit/9888ee4bbf7241f19cefa3d4eefe3039277509b3
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Improve loop syntax

* compact assignment (don't need interim $_)
* assign to "", so no defined() test needed
* use "substr(-1) ne X" instead of "!~ X", for speed
* remove "-s file" test (redundant after $lastline test)


  Commit: 687e1dfa3a01b2b334363f387e1f1875991f4e0f
      https://github.com/faiproject/fai/commit/687e1dfa3a01b2b334363f387e1f1875991f4e0f
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Add -N option to avoid prepending $AINSL_TARGET


  Commit: a01b0963f0b8efe52ab2a2fea8235acc3d4e31a0
      https://github.com/faiproject/fai/commit/a01b0963f0b8efe52ab2a2fea8235acc3d4e31a0
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Standardise use of "and,or,&&,||" - respecting precedence

"and,or" have lower precedence than comma/etc, while "&&,||" have higher,
so their use for side-effects future-proofs the code by avoiding various
obscure surprises like in this example, when:

  $x eq "abc" || die;

is edited some time in the future to be:

  $x eq "ab", "c" || die;

which appends:

  "ab"

to:

  "c" || die

(which is always "c") and the statement will never die as expected...


  Commit: 84457b3832935be81102500aff464050b60042a0
      https://github.com/faiproject/fai/commit/84457b3832935be81102500aff464050b60042a0
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl

  Log Message:
  -----------
  Make anomalous whitespace consistent with other occurrences in the script


  Commit: 132ddb4f8b08d253627d642595bd0ad4f4fde05e
      https://github.com/faiproject/fai/commit/132ddb4f8b08d253627d642595bd0ad4f4fde05e
  Author: Rowan Thorpe <rowan at rowanthorpe.com>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M bin/ainsl
    M man/ainsl.1

  Log Message:
  -----------
  Add -N to manpage, improve -h output for it too


  Commit: 7ccadb9739517345430ae19fd6141adc7bbf3937
      https://github.com/faiproject/fai/commit/7ccadb9739517345430ae19fd6141adc7bbf3937
  Author: Thomas Lange <lange at informatik.uni-koeln.de>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  add changelog entries


Compare: https://github.com/faiproject/fai/compare/938f67a01648...7ccadb973951


More information about the FAI-commit mailing list