Seth is right, metadata is treated like a :path location

Jamie Winsor
@resetexistence

On Mar 14, 2013, at 3:22 PM, Seth Vargo <notifications@github.com> wrote:

> In lib/berkshelf/berksfile.rb:
> 
> > @@ -347,6 +335,33 @@ def [](name)
> >      end
> >      alias_method :get_source, :[]
> >  
> > +    # Install the sources listed in the Berksfile, respecting the locked
> > +    # versions in the Berksfile.lock.
> > +    #
> > +    # 1. Check that a lockfile exists. If a lockfile does not exist, all
> > +    #    sources are considered to be "unlocked". If a lockfile is specified, a
> > +    #    definition is created via the following algorithm:
> > +    #
> > +    #    - Compare the SHA of the current Berksfile with the last-known SHA.
> I'm pretty sure :metadata is treated like a :path location, so storing the sha would be unnecessary - you always get the latest version. There is no "locking".
> 
> —
> Reply to this email directly or view it on GitHub.