Commit graph

41 commits

Author SHA1 Message Date
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
Rhys Arkins
805ed25d8e fix(gomod): another rethinkdb/rethinkdb-go.v5 exception 2019-02-26 07:19:17 +01:00
Rhys Arkins
ab45c544bb fix(gomod): rename gorethink rethinkdb 2019-02-25 12:22:58 +01:00
Paul Tyng
8f79b660b0 feat(gomod): Run go mod tidy if configured (#3201)
Adds a configurable option to run `go mod tidy` on a repo between the `go get...` and the `go mod vendor`.

Closes #2594
2019-02-13 13:05:52 -05:00
Rhys Arkins
c87a153823
feat: go module vendoring support (#3191)
Detects if a `vendor/modules.txt` is present and runs `go mod vendor` if so. Requires gitFs to work.

Closes #2580
2019-02-11 10:19:25 +01:00
Rhys Arkins
c711fb4cea refactor: getArtifacts returns an array 2019-02-09 07:08:15 +01:00
Rhys Arkins
13cc5b5b0e refactor: rename lock files -> artifacts 2019-02-09 07:08:15 +01:00
Rhys Arkins
a9332a8db0
feat: replace purl with datasource (#3154)
This deprecates the (internal) use of package URLs and instead replaces with `datasource`/`lookupName`.

Closes #3005
2019-02-04 09:41:22 +01:00
Rhys Arkins
4b38793471 refactor: trustLevel 2019-01-05 09:16:32 +01:00
Rhys Arkins
079afe1820
feat: configurable versionScheme (#2945)
Closes #2914
2018-12-13 05:29:11 +01:00
Rhys Arkins
846c16529d
refactor: versioning require (#2915)
Simplify when statically selected
2018-12-08 15:51:34 +01:00
Rhys Arkins
db0efdf053 feat: trustLevel
New config option replaces existing option exposeEnv. Set trustLevel=high in the bot config if you trust the contents of the repositories you are renovating. Doing so results in env being exposed, access to localhost, etc.

Closes #2739
2018-11-16 12:16:37 +01:00
Rhys Arkins
44d119823f refactor: rename extractDependencies -> extractPackageFile 2018-11-04 18:51:23 +01:00
Ayoub Kaanich
c6e4379715 refactor: gomod purl (#2729)
<!--
    Before submitting a Pull Request, please ensure you have signed the CLA using this GitHub App:
    https://cla-assistant.io/renovateapp/renovate
-->

<!-- Replace this text with a description of what this PR fixes or adds -->

Closes #2725 <!-- Ideally each PR should be closing an open issue -->
2018-11-02 06:22:42 +01:00
Rhys Arkins
95b44d773d fix(gomod): CGO_ENABLED=0 2018-10-17 12:12:51 +02:00
Rhys Arkins
2a3e1b8185 refactor(gomod): use renovate/go image 2018-10-11 16:13:24 +02:00
Rhys Arkins
9551ed75c0 feat(gomod): strip relative replace statements
Closes #2596
2018-10-05 12:34:51 +02:00
Rhys Arkins
04f89843b1 fix(gomod): handle quoted dependencies 2018-10-02 18:49:00 +02:00
Rhys Arkins
8597f16ba9 fix(golang): skip digest updates if real versions exists 2018-10-02 14:20:24 +02:00
Rhys Arkins
924efa837f fix(gomod): no infinite major updates 2018-10-02 14:08:37 +02:00
Rhys Arkins
e790af89d1
feat(golang): support major version updates (#2590)
Adds capability to upgrade major versions of Go Modules. Includes special handling for gopkg.in modules.

Closes #2583
2018-10-02 13:18:49 +02:00
Rhys Arkins
caa972f1ab fix(golang): throw lock file error for go.sum 2018-10-02 12:44:56 +02:00
Rhys Arkins
99df4f0f31 feat(golang): digest updates
Adds support to update dependencies that have pseudo-versions like v0.0.0-20140422174119-9fd32a8b3d3d.
2018-10-02 10:34:37 +02:00
Rhys Arkins
281507e421 refactor: getArtifacts return nested object 2018-10-01 16:29:50 +02:00
Rhys Arkins
2107ae1948 fix: rename go -> golang 2018-10-01 14:05:40 +02:00
Rhys Arkins
f4210631c0
feat: go modules support (#2584)
Adds support for updating go modules (found in go.mod) and the accompanying go.sum checksum files.

Limitations:

- github.com modules only (but supports "redirects" to github e.g. by gopkg.in and golang.org)
- skips major upgrades > v1
- no vendoring support

Closes #933, Closes #2578, Closes #2579
2018-10-01 13:50:36 +02:00