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

Standardize the importers #1100

Merged
merged 9 commits into from
Sep 9, 2017

Commits on Sep 5, 2017

  1. cmd/dep: Standardize import logic for importers

    The importers are now only responsible for reading config files and
    feeding unvalidated lock and constraint hints into importPackages.
    carolynvs committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    f6e75af View commit details
    Browse the repository at this point in the history
  2. cmd/dep: Support new importer rules

    * Don’t throw away a locked version match due to a conflicting
      constraint unless there is another match that _does_ match
    * Ignore pinned constraints
    * Ignore conflicting constraints
    carolynvs committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    b3dff94 View commit details
    Browse the repository at this point in the history
  3. cmd/dep: Switch to special importer testdata set

    github.com/carolynvs/deptest-importers contains the entire matrix of
    testdata needed by the importers
    carolynvs committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    42891a6 View commit details
    Browse the repository at this point in the history
  4. cmd/dep: Move import test execution into testcase

    * The setup and validation for all the importer testcases are the same,
      they just need to handle calling the importer properly.
    * Flag importer tests to run in parallel now that they've been cleaned up.
    carolynvs committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    2d44886 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1407196 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f6b195 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    58cbb3f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2017

  1. cmd/dep: fix parallel tests

    The closure created by t.Run wasn't copying the testcase value, so the
    test was being run on the wrong values.
    carolynvs committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    9356f05 View commit details
    Browse the repository at this point in the history
  2. cmd/dep: verify empty locks are skipped

    When a lock hint is empty, nothing should be added to the lock
    carolynvs committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    0f33a59 View commit details
    Browse the repository at this point in the history