anchor.diff:  
   <% dep['buildpacks'].each do |bp_name, bp| %>
     <% bp.fetch('lines', []).each do |line_hash| %>
  -- name: update-<%=dep_name%>-<%= line_hash['line'] %>-<%= bp_name %>
  +- name: update-<%= dep_name.downcase %>-<%= line_hash['line'].downcase %>-<%= bp_name.downcase %>
     serial: true
     public: true
     plan:
  
positive.code:     <% end %>
      - get: buildpacks-ci
      - get: source
        resource: source-<%=dep_name%>-<%= line_hash['line'] %>
        passed:
      <% if dep['copy-stacks'] %>
        <% dep['copy-stacks'].each do |copy_stack| %>
        - copy-<%=dep_name%>-<%=line_hash['line']%>-<%=copy_stack%>
        <% end %>
      <% else %>
        - build-<%=dep_name%>-<%=line_hash['line']%>
      <% end %>
        version: every
        trigger: true
      <% dep.fetch('monitored_deps', []).each do |monitored_dep_name| %>
      - get: source-<%=monitored_dep_name%>-latest
        trigger: true
        version: every
        passed: [<%= "build-#{dep_name}-#{line_hash['line']}" %>]
      <% end %>
      - get: builds
      <% if bp_name.end_with?('cnb') %>
  
negative.code:       rebase: true
    <% end %>
  
  - name: build-<%= dep_name.downcase %>-<%= line.downcase %>
    serial: true
    public: true
    plan:
  