Chris Bednarski
|
896bc7deb0
|
Moved TrimWS to where it's used
|
2015-02-24 02:32:09 -08:00 |
|
Chris Bednarski
|
8632ff2f9a
|
Moved other hostname test to hostname_test
|
2015-02-24 02:17:01 -08:00 |
|
Chris Bednarski
|
5d8bcfff3a
|
Separated some tests from the hostfile_test file
|
2015-02-24 02:15:23 -08:00 |
|
Chris Bednarski
|
b78c4b29ce
|
Changed test to be in hostess_test package and updated tests to use public interface
|
2015-02-24 01:54:33 -08:00 |
|
Chris Bednarski
|
e036b319cb
|
Added make clean
|
2015-02-24 01:47:35 -08:00 |
|
Chris Bednarski
|
3863a6ed21
|
Renamed hostess_test to hostfile_test so we can separate some of the tests
|
2015-02-24 01:47:28 -08:00 |
|
Chris Bednarski
|
fcbebef177
|
Fixed gox builds
|
2015-02-24 01:43:33 -08:00 |
|
Chris Bednarski
|
c3b108ea9e
|
Moved contents of lib back to the root
|
2015-02-24 01:00:01 -08:00 |
|
Chris Bednarski
|
31fcc2ebb1
|
Fix ignore file
|
2015-02-24 00:58:01 -08:00 |
|
Chris Bednarski
|
44c76a91fd
|
Moved main to cmd/hostess
|
2015-02-24 00:57:54 -08:00 |
|
Chris Bednarski
|
d4c77d1a4b
|
Separated hostname, hostfile, and hostlist
|
2015-02-24 00:55:24 -08:00 |
|
Chris Bednarski
|
f10f823044
|
Whitespace
|
2015-02-23 23:51:18 -08:00 |
|
Chris Bednarski
|
74812b4a49
|
Added coverage to deps
|
2015-02-23 23:49:55 -08:00 |
|
Chris Bednarski
|
598bfb7ecb
|
Added gox build
|
2015-02-14 14:52:12 -08:00 |
|
Chris Bednarski
|
64caf045bc
|
Rearranged the package so go install will install the binary instead of some random crap
|
2015-02-14 14:30:07 -08:00 |
|
Chris Bednarski
|
72c72f33fe
|
Update the makefile to look for the right file
|
2015-02-14 13:52:45 -08:00 |
|
Chris Bednarski
|
b7da93ea54
|
Renamed main to hostess so the binary matches the name of the app
|
2015-02-14 13:52:32 -08:00 |
|
Chris Bednarski
|
5e4ff2e6ec
|
Added deps to makefile
|
2015-02-14 12:05:20 -08:00 |
|
Chris Bednarski
|
39db28a677
|
Reformat some help stuff
|
2015-02-14 05:01:43 -08:00 |
|
Chris Bednarski
|
f8976dd0c2
|
Shuffled help text so it's in better order
|
2015-02-14 04:50:33 -08:00 |
|
Chris Bednarski
|
a7406bc7ac
|
Migrate usage / help to CLI framework
|
2015-02-14 04:48:53 -08:00 |
|
Chris Bednarski
|
847ed06b43
|
Cleanup old code
|
2015-02-14 04:39:51 -08:00 |
|
Chris Bednarski
|
0750805ceb
|
Added del and has and some helper functions
|
2015-02-14 04:33:11 -08:00 |
|
Chris Bednarski
|
62832cd57b
|
Implement ls command with alpha sorting and column alignment
|
2015-02-14 03:40:31 -08:00 |
|
Chris Bednarski
|
ac92906cfc
|
Write errors to stderr instead of stdout
|
2015-02-14 03:07:29 -08:00 |
|
Chris Bednarski
|
1e90d1336c
|
Implemented add and fix with some error handling (no saving yet)
|
2015-02-14 03:01:13 -08:00 |
|
Chris Bednarski
|
fba8a3d5a6
|
Changed phrasing for -q and -s
|
2015-02-14 00:56:06 -08:00 |
|
Chris Bednarski
|
4e6ae63efd
|
Added options to help
|
2015-02-14 00:52:37 -08:00 |
|
Chris Bednarski
|
288ea72582
|
Added help text
|
2015-02-14 00:44:26 -08:00 |
|
Chris Bednarski
|
d40732868a
|
Added command stubs
|
2015-02-14 00:21:20 -08:00 |
|
Chris Bednarski
|
bf622170cb
|
Added some more test coverage and expended the interface spec
|
2015-02-05 23:41:17 -08:00 |
|
Chris Bednarski
|
0637c167f4
|
Make runs test by default
|
2015-02-04 21:21:03 -08:00 |
|
Chris Bednarski
|
160f534fd0
|
Added travis ci
|
2015-02-04 21:18:29 -08:00 |
|
Chris Bednarski
|
15fe9d2f9b
|
Added some commands in the readme
|
2015-02-04 10:10:05 -08:00 |
|
Chris Bednarski
|
b52b8571fd
|
Fix parsing blank lines
|
2015-02-04 09:57:46 -08:00 |
|
Chris Bednarski
|
546a3f9c37
|
Replace make len 0 with var declarations
|
2015-02-04 09:45:16 -08:00 |
|
Chris Bednarski
|
1c107c9c92
|
Remove comments
|
2015-02-04 09:40:26 -08:00 |
|
Chris Bednarski
|
e30fb0b80b
|
Recursively remove extra whitespace
|
2015-02-04 09:40:06 -08:00 |
|
Chris Bednarski
|
b194db21f8
|
Removed redundant Trim calls and added Parse impl.
|
2015-02-04 01:52:37 -08:00 |
|
Chris Bednarski
|
398e75a788
|
Clarified phrasing
|
2015-02-04 01:48:53 -08:00 |
|
Chris Bednarski
|
3a12716f8e
|
Trim before splitting so extra spaces are cleared out
|
2015-02-04 01:47:09 -08:00 |
|
Chris Bednarski
|
8a005b9e9f
|
added fuzzy matching for ipv4 and ipv6
|
2015-02-04 01:45:30 -08:00 |
|
Chris Bednarski
|
183432da2b
|
Moved parseLine after its dependent functions
|
2015-02-04 00:36:08 -08:00 |
|
Chris Bednarski
|
9423364cea
|
Added implementation for parseLine; missing LooksLikeIp
|
2015-02-04 00:35:29 -08:00 |
|
Chris Bednarski
|
06987f28c7
|
Added a todo for a test case
|
2015-02-04 00:17:13 -08:00 |
|
Chris Bednarski
|
197eff7a04
|
Added test cases for parseLine
|
2015-02-04 00:14:46 -08:00 |
|
Chris Bednarski
|
92d4245f14
|
Added some fancy words to the readme
|
2015-02-03 00:14:07 -08:00 |
|
Chris Bednarski
|
74d05983fb
|
Whitespace
|
2015-02-03 00:06:20 -08:00 |
|
Chris Bednarski
|
96ccb78f8f
|
TestFormatHostfile now passes consistently and is not subject to random map order bullshit
|
2015-02-03 00:02:28 -08:00 |
|
Chris Bednarski
|
d22909dcb0
|
Moved special localhost logic into a reusable funciton
|
2015-02-02 23:57:03 -08:00 |
|