Skip to content
Permalink
Branch: master
Commits on Sep 12, 2019
Commits on Sep 10, 2019
  1. Update to lts-14.5 resolver

    mdippery committed Sep 10, 2019
  2. Improve style

    mdippery committed Sep 10, 2019
Commits on Aug 28, 2019
  1. Create README file

    mdippery committed Aug 28, 2019
    Closes #1.
  2. Bump version number

    mdippery committed Aug 28, 2019
  3. Write Description metadata

    mdippery committed Aug 28, 2019
  4. Build Linux binary from public source

    mdippery committed Aug 28, 2019
    Instead of using a local copy of the source code, the Linux binary is
    now built from a tagged version in the public repo. This also uses a
    multi-stage build in order to make the resulting Docker image
    significantly smaller.
Commits on Aug 27, 2019
  1. Build Linux binary using Docker

    mdippery committed Aug 27, 2019
    I develop using a Mac, so I can build a Mac binary locally, but I need
    to be able to build a Linux binary, too. I can use Docker to build a
    Linux binary that should work on most Linux systems.
    
    (I am using Ubuntu instead of Alpine because Alpine uses a libc that is
    different from most Linux distros, so a binary built on Alpine probably
    won't run on other Linux distros.)
  2. Rename `readBlock` to `read`

    mdippery committed Aug 27, 2019
Commits on Aug 26, 2019
  1. Remove implementation of Enum NetworkMask

    mdippery committed Aug 26, 2019
    It doesn't really make sense to enumerate through network masks.
  2. Test Bounded NetworkMask

    mdippery committed Aug 26, 2019
  3. Test `usableSize`

    mdippery committed Aug 26, 2019
  4. Test Bits IPAddress

    mdippery committed Aug 26, 2019
  5. Fix implementation of `bit`

    mdippery committed Aug 26, 2019
  6. Fix bug in `shift` definition for IPAddress

    mdippery committed Aug 26, 2019
    Because of the lack of parentheses, `shift` as being called in an
    endless loop.
  7. Split test into two tests

    mdippery committed Aug 26, 2019
    I prefer to have only one assert per test.
  8. Rename UnsignedInteger to Packable

    mdippery committed Aug 26, 2019
    ...and organize it under a Data.Integer.Unsigned module. I think this
    expresses its intent and usage better.
Commits on Aug 25, 2019
  1. Encapsulate success parsing for Read into a function

    mdippery committed Aug 25, 2019
    This makes the code a bit easier to read.
  2. Livin' that point-free life

    mdippery committed Aug 25, 2019
Commits on Aug 24, 2019
  1. Delete extra spaces

    mdippery committed Aug 24, 2019
Commits on Aug 23, 2019
  1. Refactor network representation

    mdippery committed Aug 23, 2019
    Originally cider was extracted from some code I wrote to solve a
    programming interview question we have at work, so it was uniquely
    tailored to that specific problem. Then I created the `cider` tool, and
    it became more generally useful. However, the library API was still a
    bit of a mess, and some operations, such as concatenating two CIDR
    blocks, didn't really make sense in a general setting.
    
    Thus the Data.IP.IPv4 module has been completely refactored to better
    and more clearly represent networks, and expose the properties and
    operations that are generally useful in networks. It will allow me to
    rework the `cider` tool itself to present more of the information
    described by the tools in [1].
    
      [1] https://www.cyberciti.biz/faq/linux-subnet-calculator-cidr/
Commits on Aug 22, 2019
  1. Calculate broadcast address for an IP address block

    mdippery committed Aug 22, 2019
    Thanks to [1] for help in calculating this, and [2] for providing
    examples.
    
      [1] https://en.wikipedia.org/wiki/Broadcast_address
      [2] https://www.cyberciti.biz/faq/linux-subnet-calculator-cidr/
  2. Create Show and Eq instances for NetworkMask

    mdippery committed Aug 22, 2019
    Eventually I want to print the mask in the form of an IP address in the
    CLI.
Older
You can’t perform that action at this time.