Nebukadneza
a519916763
fix: got needs url parsed for basic-auth in url ( #2972 )
...
When including basic-auth information in the URL, such as
`https://user:pass@my.pypi.repo.xx/repo `, `got` needs this url-parsed to
not throw an error. Since this is common with requirement.txts and
Pipfiles, let’s support this.
Closes #2971
2018-12-19 05:55:42 +01:00
Rhys Arkins
0ccbb9e7a6
fix(orb): add cypress source URL
2018-12-17 07:30:39 +01:00
Rhys Arkins
7d4cd7ca60
feat: circleci orb support ( #2955 )
...
Closes #2950
2018-12-16 14:32:11 +01:00
Rhys Arkins
0dd52209b9
tests: drop flakey cache test
2018-12-13 21:24:52 +01:00
Rhys Arkins
079afe1820
feat: configurable versionScheme ( #2945 )
...
Closes #2914
2018-12-13 05:29:11 +01:00
Rhys Arkins
913ba4d065
build(deps): use forked docker-registry-client ( #2940 )
2018-12-13 05:23:11 +01:00
Rhys Arkins
320c666a6c
chore: prettier
2018-12-12 11:59:43 +01:00
Mike Bryant
9ac84fa4e3
refactor(docker): break out manifest retrieval function ( #2931 )
2018-12-11 13:04:09 +01:00
Adrien Lemaire
fcc93eac22
fix(pypi): add python requests changelog URL ( #2933 )
...
add requests changelog
2018-12-11 07:20:41 +01:00
Rhys Arkins
40b17b5c5c
fix(pypi): manual coverage sourceUrl override
...
Closes #2846
2018-12-10 09:37:46 +01:00
Rhys Arkins
f242ef1256
refactor: centralize pypi manual source urls
2018-12-10 09:20:51 +01:00
Rhys Arkins
00de6f2e1e
feat: datasource manual source URLs
...
Adds central location to define manual source URLs for packages.
2018-12-10 06:49:15 +01:00
Rhys Arkins
0f0bae4b65
refactor: datasource manual urls
...
Provide a central location for mapping changelog and source URLs.
2018-12-10 06:34:39 +01:00
Rhys Arkins
47a23d0a61
chore: rename for less confusion
2018-12-10 06:03:52 +01:00
Rhys Arkins
772bc17603
refactor: repositoryUrl -> sourceUrl
2018-12-10 05:59:28 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue ( #2922 )
2018-12-10 04:26:14 +01:00
Rhys Arkins
6b12fc4ea4
refactor(versioning): use get function
2018-12-08 16:46:13 +01:00
Rhys Arkins
846c16529d
refactor: versioning require ( #2915 )
...
Simplify when statically selected
2018-12-08 15:51:34 +01:00
Rhys Arkins
e726b47648
chore: refactor docker tags datasource
2018-12-07 09:16:58 +01:00
Rhys Arkins
ce221f7e91
refactor(docker): datasource cacheKey
2018-12-07 07:37:29 +01:00
Adrien Lemaire
321939c0f6
fix(pypi): add firebase-admin release notes ( #2895 )
...
add firebase-admin release notes
2018-12-05 04:56:46 +01:00
Adrien Lemaire
3825c6b1cb
fix(pypi): add django-debug-toolbar changelog ( #2892 )
2018-12-04 07:17:41 +01:00
Sam Bull
d689424ce2
feat(pypi): try multiple hostUrls
2018-11-22 17:14:12 +01:00
Rhys Arkins
9f96b452f1
fix(go): better check tags before releases
2018-11-22 06:59:57 +01:00
Rhys Arkins
36feb03d1c
fix(go): filter out versions without leading v
...
Closes #2850
2018-11-21 22:51:49 +01:00
Rhys Arkins
eaf254ede3
fix(composer): resolve drupal packages repository
2018-11-19 21:03:38 +01:00
Adrien Lemaire
481514e2fd
fix(pypi): add phonenumbers changelog ( #2847 )
2018-11-19 13:45:35 +01:00
Adrien Lemaire
36a3bb5586
fix(pypi): add psycopg changelog ( #2845 )
2018-11-19 11:17:24 +01:00
Rhys Arkins
f95c09e762
fix(npm): ignore npmrc if localhost and low trust
2018-11-16 21:50:27 +01:00
Rhys Arkins
8a8e5c8fed
refactor: warn if localhost registry detected
2018-11-16 12:21:48 +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
Ayoub Kaanich
7d31af5ecb
feat: Support Bazel commit-based go_repository ( #2821 )
...
Closes #2806
2018-11-14 13:11:35 +01:00
Rhys Arkins
5696cccf72
feat(packagist): cache packagist.org for 10 minutes
2018-11-11 07:53:29 +01:00
Rhys Arkins
2533fb0751
fix(packagist): use static endpoint for org lookups
...
Closes #2785
2018-11-11 07:42:35 +01:00
renovate[bot]
dff1fb137b
feat(deps): update got packages (major) ( #2433 )
2018-11-09 12:50:21 +01:00
Rhys Arkins
943537417e
refactor(docker): reduce cache time to 15 mins
2018-11-09 00:27:58 +01:00
Rhys Arkins
d77fcf8e52
docs: describe datasources and fields ( #2667 )
2018-11-07 14:19:46 +01:00
Adrien Lemaire
c0375c52d4
fix: add django-storages release notes ( #2751 )
2018-11-05 07:10:57 +01:00
Ayoub Kaanich
4f320ed9cd
feat: Python compatibility ( #2736 )
2018-11-04 18:12:58 +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
Adrien Lemaire
ffdce5e9ec
fix: add flake8 release notes ( #2688 )
2018-10-25 07:21:14 +02:00
Rhys Arkins
190e896eb1
fix(github): getDigest lookup
2018-10-24 14:59:41 +02:00
Rhys Arkins
163c4bf53a
fix: github getDigest use purl
2018-10-23 13:48:08 +02:00
Adrien Lemaire
38bd6f4986
fix: add djangorestframework release notes ( #2668 )
2018-10-21 06:28:18 +02:00
Rhys Arkins
3750d12523
fix(nuget): handle null versions
2018-10-18 15:42:06 +02:00
Rhys Arkins
1409f923d9
feat(composer): packagist.org optimisation
...
Use direct lookup for packagist.org only
2018-10-18 13:48:30 +02:00
Rhys Arkins
93a331f214
fix(composer): cache per site
2018-10-18 13:11:33 +02:00
Rhys Arkins
539275e014
feat(packagist): fetch files in parallel
2018-10-18 11:30:43 +02:00
Rhys Arkins
81d64bb884
feat: repo mem cache for packagist
2018-10-18 11:06:57 +02:00
Rhys Arkins
5565e4d79d
refactor(packagist): don’t warn when 404 registry
2018-10-18 05:52:49 +02:00
Rhys Arkins
a907210d77
fix(packagist): set empty releases
2018-10-18 05:48:15 +02:00
Rhys Arkins
53813e97b9
fix(packagist): do proper url join
2018-10-18 05:04:19 +02:00
Rhys Arkins
3bf09baa5d
fix(packagist): ignore null versions
2018-10-18 04:35:21 +02:00
Rhys Arkins
e5d0f8a33a
fix(npm): don’t abort for private ETIMEDOUT
2018-10-18 03:48:02 +02:00
Rhys Arkins
24f2138165
fix: log depName, not name
2018-10-18 03:43:10 +02:00
Rhys Arkins
956d198f89
fix(composer): handle non-array repositories
2018-10-16 06:33:42 +02:00
Rhys Arkins
0f1710faf8
feat(composer): custom registries and basic auth ( #2650 )
...
Adds support for custom Packagist registries.
- [x] Support dynamic packages.json interface for wpackagist.org
- [x] Support static packages.json for satis
- [x] Support basic auth using hostRules
- [x] Write basic auth to `auth.json`
Closes #2574 , Closes #2354
2018-10-16 04:52:57 +02:00
Rhys Arkins
ff2e40bd21
feat: terraform datasource
...
Adds a new datasource for querying terraform module registries.
2018-10-06 09:52:00 +02:00
Rhys Arkins
34061cf53c
feat: go datasource getDigest
...
Closes #2603
2018-10-05 16:04:12 +02:00
Rhys Arkins
d8bd147b14
refactor(go): separate getSourcePurl
2018-10-05 15:15:55 +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
Adrien Lemaire
9ec385d6d7
fix(pypi): add django package changelogs ( #2588 )
2018-10-02 08:45:00 +02:00
Rhys Arkins
bb5a2962e5
fix(pypi): check lowercase and map changelogUrl to repositoryUrl
2018-10-02 07:07:49 +02:00
Rhys Arkins
8cd87c4f6b
fix(pypi): better detect repositoryUrl
2018-10-02 06:49:53 +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
renovate[bot]
9bf339a24b
build(deps): update dependency @sindresorhus/is to v0.12.0 ( #2570 )
2018-09-28 15:20:46 +02:00
Rhys Arkins
9f8b3e5176
fix: add react-native changelogUrl
2018-09-24 15:11:25 +02:00
Rhys Arkins
30b9612c8b
fix(logs): dependency not name
2018-09-23 06:44:36 +02:00
Rhys Arkins
fc9037a270
logs: correct depName/dependency
2018-09-20 12:13:18 +02:00
Rhys Arkins
e755ee7aa6
fix(docker): look up latest tag correctly
2018-09-19 19:54:52 +02:00
Rhys Arkins
a46468c048
fix(npm): serialize/deserialize to prevent cache mutation
2018-09-19 08:57:59 +02:00
Rhys Arkins
cec7f6dd2e
feat(docker): support registryUrls
...
Adds support for defining a default Docker registry. e.g. if `config.registryUrls = [‘https://docker.company.com ']` then lookups for packages like `node` will be done from docker.company.com instead of index.docker.io.
2018-09-19 08:51:43 +02:00
Rhys Arkins
571c41e69e
fix(npm): serialize dep before saving to memcache
2018-09-19 05:38:33 +02:00
Rhys Arkins
ca45a546a9
feat: add changelogUrls to pypi datasource
...
Closes #2535
2018-09-19 05:25:57 +02:00
Rhys Arkins
1299c32c77
refactor: add flow-bin changelog URL ( #2534 )
2018-09-18 10:09:41 +02:00
Rhys Arkins
eeae416ac9
feat(npm): support git digest updates ( #2528 )
...
Adds support for renovating git references in `package.json` files. Supports updating semver tags or sha1 references ("commit hashes").
Also includes support for updating git references from *private* GitHub repositories, if the following conditions are met:
- Renovate user/token is authorised to read from the source private repository
- Dependency is written like `git+https://github.com/owner/repo.git#ref ` in `package.json`
Closes #415 , Closes #817
2018-09-17 11:18:18 +02:00
Rhys Arkins
706ba270af
fix(npm): compare res.name or res._id
2018-09-15 08:01:42 +02:00
Rhys Arkins
58d5483e7b
feat: changelogUrl
...
Allows static configuration of custom changelog URLs per npm package, which will then be displayed in PR bodies.
Closes #2520
2018-09-14 06:55:38 +02:00
Rhys Arkins
6f0ceaecc5
fix(ghe): use full path for github datasource
...
This prevents accidentally querying GHE for things such as Node.js tags.
Closes #2518
2018-09-13 05:50:16 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules ( #2509 )
...
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +02:00
Rhys Arkins
96164f6fea
refactor: don’t use repository for docker logs
2018-09-11 15:55:00 +02:00
Rhys Arkins
0252ad4d08
fix(docker): platform-failure only if docker.io
2018-09-11 15:40:37 +02:00
Rhys Arkins
a411b11982
feat(docker): cache docker tags
2018-09-11 14:20:41 +02:00
Rhys Arkins
b6cd9878e4
refactor(docker): tags/releases
2018-09-11 14:13:53 +02:00
Rhys Arkins
133505da09
feat(docker): cache digests for 30 minutes
2018-09-11 14:02:06 +02:00
Rhys Arkins
d4706f9c2e
fix(docker): catch 429 errors
2018-09-11 13:07:40 +02:00
Rhys Arkins
cc611a7985
refactor(docker): log purl when failing to get docker tags
2018-09-11 12:29:48 +02:00
Rhys Arkins
b08d1aa815
fix(pypi): better normalize package name
2018-09-11 05:09:43 +02:00
Rhys Arkins
543e11751b
fix: don’t cache scoped packages
2018-09-08 06:11:06 +02:00
Rhys Arkins
005dab5bcf
feat: cache npm results
2018-09-07 14:40:55 +02:00
Rhys Arkins
80463651ca
feat: logger err serializer
...
Include body, message and stack with every error if present
2018-09-05 10:32:53 +02:00
Rhys Arkins
f239df8025
logs: stop logging scoped headers
2018-09-03 18:50:05 +02:00
Rhys Arkins
35b2ce8b42
feat: centralised cache ( #2472 )
...
Closes #2466
2018-09-03 07:27:22 +02:00
Rhys Arkins
c1fd79bac7
feat: cache github datasource results for 10 minutes
2018-09-01 07:18:28 +02:00
Rhys Arkins
1f49d0fe8c
feat: add in-memory github datasource caching
2018-08-31 13:05:22 +02:00
Rhys Arkins
00b89c77b6
fix(npm): revalidate all registry requests
...
Sets Cache-Control to ‘no-cache’ to instruct the http layer to always revalidate cached responses with the registry. Otherwise we can be up to 5 minutes “behind” because npmjs default cache time is 300s.
2018-08-22 09:54:26 +02:00
Rhys Arkins
3d1a715d2b
fix(npm): don’t authorize public non-scoped packages
...
The authorization header can interfere with caching because npmjs doesn’t return “public” in the “Cache-Control” header.
2018-08-22 09:53:26 +02:00
Rhys Arkins
9b3f4b90e1
fix(npm): remove temporary cache-blocking code for scoped
...
npmjs has fixed/lowered the cache expiry time now
2018-08-22 09:49:18 +02:00
Rhys Arkins
ebb3496586
fix(npm): skip caching for scoped packages
...
Ref: https://npm.community/t/scoped-packages-have-latest-version-disappear-temporarily-soon-after-publish/633/7
2018-08-16 22:15:11 +02:00
Rhys Arkins
8b5e69b0c2
refactor(pypi): manual repositories map
2018-08-16 18:34:35 +02:00
Rhys Arkins
586ec1f5b8
refactor(npm): delete package homepage if it’s a github repo
2018-08-16 18:32:55 +02:00
Rhys Arkins
e9108a0502
refactor(npm): return package tags
2018-08-16 06:19:39 +02:00
Maximilian Gaß
eb167f571c
fix(docker): Only add library/ for Docker Hub images ( #2369 )
2018-08-11 10:03:03 +02:00
Maximilian Gaß
6c8b7f479f
fix(docker): resolve relative URLs from registry ( #2370 )
...
fix(docker): resolve relative URLs from registry
2018-08-09 17:40:07 +02:00
Maximilian Gaß
e26c6dd32d
fix(docker): use library/ prefix instead of amd64/ ( #2360 )
...
The default prefix is library/. Using amd64/ as the prefix created weird
issues with pinning to digests that matched no images.
2018-08-07 16:51:40 +02:00
Rhys Arkins
cc2d860556
fix: correct log for npmjs headers
2018-08-07 07:30:59 +02:00
Rhys Arkins
77fb7070f5
fix: supportsDigests
2018-08-07 07:13:11 +02:00
Maximilian Gaß
3a62394435
feat: docker registry authentication ( #2339 )
...
Closes #798
2018-08-05 07:25:08 +02:00
Rhys Arkins
048eb6bf6e
feat: github-hosted presets ( #2328 )
...
Adds support for GitHub-hosted presets, using the `github>` prefix. Supports single preset per repository only.
Example:
```json
{
"extends": ["github>renovatebot/renovate"]
}
```
The above would extend the `renovate.json` inside this repository (probably not a good idea, but an example).
Closes #2102 , Closes #2312
2018-07-31 06:48:56 +02:00
Nicolas Byl
5a6bce3daa
feat(docker): fallback to manifest parsing when digest header is missing ( #2316 )
...
As mentioned in #2315 some docker registries don't support the digest header. This PR falls back to parsing the resulting manifest if the header is present.
Closes #2315
2018-07-30 19:00:21 +02:00
Rhys Arkins
ebbc9d5f67
fix(npm): add check before massaging response
2018-07-30 08:42:50 +02:00
Rhys Arkins
83e00f2adc
refactor(presets): move more logic into datasource
2018-07-30 08:08:28 +02:00
Rhys Arkins
89de664e7c
fix: restore renovate-config to dependency return
2018-07-30 07:36:15 +02:00
Rhys Arkins
32c775265a
refactor: separate npm.getPresets
2018-07-30 07:12:30 +02:00
Rhys Arkins
ac5e0313e0
refactor: rename getDependencyInner to getDependency
2018-07-29 16:13:11 +02:00
Rhys Arkins
31f2f4c610
refactor: rename getDependency to getPkgReleases
2018-07-29 16:04:00 +02:00
Rhys Arkins
d336f35ebb
logs: log registry and repository when docker token fails
2018-07-26 21:04:23 +02:00
Rhys Arkins
10620707c0
tests: fix coverage
2018-07-26 16:43:12 +02:00
Nicolas Byl
5819c114ea
feat: use www-authenticate headers for docker auth ( #2314 )
...
Adds support for processing www-authenticate Header to obtain a token from the Docker servers. In particular, this enables Artifactory to work (without username/passwords for now). This is backwards-compatible to Docker Hub which issues this header with the current hard-coded URLs.
2018-07-26 16:25:44 +02:00
Rhys Arkins
7066a5dd99
fix(docker): use tag suffix when looking up new digest
2018-07-21 10:47:29 +02:00
Rhys Arkins
7254b5f16c
feat: use generic lookup for docker ( #2280 )
...
Removes custom Docker lookup code and instead integrates it with the generic lookup routine used by other package managers. Logic for digest support was added but is used by Docker-only for now.
Closes #2081 , Closes #2276
2018-07-20 09:09:01 +02:00
Rhys Arkins
7a52575738
fix: npm raw/res typo
2018-07-17 20:02:13 +02:00
Rhys Arkins
ad3ac0967c
refactor: log npmjs headers
2018-07-17 19:24:05 +02:00
Rhys Arkins
5b15554930
fix(packagist): strip v from versions in response
2018-07-17 09:10:42 +02:00
Rhys Arkins
97c19cf3c3
refactor: packagist use semver composer
2018-07-17 08:23:41 +02:00
Kyle Hornberg
c59a9fdeb5
feat(pip): use PIP_INDEX_URL for repository url ( #2240 )
...
Adds support for PIP_INDEX_URL from environmental variables for self
hosted version. This is used instead of any urls set in the config.
2018-07-13 06:22:04 +02:00
Rhys Arkins
11c4741271
refactor: fix import order
2018-07-09 11:15:06 +02:00
Rhys Arkins
98bccb37a9
fix(npm): reset npmrcraw
2018-07-06 17:16:50 +02:00
Rhys Arkins
19e1eab56e
fix(pypi): replace all hyphen with underscore before comparing names
2018-07-06 07:34:36 +02:00
Ayoub Kaanich
219950399e
feat: endpoints credentials handling
2018-07-06 07:26:52 +02:00
Rhys Arkins
85e40963a0
logs: log pypi lookupUrl if name mismatch
2018-07-05 17:56:23 +02:00
Rhys Arkins
47bd56f10e
fix(pypi): normalize name before compare
2018-07-05 17:43:23 +02:00
Rhys Arkins
6d82d7b46a
fix: check before lower case
2018-07-05 15:58:43 +02:00
Rhys Arkins
a16754c501
fix: case-insensitive datasource name compare
2018-07-05 15:47:43 +02:00
Rhys Arkins
b2183fe0c2
logs: log regUrl for mismatched npm lookup
2018-07-05 15:42:02 +02:00
Rhys Arkins
16d88aee4c
feat: ignoreDeprecated
...
Renovate now ignores any upgrades that are marked as deprecated, unless the current version is itself also deprecated. The new config option `ignoreDeprecated` can be set to false to disable this if necessary.
Closes #1988
2018-07-05 15:10:50 +02:00
Rhys Arkins
517de6f545
feat: repositoryUrls ( #2221 )
...
Adds config option repositoryUrls which can be used by pip to define an alternate host to pypi.
Closes #2181
2018-07-05 11:33:50 +02:00
Rhys Arkins
9153e3905f
fix: check returned pypi name against requested name
2018-07-05 11:25:48 +02:00
Rhys Arkins
db38553d05
fix(npm): verify that received package name matches requested name
2018-07-05 11:10:25 +02:00
Rhys Arkins
24a89a775b
feat(npm): deprecation warnings ( #2222 )
...
Raises a deprecation warning issue per-dependency. Uses logic that if latest version is deprecated then the package is deprecated.
Closes #1592
2018-07-05 09:16:53 +02:00
Rhys Arkins
1a72984fe2
feat(npm): detect deprecated packages
...
Adds logic to detect presence of “deprecated” field in latest version. First step towards #1592
2018-07-04 20:33:48 +02:00
Rhys Arkins
4cfc4e769d
refactor: skip duplicate setNpmrc
2018-07-03 14:21:46 +02:00
Rhys Arkins
d206897113
refactor: Revert "refactor: debug log npm token for each lookup"
...
This reverts commit b46a95a9e2
.
2018-07-02 19:42:48 +02:00
Rhys Arkins
b46a95a9e2
refactor: debug log npm token for each lookup
2018-07-02 19:25:23 +02:00
Rhys Arkins
068ff16ec4
fix: Revert "feat: endpoint credentials handling ( #2146 )"
...
This reverts commit 04e0ca1f80
.
2018-07-02 13:18:37 +02:00
Ayoub Kaanich
04e0ca1f80
feat: endpoint credentials handling ( #2146 )
...
Refactors credentials/token handling to rely less on env variables and instead use an endpoints middleware for credentials handling.
First step towards #2105
2018-07-02 10:01:42 +02:00
Rhys Arkins
c25e979aad
refactor: push docker suffix filter to datasource
2018-06-29 14:28:24 +02:00
Rhys Arkins
0eef46102f
refactor: docker getTags filter suffix and version
2018-06-29 14:14:36 +02:00
Rhys Arkins
108e8cb2b6
fix: remove console.log in npm datasource
2018-06-28 10:03:39 +02:00
Rhys Arkins
40962940a0
refactor: harmonize release timestamp ( #2189 )
...
Renames "date" and "time" values from datasources to instead be "releaseTimestamp".
2018-06-28 09:07:28 +02:00
Rhys Arkins
88a13f3ab9
fix: loosen default github endpoint check
2018-06-26 14:44:54 +02:00
Rhys Arkins
a08adb4291
fix: don’t replace github token if endpoint is api.github.com
2018-06-25 20:01:22 +02:00
Rhys Arkins
f1e130bf79
fix(docker): pass registry failure up
2018-06-25 00:49:26 +02:00
Ayoub Kaanich
e0ebf03e5a
feat: PEP440 ranges ( #2137 )
...
Closes #2085
2018-06-19 13:32:05 +02:00
Rhys Arkins
321c5285fb
fix: don’t use npm homepage as repositoryurl
2018-06-17 09:40:41 +02:00
Rhys Arkins
124807974a
feat(nuget): support changelogs
...
Refactors nuget lookups to use generatic logic and fill in repositoryUrl to enable changelogs.
2018-06-14 15:52:37 +02:00
Sam Neirinck
87575f49a3
feat: nuget support
...
Adds basic support for renovating C# project files. The scope is initially limited to:
- .Csproj only (no VB.NET / F#)
- SDK style csproj's only (this is the default in .net core anyway)
- Limited to nuget.org support (no custom repository support)
Closes #935 , Closes #2050
2018-06-14 11:17:14 +02:00
Rhys Arkins
688ec14b6a
refactor: datasource return array of releases
2018-06-11 14:28:50 +02:00
Rhys Arkins
65eea92c8f
refactor: add gitRef to packagist datasource
2018-06-11 13:16:59 +02:00
Rhys Arkins
c82c348c8e
refactor: add gitRef to npm datasource
2018-06-11 13:16:42 +02:00
Rhys Arkins
dc9125e4a3
refactor: add gitRef to github datasource
2018-06-11 13:15:47 +02:00
Rhys Arkins
819acba06a
refactor: Revert "refactor: use gitRef instead of gitHead"
...
This reverts commit 29d00aa477
.
2018-06-11 10:30:40 +02:00
Rhys Arkins
29d00aa477
refactor: use gitRef instead of gitHead
2018-06-11 10:21:55 +02:00
Rhys Arkins
bb78d47e15
refactor: filter and sort versions in datasource
2018-06-11 09:55:44 +02:00
Rhys Arkins
371c10f259
refactor: rename clean=true to sanitize=true
2018-06-11 07:15:54 +02:00
Ayoub Kaanich
dc143eb4e5
fix: use better tag endpoint for github datasource
2018-06-11 06:54:17 +02:00
Rhys Arkins
01d2fb3bca
feat: datasource wrapper ( #2100 )
...
Adds a wrapper to all datasources to provide a generic purl-based interface.
2018-06-08 10:49:08 +02:00
Ayoub Kaanich
697b80aaf0
feat: composer exact semver support (without lockfile updates) ( #1993 )
...
This PR adds the packagist datasource plus basic exact semver Composer support. Composer lockfile updating is not yet supported.
2018-06-08 06:15:13 +02:00
Rhys Arkins
603b77799b
feat: refactor unpublishSafe for multiple package managers ( #2090 )
2018-06-06 11:04:54 +02:00
Rhys Arkins
05260a5b16
refactor: remove semver dependency from github datasource
...
Instead, perform isVersion filter in lookup
2018-06-05 08:15:11 +02:00
Rhys Arkins
468349d8f4
feat: pypi datasource
...
Adds pypi datasource, compatible with existing npm and github ones. Performs no validation/filtering of versions.
2018-06-05 07:55:22 +02:00
Connor Brathwaite
398303235b
(refactor): delegate generic predicate checking to @sindresorhus/is ( #2021 )
...
Closes #1764
2018-06-04 20:07:22 +02:00
Rhys Arkins
188f1d90b6
refactor: configurable github datasource versioning
...
Closes #2062
2018-06-04 06:38:13 +02:00
Rhys Arkins
7feca361af
refactor: github datasource default to tags
2018-06-04 06:36:48 +02:00
Rhys Arkins
fd03b8c7fa
refactor: github datasource clean
2018-06-04 06:33:36 +02:00
Rhys Arkins
c21029ecbb
refactor: rename some versioning interface ( #2078 )
...
isPinnedVersion -> isVersion
rangify -> getNewValue
2018-06-04 06:03:21 +02:00
Ayoub Kaanich
c54d0ab69d
refactor: add versioning wrapper
2018-06-03 17:02:53 +02:00
Rhys Arkins
ecb81eff39
fix: disable ghe token when looking up git datasource
2018-06-02 17:07:15 +02:00
Rhys Arkins
7c68d57612
fix: correctly filter pinned versions
2018-06-01 19:34:10 +02:00
Rhys Arkins
0c71862aa7
logs: info not warn for github retrieval problem
2018-06-01 17:13:16 +02:00
Rhys Arkins
8b279fd38b
feat: use purl for buildkite
2018-06-01 17:12:08 +02:00
Rhys Arkins
c86ea5a4ec
refactor: bazel use purl
2018-06-01 16:23:13 +02:00
Rhys Arkins
784a0598b9
refactor: use options for github datasource
2018-06-01 15:32:17 +02:00
Rhys Arkins
795df6e4bf
fix: check for res.repository.url
2018-06-01 10:36:35 +02:00
Rhys Arkins
761573a865
fix: massage www out of npm repository url
2018-06-01 09:55:43 +02:00
Rhys Arkins
b5fdc67872
feat: github datasource getDependency ( #2051 )
...
Add new function `getDependency` with same structure as in npm.
2018-05-31 16:24:14 +02:00
Rhys Arkins
19550a328c
refactor: log npm 429 retries
2018-05-28 16:16:30 +02:00
Rhys Arkins
1210300dd2
fix: retry 429 with retry-after
2018-05-28 16:10:23 +02:00
Rhys Arkins
6799374e34
fix(npmrc): don’t massage naked ‘_auth’
2018-05-23 19:18:27 +02:00
Rhys Arkins
c338bdd2dd
fix(nmprc): massage _auth to _authToken only if base64 encoded
2018-05-23 18:13:17 +02:00
Rhys Arkins
00031c09fa
refactor: return latestVersion with npmjs result
2018-05-21 17:42:49 +02:00
Rhys Arkins
63f2669153
refactor: semverSort -> sortVersions
2018-05-21 17:35:50 +02:00
Rhys Arkins
7a1d30c8b6
refactor: move semver to lib/versioning
2018-05-21 17:30:55 +02:00
Marco Massarotto
929231b46c
Feat/allow ghe changelog ( #1981 )
...
This PR follows up and fixes #1968
The previous PR didn't behave correctly as it was expecting Github Enterprise to ALWAYS been configured and that the github.com token was available in the `GITHUB_COM_TOKEN` env variable.
But for non GHE project `GITHUB_COM_TOKEN` is not defined and github.com token is available at the `GITHUB_TOKEN` env variable instead.
This updated PR fix this issue and avoid further problems by prioritising `github.com` over GHE.
Now the code is NOOP if no `GITHUB_ENDPOINT` is configured.
If it's configured, instead, now the codes assumes that, by DEFAULT, a dependency is hosted on `github.com` so it removes `GITHUB_ENDPOINT` and use `GITHUB_COM_TOKEN` as Github token immediately.
They are restored only if needed, when a dependency is hosted on the provided GithubEnterprise.
2018-05-19 07:44:56 +02:00
Rhys Arkins
4822bc5d91
fix: Revert "fix(npm): ignore deprecated versions"
...
This reverts commit 7fcbb47b3a
.
2018-05-18 08:34:34 +02:00
Rhys Arkins
ced6ee20bb
fix: Revert "fix(npm): deprecate only if deprecated === ‘this’"
...
This reverts commit 080d945153
.
2018-05-18 08:34:17 +02:00
Rhys Arkins
080d945153
fix(npm): deprecate only if deprecated === ‘this’
2018-05-18 08:23:49 +02:00
Rhys Arkins
7fcbb47b3a
fix(npm): ignore deprecated versions
...
Closes #1988
2018-05-18 07:44:34 +02:00
Rhys Arkins
6dbf9c52ad
fix: Revert "feat: support retrieving changelog from ghe hosted repositories ( #1968 )"
...
This reverts commit f2fb2e6bda
.
2018-05-16 07:04:59 +02:00
Marco Massarotto
f2fb2e6bda
feat: support retrieving changelog from ghe hosted repositories ( #1968 )
2018-05-16 06:38:14 +02:00