-
Notifications
You must be signed in to change notification settings - Fork 9
/
CHANGELOG
713 lines (712 loc) · 34.5 KB
/
CHANGELOG
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
* 413e8b469ca87a15f3308de498f071b34dd36380
| Author: kyle
| Date: 2014-08-22 23:07:13 -0500
| Comment: Added OPTIND localization to all functions... which I should have done all along.
|
|
* 3fe5e14af401153ca724d919dcc9896f7664624e
| Author: kyle
| Date: 2014-08-22 01:06:21 -0500
| Comment: Added the first function for array manipulation. This was mostly for proof of concept. I'm well aware of the #variable length feature and that it works on arrays just fine. More complicated functions to come.
|
|
* 84ce11a8bdd762d35ac6fc904479e3cf26cb7614
| Author: kyle
| Date: 2014-08-22 01:05:29 -0500
| Comment: Had to fix 2 flaws in getopts. The first is that to be more bash-compatible, OPTERR being internalized means we KEEP GOING. Which is stupid... but whatever. I now throw an error (which bash does) via core_LogError and I put the item in __SBT_NONOPT_ARGS. I also give a friendly message that you can stop options parsing with -- if some args really need to start with a hyphen. The other changes were minor goofs: in conditions where I exited badly (e.g.: E_UHOH) I wasn't setting OPTIND back to 1 before leaving. All functions should probably do local OPTIND=1 anyway... but this will help ensure OPTIND is 1 any time getopts finishes, fatal or not.
|
|
* 1e9f1fb369026f0568ec29fd83b4155d63aaf316
| Author: kyle
| Date: 2014-08-17 22:58:20 -0500
| Comment: Changed versions on the 'string' and 'core' namespaces, as they're complete and all tests for them pass.
|
|
* 63c72cf18a99348b622bfb13b60c7ec8a35eb5fe
| Author: kyle
| Date: 2014-08-17 17:20:54 -0500
| Comment: Added some extra description for the core_EasyGetOpts function.
|
|
* 140b9b8c6e40a1a0d88da5ac95a6a818eba01eb2
| Author: kyle
| Date: 2014-08-16 19:35:31 -0500
| Comment: Fixed a couple bugs in the core_getopts function. Added a new function called core_EasyGetOpts which acts like the perl getopts('short_opts') feature. Except this is native bash and also supports long options. Closes #9.
|
|
* 44ae72aa2bcfbf4027ebbbab00c87e430fa7ac7e
| Author: kyle
| Date: 2014-08-16 01:40:07 -0500
| Comment: Resolved a bug with short options. I was late-checking and aborting which was sending a blank option back. This was masked in test 15 (I think that's it) because if a compressed opt has an arg is reset short opt index by design... doh. Also added support to end option processing with a double hyphen (--). Closes #6.
|
|
* ec01b4154484cd908a08c8953ce625866298c442
| Author: kyle
| Date: 2014-08-16 00:06:27 -0500
| Comment: Changed from the Switch module to the feature 'switch' added in perl 5; used the given-when syntax obviously. Fixes #7.
|
|
* 4846b8ef870fe27d13fd1f64f1b0c250111e15da
| Author: kyle
| Date: 2014-08-15 23:45:23 -0500
| Comment: Fixed a bad 'let' statement when calculating TPS (tests per second) in string functions.
|
|
* 0ddcdcde6efb369ac70d496653d558bbc8341f6e
| Author: kyle
| Date: 2014-05-28 21:14:57 -0500
| Comment: Fixed a bug in docker when searching for long options. If they accept a value to the long option, it was being appended incorrectly in the yaml file and the true/false logic was simply broken.
|
|
* 95e14779c36a8e395cb20fd18191a460845a36aa
| Author: kyle
| Date: 2013-12-04 21:49:17 -0600
| Comment: More work on the mt stuff. Still trying to flesh out the outline. Taking extra time because I'm watching video game speed runs...
|
|
* 303011d6408fdf48897d8499c8f2a4fd3032c7fa
| Author: kyle
| Date: 2013-11-30 23:24:59 -0600
| Comment: Updated the TODO with a couple items I realized I did stupidly. Modified core_getopts to support resetting of __SBT_SHORT_OPTIND when options parsing is done; a niceness feature. Made minor changes to the mt_RunDispatcher, ready to start fleshing it and everything else out a LOT more.
|
|
* b8ccc30d8037f1aa3e8d0e4fec06f9e87a81fba6
| Author: kyle
| Date: 2013-11-29 23:07:17 -0600
| Comment: Touched up the initialize pool function a bit and wrote the controller for a dispatcher. Using a flag file to signal it. Much, much more to go.
|
|
* 6f9e7de5cf2ee5328c5a802555cbb9a52cfa19b1
| Author: kyle
| Date: 2013-11-11 21:50:20 -0600
| Comment: MT work in progress. Have a basic outline done, just need to code it in.
|
|
* a94727db8feec5bdcfdc912db93f021b89748b57
| Author: kyle
| Date: 2013-11-07 22:54:25 -0600
| Comment: Started on the mt namespace. Conceptually there is a tremendous amount of work left to do this correctly. Right now I'm focusing on getting a pool initialized and the flags and whatnot setup for it.
|
|
* a94b0a1c4068112806c36c2ca47ac8324eef21ed
| Author: kyle
| Date: 2013-11-05 21:09:48 -0600
| Comment: Added the string_Insert function and tests.
|
|
* c3c5fe49b34af4c6b9aca468d608ca82fb61cf22
| Author: kyle
| Date: 2013-11-05 19:28:19 -0600
| Comment: Added option tags to all of the getopts blocks for docker to read.
|
|
* 349f3ced548a76b49f8eda4306a6919920b257d4
| Author: kyle
| Date: 2013-11-05 18:05:37 -0600
| Comment: Finished the trim function and tests. Perl seemed to be the best solution.
|
|
* c302a6c5843928ca7f1025a7963781fa7f2d4d81
| Author: kyle
| Date: 2013-11-04 23:21:21 -0600
| Comment: Updated the TODO a bit and started writing the trim function. Still need to test the perl ext script and then write unit tests.
|
|
* 38091466bd9c2c815084abb443afa7816d33d300
| Author: kyle
| Date: 2013-11-03 21:52:25 -0600
| Comment: Wrote the string_Reverse function and tests.
|
|
* fc6d0cd03688836650fc02d48c1d36000407c99b
| Author: kyle
| Date: 2013-11-03 15:53:40 -0600
| Comment: Wrote the string_Pad function and its wrappers and the tests for it.
|
|
* 16a151c81d291c6ced04982aad70724057c78521
| Author: kyle
| Date: 2013-11-03 12:25:58 -0600
| Comment: Updated the FAQ to explain naming rules for functions and variables.
|
|
* 7fffe6aa1b11f5a80087213b568eb8fef7b8c0bd
| Author: kyle
| Date: 2013-11-03 12:05:59 -0600
| Comment: Prefixed all variables (except exit codes, because Docker reads those) with an underscore. This enforces the idea of globals being __SBT_something and lexically scoped variables to functions like so: _something. This fixes #4 and should prevent confusion for end-users later.
|
|
* 4b082c476ee427a35185700f53b578f9c72ee983
| Author: kyle
| Date: 2013-11-03 11:29:36 -0600
| Comment: Updated the readme with a support section to advise others to help if they can. If I'm the only one who ever writes on this system, it will only ever be as effective as I am.
|
|
* 1b701986519f9d92172d76334e6f90dd34bc538c
| Author: kyle
| Date: 2013-11-03 10:08:30 -0600
| Comment: Forgot to delete the old file.
|
|
* 92185be0c48791c16b01e7de69183111fcfb3b64
| Author: kyle
| Date: 2013-11-03 10:06:42 -0600
| Comment: Renamed file.
|
|
* a5c67710c1859e20cf91141edbe7e661c70ec1b1
| Author: kyle
| Date: 2013-11-03 09:52:53 -0600
| Comment: Added -R test to string tests for functions that pass work to string_FormatCase.
|
|
* 2367c6d5f5fc56d9fca25bf35b82f3a5a686abc9
| Author: kyle
| Date: 2013-11-03 09:30:27 -0600
| Comment: Couple small changes and updated the change log. Need to submit a bug and fix it before we go on.
|
|
* 5ea63b71e55af7fe5d05f6d995b4d6350142fb4a
| Author: kyle
| Date: 2013-10-30 20:37:31 -0500
| Comment: Modified core_ToolExists to fix an edge case, wrote regression tests to ensure behavior.
|
|
* 2f7c73c00d7a8308a341ea286e887944eddec574
| Author: kyle
| Date: 2013-10-28 00:06:36 -0500
| Comment: Updated the README a bit. Might need more work later.
|
|
* 6aa681ffc5671deb49e3a99b9806d0062aa168e0
| Author: kyle
| Date: 2013-10-27 23:47:54 -0500
| Comment: Huge changes to the way data is read in. Added a FAQ to help document some of these standards. This should help tremendously with future functions. Wrote (or rewrote) tests to ensure it all works as expected. Ultimately, this will allow me to simply send DATA as a herestring to any function or external program... the program merely needs to support consumption of STDIN.
|
|
* fece308360bd1d26fdf071de543d57f78a9ae82c
| Author: kyle
| Date: 2013-10-25 22:30:54 -0500
| Comment: Implementing the changes required to read from STDIN more easily. Needs more work, but going to bed and I want to save this progress.
|
|
* eea94768ed5b115500d37f42c185d102774fc0ff
| Author: kyle
| Date: 2013-10-24 22:08:07 -0500
| Comment: Started researching how to read STDIN in functions for piping. It's quite possible and whatnot but it has a couple repercussions. First there's a race condition causing SIGPIPEs when testing with read -t 0. Second, any output not echo'd with a new line will not be read properly (last line will hang). I'd like SBT functions to auto-detect STDIN but I don't think it's possible. So I either need a switch for it as a standard; or I need the rule to be: if no args are sent, try to read from stdin, then error out if still no data to work with.
|
|
* ab7c873703086af354b1398e1b12a7ad0fff1f0b
| Author: kyle
| Date: 2013-10-23 21:42:42 -0500
| Comment: Added another test for kicks.
|
|
* 2f4fcddb2c0a7f82e02320030c9800890731899c
| Author: kyle
| Date: 2013-10-23 21:17:41 -0500
| Comment: Finished the CountOf function. It's not as fast as I'd like, but I'm not sure how to improve the performance but still remain as flexible.
|
|
* e3a3f5e5a33470f9c6003859f856425edb0c8188
| Author: kyle
| Date: 2013-10-22 22:43:14 -0500
| Comment: Wrote a perl script to do the CountOf logic. It works fine, except when dealing with hidden characters like newlines. Perl can count them but Bash seems to ignore one. For example, in a sample document with 7 or 8 lines I got #var to return 79, but perl returned 80 matches for all chars ([\s\S]). Need to find out why this is happening and decide which is actually correct... my guess is perl.
|
|
* f35e2f32ed30cff5128fb3f0e5c47698d45bedfb
| Author: kyle
| Date: 2013-10-21 22:26:54 -0500
| Comment: Started writing the string_CountOf. It's not hard, just got distracted. Need to finish it and write tests.
|
|
* 68509b07644c25b44df2b6864707896c11eb16e7
| Author: kyle
| Date: 2013-10-20 20:38:45 -0500
| Comment: Wrote tests for Substring. Updated the change log. Fixed an issue in string.sh. Updated the test suite to make performance tests prettier.
|
|
* 6ccedf7b08a41db8ab178d52cc366da2f35d8c09
| Author: kyle
| Date: 2013-10-19 22:55:13 -0500
| Comment: Touched up IndexOf and wrote the initial version of Substring. Need to write test cases for it.
|
|
* e2c5e8e1a9f5e7cd412ed44ccf0b00aad5aec5a4
| Author: kyle
| Date: 2013-10-09 22:28:52 -0500
| Comment: Added the 'last' option for occurrence in IndexOf.
|
|
* 05f2cd22125aab5fa22c9a870ac44e34d4ee684f
| Author: kyle
| Date: 2013-10-09 20:23:24 -0500
| Comment: Removed some old stuff in the bin folder. Added a new special test.
|
|
* 3efadb516ada0541be84aa2d08fa0cd3905e1890
| Author: kyle
| Date: 2013-10-08 22:11:04 -0500
| Comment: Added a special test folder for proofs of decisions made: echo vs printf, true/false vs 0/1, etc. Fixed a bug in the core_getopts function: when the last item in compact short options (-abc) requires an argument (-abc 'value for c') it moves OPTIND and doesn't reset __SBT_SHORT_OPTIND to 1. I think I fixed something else too, but it was minor. Either way, all tests are passing and I'm clear to move on to the next item.
|
|
* cb95ce628ca73e5778f80690ce995af31e338b18
| Author: kyle
| Date: 2013-10-07 22:45:18 -0500
| Comment: Added usage tags to each function. Yay.
|
|
* afdb1891a8ca146b2b6d0f54fee6c16657b48729
| Author: kyle
| Date: 2013-10-06 18:37:48 -0500
| Comment: Added a usage tag. Docker will pick this up as a 'basic' tag. This can be handled by the end-use system later on.
|
|
* 5a18778e06ac352ca148f4d8e68a510eb8e4a713
| Author: kyle
| Date: 2013-10-05 23:39:48 -0500
| Comment: Ok, so... found a few problems in the test scripts for core_getopts and had to fix those. Testing functions weren't reporting correctly so things were passing that shouldn't. The actual core_getopts function had a couple problems that needed fixed: compacted short option handling, and a break where a return 0 should have been. Finished the string_IndexOf tests. In the process, discovered a real-world case (added to tests for core_getopts): if the error suppression is signaled (with a leading colon) in long opts, and the first long opt requires a parameter (has a colon at the end), then the tokenization and string comparison messes up. Finally, updated all the test scripts to set the first path entry to the tool directory for SBT, ensuring all test cases happen again the compiled tools. When I start doing regression testing against various version of libs/tools this will come in handy.
|
|
* 701051696f6c8eeb6deceb75cb1aab2dbc4f04ae
| Author: kyle
| Date: 2013-10-04 22:41:17 -0500
| Comment: Added some tests for indexof, need more. Need to add tests for the new -a / --any switch on core_ToolExists. In hindsight, I won't use it for what I thought, but I could see how it might be useful in other situations and the performance hit should be almost zero. Need to check out the TODO list and probably focus on building a usage tag next.
|
|
* 79084b88ce915becc96aeb9d71a530d95ef8790f
| Author: kyle
| Date: 2013-10-03 21:53:59 -0500
| Comment: Added a by-ref function after all. Should prove useful. Made test cases for it. Might need more.
|
|
* 2d862077efd55d6c85dbacb8263f973aff05796e
| Author: kyle
| Date: 2013-10-01 22:29:52 -0500
| Comment: Started writing tests for IndexOf, but I now see a good reason for core_StoreByRef so that'll be added first.
|
|
* bd2bc084baaaf0cf21dd849e8bd6bfefd192aa07
| Author: kyle
| Date: 2013-09-27 22:26:59 -0500
| Comment: Finished the string_IndexOf wrapper. Need to write test cases and tune it.
|
|
* bc39557a3a25171c731d9b242eee0d7fbefccbc6
| Author: kyle
| Date: 2013-09-27 20:43:23 -0500
| Comment: Found a few typos and bugs in the doc_example.sh namespace. After looking some more, I realize I'm going to need to fully proof this namespace and probably compare actual docker output to ensure my help docs aren't wrong. Which is a job for another day...
|
|
* f9c2fdc947cc4ab1e6bf99489f0a197ac73dcb71
| Author: kyle
| Date: 2013-09-24 20:30:28 -0500
| Comment: Found a way to use coreutils to get directory of sourced core.sh file so I can derive the remaining values for SBT use. Need to finish the test case for IndexOf and the SBT IndexOf function (including adding -1 to make it a zero base index).
|
|
* 9fc50aafa5b1591872b392cf9916874e35d21fb1
| Author: kyle
| Date: 2013-09-16 22:03:21 -0500
| Comment: Wrote a function to modify the PATH for tool searching, avoids hard coding paths. Finishing up the core_IndexOf function but I don't know how I want to safely reference the sbt/ext dir. Once that's figured out, should be good to go and I can start adding lots more string manipulation functions.
|
|
* 2d0874a7445c14da1647cc679b3c8d60f855a42f
| Author: kyle
| Date: 2013-09-15 21:08:00 -0500
| Comment: Wrote the first external script for SBT. This is a simple awk script to get the Nth occurrence of a pattern within a string. Seems to work but still need to write tests for it. Might also want to consider letting it read a whole file, but then again how would that work with newlines? I'd have to read in multiline mode and I don't know if that's even possible in awk. Oh well, baby steps for now.
|
|
* c467d39ae660c63099601c9ff0e408e163004962
| Author: kyle
| Date: 2013-09-09 20:48:42 -0500
| Comment: Updated the namespace tester to test multiple namespaces at once.
|
|
* eb1b78acf083bc442cbc87b6ddbd53db86d3d0e3
| Author: kyle
| Date: 2013-08-18 23:01:58 -0500
| Comment: Updated changelog and since I plan to push when I get a chance.
|
|
* f6e4cf5f0ed243ba820ceadeb45e3d9b02de1e15
| Author: kyle
| Date: 2013-08-18 23:01:08 -0500
| Comment: Built a little structure for the IndexOf function but I'm still not sure how to process the lookups quickly. I need internet access to research best methods and that's hard to do at 38,000 feet...
|
|
* 36ebc0df2cb21ca8e3f5758a734ba41c1976ddbd
| Author: kyle
| Date: 2013-08-18 22:18:57 -0500
| Comment: After realizing the hassle of pushing things like the append flag up from the core_IndirectAssignment function, I decided to remove it. The function itself did indeed limit the use of eval, but not in a way that was helping anything. It wasn't, and couldn't provide much more validation and aid so meh. I'm removing it.
|
|
* 4f12d32be787060dbe7de1e3a979bc1f089b063e
| Author: kyle
| Date: 2013-08-18 22:04:08 -0500
| Comment: Added the function to do indirect references. I added an append flag, but this is an internal thing which means all callers would need append flags too, and this would be annoying to keep up with. For simplicity's sake, removing that after this commit.
|
|
* 2f50251c03c41c595debf9ff6fab7e17ce942482
| Author: kyle
| Date: 2013-08-17 16:32:47 -0500
| Comment: Created a TODO list for when I don't have internet access. I should probably gitignore it... but going to add it in case I get lazy with feature requests and stuff in github.
|
|
* 7e41e92098ac4f1404eeb7063c6f512d453f4301
| Author: kyle
| Date: 2013-08-17 15:46:49 -0500
| Comment: Modified the docker test file to reflect a couple changes that affected the MD5 of the correct output of the sample file. This might have actually been in a prior commit, oh well. Removed the new_function call since that doesn't exist anymore in __shared.inc.
|
|
* 93769e1c12f903c1a712e0940d84e8ee60c53723
| Author: kyle
| Date: 2013-08-17 15:45:08 -0500
| Comment: Added a little more info to README. Changed core_LogVerbose to be more of a nested stack trace to aid in debugging. Removed a placeholder now that we have data in the folder. Might consider modifying core_LogError to do the same... hmm.
|
|
* b2df1259561a77f992d8b864f974e932b0099a12
| Author: kyle
| Date: 2013-08-12 21:04:24 -0500
| Comment: Added the rest of the case modification functionality to string_FormatCase and created wrappers to go with it all. Need to move on to IndexOf functionality.
|
|
* fc351f32c6b4362149023f5db792238039c55416
| Author: kyle
| Date: 2013-07-18 22:54:32 -0500
| Comment: Finished the upper case tests. Wrote a wrapper to handle case modification since most of them are similar and whatnot. Wheee. Still need to update the string_FormatCase tests and duplicate the string_ToLower tests.
|
|
* 9dab19cacabe9df6e8f68456b91095bb3425237c
| Author: kyle
| Date: 2013-07-17 22:33:39 -0500
| Comment: Finished core_ToolExists and wrote some basic tests for it. Seems to work as intended. Woot.
|
|
* c6249974d1e8e6f4dd5093b88decf2142da26280
| Author: kyle
| Date: 2013-07-16 23:01:23 -0500
| Comment: The core_ToolExists function is ready for tests now. Likely needs some debugging. Need to add a list of requirements to SBT docs for coreutils and grep. If perl isn't GNU licensed, should consider using ToolExists for all SBT functions using it. I want to keep the external programs used in SBT as minimal as possible.
|
|
* 3411762d6b2b69f0d1bc37b7e19dff18f21e6332
| Author: kyle
| Date: 2013-07-15 17:56:47 -0500
| Comment: Updated the changelog script to be more properly aware of its own location.
|
|
* f88e6f14d54e622ae52c0cbd20dda5c265cef2c9
| Author: kyle
| Date: 2013-07-15 17:53:26 -0500
| Comment: Federated the tests into individual files per function. Also made the performance tests are now built-in loops to prevent extra time from re-running the whole script. Also built a namespace file to still be able to test all the items in a namespace at once.
|
|
* e0a918eceb28e5a4a3a826aaa87ca6b8a202b907
| Author: kyle
| Date: 2013-07-15 00:07:28 -0500
| Comment: Changed the logging up a bit, all messages go to std err. Updated tests to disuse MD5 sum since line numbers will change. Did some performance testing with a DEBUG/verbose mode. Also watched a lot a movies, so didn't actually get much done. Meh.
|
|
* b484c675eb2b46be0536c11687c56f8a7a46c71d
| Author: kyle
| Date: 2013-07-13 23:25:01 -0500
| Comment: Moved core_Error in an effort to keep functions in alphabetical order from now on.
|
|
* b7d51fb8f1cdba73ff482a781011358ef37e7ae5
| Author: kyle
| Date: 2013-07-13 22:53:14 -0500
| Comment: Minor tweaks to most things. No functional changes to speak of. Added a gitignore file to disallow tracking of doc folder items.
|
|
* 5c8c32669816582a48db3fe8586b10bc7198c25c
| Author: kyle
| Date: 2013-07-12 00:10:26 -0500
| Comment: Added a check for license declaration in all files. Probably overkill but meh. It was a quick fix.
|
|
* 18f05eb99623d7f81325f79162ff9cd4081f907c
| Author: kyle
| Date: 2013-07-11 23:49:56 -0500
| Comment: Added core_Error and core_getopts to the sbt core.sh namespace. I'm going to need getopts immensely, and core is always required. So this will help. Wrote several tests to help with the core namespace.
|
|
* f5986c5e8e19c2c74e1d95c22a58498ba47ce0ef
| Author: kyle
| Date: 2013-07-10 05:21:29 -0500
| Comment: Finally got core_getopts largely finished. The actual test and loop structures bug me for some reason, but I think that's just the I-hate-nested-if-blocks person in me. Now that I've solidified the outcome, I might be able to step back and improve the code. That said, it's realllly fast in my testing. Still need to finish writing unit tests for it. These are getting big too... might need to write entire scripts, one for each function rather than for a whole namespace.
|
|
* 92bdb81c988d8e55a8d4ecbf8173137c57bbbf7c
| Author: kyle
| Date: 2013-07-08 21:41:21 -0500
| Comment: Wrote the majority of the core_getopts replacement function. Still needs fine details and then actual testing. Need to research any other built-in things which happen to help with backward compatibility. I'm also considering writing a reset of some sort so you can call getopts multiple times (e.g. function calls with getopts in them) without having to set a local OPTIND or whatever... not sure if this is a good idea or not. Might be best to always reset with a local OPTIND=1 declaration. When finished, need to write tests for it.
|
|
* 756c77b3b5adc190efd830b8c0859b7dc28fac92
| Author: kyle
| Date: 2013-07-08 15:13:55 -0500
| Comment: Docker now supports mulitple options on the same line of a case statement, for use with implied tags. Fixes #1.
|
|
* f97a4d6281b54cdec1480cbddcc2ed824d951826
| Author: kyle
| Date: 2013-07-07 22:04:05 -0500
| Comment: Added a basic README file, nothing close to verbose enough. Removed a superfluous log file.
|
|
* b4d47cff2e98b2e0184b67c9e4daedbba1fbde6b
| Author: kyle
| Date: 2013-07-07 20:35:28 -0500
| Comment: Renamed the namespaces folder to sbt, since that's where the core will live. Created a shell script to generate a changelog file from the git history. Update docker to reflect a few changes, mostly cosmetic. Updated the docker.sh test script to ensure it can successfully scan a complex function and generate the correct file. Also added the LICENSE and NOTICE files, though I'm pretty sure I'm using NOTICE file incorrectly.
|
|
* 056291d3acffac783cfa00ef7f4f6532ea13f2f0
|\ Author: kyle
| | Date: 2013-07-06 20:21:51 -0500
| | Comment: Merge branch 'master' of https://github.com/KyleJHarper/stupidbashtard
| |
| |
| * 975adb20d07e1a05ee19d71ba601fb6ddee6a5d2
| | Author: administrator
| | Date: 2013-07-06 20:01:27 -0500
| | Comment: Fixed the YAML format to be compliant. Woot. Final commit before pushing to remote repo (setup a github account finally).
| |
| |
* | 00f169efe9390cb28b1a09e83ffbd371444e0879
| | Author: kyle
| | Date: 2013-07-06 20:21:05 -0500
| | Comment: Stupid change to see if remote pushing works as expected.
| |
| |
* | c516d0e5f739267d7896234b305a5ac72d50e5de
|/ Author: kyle
| Date: 2013-07-06 20:15:47 -0500
| Comment: Fixed the YAML format to be compliant. Woot. Final commit before pushing to remote repo (setup a github account finally).
|
|
* 9e613eca9fb86c1af322510447f73ffa33a03863
| Author: administrator
| Date: 2013-07-06 01:13:01 -0500
| Comment: YAML lists are wrong. Need to fix them.
|
|
* 93e34e0f91a34c1a779ae9bd3de0e11a1b7b036f
| Author: administrator
| Date: 2013-07-06 00:19:43 -0500
| Comment: Finished the alpha version of docker, woohoo. Time to do extensive testing. Yay... ugh.
|
|
* aae9ad16a00daf60bbe949198c398cfb8dc0557b
| Author: administrator
| Date: 2013-07-05 01:26:01 -0500
| Comment: Got tags all fixed nice and pretty. Options are now captured in a simplistic property with only 1 attribute: has_arg. Might want to redo this one like the variables property if more than 1 property attribute is required, but for now it works. Need to finish the add_variable function. It should be quite simple if my anonymous array stuff works right.
|
|
* 7a6bc339662a24e12a0f3dc33ad502dd11482efd
| Author: administrator
| Date: 2013-07-04 00:33:25 -0500
| Comment: Got the tag adding logic done. Finished the file writing logic too. Need to write two new functions to rip out variable and getopts information. Also have a list of bugs that need to be worked out. After that, I need to extensively test docker and build new functions in doc_example.sh to regression test docker.
|
|
* e84f7febe0f6d2416176b1a4396347b661eb7427
| Author: administrator
| Date: 2013-07-02 22:34:54 -0500
| Comment: Fixed some of the regex, but most of it still needs fixed. Got derailed trying to find out why my getters and setters weren't working. Had to fix them in Function.pm. I now need to modify the save function to save each tag set line by line to prepend the spacing, otherwise the yaml will fold back and get confused.
|
|
* a9e567fa59684af101d0be07ddb47a644299df91
| Author: administrator
| Date: 2013-07-01 22:09:40 -0500
| Comment: Finished the save functions. Tweaking regex patterns in it to be more useful. Currently working on getting the variable tags to infer properly. Regex pattern in bla.pl works but isn't working in my if statement for some reason. I think my understanding of the if construct is wrong. I should proabably disuse the parenthesis if its just a pattern match. After the regex patterns are fixed, I need to find a way to distinguish between local and global variable to mark thread safety (or quit this feature). Also need to find out why the actual text of the tags isn't going into the yaml file. Then confirm my yaml format is valid.
|
|
* de450dbb923c2ff98dd8acff372bea965d02c7c1
| Author: administrator
| Date: 2013-06-24 21:26:36 -0500
| Comment: Finished the adjustments to the add_tag function. Docker will now store basic, variable, exit, option, and argument tags. Probably time to start testing.
|
|
* 26432cdcbdbd6ee6166753ad2ac44898fd5d4de5
| Author: administrator
| Date: 2013-06-23 23:16:06 -0500
| Comment: Switched more function logic into the actual object. Still not going extreme OO as it's largely uncessecary and I don't quite care at the moment. Finished up more of the flush to disk logic, should be YAML format now. Still need to change the add_tag function to find and place items into the correct tag hashes.
|
|
* 4160d9cb9a353db2bd62631a767c4e01318eb4ef
| Author: administrator
| Date: 2013-06-22 23:54:12 -0500
| Comment: Tried to break out the tags into basic, variable, exit, and option. Modified the Function module to support it. Wrote the basics of the save function to write this all to file. Should consider either committing to OO or going strictly procedural. Mostly for consistency.
|
|
* e93d6dd7f7649d7fe1fe019911c14b355f0bfd4e
| Author: administrator
| Date: 2013-06-13 23:04:29 -0500
| Comment: Finished more of the save logic. Need to get default tags finished. Then I need to break out the tags into 3 or 4 major categories instead of making the consumer systems decihper it later.
|
|
* ceb948b13eacc1574b25d4e7635b1a2be9123f52
| Author: administrator
| Date: 2013-06-10 22:08:09 -0500
| Comment: Added logic to save function. Still need to debate on how much to save and where to save it. Right now I have a name and tags... that's about it.
|
|
* 8c838f70aec3a8d55a8a79dfc09fd3621e4ead9e
| Author: administrator
| Date: 2013-06-09 19:18:14 -0500
| Comment: Wrote the logic to check for inferred opt tags. Need to finish the save function and start testing this stuff.
|
|
* 4c62a2e22e8b613495f3027e1b6b17010f84b75a
| Author: administrator
| Date: 2013-06-05 21:12:20 -0500
| Comment: Started adding logic to process the getopts and core_getopts_Long stuff. Very rough, needs core logic finished and then some polishing and eventually unit/regression testing.
|
|
* 5f2307cd8492d6f365e9937336bf30a684a60eb8
| Author: administrator
| Date: 2013-05-20 23:29:52 -0500
| Comment: Fixed an invalidly scoped variable. Moved exit codes to order 8, not sure this was necessary but whatever, it groups them nicely. Also fixed a syntax error in docker.pl wherein my tag name was being interpreted inside a string.
|
|
* 1aa4df4b89cbb10ae6c843f07677f9a8a34eae06
| Author: administrator
| Date: 2013-05-19 22:22:40 -0500
| Comment: Forgot to git rm the renamed file. Not sure why git didn't understand it was the same file... oh wewell.
|
|
* 45e9df8517e5f055f6aaa38cf8cf29d510a39725
| Author: administrator
| Date: 2013-05-19 22:22:04 -0500
| Comment: Finished the add_tag function. Still needs testing but it should work. Renamed test script to match the name of the item it's testing (removed the test_ prefix, it was excessive).
|
|
* e5e7fc2ee5d65828daa3434cd0cc7798284efbd7
| Author: administrator
| Date: 2013-05-05 22:41:21 -0500
| Comment: More progress on docker. Added a tags property. Added a test pakage.
|
|
* d5c8c14032db4363d70e953e0c5ab1a3f4e71994
| Author: administrator
| Date: 2013-05-04 00:49:39 -0500
| Comment: More progress on crawling the start of a function and brace tracking to know when we're leaving one.
|
|
* 9de82fb2ea65ceb582f58366a2057a2a6977783a
| Author: administrator
| Date: 2013-05-02 22:09:33 -0500
| Comment: A little work.
|
|
* f1f6245578f9d0494c6465ec0db031db18293c0c
| Author: administrator
| Date: 2013-05-02 01:40:56 -0500
| Comment: Started main crawling logic of docker. Also created a custom package so I can program in OO style for each function.
|
|
* fcac7384e817bd535d9bea9bc69391f61cf44cf4
| Author: administrator
| Date: 2013-04-30 22:46:28 -0500
| Comment: Removed placeholder and modified test script to have bin dir set.
|
|
* 4a18e740166d6ecf8142c983cf95a6f3aec56ba6
| Author: administrator
| Date: 2013-04-30 22:39:29 -0500
| Comment: Renamed test.sh to test_docker.sh. Not sure this naming convention is ideal, but whatever.
|
|
* 3c2149a4872d77d458092bae2a49686d8d931ee1
| Author: administrator
| Date: 2013-04-30 22:38:16 -0500
| Comment: Moved test.sh to test folder.
|
|
* 44eab1616f7720dbe371c082f1a12cf8496ad6d7
| Author: administrator
| Date: 2013-04-29 22:53:44 -0500
| Comment: Created unit tests for the purpose of regression testing docker. This should be moved out of bin and into the tests folder.
|
|
* a43adb173cde6c818ffc3fcb0cc4ffb2cc45c6c2
| Author: administrator
| Date: 2013-04-29 22:36:23 -0500
| Comment: Added a function to spit out some lines if we're testing. I also started a unit script test to help me develop faster.
|
|
* 49457d7958311fe1a798862962947d4439be93eb
| Author: administrator
| Date: 2013-04-29 21:54:07 -0500
| Comment: Added placeholders to grab folders.
|
|
* a3dd8b8838d396c0649432f04f9b9b735cd62a1d
| Author: administrator
| Date: 2013-04-28 18:54:29 -0500
| Comment: Add a testing file for perl (bla.pl). Added some switches to handle the usage. Added functions to print out intelligently based on switches (verbose and quiet, as well as error). Made the fatal routine always exit (was named print_err); always goes to STDERR. Created the routine (load_files) to read arguments first, then if empty read all .sh files from LIB_DIR.
|
|
* 598f10be442bad00a03cc5e2c7e49b46e48f2e4e
| Author: administrator
| Date: 2013-04-28 01:04:33 -0500
| Comment: Added getopts for quiet and verbose stuff.
|
|
* 87f0517987aa2967e207c04790fe145653a3a759
| Author: administrator
| Date: 2013-04-27 00:14:46 -0500
| Comment: Started getting basics in place for docker. Usage, printing, etc. Still need to test the print_so function's respect for if QUIET logic.
|
|
* 1fb36df4629cc16c762ba8bacb7480077fda4dfb
| Author: administrator
| Date: 2013-04-26 23:42:00 -0500
| Comment: Created bin and lib directories to organize things better.
|
|
* dee8055f460dfe1ecf0e5cb230cf101d6112567f
| Author: administrator
| Date: 2013-04-26 23:31:39 -0500
| Comment: Updated some documents examples, including the ability to use core_ToolExists. Created the first version of Docker as docker.pl (yes, perl).
|
|
* 10197d1c4febbb97ab411ba29fe7c5e355c8ae0c
| Author: administrator
| Date: 2013-04-10 22:35:52 -0500
| Comment: Added a lot of changes to doc_example. Got rid of the concept of reference and out params. Too unreliable IMO.
|
|
* dd9874f0f82e48df79b172e3dc6794fb491ed6de
| Author: administrator
| Date: 2013-03-31 23:06:59 -0500
| Comment: Added several examples and updated some of the description text.
|
|
* ffc615457911f6fb630af81c213630459a605d50
| Author: administrator
| Date: 2013-03-31 00:45:05 -0500
| Comment: Added some example functions. Need to do a lot more.
|
|
* e1c2d4134b1d647ad76a6f536781f4bb598e23da
| Author: administrator
| Date: 2013-03-30 23:30:59 -0500
| Comment: Renamed template.sh to doc_examples.sh to match its namespace. Added a lot of info to the doc.
|
|
* 476468dd99e24a3fa7c2078bc8167eb878f2c14f
| Author: administrator
| Date: 2013-03-16 23:43:12 -0500
| Comment: Made almost no changes; still thinking through how to pass variables and whatnot. I'd like to be able to specify byref and byval but I'm not sure that sort of thing is a wise decision. It has implications to thread safety.
|
|
* 7852cd8ef0444cd56b5abc13cc9a8e4031efd944
| Author: administrator
| Date: 2013-03-04 22:37:16 -0600
| Comment: Created some basic outlines for the template.sh file. This will describe how to build future functions and whatnot so the automated documentation thingy I write later will work correctly... I hope.
|
|
* 88c557fe5875794b8ab67cc67bc8838a6c371b6b
Author: administrator
Date: 2013-03-04 20:52:42 -0600
Comment: Initial commit, for kicks.