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

Commit

Permalink
More tweaks based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Apr 28, 2017
1 parent 99f7861 commit bec2f35
Show file tree
Hide file tree
Showing 15 changed files with 105 additions and 180 deletions.
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/ensure/empty/case1/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/ensure/empty/case2/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/ensure/empty/case3/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/init/case1/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/init/case2/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/init/case3/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
19 changes: 7 additions & 12 deletions cmd/dep/testdata/harness_tests/init/skip-hidden/final/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

## EXAMPLE (these lines may be deleted)
#
## Gopkg.toml example values (these lines may be deleted)

## "required" lists a set of packages (not projects) that must be included in
## Gopkg.lock. This list is merged with the set of packages imported by the current
## project. Use it when your project needs a package it doesn't explicitly import -
## including "main" packages.
# required = ["github.com/user/thing/cmd/thing"]
#
#

## "ignored" lists a set of packages (not projects) that are ignored when
## dep statically analyzes source code. Ignored packages can be in this project,
## or in a dependency.
# ignored = ["github.com/user/project/badpkg"]
#
#
# [[dependencies]]

## Dependencies define constraints on dependent projects. They are respected by
## dep whether coming from the Gopkg.toml of the current project or a dependency.
#
# [[dependencies]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand All @@ -29,15 +26,13 @@
#
## Optional: an alternate location (URL or import path) for the project's source.
# source = "https://github.com/myfork/package.git"
#
#
# [[overrides]]

## Overrides have the same structure as [[dependencies]], but supercede all
## [[dependencies]] declarations from all projects. Only the current project's
## [[overrides]] are applied.
##
## Overrides are a sledgehammer. Use them only as a last resort.
#
# [[overrides]]
## Required: the root import path of the project being constrained.
# name = "github.com/user/project"
#
Expand Down
Loading

0 comments on commit bec2f35

Please sign in to comment.