anchor.diff:      Package = ?VERSION(Rev),
       BucketId = get_new_bucket(BucketsDets),
       Bucket = {list_to_binary(BucketId), BucketId, [Package]},
  -    ?LOCK(Bucket),
       update_package_buckets(
           BucketsDets, 
           DepsDets, 
  
positive.code: %% {{{{2 Pipe functions
  
  unpack_rev(Rev, {BuildPath, Buckets, DepsDets}) ->
      Package = ?VERSION(Rev),
      error_logger:info_msg("unpacking revision ~p~n", [Package]),
      Deps = Rev#rev_def.dep_object,
      Res = case find_bucket(Buckets, Package, Deps) of
          [Bucket|_] ->
              error_logger:info_msg("found a bucket for ~p: ~p~n", [Rev, Bucket]),
              ?LOCK(Bucket),
              update_package_buckets(
                  Buckets,
                  DepsDets, 
  
negative.code:                 get_temp_path(BuildPath, Rev),
                  Rev),
              arm_build_bucket(Buckets, DepsDets, Bucket, BuildPath, Deps),
              {ok, 
                  {none, {Rev, Bucket, BuildPath}}
              };
  