Skip to content
Snippets Groups Projects
Select Git revision
  • 854d0a86e8fbd83b047f77a0b6e8a79b213e63d4
  • main default protected
  • renovate/main-ghcr.io-renovatebot-base-image-11.x
  • renovate/main-vitest-eslint-plugin-1.x
  • renovate/main-actions-setup-node-5.x
  • jamietanna-patch-2
  • jamietanna-patch-1
  • test/mc-maven
  • feat/minimumReleaseAgeTimestamp-required
  • defect/test-name
  • renovate/main-linters
  • renovate/main-find-up-8.x
  • refactor/pin-new-value
  • fix/user-agent
  • feat/37517-base64-private-key
  • next
  • feat/gnupg
  • fix/36615b-branch-reuse-no-cache
  • chore/punycode
  • feat/36219--git-x509-signing
  • feat/structured-logger
  • 41.144.1
  • 41.144.0
  • 41.143.3
  • 41.143.2
  • 41.143.1
  • 41.143.0
  • 41.142.1
  • 41.142.0
  • 41.141.0
  • 41.140.3
  • 41.140.2
  • 41.140.1
  • 41.140.0
  • 41.139.1
  • 41.139.0
  • 41.138.5
  • 41.138.4
  • 41.138.3
  • 41.138.2
  • 41.138.1
41 results

html

user avatar
Jamie Magee authored and GitHub committed
* refactor(datasource): migrate to class based datasource

    A small experiment into what OOP/class based datasources might look like. Picked Cdnjs as it's the smallest & simplest.

    With this approach we can share common logic, like error handling, rate limiting, etc. between different datasources, instead of having to reimplement it each time we write a new datasource. Currently there's nothing shared, as it's only 1 datasource, but the interesting stuff will come with the 2nd datasource

* Apply suggestions from code review

Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>

* remove renaming ClojureDatasource to datasource in tests

Co-authored-by: default avatarRhys Arkins <rhys@arkins.net>
Co-authored-by: default avatarMichael Kriese <michael.kriese@visualon.de>
621b77b2
History