Commit Graph

  • 18936ed68a
    Merge 3e70154db8 into 187298f216 Leonardo Guilherme de Freitas 2020-05-02 04:03:39 +0000
  • 3e70154db8 Supports PREFIX variable on make install Leonardo 2020-05-02 00:56:21 -0300
  • 187298f216 Change format switch from 'linux' to 'unix' to match the readme master Chris Bednarski 2020-03-22 18:07:39 -0700
  • 4f4dd46d6f Merge branch 'master' of https://github.com/cbednarski/hostess Chris Bednarski 2020-03-22 17:47:21 -0700
  • dfe047857d Fix panic when hostess is called with no arguments Chris Bednarski 2020-03-22 17:47:14 -0700
  • f0fc63817f Added changes to the changelog Chris Bednarski 2020-03-13 02:02:58 -0700
  • 71f910ca52 Added changes to the changelog v0.5.2 Chris Bednarski 2020-03-13 02:02:58 -0700
  • b5e6f45648 Added windows-specific expected test output for ExitCodeFmt test Chris Bednarski 2020-03-13 01:56:20 -0700
  • fdfc2f9001 Update references to parsed CLI args to use zero-index because command is no longer in that slice Chris Bednarski 2020-03-13 01:42:53 -0700
  • 168ef0ce47 Update to fmt -n (preview) behavior Chris Bednarski 2020-03-13 01:31:24 -0700
  • e56fc7aec0 Updated changelog v0.5.1 Chris Bednarski 2020-03-10 10:24:16 -0700
  • e899791fce Don't fail when a duplicate is encountered (fixes #39) Chris Bednarski 2020-03-10 10:22:15 -0700
  • 0e15ef497a Added test for issue #39 Chris Bednarski 2020-03-10 10:21:03 -0700
  • ebbdf23b34 Ignore .DS_Store files Chris Bednarski 2020-03-10 10:20:47 -0700
  • 4fc0ac9077
    Merge pull request #38 from chenrui333/update-travis Chris Bednarski 2020-03-07 13:32:37 -0800
  • d60ff45bf8 Updated changelog for windows hosts format v0.5.0 Chris Bednarski 2020-03-07 13:23:12 -0800
  • a343a8e07f Fix missing windows test case, fmt Chris Bednarski 2020-03-07 13:15:37 -0800
  • aecfa8f689 Added windows-specific hostfile format, and tests Chris Bednarski 2020-03-07 13:06:43 -0800
  • c4e4f6d820 Removed -4 and -6 from CLI (these are still usable in the lib) Chris Bednarski 2020-03-07 12:04:31 -0800
  • 7fbd6215e8
    Minor update on travis config Rui Chen 2020-03-04 23:33:54 -0500
  • 138ef9dcd4 Added changelog for 0.4.1 Chris Bednarski 2020-02-28 19:17:06 -0800
  • 1e2456bc6a Added a note about sudo and Windows Admin prompt v0.4.1 Chris Bednarski 2020-02-28 19:14:14 -0800
  • df2d795268 Fix hostfile.Save() on Windows Chris Bednarski 2020-02-28 19:06:49 -0800
  • be9a630ae8 0.4.0 release notes v0.4.0 Chris Bednarski 2020-02-28 09:58:22 -0800
  • d3e97d1758 Fix argument parsing for CLI Add tests for main and commands Fix documentation for installation so the program works with sudo Chris Bednarski 2020-02-28 09:51:07 -0800
  • 127256655c Not doing 0.5.0 yet. Chris Bednarski 2020-02-26 23:23:08 -0800
  • ca1856f5fe Added changelog Chris Bednarski 2020-02-26 23:19:21 -0800
  • 9c247955f6 go fmt Chris Bednarski 2020-02-26 23:03:26 -0800
  • ba102742d4 Added contributor section Chris Bednarski 2020-02-26 22:17:35 -0800
  • 960732bbb4 Be nice to Travis and just use a pre-baked version Chris Bednarski 2020-02-26 21:44:50 -0800
  • dd746035f7 Add appveyor config, changelog, README TLC, and update TravisCI Go to 1.14 Chris Bednarski 2020-02-26 21:34:47 -0800
  • 18546969ce Added package comment Chris Bednarski 2020-02-26 21:12:23 -0800
  • c53f06fdc8 Moved commands from commands package to root Chris Bednarski 2020-02-26 21:12:04 -0800
  • 000eb28419 Clean up makefile Chris Bednarski 2020-02-26 20:21:55 -0800
  • 2b25df69d5 Remove trailing space Chris Bednarski 2020-02-26 20:21:42 -0800
  • b9940cf499 Cleaned up gitignore because we're not using all that stuff anymore Chris Bednarski 2020-02-26 20:15:54 -0800
  • 26a3d25daf Add the library back. oops. Chris Bednarski 2020-02-26 20:14:07 -0800
  • ddad9598d6 Added release target to Makefile Chris Bednarski 2020-02-26 19:23:15 -0800
  • aeb56f8a79 Ignore bin folder Chris Bednarski 2020-02-26 19:07:31 -0800
  • 7ca1771c71 More work on refactoring Chris Bednarski 2020-02-26 14:30:08 -0800
  • 66670942dd Started major refactor for 0.5.0 Chris Bednarski 2020-02-26 11:33:38 -0800
  • 320926742c
    Merge 8bc3c83b09 into 4c91c57875 Taylon 2019-07-24 07:50:42 +0000
  • 4c91c57875 Update to canonical golint import path, closes #35 Thanks Mateusz Kubuszok! Chris Bednarski 2019-04-22 09:00:03 -0700
  • 754b5dc008 Support saving hosts file on windows with admin rights Cedric Kring 2018-11-07 17:51:56 +0100
  • 017b8f33a4
    Merge pull request #32 from alswl/master Chris Bednarski 2018-08-29 21:06:55 -0700
  • 6426b1e7c6
    fix: spelling alswl 2018-08-30 10:55:41 +0800
  • f534677c31 Changed Save() to use an atomic update strategy atomic-update Chris Bednarski 2018-07-09 14:13:04 -0700
  • 4f98a9f9bd Bump version to 0.3.0 v0.3.0 Chris Bednarski 2018-02-18 22:56:49 -0800
  • 1e3afd46c3 Fix example test error Chris Bednarski 2018-02-18 22:54:43 -0800
  • ce94a81831 Update travis to run go 1.9.2 Chris Bednarski 2017-11-21 21:22:52 -0800
  • 75cfaa6e93 Remove email notifications from travis [skip ci] Chris Bednarski 2016-12-03 16:20:00 -0800
  • 0a51cb2a63 Only build current release + master Chris Bednarski 2016-12-03 16:17:43 -0800
  • df6e535d57 Fix use of %s instead of %+v, from go 1.8 vet Chris Bednarski 2016-12-02 17:02:09 -0800
  • 8c778ab2a7 Updated test matrix Chris Bednarski 2016-12-01 09:54:01 -0800
  • 831904824c Change parsing to return errors instead of silently truncating the hosts file; fixes #23 Chris Bednarski 2016-11-25 10:47:05 -0800
  • 2f683d7e25 Merge pull request #26 from cbednarski/f-hostess-fixed Chris Bednarski 2016-10-26 16:07:34 -0700
  • c8aa1a891b Added fixed command to get exit status 0/1 if hosts file is already formatted Chris Bednarski 2016-10-26 14:06:30 -0700
  • 9ab36e01a3 Check command Bool or GlobalBool, not just Global. Fixes #21' Chris Bednarski 2016-09-23 00:12:25 -0700
  • 2f077986f0 Change c.Bool to c.GlobalBool so we can detect flags when positioned between hostess and the subcommand Chris Bednarski 2016-09-23 00:05:31 -0700
  • 866bab4c05 Bump version in CLI output to match the current tag Chris Bednarski 2016-09-22 23:47:50 -0700
  • 4c7ae85191 Merge pull request #19 from ultimateboy/patch-1 Chris Bednarski 2016-08-16 13:55:13 -0700
  • f1e8e7e16a Add a link to the godocs to the readme Matt Tucker 2016-08-16 10:25:42 -0600
  • cda520eb5f Moved codegangsta/cli under the proper path v0.2.1 Chris Bednarski 2016-05-17 10:00:43 -0700
  • 8bc3c83b09 Add Fish Shell completions Taylon Silmer 2016-05-15 12:56:52 -0300
  • 007ab721c3 Add support to on/off arguments in the list command Taylon Silmer 2016-05-15 11:17:37 -0300
  • 4ac0eeb896 Vendor codegangsta/cli 8cbee4b7192cea690c9f048e742e6b4c3525fd9e v0.2.0 Chris Bednarski 2016-05-09 23:45:07 -0700
  • d6b6a00e80 Merge pull request #16 from md5/alternate-install-paths Chris Bednarski 2016-05-09 09:23:46 -0700
  • 8efb2433aa Support alternate install prefix Mike Dillon 2016-05-09 08:58:49 -0700
  • 2e460bbc6d Updated go version to 1.6 Chris Bednarski 2016-04-16 01:08:39 -0700
  • 35413097c7 Add test hosts file and basic test for Ls command; fix ls panic Chris Bednarski 2016-04-16 01:00:58 -0700
  • 5950705e9d Merge pull request #13 from lucascaro/missing_deps Chris Bednarski 2016-02-20 20:39:10 -0800
  • 8490279064 Add cover dependency lucascaro 2016-02-20 19:55:41 -0800
  • b92779e0ef Merge branch 'master' of https://github.com/cbednarski/hostess Chris Bednarski 2015-08-07 18:01:10 -0700
  • f23141ea9e Added dockerfile Chris Bednarski 2015-07-09 23:59:38 -0600
  • e2417ddae0 Add coveralls badge Chris Bednarski 2015-06-11 13:36:00 -0700
  • 51a14d761c Add go tip to travis Chris Bednarski 2015-06-06 00:42:34 -0700
  • 96ff2753a7 Apparently trying to update myself also make travis blow up Chris Bednarski 2015-06-06 00:39:30 -0700
  • 482b114db4 Go get with lots of dots makes travis blow up Chris Bednarski 2015-06-06 00:37:59 -0700
  • 2d8829c997 Added note about supported builds Chris Bednarski 2015-06-06 00:36:00 -0700
  • 09ada4cfb2 Added some extra trims to remove whitespace mid-line v0.1.0 Chris Bednarski 2015-06-05 23:44:49 -0700
  • 5df9c0f798 Fixed some bugs with the default windows hosts file Chris Bednarski 2015-06-05 23:43:28 -0700
  • ef672fb8dc Updated hosts path test for windows Chris Bednarski 2015-06-05 23:26:32 -0700
  • 17b38806dc Merge branch 'master' of https://github.com/cbednarski/hostess Chris Bednarski 2015-06-05 23:22:08 -0700
  • e147e6e466 Added new builds to support windows and raspberrypi Chris Bednarski 2015-06-05 23:21:57 -0700
  • ecbb890213 Merge branch 'master' of https://github.com/cbednarski/hostess Chris Bednarski 2015-06-05 23:19:08 -0700
  • 38416be92d Ignore hostess.exe for windows builds Ignore test case for windows since windows hosts file is empty by default Chris Bednarski 2015-06-05 23:18:12 -0700
  • c2ccb716b1 Added default path for windows Chris Bednarski 2015-06-05 23:17:14 -0700
  • 4203437444 Added some dots to the makefile so everything runs with vet and test and such Chris Bednarski 2015-06-05 22:36:55 -0700
  • b9a25f7aaf Updated the readme Chris Bednarski 2015-05-25 20:03:35 -0700
  • cb473d396d Tweak some help text and variable names Chris Bednarski 2015-05-25 17:37:10 -0700
  • 429fd977dc Added go get for testify -- not sure why this is needed Chris Bednarski 2015-05-25 17:06:47 -0700
  • 182feec8c1 Change some tests to use testify/assert Chris Bednarski 2015-05-25 17:02:05 -0700
  • 74f1e08361 Renamed some variables so the intent is clearer Chris Bednarski 2015-05-25 17:01:36 -0700
  • 62e9ec8f9a Changed 'data' to 'jsonbytes' Chris Bednarski 2015-05-25 14:03:48 -0700
  • 8eb33b712c Added dump and apply commands to provide JSON I/O Chris Bednarski 2015-05-25 10:22:23 -0700
  • 46ea48f8e1 This functionality has been superseded by the fix command Chris Bednarski 2015-05-24 18:56:32 -0700
  • ec478bd0f0 Fix some docs Chris Bednarski 2015-03-29 02:21:30 -0700
  • 400e163b66 Implement -n inside MaybeSaveHostFile Chris Bednarski 2015-03-29 01:54:08 -0700
  • ba0968a19d 0/1 failure cases are clever, but inconsistent, so let's not do that. Chris Bednarski 2015-03-29 01:49:01 -0700
  • 1b4067c3e9 Clarified aliases Chris Bednarski 2015-03-29 01:38:33 -0700