Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Absorb prune into ensure #952

Closed
wants to merge 5 commits into from

Commits on Aug 13, 2017

  1. cmd/dep: remove dep prune command

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Aug 13, 2017
    Configuration menu
    Copy the full SHA
    bfe75b3 View commit details
    Browse the repository at this point in the history
  2. dep: add NewManifest and add prune options

    This change updates the manifest to accept a new table: prune. This
    table defines pruning options accepted by dep. By default, dep will
    always prune nested vendor directories. Three additional options can
    be toggled in the manifest:
    
      * non-go: Prune non-Go files (will keep LICENSE & COPYING files)
      * go-tests: Prune Go test files
      * unused-packages: Prune unused Go packages from dependencies.
    
    The implementation of these flags is not part of this commit.
    
    A constructor for dep.Manifest was also added.
    
    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Aug 13, 2017
    Configuration menu
    Copy the full SHA
    b02c2cf View commit details
    Browse the repository at this point in the history
  3. internal/gps: implement Prune and the related functions

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Aug 13, 2017
    Configuration menu
    Copy the full SHA
    40838f5 View commit details
    Browse the repository at this point in the history
  4. dep, internal/gps: update SafeWriter.Write and gps.WriteDepTree

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Aug 13, 2017
    Configuration menu
    Copy the full SHA
    7a92654 View commit details
    Browse the repository at this point in the history
  5. internal/gps: update prune tests

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Aug 13, 2017
    Configuration menu
    Copy the full SHA
    b306f42 View commit details
    Browse the repository at this point in the history