Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Follow symlinks when stripping vendor directories #199

Merged
merged 22 commits into from
Apr 13, 2017

Commits on Mar 20, 2017

  1. Configuration menu
    Copy the full SHA
    3b518fc View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2017

  1. Configuration menu
    Copy the full SHA
    5bf17a1 View commit details
    Browse the repository at this point in the history
  2. Remove symlinks named 'vendor' when trimming

    If a dependency contains a symlink named 'vendor', and that symlink points to
    a directory, delete the symlink. Keep the directory around - we can tackle
    that part when we get to actually pruning the vendored dependencies.
    
    Also, add some test helpers for testing filesystem state changes.
    spenczar committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    352abcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21bb8a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00bcf14 View commit details
    Browse the repository at this point in the history
  5. Use absolute symlinks when testing on windows

    Relative symlinks on windows confuse filepath.Walk. This is Go issue 17540,
    golang/go#17540. While waiting for that to get fixed,
    just use absolute symlinks in windows tests.
    spenczar committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    c281797 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b0151a8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8720092 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2017

  1. Configuration menu
    Copy the full SHA
    c2a099c View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2017

  1. Configuration menu
    Copy the full SHA
    42ce45c View commit details
    Browse the repository at this point in the history
  2. Fix comment typos

    spenczar committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    3e1d193 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d59bce6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87ee43d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e19c27 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2017

  1. Configuration menu
    Copy the full SHA
    c32885d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6eda647 View commit details
    Browse the repository at this point in the history
  3. Only remove symlinks to vendor dirs on non-Windows OSes

    On Windows, we're unable to distinguish between symlinks and junctions. Deleting
    junctions is dangerous and appears to be able to delete the underlying folder,
    not just the junction that's pointing to a folder. That's unacceptably
    dangerous: a malicious repo could contain a junction named 'vendor' pointing at
    'C:\\' and we'd delete all the user's data.
    spenczar committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    06bcb96 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edee8c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9a38a0e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e640789 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    853e768 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2017

  1. Remove tests of junctions

    It's too hard to create junctions with permissions that let filepath.Walk
    process them.
    spenczar committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    05ef430 View commit details
    Browse the repository at this point in the history