Граф коммитов

2681 Коммитов

Автор SHA1 Сообщение Дата
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
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
Jelte Fennema 9db18d89a8 Changelog: Move -no-vendor -dry-run behaviour to NEW FEATURES section 2017-10-12 19:50:53 -06:00
Jelte Fennema d19eb1769f Add test cases for ensure -no-vendor -dry-run 2017-10-12 19:49:45 -06:00
Jelte Fennema 5395da0a83 Merge remote-tracking branch 'origin' into no-vendor-dry-run 2017-10-12 19:36:20 -06:00
sam boyer 98f625e28c Merge pull request #1156 from darkowlzz/recursive-ignore
Wildcard ignores
2017-10-12 13:37:37 -04:00
sam boyer 276ead9b8d Merge branch 'master' into recursive-ignore 2017-10-12 13:21:19 -04:00
Jelte Fennema b0ab164884 Use spaces in doc 2017-10-11 19:28:17 -06:00
Jelte Fennema 8a9df9b4f5 Merge branch 'master' into no-vendor-dry-run 2017-10-11 19:24:48 -06:00
sam boyer 07298e26e7 Merge pull request #1246 from darkowlzz/changelog-sept-oct
Update CHANGELOG
2017-10-11 21:13:28 -04:00
sam boyer 04c5355998 Merge pull request #1241 from y-yagi/remove_link_to_board
Remove link of `board`
2017-10-11 20:23:37 -04:00
sam boyer 3b490b0595 Update CONTRIBUTING.md w/new labels 2017-10-11 20:22:35 -04:00
Jordan Krage 83ed215b10 gps: vcs repo error fix 2017-10-11 13:39:39 -05:00
Jelte Fennema 544c6007f3 Update changelog for #1256 2017-10-10 11:12:24 -06:00
Jelte Fennema 00e6a2338f ensure: Make -no-vendor combined with -dry-run fail when Gopkg.lock is outdated 2017-10-10 11:02:08 -06:00
Sunny d10af5e1de Merge pull request #1248 from LoganDark/patch-1
Fix typo in validate-gofmt.bash
2017-10-09 20:24:50 +05:30
LoganDark 995362b508 Update validate-gofmt.bash 2017-10-08 16:17:18 -07:00
yuuji.yaginuma d81dbe02db Add description about ZenHub Browser Extension 2017-10-08 09:57:24 +09:00
Sunny d5e5185e8d Update CHANGELOG 2017-10-08 02:07:43 +05:30
Sunny 4376248c2f Update CHANGELOG. 2017-10-07 19:52:23 +05:30