github.com/cbednarski/hostess
v0.5.2
#1929 most downloaded on Go modules
cbednarski/hostess
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.8 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
13 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
13 releases · Jun 2015 to Mar 2020Releases
latest 13-
v0.5.3-0.20200323010739-187298f216f223 Mar 2020 pre-releaseNothing published for this version
-
v0.5.213 Mar 2020Release notes
Open source →Bug Fixes
hostess fmt -nworks properly again, and has more specific behavior:hostess fmtwill replace duplicates without asking for helphostess fmt -nwill not replace duplicates, and will exit with error if any are found (#41)hostess fmtwith and without-nwill exit with error if conflicting hostnames are found because hostess cannot fix the conflicts
Release notes
Open source →Bug Fixes
hostess fmt -nworks properly again, and has more specific behavior:hostess fmtwill replace duplicates without asking for helphostess fmt -nwill not replace duplicates, and will exit with error if any are found (#41)hostess fmtwith and without-nwill exit with error if conflicting hostnames are found because hostess cannot fix the conflicts
-
v0.5.110 Mar 2020Release notes
Open source →Bug Fixes
- Format will no longer exit with an error when encountering a duplicate entry
Release notes
Open source →Bug Fixes
- Format will no longer exit with an error when encountering a duplicate entry (#39)
-
v0.5.007 Mar 2020Release notes
Open source →Breaking Changes
- Windows now has a platform-specific hosts format with one IP and hostname per line
Release notes
Open source →Breaking changes
- Windows now has a platform-specific hosts format with one IP and hostname per line
-
v0.4.129 Feb 2020 -
v0.4.028 Feb 2020Release notes
Open source →0.4.0 is a major refactor of the frontend (CLI) focused on simplifying the UI
and code, supporting newer Go tooling (i.e. go mod), and removing external
dependencies.Breaking Changes
- Moved CLI to
github.com/cbednarski/hostess.go getshould now do what you probably wanted the first time. - Moved library to
github.com/cbednarski/hostess/hostess - Many command aliases and flags have been removed
Hostlist.EnableandHostlist.Disablenow return anerrorinstead ofbool. Check againstErrHostnameNotFound.- Several functions will now return
ErrInvalidVersionArginstead of panicking in that case
Improvements
- Removed
codegangsta/cli - Removed
affcommand - Removed
delcommand (userminstead) - Removed
listcommand (uselsinstead) - Removed
fixedcommand (just runfmt) - Command
fixrenamed tofmt - Removed
-sand-qflags. Errors are now shown always. Redirect stderr if you don't want to see them. - Removed
-ffrom various commands. Usefmtinstead. - Added Go mod support
- Added AppVeyor for Windows builds
- Overhauled the Makefile for easier builds
Release notes
Open source →0.4.0 is a major refactor of the frontend (CLI) focused on simplifying the UI and code, supporting newer Go tooling (i.e. go mod), and removing external dependencies.
Breaking Changes
- Moved CLI to
github.com/cbednarski/hostess.go getshould now do what you probably wanted the first time. - Moved library to
github.com/cbednarski/hostess/hostess - Many command aliases and flags have been removed
Hostlist.EnableandHostlist.Disablenow return anerrorinstead ofbool. Check againstErrHostnameNotFound.- Several functions will now return
ErrInvalidVersionArginstead of panicking in that case
Improvements
- Removed
codegangsta/cli - Removed
affcommand - Removed
delcommand (userminstead) - Removed
listcommand (uselsinstead) - Removed
fixedcommand (just runfmt) - Command
fixrenamed tofmt - Removed
-sand-qflags. Errors are now shown always. Redirect stderr if you don't want to see them. - Removed
-ffrom various commands. Usefmtinstead. - Added Go mod support
- Added AppVeyor for Windows builds
- Overhauled the Makefile for easier builds
- Moved CLI to
-
v0.3.1-0.20190422160003-4c91c578754722 Apr 2019 pre-releaseNothing published for this version
-
v0.3.019 Feb 2018Release notes
Open source →Features
- Added
fixedsubcommand which checks whether the hosts file is already formatted by hostess
Bug Fixes
- Show an error when there is a parsing failure instead of silently truncating the hosts file
- Global flags between
hostessand the subcommand are no longer ignored - Binary should now display the correct version of the software
Release notes
Open source →Improvements
- Added
fixedsubcommand which checks whether the hosts file is already formatted by hostess
Bug Fixes
- Show an error when there is a parsing failure instead of silently truncating the hosts file
- Global flags between hostess and the subcommand are no longer ignored
- Binary should now display the correct version of the software
- Added
-
v0.2.117 May 2016 -
v0.2.010 May 2016Release notes
Open source →This release fixes the following issues:
Also, codegangsta/cli is now vendored, so you can install this from source via:
go install github.com/cbednarski/hostess/...Or, grab a pre-compiled binary below!
Release notes
Open source →Improvements
- Vendor
codegangsta/clifor more reliable builds
Bug Fixes
- Fix panic in
hostess ls#14 - Fix incompatible API in CLI library #15
- Vendor
-
v0.1.006 Jun 2015Release notes
Open source →The initial release supports most of the planned functionality. The project has finally reached a point where it makes sense to release a binary.
Supported Platforms
- Tested on OSX, linux, and windows
- Builds for x86, x64, and ARM
Major Features
hostess add domain ip # Add or replace a hosts entry for this domain pointing to this IP hostess aff domain ip # Add or replace a hosts entry in an off state hostess del domain # (alias rm) Remove a domain from your hosts file hostess has domain # exit code 0 if the domain is in your hostfile, 1 otherwise hostess off domain # Disable a domain (but don't remove it completely), exit 1 if entry is missing hostess on domain # Re-enable a domain that was disabled, exit 1 if entry is missing hostess list # (alias ls) List domains, target ips, and on/off status hostess fix # Rewrite your hosts file; use -n to dry run hostess dump # Dump your hostfile as json hostess apply # Add entries from a json file Flags -n # Dry run. Show what will happen but don't do it; output to stdout -4 # Limit operation to ipv4 entries -6 # Limit operation to ipv6 entries -
v0.0.0-20200323010739-187298f216f223 Mar 2020 pre-releaseNothing published for this version
-
v0.0.0-20190422160003-4c91c578754722 Apr 2019 pre-releaseNothing published for this version