gpm v1.3.0 Release Notes

Release Date: 2014-09-19 // over 9 years ago
  • 🚀 Releasing new gpm stuff has become one of my favourite friday activities! Without further ado here are the changes introduced in this release:

    Resolve install path based on :host/:user/:pkg - by @elcuervo .

    📦 This makes it possible to have subpackages like github.com/garyburd/redigo/redis in your Godeps file.

    Allow deps to be read from a file descriptor instead of a file - by @elcuervo

    This one-character change allows you to install a versioned dependency through gpm without a Godeps file through the magic of Unix. Here's how to use it:

    $ gpm install \<(echo 'github.com/pote/gpm-testing-package v6.1')
    

    Explicit error messages on unknown commands

    🔌 Unknown commands - that are not delegated to a gpm plugin - caused gpm to print the usage info and exit with a status code of 1, we thought adding a more explicit error would be nice.

    🔨 Refactor #set_dependencies function

    🔨 There have been a number of bugs we've had to tackle because of our choice to install packages and set their versions in parallel, this refactor tidies up the code in gpm's main function to separate package install and version locking so as to not be in each other's way - while still happening in parallel.

    Extensible Godeps format convention

    👀 I've documented a convention that helps adding arbitrary data in any format to the Godeps file, this convention provides a nice way to add config data to any gpm plugin that cares to leverage it, I'm exited to see this put to good use. :)


    🚀 That's all for this release! I'll mark it as a pre-release because of the set_dependencies method refactor - I want to ensure that this won't have unexpected side effects on users so I'll wait for a few days before releasing this to homebrew, in the meantime you can install gpm manually if you want to take it for a spin!

    take it for a spin