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

gps: Refactor prune and filesystem functions #1219

Merged
merged 11 commits into from
Dec 18, 2017

Commits on Nov 29, 2017

  1. cmd/dep: remove dep prune command

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    4e4925d View commit details
    Browse the repository at this point in the history
  2. gps: refactor the filesystemState struct

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    869f2d7 View commit details
    Browse the repository at this point in the history
  3. gps: update prune functions to use filesystemState

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    2a1be0f View commit details
    Browse the repository at this point in the history
  4. gps: update WriteDepTree to use PruneProject function

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

Commits on Dec 5, 2017

  1. rename TestStripVendorSymlinks to TestPruneVendorSymlinks

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Dec 5, 2017
    Configuration menu
    Copy the full SHA
    4b351b6 View commit details
    Browse the repository at this point in the history
  2. fix missing populated prune options

    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Dec 5, 2017
    Configuration menu
    Copy the full SHA
    148dfe5 View commit details
    Browse the repository at this point in the history
  3. fix deriveFilesystemState bug on Windows junctions

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

Commits on Dec 7, 2017

  1. resolve nits

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

Commits on Dec 11, 2017

  1. gps: handle symlinks properly

    We now delete anything that looks like a symlink if its called
    "vendor" while pruning.
    
    Hopefully, you didn't make a bad decision by relying on the magical
    properties of symlinks.
    
    Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
    ibrasho committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    b4fca9b View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. gps: fix a bug that kept empty dirs after pruning

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

Commits on Dec 14, 2017

  1. gps: add tests for deleteEmptyDirs

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