You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+302-1Lines changed: 302 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# go-script-bash v1.0.0
1
+
# go-script-bash v1.1.0
2
+
3
+
This release adds some major new features, two new builtin commands, and multiple bug fixes and internal improvements.
2
4
3
5
## The `./go` script: a unified development environment interface
4
6
@@ -11,3 +13,302 @@ The `./go` script idea came from Pete Hodgson's blog posts [In Praise of the ./g
11
13
**Note:** The `./go` script concept is completely unrelated to the [Go programming language](https://golang.org), though the Go language's `go` command encapsulates many common project functions in a similar fashion.
12
14
13
15
This software is made available as [Open Source software](https://opensource.org/osd-annotated) under the [ISC License](https://www.isc.org/downloads/software-support-policy/isc-license/). If you'd care to contribute to this project, be it code fixes, documentation updates, or new features, please read the `CONTRIBUTING.md` file.
16
+
17
+
## What's new in this release
18
+
19
+
### Modules
20
+
21
+
You can import optional Bash library code from the core framework, third-party plugins, or your own project's scripts directory by sourcing the `_GO_USE_MODULES` script. See the **Modules** section of the README or run `./go help modules` and `./go modules --help` for more information.
22
+
23
+
### Logging
24
+
25
+
The core library `log` module provides functions for standard logging facilities. For more information, see the **Logging** section from the README and run `./go modules --help log`.
26
+
27
+
### Bats test assertions and helpers
28
+
29
+
The assertions and helpers from the test suite have been extracted into the `lib/bats/assertions` and `lib/bats/helpers` libraries. See the **Bats test assertions and helpers** section from the README and read the comments from each file for more information.
30
+
31
+
### `kcov-ubuntu` module for test coverage on Linux
32
+
33
+
The `kcov-ubuntu` module provides the `run_kcov` function that uses [kcov](https://github.com/SimonKagstrom/kcov) to collect test coverage on Ubuntu Linux. See the **`kcov-ubuntu` module for test coverage on Linux** section of the README and run `./go modules --help kcov-ubuntu` for more information.
34
+
35
+
### Exported `_GO_*` variables and the `vars` builtin command
36
+
37
+
A number of global variables starting with the prefix `_GO_*` are exported as environment variables and are available to command scripts in all languages. See the **Command script API** section from the README and run `./go help vars` for more information.
38
+
39
+
## Changes since v1.0.0
40
+
41
+
<pre>
42
+
9411a89 Mike Bland <mbland@acm.org>
43
+
Merge pull request #23 from mbland/version
44
+
45
+
e8ef35b Mike Bland <mbland@acm.org>
46
+
core: Introduce _GO_CORE_VERSION
47
+
48
+
17a69d2 Mike Bland <mbland@acm.org>
49
+
Add documentation improvements for v1.1.0 release
50
+
51
+
ecd2d81 Mike Bland <mbland@acm.org>
52
+
use: Unset correct variable
53
+
54
+
006c38b Mike Bland <mbland@acm.org>
55
+
Merge pull request #22 from mbland/remove-stale-files
56
+
57
+
e17c181 Mike Bland <mbland@acm.org>
58
+
Remove old test `./go` scripts
59
+
60
+
f9675e5 Mike Bland <mbland@acm.org>
61
+
Merge pull request #21 from mbland/plugins
62
+
63
+
33c54b6 Mike Bland <mbland@acm.org>
64
+
plugins: Revert changes from #20
65
+
66
+
ce20155 Mike Bland <mbland@acm.org>
67
+
Merge pull request #20 from mbland/vars
68
+
69
+
6b376eb Mike Bland <mbland@acm.org>
70
+
vars: Make test array quotifying more robust
71
+
72
+
241d2c7 Mike Bland <mbland@acm.org>
73
+
Revamp `_GO_*` var exports, add `vars` builtin
74
+
75
+
7c1123b Mike Bland <mbland@acm.org>
76
+
Move all _GO_* vars to core and document them
77
+
78
+
17beb1e Mike Bland <mbland@acm.org>
79
+
Merge pull request #19 from mbland/assert-lines-equal
80
+
81
+
70d546f Mike Bland <mbland@acm.org>
82
+
assertions: Add assert_lines_equal
83
+
84
+
32d47fc Mike Bland <mbland@acm.org>
85
+
changes: Don't add `^` to end ref
86
+
87
+
580f08d Mike Bland <mbland@acm.org>
88
+
core: Tweak COLUMNS test slightly
89
+
90
+
47b6e63 Mike Bland <mbland@acm.org>
91
+
Merge pull request #18 from mbland/columns
92
+
93
+
5292839 Mike Bland <mbland@acm.org>
94
+
core: Fix test for OS X on Travis without /dev/tty
95
+
96
+
c7ee892 Mike Bland <mbland@acm.org>
97
+
core: Reproduce and fix `tput cols` error from #17
98
+
99
+
664a51f Mike Bland <mbland@acm.org>
100
+
Merge pull request #17 from mbland/columns
101
+
102
+
5bdbd2c Mike Bland <mbland@acm.org>
103
+
core: Update how COLUMNS is set
104
+
105
+
5fc49a5 Mike Bland <mbland@acm.org>
106
+
log: Skip setup-project test case on MSYS2
107
+
108
+
0e91281 Mike Bland <mbland@acm.org>
109
+
Merge pull request #16 from mbland/log-setup
110
+
111
+
ecb6b83 Mike Bland <mbland@acm.org>
112
+
log: Fix @go.critical_section_end return bug
113
+
114
+
b7f7699 Mike Bland <mbland@acm.org>
115
+
log: Add @go.setup_project function
116
+
117
+
ed05f2b Mike Bland <mbland@acm.org>
118
+
Merge pull request #15 from mbland/log-command
119
+
120
+
da20203 Mike Bland <mbland@acm.org>
121
+
log: Add log_command tests for @go command cases
122
+
123
+
db79ba1 Mike Bland <mbland@acm.org>
124
+
log: Add @go.log_command, critical section flag
125
+
126
+
43fae60 Mike Bland <mbland@acm.org>
127
+
Merge pull request #14 from mbland/add-or-update-log-level
128
+
129
+
949fb32 Mike Bland <mbland@acm.org>
130
+
log: Implement @go.add_or_update_log_level
131
+
132
+
dd712c6 Mike Bland <mbland@acm.org>
133
+
Merge pull request #13 from mbland/log
134
+
135
+
0a7bc5e Mike Bland <mbland@acm.org>
136
+
lib/log: Add logging module
137
+
138
+
31a1d30 Mike Bland <mbland@acm.org>
139
+
complete: Fix typo in internal library comment
140
+
141
+
3cc22b0 Mike Bland <mbland@acm.org>
142
+
Merge pull request #12 from mbland/assertions
143
+
144
+
0d94845 Mike Bland <mbland@acm.org>
145
+
Revert previous two commits
146
+
147
+
f4a0f85 Mike Bland <mbland@acm.org>
148
+
assertions: Reset return trap when trap exits
149
+
150
+
7ca3d05 Mike Bland <mbland@acm.org>
151
+
assertions: Introduce bats_assertion_return_trap
152
+
153
+
40d6218 Mike Bland <mbland@acm.org>
154
+
assertions: Make public return_from_bats_assertion
155
+
156
+
87bb07c Mike Bland <mbland@acm.org>
157
+
assertions: Reproduce and fix latent functrace bug
158
+
159
+
52bc541 Mike Bland <mbland@acm.org>
160
+
Merge pull request #11 from mbland/complete
161
+
162
+
112e046 Mike Bland <mbland@acm.org>
163
+
env/bash: Put single quotes around unset argument
164
+
165
+
e7f02fe Mike Bland <mbland@acm.org>
166
+
complete: Eliminate compgen from internal library
167
+
168
+
096f0f3 Mike Bland <mbland@acm.org>
169
+
bats/assertions: Change double quotes to single
170
+
171
+
d8e4231 Mike Bland <mbland@acm.org>
172
+
complete: Replace most compgen calls with echo
173
+
174
+
4d61457 Mike Bland <mbland@acm.org>
175
+
complete: Switch all tests to use ./go complete
176
+
177
+
54e8e9a Mike Bland <mbland@acm.org>
178
+
Merge pull request #10 from mbland/tput-fix-test-docs
179
+
180
+
e779deb Mike Bland <mbland@acm.org>
181
+
test: Expand comments, refactor slightly
182
+
183
+
b9792bf Mike Bland <mbland@acm.org>
184
+
kcov-ubuntu: Update run_kcov function comment
185
+
186
+
4c66893 Mike Bland <mbland@acm.org>
187
+
core: Undo tput error redirect
188
+
189
+
676dd18 Mike Bland <mbland@acm.org>
190
+
Merge pull request #9 from mbland/bats-libs
191
+
192
+
69fb63b Mike Bland <mbland@acm.org>
193
+
bats/assertions: Reorder functions, add docs
194
+
195
+
d692bb9 Mike Bland <mbland@acm.org>
196
+
bats/assertions: Add optional fail() reason, docs
197
+
198
+
ac8ed3f Mike Bland <mbland@acm.org>
199
+
tests: Extract public bats/assertions module
200
+
201
+
2707493 Mike Bland <mbland@acm.org>
202
+
tests: Consolidate environment.bash
203
+
204
+
c77932e Mike Bland <mbland@acm.org>
205
+
kcov: Convert to public kcov-ubuntu module
206
+
207
+
1a47920 Mike Bland <mbland@acm.org>
208
+
cmd-desc: Remove create_test_command_script calls
209
+
210
+
3deee25 Mike Bland <mbland@acm.org>
211
+
run-cmd: Update _GO_* var tests to run subcommands
212
+
213
+
4168b58 Mike Bland <mbland@acm.org>
214
+
Extract public bats/helpers module
215
+
216
+
87ce40a Mike Bland <mbland@acm.org>
217
+
Merge pull request #8 from mbland/cmd-name-argv
218
+
219
+
202b17c Mike Bland <mbland@acm.org>
220
+
core: Export _GO_CMD_{NAME,ARGV}, add Bash test
221
+
222
+
d674191 Mike Bland <mbland@acm.org>
223
+
Merge pull request #7 from mbland/cmd-desc
224
+
225
+
9bd1524 Mike Bland <mbland@acm.org>
226
+
core: Default to 80 columns on all tput errors
227
+
228
+
47d9476 Mike Bland <mbland@acm.org>
229
+
TEMP: Print value of $TERM to debug Travis issue
230
+
231
+
271c726 Mike Bland <mbland@acm.org>
232
+
core: Check $TERM before setting columns with tput
0 commit comments