Commit Graph

30 Commits

Author SHA1 Message Date
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 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 688ec14b6a refactor: datasource return array of releases 2018-06-11 14:28:50 +02:00
Rhys Arkins dc9125e4a3 refactor: add gitRef to github datasource 2018-06-11 13:15:47 +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
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 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 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 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
Rhys Arkins 523b02fbc8 refactor: npm and semver (#1817) 2018-04-10 05:20:46 +02:00
Rhys Arkins b02e170b11 fix: export semverSort from github datasource 2018-03-20 15:51:12 +01:00
Rhys Arkins 49cedb15d8 fix: filter tags in getRepoTags request 2018-02-22 08:21:27 +01:00
Rhys Arkins 612ee76e0c fix: add try/catch to github datasource functions 2018-02-20 21:35:04 +01:00
Rhys Arkins 16a8d15e33 refactor: move bazel github operations to datasource 2018-02-16 16:32:48 +01:00