forked from barefootcoder/VCtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
279 lines (251 loc) · 9.64 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
Revision history for VCtools
NEXT
* runtime improvements:
local::lib detection : can now put extlib/ in a user-chosen dir (pointed to by an env var)
0.19 2019-10-10 eef813735a
* runtime improvements:
vc : when perlbrew detected, hand off to `vc-perlbrew` instead of trying to juggle env stuff directly
(this avoids a lot of duplicated code, which was already divergent)
vc-perlbrew : use the lessons learned from `launch` and force bash syntax in local::lib setup
local::lib detection : more bulletproof detection of extlib/ already being in `@INC`
0.18 2019-10-07 0eea0e572c
* base command improvements:
vc-perlbrew : fix bugs in `INSTALL` that caused complete failure to install
vc-perlbrew : restore original values for Perl env vars when spawning shell commands
* modified global switches:
--yes : now passed on to nested commands
0.17 2018-09-13 027306f987
* base command improvements:
vc : better and more stable respawning with Perlbrew-ed perl
vc-perlbrew : avoid respawning, or install Perlbrew in the first place
* debugging improvements:
vc DEBUG=1 : with debugging, if a module can't be loaded (thus triggering running `vctools-prereq-verify`),
show the exact error
0.16 2018-03-13 87bf6cc34e
* bug fixes:
`%branches` and `%remote_branches` now eliminate colors to avoid bugs when matching against strings
`%is_dirty` no longer broken by changes in the `git status` message
* base command improvements:
vc : will now automatically respawn itself using included Perlbrew Perl iff it exists
(Perlbrew Perl is not built by default install, but perhaps that will be a feature soon)
vc unstash : in Git, allow unstash by name as well as number (first matching string)
vc sync : in Git, now doing a much safer unstash
vc unstash : better error when requested stash doesn't exist; more efficient implementation
* config file improvements:
can now use $ENV_VAR in config *Dir directives and <<include>> directives
* code expansion improvements:
now throws warning and uses '' when an env var doesn't exist
* debugging improvements:
vc DEBUG=x cmd : as long as x is 2 or higher, print Perl path and version
0.15 2014-10-23 dcbda2e6b6
* bug fixes:
`vc commands` no longer has "FILL ME IN" for some commands
`vc commit` now does a `verify = project`
`vc unstage` now accepts files (and therefore doesn't unstage everything when you request just one file)
`vc` no longer repeatedly tries to run `vctools-prereq-verify` when what's missing is an internal module
"no output" directives (e.g. comments, env assigns) inside %info methods no longer produce bogus output
* modified commands:
vc info : can now ask for `def:command` or `def:%info`
(request from John Callender)
vc info : can now do `vc info list` to get all possible keys (args to `vc info`)
(request from Steve Caldwell)
vc help : now advises people to try `vc info def:command`
vc shell-complete : now provides completion for `vc info`
* base command improvements:
vc help : rewritten so we have our own version (not relying on default from App::Cmd any more)
vc DEBUG=x cmd : new debugging mode controls Debuggit's DEBUG level + automatically turns on --debug
* config file improvements:
new directive: CodePrefix
0.14 2014-04-27 10aefe9b72
* bug fixes:
`vc help` with no args now works properly again
* new global switches:
--yes
* new commands:
vc unbranch
vc commit-fix
vc shell-complete
* modified global switches:
--pretend: when `verify = clean` fails, only print a message, don't actually exit
* modified commands:
vc commit -F : same as `vc commit-fix`
vc commands : much more consistent about what commands are listed
vc commands : also more consistent about what commands are "structural"
vc info : fixed help message
vc info : now consistenly using newlines for separators; added `--oneline` switch to use spaces instead
* modified Git implementions:
%staged_files : consider additions and deletions as well as mods
vc unstage : no longer throws bogus error
vc resolved : now actually works
* new %info methods:
%me
* base command improvements:
added version variable for `vc version` or `--version` switch
(assuming new enough version of App::Cmd)
* code expansion improvements:
now easier to call confirm() to make a custom prompt
(ex: `BAIL=$self->confirm("Do you want to quit now?")` / `$BAIL -> ! Bailing.`)
* doc improvements:
better help for `vc stash` and `vc unstash`
fixed reference to "white" in the action cheatsheet
0.13 2014-01-23 e2af02f2c5
* bug fixes:
no longer get errors for using the same ArrayRef %info method twice in one command
* base command improvements:
now printing "recovery commands" when a command fails
* new commands:
vc stash
vc unstash
vc unstage
vc push
* modified commands:
vc info: no longer using commas to separate elements in ArrayRef %info methods
vc self-upgrade: can upgrade a Perl prereq
* new %info methods:
%staged_files
* modified action directives:
code: now using { } (@ is informally deprecated)
* custom command improvements:
arguments can now have list validation
can replace Files with the more general <Trailing>
* improvements in config file processing:
custom commands can override internal commands
* general cleanup and refactoring
0.12 2013-11-27 24758697af
* bug fixes:
corrected error message when VC section in config is improperly formatted
redefine "bright white" as "bold whatever-color-you-use-for-text"
* new global switches:
--default_yn
0.11 2013-11-21 b7eca1d9c3
FIRST OFFICIAL VERSION USED BY CO-WORKERS
* bug fixes:
better handling of symlinks
fix when %cur_branch tries to return two branches at once
fix confirm directives
* base command improvements:
prereqs now installed in a separate extlib/
some tweaks to smooth install process
* modified commands:
vc commands: now shows custom commands
* new global switches:
--policy
* new %info methods:
%branches
%remote_branches
%tags
* new validation directives:
Verify = clean
* custom command improvements:
arguments can now have descriptions
* initial implementation of custom info methods
* general cleanup and refactoring
* unit test improvements
0.10 2013-11-04 08a883ecf9
FIRST VERSION SHARED WITH CO-WORKERS (beta)
* bug fixes:
stop custom commands blowing up on confirm directives
stop env assigns blowing up when value was undef
* new commands:
vc self-upgrade
* modified commands:
vc info: new target (policy:all)
vc commands: now respects $VCTOOLS_RUNAS
* new global switches:
--debug (undocumented)
* new %info methods:
%running_nested
* new action directives:
= (nested command)
# (comment)
(blank line)
* modified action directives:
shell: does PID expansion
nested command: does env expansion
* config file improvements:
switch from ~/.vctools.conf to ~/.vctools/vctools.conf
add VCtoolsDir directive
* general cleanup and refactoring
* unit test improvements
0.05 2013-10-24 20be771b4f
* base command improvements:
when action directives fail, print what went wrong and what was left to do
* modified commands:
vc stage: can now take files
* new global switches:
--run-as
--interactive
* new action directives:
? (confirm)
* improvements in config file processing:
can now override internal command in Policy sections
can now override internal command at the global level
* general cleanup and refactoring
* unit test improvements
0.04 2013-10-14 ad7e9dd4c5
* new global switches:
--color
--echo
* new %info methods:
%cur_branch
can now use config directives as pseudo-info-methods
* new action directives:
! (fatal directive)
> (message directive; can include color expansions)
* modified action directives:
envassign: now interpreting rhs as a Perl expression (show any compilation errors)
envassign: now prints value set to under --pretend
message: does env expansion
message: does %info expansion
message: new color expansion for (bright) white
* custom command improvements:
descriptions now do %info expansion
* improvements in config file processing:
can put custom commands in Policy sections
* general cleanup and refactoring
* unit test improvements
0.03 2013-10-02 cadbc7c2eb
* base command improvements:
`vc` can now install missing Perl prereqs
`vc` can now create a basic config if you don't have one
* initial implementation of custom commands
* new %info methods:
%user
* move standard VC commands to VCtools-specific configs
* improvements in config file processing:
can now use ~ in config *Dir directives
can now use %info methods in SourcePath directive
initial implementation of Policy (and ProjectPolicy) directives
* general cleanup and refactoring
0.02 2013-09-23 d514dc7051
* `vc` can now install missing Perl prereqs
* modified commands:
vc commit: now works differently depending on whether you provide files on command line
vc info: new target (project:all) provides necessary infrastructure to implement `vcd`
* new commands:
vc resolved
* new %info methods:
%has_staged
%mod_files
* modified global switches:
--pretend: now prints commands executed by %info methods
* some config file fixups
* general cleanup and refactoring
0.01 2013-08-30 8c41730b8e
* initial version:
one command (vc) with subcommands
handles Git pretty well, Subversion okay, CVS not at all
underlying VC command now in config (easier for user to customize)
* early versions of:
vc info
vc stat
vc sync
vc stage
vc commit
vc unget
vc show-branches
<pre>
* old style:
separate scripts for each command
handled Subversion pretty well, CVS okay, Git not at all
underlying VC commands were in code, not in config