PackageTrack
Sign in Get early access

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 2020
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. v0.5.3-0.20200323010739-187298f216f2 23 Mar 2020 pre-release

    Nothing published for this version

  2. v0.5.2 13 Mar 2020
    Release notes

    Bug Fixes

    • hostess fmt -n works properly again, and has more specific behavior:
    • hostess fmt will replace duplicates without asking for help
    • hostess fmt -n will not replace duplicates, and will exit with error if any are found (#41)
    • hostess fmt with and without -n will exit with error if conflicting hostnames are found because hostess cannot fix the conflicts
    Open source →
    Release notes

    Bug Fixes

    • hostess fmt -n works properly again, and has more specific behavior:
    • hostess fmt will replace duplicates without asking for help
    • hostess fmt -n will not replace duplicates, and will exit with error if any are found (#41)
    • hostess fmt with and without -n will exit with error if conflicting hostnames are found because hostess cannot fix the conflicts
    Open source →
    Release notes

    v0.5.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  3. v0.5.1 10 Mar 2020
    Release notes

    Bug Fixes

    • Format will no longer exit with an error when encountering a duplicate entry
    Open source →
    Release notes

    Bug Fixes

    • Format will no longer exit with an error when encountering a duplicate entry (#39)
    Open source →
    Release notes

    v0.5.1

    Compare

    Choose a tag to compare

    Open source →
  4. v0.5.0 07 Mar 2020
    Release notes

    Breaking Changes

    • Windows now has a platform-specific hosts format with one IP and hostname per line
    Open source →
    Release notes

    Breaking changes

    • Windows now has a platform-specific hosts format with one IP and hostname per line
    Open source →
    Release notes

    v0.5.0

    Compare

    Choose a tag to compare

    Open source →
  5. v0.4.1 29 Feb 2020
    Release notes

    Bug Fixes

    • Fix hostfiles not saving on Windows #27
    Open source →
    Release notes

    Bug Fixes

    • Fix hostfiles not saving on Windows #27
    Open source →
    Release notes

    v0.4.1

    Compare

    Choose a tag to compare

    Open source →
  6. v0.4.0 28 Feb 2020
    Release notes

    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 get should 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.Enable and Hostlist.Disable now return an error instead of bool. Check against ErrHostnameNotFound.
    • Several functions will now return ErrInvalidVersionArg instead of panicking in that case

    Improvements

    • Removed codegangsta/cli
    • Removed aff command
    • Removed del command (use rm instead)
    • Removed list command (use ls instead)
    • Removed fixed command (just run fmt)
    • Command fix renamed to fmt
    • Removed -s and -q flags. Errors are now shown always. Redirect stderr if you don't want to see them.
    • Removed -f from various commands. Use fmt instead.
    • Added Go mod support
    • Added AppVeyor for Windows builds
    • Overhauled the Makefile for easier builds
    Open source →
    Release notes

    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 get should 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.Enable and Hostlist.Disable now return an error instead of bool. Check against ErrHostnameNotFound.
    • Several functions will now return ErrInvalidVersionArg instead of panicking in that case

    Improvements

    • Removed codegangsta/cli
    • Removed aff command
    • Removed del command (use rm instead)
    • Removed list command (use ls instead)
    • Removed fixed command (just run fmt)
    • Command fix renamed to fmt
    • Removed -s and -q flags. Errors are now shown always. Redirect stderr if you don't want to see them.
    • Removed -f from various commands. Use fmt instead.
    • Added Go mod support
    • Added AppVeyor for Windows builds
    • Overhauled the Makefile for easier builds
    Open source →
    Release notes

    v0.4.0

    Compare

    Choose a tag to compare

    Open source →
  7. v0.3.1-0.20190422160003-4c91c5787547 22 Apr 2019 pre-release

    Nothing published for this version

  8. v0.3.0 19 Feb 2018
    Release notes

    Features

    • Added fixed subcommand 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
    Open source →
    Release notes

    Improvements

    • Added fixed subcommand 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
    Open source →
    Release notes

    v0.3.0

    Compare

    Choose a tag to compare

    Open source →
  9. v0.2.1 17 May 2016
    Release notes

    Bug Fixes

    • Fix vendor path for codegangsta/cli
    Open source →
  10. v0.2.0 10 May 2016
    Release notes

    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!

    Open source →
    Release notes

    Improvements

    • Vendor codegangsta/cli for more reliable builds

    Bug Fixes

    • Fix panic in hostess ls #14
    • Fix incompatible API in CLI library #15
    Open source →
    Release notes

    v0.2.0

    Compare

    Choose a tag to compare

    Open source →
  11. v0.1.0 06 Jun 2015
    Release notes

    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
    
    Open source →
    Release notes

    Initial release

    Open source →
    Release notes

    v0.1.0

    Compare

    Choose a tag to compare

    Open source →
  12. v0.0.0-20200323010739-187298f216f2 23 Mar 2020 pre-release

    Nothing published for this version

  13. v0.0.0-20190422160003-4c91c5787547 22 Apr 2019 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive