Commit graph

55 commits

Author SHA1 Message Date
Michael Kriese
49325143bd feat(sanitize): refactor (#4479) 2019-09-12 12:48:31 +02:00
Rhys Arkins
8a4e5ccb12
fix: add try/throw within util/regex (#4453) 2019-09-09 12:21:01 +02:00
Rhys Arkins
95d54baf83
feat: centralized sanitation (#4446)
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes #4444
2019-09-07 14:51:00 +02:00
Michael Kriese
73f58899c6 fix: typescript types (#4390) 2019-08-28 06:46:48 +02:00
Michael Kriese
b0d1de8e59 fix: optional re2 package (#4367) 2019-08-25 14:29:51 +02:00
Michael Kriese
2b11b661ed feat(config): convert to ts (#4299) 2019-08-23 15:46:31 +02:00
Michael Kriese
4c485b727a feat(utils): convert to ts (#4237) 2019-08-15 08:26:21 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
praveshtora
aaa80f8055 fix: Pass PROXY in child Process (#4013) 2019-07-13 08:23:03 +02:00
Rhys Arkins
d550d554c7 fix(host-rule): always return an object 2019-05-25 07:52:02 +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
87f2b04f4e
feat(host-rules): remove overrides option (#3785) 2019-05-21 15:12:53 +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
ee218097dc
feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Rhys Arkins
335a57364f feat(host-rules): allow find by endpoint 2019-05-20 06:15:06 +02:00
Rishabh Jain
98174d4e37 tests: Optimise jest rules to best practices (#3438)
Closes #2028
2019-04-02 16:59:27 +02:00
Dmitry
5d045c1e31 feat(package-rules): add datasources selector (#3344) 2019-03-12 07:27:49 +01:00
Rishabh Jain
8acc17eea4 feat(packageRules): support baseBranchList (#3358) 2019-03-11 17:42:30 +01:00
Florian Greinacher
744d3a80b1 feat(nuget): add support for authenticated feeds (#3241)
Closes #3239
2019-02-22 10:34:01 +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
dd73bc8c35 refactor: purl return subset 2019-01-30 10:39:52 +01:00
Rhys Arkins
64dfb59c21 refactor: purl registryUrls 2019-01-30 10:34:04 +01:00
Rhys Arkins
371003fabb refactor: purl use subpath for lookupType 2019-01-30 10:23:44 +01:00
Rhys Arkins
b794c9ec84 refactor: maven repositoryUrls 2019-01-30 06:46:41 +01:00
Rhys Arkins
debc75f3f4 refactor: move lookupType out of qualifiers 2019-01-30 06:46:41 +01:00
Rhys Arkins
7e7ec8cc56 refactor: remove purl namespace and name 2019-01-30 06:46:41 +01:00
Rhys Arkins
f145e886a1 refactor: ignore purl.version 2019-01-30 06:46:41 +01:00
Rhys Arkins
82cc45b2e5 refactor: purl.type -> purl.datasource 2019-01-30 06:46:41 +01:00
Rhys Arkins
d0018cbd2d refactor: purl.fullname -> lookupName 2019-01-30 06:46:41 +01:00
Ilya Savchuk
f6ed2256f7 refactor: changed all VSTS to Azure DevOps (#3022)
Rename all VSTS references to be Azure DevOps.

Closes #2810

BREAKING CHANGE: 'vsts' platform is now renamed to 'azure'
2019-01-22 09:41:06 +01:00
Rhys Arkins
b212f8d6df feat: packageRules filter on depTypes
Needed for package managers that support more than one depType (e.g. Bundler).

Closes #3076
2019-01-21 05:44:14 +01:00
Fedor Lukyanov
1a7326efeb refactor: Extract mask token function from npm datasource to utils (#3040)
Helps with https://github.com/renovatebot/renovate/pull/3039 😄
2019-01-07 06:38:24 +01:00
Rhys Arkins
8c2cad0647 feat: packageRules>languages
Adds new filter option “languages” to packageRules to filter on language time.
2018-12-11 12:55:12 +01:00
Rhys Arkins
31849e215b feat: packageRules>managers
Adds new filter option `managers` to `packageRules`. This allows you to define rules that filter on package manager (e.g. pipenv) before applying the rule.
2018-12-11 12:40:35 +01:00
Rhys Arkins
6819764295 feat: packageRules>sourceUrlPrefixes
Adds filtering option “sourceUrlPrefixes” to allow matching updates based on one or more prefixes. Prefixes could be a full source repo, e.g. https://github.com/renovatebot/presets, or it could be an org prefix like https://github.com/renovatebot/

This will make monorepo groupings easier.
2018-12-11 12:03:09 +01:00
Rhys Arkins
ba80991bac fix(hostRules): support endpoint-only rule 2018-10-15 13:43:17 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules (#2509)
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +02:00
Rhys Arkins
d1ee797e54 fix: add trailing / to endpoint
Closes #2363
2018-08-20 12:53:57 +02:00
Ayoub Kaanich
219950399e feat: endpoints credentials handling 2018-07-06 07:26:52 +02:00
Rhys Arkins
fb6271e4f7 refactor: rename update.type -> update.updateType 2018-07-04 10:11:53 +02:00
Rhys Arkins
5604f488b7 chore: prettierify 2018-07-04 09:36:05 +02:00
Rhys Arkins
38334fc362 feat: packageRules updateTypes
Adds an `updateTypes` field to `packageRules` that lets you specify rules based on update types such as major, minor, patch, pin, etc.
2018-07-04 09:30:29 +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
71c662c11f fix: purl return empty qualifiers object 2018-06-11 07:32:38 +02:00
Rhys Arkins
d8cb261ecb
refactor: rename version -> value (#2076)
Renames currentVersion to currentValue, newVersion to newValue, newVersionMajor to newMajor, and newVersionMinor to newMinor.
2018-06-04 05:48:20 +02:00
Ayoub Kaanich
6278410be1 refactor: remove semver.intersects, use matches instead 2018-06-03 17:13:51 +02:00
Ayoub Kaanich
c54d0ab69d refactor: add versioning wrapper 2018-06-03 17:02:53 +02:00
Rhys Arkins
bc7728f1d2 refactor: use purl.parse 2018-06-01 14:48:49 +02:00