Commit graph

75 commits

Author SHA1 Message Date
Rhys Arkins
1617a193c0
refactor: move util/exec to own folder (#5125)
Also moves related docker and env files
2020-01-10 16:39:15 +01:00
Sergio Zharinov
1e5924430d refactor: Avoid excessive process.env modifications (#5114) 2020-01-07 15:32:21 +00:00
Sergio Zharinov
1fe9f903ab test: mocks and snapshots for all exec() calls (#5089) 2020-01-02 15:30:40 +00:00
Sergio Zharinov
3025f71183 test: coverage for artifacts.ts (#5012) 2019-12-18 11:25:09 +01:00
Rhys Arkins
5cb01d6191 fix: default binarySource to auto 2019-12-16 17:12:53 +01:00
Filipe Azevedo
9b16e1c757 fix(gomod): update package version (#4900) 2019-11-29 14:00:56 +01:00
Rhys Arkins
a12ef53b9c fix: escape docker volumes and working dir values 2019-11-23 11:08:16 +01:00
Rhys Arkins
f1073965ab
fix(gomod): skip indirect dependencies (#4650)
Skip any go.mod dependencies ending in // indirect

Closes #4586, Supercedes #4615
2019-10-14 16:55:49 +02:00
Björn Dahlgren
24a9e290fd feat: Allow specifying Docker user (#4578) 2019-10-05 13:56:58 +02:00
IKEDA Sho
1f8a62c31a fix(gomod): Add -d option to go get command (#4498) 2019-09-17 03:40:40 +02:00
Milad Irannejad
26234f7e60 fix(gomod): add ./... to go get command (#4483) 2019-09-12 16:37:23 +02:00
Michael Kriese
331863d211 feat(platform): remove global platform variable (#4455) 2019-09-10 09:50:29 +02:00
Rhys Arkins
a32c8f4ccc fix: Revert "feat(platform): remove global platform variable (#4448)"
This reverts commit b5c9dc8e0b.
2019-09-09 06:55:30 +02:00
Michael Kriese
b5c9dc8e0b feat(platform): remove global platform variable (#4448) 2019-09-09 04:40:52 +02:00
Rhys Arkins
31ce47297b
fix(gomod): use go get to generate pseudo versions for digest updates (#4386)
Instead of generating the pseudo version ourselves, replace the existing pseudo version with a digest only and let “go get” massage it into a valid pseudo version.
2019-08-27 19:04:55 +02:00
IKEDA Sho
081a23e6fc chore(manager): add more type annotations (#4344) 2019-08-22 17:42:35 +02:00
Michael Kriese
6f99118f7c feat(manager): convert to typescript (#4148) 2019-07-25 08:17:19 +02:00
Michael Kriese
fd847da4a8 fix: refactor exec (#4155) 2019-07-23 14:39:15 +02:00
Rhys Arkins
395713d005 refactor: gomod managerData 2019-07-22 09:27:37 +02:00
praveshtora
a07cee1b52 feat(gomod): upgrade dependencies in replace directive (#4059) 2019-07-22 07:38:22 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Rhys Arkins
fb21063290 fix(gomod): pass GOPROXY
Closes #4071
2019-07-15 08:15:07 +02:00
praveshtora
aaa80f8055 fix: Pass PROXY in child Process (#4013) 2019-07-13 08:23:03 +02:00
Rhys Arkins
724d0171f3 fix: warn only for extraction errors 2019-07-02 07:08:48 +02:00
Rhys Arkins
c911a2dfaf refactor: getArtifacts -> updateArtifacts 2019-06-09 08:18:41 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references (#3807) 2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Rhys Arkins
701b4ee526 fix(gomod): tidy again after vendoring 2019-05-03 00:08:22 +02:00
Rhys Arkins
f68414fb2f fix: less debug logging, more trace 2019-04-28 22:08:06 +02:00
Rhys Arkins
ce10293e57 fix(gomod): consider added/deleted vendor files too
Fixes #3590
2019-04-25 23:26:09 +02:00
Rhys Arkins
1df7231e5b refactor: modified => f 2019-04-25 23:24:44 +02:00
Rhys Arkins
d98dc246d7 fix(gomod): detect updated go.mod after artifacts
Closes #3589
2019-04-25 23:21:09 +02:00
Rhys Arkins
49653c6550 fix(gomod): comment out relative replace, don’t delete 2019-04-25 22:23:19 +02:00
Rhys Arkins
a599eab231
feat: unify file locations (#3507)
feat: unify file locations
2019-04-09 17:14:08 +02:00
Rhys Arkins
2419878761 logs: dedupe err.message 2019-04-08 08:52:04 +02:00
Rhys Arkins
365b60ac18 feat(gomod): private module support (#3495) 2019-04-08 08:15:37 +02:00
Rhys Arkins
7bf52c5388 fix: Revert "feat(gomod): private module support (#3495)"
This reverts commit 0bd0ea33f6.
2019-04-08 06:56:05 +02:00
Rhys Arkins
0bd0ea33f6
feat(gomod): private module support (#3495)
Adds support for fetching private modules off github.com

Closes #3202
2019-04-07 08:53:16 +03:00
Rhys Arkins
9cf43e2fde fix(gomod): await getFile 2019-04-07 07:28:13 +02:00
Milad Irannejad
06c440fba6 fix(gomod): bug in getArtifacts env (#3439) 2019-03-25 06:33:30 +01:00
Rhys Arkins
76242888dc refactor: info not warn for go.sum 2019-03-13 14:43:47 +01:00
Rhys Arkins
9a93c8e99a feat: postUpdateOptions
Adds new config option postUpateOptions. Currently supports one value - gomodTidy.
2019-03-07 15:15:01 +01:00
Rhys Arkins
34a5fbb1a0 fix(gomod): detect gopkg.in major bumps 2019-03-04 05:12:05 +01:00
Rhys Arkins
a8d21c7a4d refactor(gomod): debug replacements 2019-03-04 04:13:36 +01:00
Russell Rollins
6f4da76c71 fix(gomod): handling of the "+incompatible" tag. (#3279) 2019-02-27 22:23:01 +01:00
Rhys Arkins
32fd35aa3b tests: fix tests 2019-02-27 09:59:38 +01:00
Rhys Arkins
39ef96e7d2 refactor(gomod): log line to change if not containing depName 2019-02-27 09:48:45 +01:00
Rhys Arkins
06a1cf5665 fix(gomod): match update against unversioned depName 2019-02-27 09:18:13 +01:00