Commit Graph

419 Commits

Author SHA1 Message Date
Kevin van Zonneveld
abb480c394 Use accptst prefix so we can re-use this thing elsewhere 2016-02-23 10:06:45 +01:00
Kevin van Zonneveld
fa7f217556 Update README.md 2016-02-23 09:47:11 +01:00
Kevin van Zonneveld
32e061c102 Merge pull request #9 from zbeekman/mangle-long-opts
Mangle long-option names to allow dashes
2016-02-23 09:46:21 +01:00
Izaak Beekman
1143670cae
Update expected test output 2016-02-22 10:11:12 -05:00
Izaak Beekman
a86d8d82b1
Mangle long-option names to allow dashes
Fixes problem where long options with dashes, like `--no-color` were
 broken. This was due to the fact that bash variable names must match
 `[_a-zA-Z][_0-9a-zA-Z]*` and the usage parsing and option handling was
 trying to create variables with dashes in their names. Short of
 employing Bash4 associative arrays, "name mangling" seemed like the
 best solution to this problem.

Solution: map dashes to underscores when creating bash variables in the
script that correspond to long option flags. The downside of this is
that `--no_color` and `--no-color` will collide, but users expecting to
use options that are identical except one has an underscore and the
other has a dash deserve the ensuing confusion.
2016-02-19 23:25:09 -05:00
Kevin van Zonneveld
db690268ea Whitespace 2016-02-17 13:46:05 +01:00
Kevin van Zonneveld
d43cecf24a No longer try to use gsed in templater on OSX thanks to .bak workaround 2016-02-17 13:44:28 +01:00
Kevin van Zonneveld
0917b75cb9 Commit version info next time 2016-02-17 13:43:00 +01:00
Kevin van Zonneveld
a6d2a2ad2f Version info 2016-02-17 13:42:26 +01:00
Kevin van Zonneveld
366d8c7c9c Update version 2016-02-17 13:41:46 +01:00
Kevin van Zonneveld
0001bfe30c Release 2.0.0 2016-02-17 13:41:45 +01:00
Kevin van Zonneveld
2b46168792 Breaking release means new major 2016-02-17 13:39:05 +01:00
Kevin van Zonneveld
1271bf807d Add tests for megamount and follow Library export best practices 2016-02-17 13:38:55 +01:00
Kevin van Zonneveld
583efe734b Whitespace 2016-02-17 13:35:25 +01:00
Kevin van Zonneveld
07ab2a95b4 Remove bump & semver from src (BREAKING) 2016-02-17 13:35:17 +01:00
Kevin van Zonneveld
7fbf9ea8e5 Add tests for templater and follow Library export best practices 2016-02-17 13:19:03 +01:00
Kevin van Zonneveld
707583a93c Fix paths 2016-02-17 13:01:18 +01:00
Kevin van Zonneveld
e538a2be34 Rename inival->ini_val 2016-02-17 12:58:28 +01:00
Kevin van Zonneveld
c3f5bcf8c9 Add tests for parse_url and follow Library export best practices 2016-02-17 12:58:18 +01:00
Kevin van Zonneveld
180282d97d Add tests for ini_val and follow Library export best practices 2016-02-17 12:48:57 +01:00
Kevin van Zonneveld
b404c87999 Place version in src too 2016-02-17 12:48:46 +01:00
Kevin van Zonneveld
f2823681d0 Update changelog 2016-02-17 09:54:52 +01:00
Kevin van Zonneveld
67f2eafc81 Update version 2016-02-17 09:53:20 +01:00
Kevin van Zonneveld
c8773b999b Release 1.2.1 2016-02-17 09:53:19 +01:00
Kevin van Zonneveld
591642cb38 Release automation 2016-02-17 09:53:01 +01:00
Kevin van Zonneveld
c3297e4a7a Better versioning 2016-02-17 09:35:59 +01:00
Kevin van Zonneveld
619688bb0f Merge pull request #8 from kvz/node-less-ci
Bypass npm on Travis so we don't require node at all
2016-02-17 09:01:07 +01:00
Kevin van Zonneveld
1557e9d66a Bypass npm on Travis so we don't require node at all 2016-02-17 08:44:32 +01:00
Kevin van Zonneveld
72cea95865 Document travis.yml 2016-02-17 08:41:35 +01:00
Kevin van Zonneveld
33887625a7 Update README.md 2016-02-17 08:39:15 +01:00
Kevin van Zonneveld
c4b4f44676 Merge pull request #6 from zbeekman/test-osx-too
Test on OSX and Linux on Travis-CI
2016-02-17 08:30:09 +01:00
Izaak Beekman
f114dea34d
Test on OSX and Linux on Travis-CI 2016-02-17 00:09:48 -05:00
Kevin van Zonneveld
0c4a6c78e5 Doc improvements 2016-02-16 22:41:01 +01:00
Kevin van Zonneveld
980a5950d6 Add release-date 2016-02-16 22:25:18 +01:00
Kevin van Zonneveld
cc57b8db69 Release 1.2.0 2016-02-16 22:23:42 +01:00
Kevin van Zonneveld
2019c5146a Upgrade version 2016-02-16 22:23:28 +01:00
Kevin van Zonneveld
d365e8dcea Allow disabling colors via NO_COLOR environment variable 2016-02-16 22:19:40 +01:00
Kevin van Zonneveld
915f858d5e Add __os magic var 2016-02-16 22:19:08 +01:00
Kevin van Zonneveld
cbe70aa80e Put comments on own line 2016-02-16 22:09:28 +01:00
Kevin van Zonneveld
ff907092a3 Document caveats 2016-02-16 22:08:27 +01:00
Kevin van Zonneveld
cdc69d9e03 Update colors 2016-02-16 22:05:19 +01:00
Kevin van Zonneveld
56721e9cd5 Add test for longopt parsing 2016-02-16 22:05:11 +01:00
Kevin van Zonneveld
df3d535ab1 Make long option parsing work on OSX's BSD awk 20070501 2016-02-16 21:59:38 +01:00
Kevin van Zonneveld
894c7fe538 Wording 2016-02-16 21:58:51 +01:00
Kevin van Zonneveld
2196cc4411 Add __base magic var 2016-02-16 21:58:25 +01:00
Kevin van Zonneveld
5b4800bad8 Try sudo:false once more
For
https://github.com/travis-ci/travis-ci/issues/5638#issuecomment-18486180
0
2016-02-16 21:27:08 +01:00
Kevin van Zonneveld
472c9e3b74 Fix markdown inconsistencies 2016-02-16 21:25:59 +01:00
Kevin van Zonneveld
90ad85f419 Port back more refined colorscheme from @arathai's fork 2016-02-16 21:24:41 +01:00
Kevin van Zonneveld
d9a0c11e49 Add changelog 2016-02-16 21:04:22 +01:00
Kevin van Zonneveld
9935335ee8 Add @zbeekman as an author 2016-02-16 20:53:59 +01:00