sam boyer
19eca01a05
Revert "Merge pull request #1301 from jmank88/par_tests"
...
This reverts commit df32e15817
, reversing
changes made to 59b9d9ff7d
.
2017-10-27 19:00:09 -04:00
sam boyer
bf8f29518f
Merge pull request #1309 from sdboyer/hide-vendor-tmpdir
...
dep: Use hidden tempdir for old vendor
2017-10-24 14:52:10 -05:00
sam boyer
bf2481a9df
Merge pull request #1292 from denisbrodbeck/build-all-windows-exe
...
Releases targeting Windows now have a `.exe` suffix
2017-10-24 08:42:28 -05:00
sam boyer
10f46e59de
dep: Use hidden tempdir for old vendor
...
While there's more work to be done in making all of this safe in the
event of a signal being sent to dep, this change at least means that if
a signal is sent during the rename and a .vendor.orig directory is left
behind, subsequent runs will treat its contents as ignored.
Fixes #1304
2017-10-24 09:36:46 -04:00
sam boyer
df32e15817
Merge pull request #1301 from jmank88/par_tests
...
gps: parallelize many tests
2017-10-24 08:18:38 -05:00
sam boyer
59b9d9ff7d
Merge pull request #1269 from jmank88/cmd_ctx
...
gps: cmd_unix: remove extra command context; use Cmd.Process.Kill() directly
2017-10-23 17:33:08 -05:00
Jordan Krage
f3af4c0a1e
gps: parallelize many tests
2017-10-23 11:17:02 -05:00
Denis Brodbeck
9b1caaac06
Add .exe to travis file.
2017-10-23 10:22:07 +02:00
Denis Brodbeck
c72ba3ab43
Update changelog.
2017-10-20 22:49:05 +02:00
Denis Brodbeck
0fc4c6147d
Append .exe to windows builds when creating release.
2017-10-20 22:33:49 +02:00
Sunny
7b5c43aa41
Merge pull request #1289 from golang/changelog-v0.3.3
...
Add v0.3.3 in changelog
2017-10-20 17:36:29 +05:30
Sunny
11b1265382
Add v0.3.3 in changelog
2017-10-20 17:30:59 +05:30
Sunny
c502d28b0c
Merge pull request #1288 from AlekSi/patch-1
...
Update CHANGELOG.md
2017-10-20 17:18:14 +05:30
Alexey Palazhchenko
761b16eb6b
Update CHANGELOG.md
2017-10-20 10:19:19 +03:00
sam boyer
8ddfc8afb2
Merge pull request #1284 from shawnps/patch-1
...
fix typo
2017-10-18 11:02:17 -04:00
Shawn Smith
457dcaffc6
fix typo
2017-10-18 16:23:53 +09:00
Carolyn Van Slyck
7b32a4760a
Merge pull request #1282 from carolynvs/importer-changelog
...
List import support for gb/gvt in the changelog
2017-10-17 17:06:55 -05:00
Carolyn Van Slyck
14f7943b80
List import support for gb/gvt in the changelog
2017-10-17 16:28:15 -05:00
Sunny
efd428f639
Merge pull request #1281 from budougumi0617/fix-unresoleved-link-in-markdown
...
Fix unresolved link in CONTRIBUTING.md
2017-10-17 19:44:22 +05:30
budougumi0617
f58fe585ea
Fix unresolved link in Markdown.
2017-10-17 21:31:34 +09:00
sam boyer
33bda2f942
Merge pull request #1256 from JelteF/no-vendor-dry-run
...
ensure: Make -no-vendor combined with -dry-run fail when Gopkg.lock is outdated
2017-10-16 21:16:13 -04:00
Jordan Krage
5345eabe9b
gps: cmd_unix: remove extra command context; use Cmd.Process.Kill() directly
2017-10-16 13:09:50 -05:00
sam boyer
1d73a4a22b
Merge pull request #1271 from sdboyer/pkgtree-hidden-trimming
...
Trim hidden packages from (root) PackageTrees
2017-10-15 00:13:37 -04:00
sam boyer
ecd7b87e51
gps: Fix reflection handling in PackageTree.Copy()
2017-10-15 00:00:26 -04:00
sam boyer
e4909ed240
gps: Add PackageTree.TrimHiddenPackages tests
2017-10-14 23:26:47 -04:00
sam boyer
adedbf9c46
gps: Remove keepIgnored from TrimHiddenPackages
...
While this would be possible to implement, it would require writing
entirely new entry logic into wmToReach(). That seems like a
sufficiently strong indication of breaking domain assumptions that it's
preferable just to drop the parameter, which was questionable in
the first place.
2017-10-14 23:24:27 -04:00
sam boyer
b672a9975a
gps: Make PackageTree.Copy more careful, efficient
...
We only perform a single allocation for all []string, and are careful to
copy all possible error values via reflection.
2017-10-14 22:53:45 -04:00
sam boyer
0951d5d7a3
gps: Don't drop visible packages with errors
2017-10-14 14:53:58 -04:00
sam boyer
09ee5b7453
gps: Move IgnoredRuleset into its own file
2017-10-14 14:53:45 -04:00
sam boyer
b9626438ec
dep: Protect against some nil cases
2017-10-14 13:13:40 -04:00
sam boyer
c1d177d9db
gps: Demote import comment conflicts to pkg-level
...
These should never have been global failures within ListPackages(), as
they are entirely package-specific information.
2017-10-14 02:05:35 -04:00
sam boyer
8e423e6735
dep: Use TrimHiddenPackages in a standard way
...
This consolidates calls to parse the root project's code tree into a
single place, so as to avoid confusion about the standard, expected way
that dep's root project tree is to be created. It may not be fully
suitable for all status cases, but standardization is crucial for init
and ensure.
2017-10-14 02:03:35 -04:00
sam boyer
89bd85d1cb
gps: Put finishing touches on TrimHiddenPackages
2017-10-14 01:40:54 -04:00
sam boyer
ce78a4731e
pkgtree: add TrimHiddenPackages() method
...
This has general utility, independent of ListPackages() being improved
to avoid unnecessary disk reads in typically-hidden directories.
2017-10-13 22:53:44 -04:00
sam boyer
31dfa5232e
Merge pull request #1268 from sdboyer/ignore-trie
...
Introduce IgnoredRuleset
2017-10-13 22:49:13 -04:00
sam boyer
da9b75028d
gps: remove wcIgnoreSuffix const
...
It's clearer just to use the string literal in this case.
2017-10-13 22:03:41 -04:00
sam boyer
7d9726bed3
Merge pull request #1270 from sdboyer/cmd-ctrl
...
Break context chain and move subprocesses into separate pgroups
2017-10-13 21:59:06 -04:00
sam boyer
50326d7382
dep: Minor test and lint nits
2017-10-13 14:48:40 -04:00
sam boyer
7b36282aa6
Merge pull request #1260 from jmank88/vcs_error
...
gps: vcs repo error fix
2017-10-13 14:00:43 -04:00
sam boyer
239acdaedc
gps: Set pgroup controls in cmd constructor
2017-10-13 10:44:45 -04:00
sam boyer
9139a33e62
dep: Add more harness tests for wildcard ignores
...
This also adds `dep hash-inputs` output to both of the harness tests, so
that it's easier for developers to keep track of the expected output in
these cases.
2017-10-13 10:36:12 -04:00
sam boyer
cd42cef0c0
dep: update Manifest with IgnoredRuleset logic
2017-10-13 10:14:03 -04:00
sam boyer
c20530499e
gps: Fix up odds and ends around IgnoreRulesets
...
The most crucial piece is fixing the hasher to make its prefix checks
without the wildcard suffix for the purpose of determining whether the
ignore affects the root project; otherwise, wildcards on the root of the
current project (why would you do this?) would be erroneously included
in hash inputs.
2017-10-13 10:11:56 -04:00
sam boyer
b0face73a0
gps: Convert to use IgnoredRuleset
2017-10-13 09:11:24 -04:00
sam boyer
4eb59de7fe
gps: Remove CreateIgnorePrefixTree
2017-10-13 04:18:54 -04:00
sam boyer
5be0c0000c
gps: Fully refactor pkgtree to use IgnoredRuleset
2017-10-13 04:16:12 -04:00
sam boyer
cb51cd0949
gps: Introduce IgnoredRuleset
...
This provides a single type for handling both literal and wildcard
ignore patterns, allowing us to tighten up a few interfaces.
2017-10-13 02:05:08 -04:00
sam boyer
8de86c40c3
gps: Strings for calltypes
2017-10-12 22:41:27 -04:00
sam boyer
6bbd19d908
gps: Force subprocesses into new pgroup on unix
...
This puts us more squarely in control of subprocess signaling.
2017-10-12 22:40:53 -04:00
sam boyer
bea24e2592
gps: Break ctx chain so that Kill isn't autofired
2017-10-12 22:40:47 -04:00