ossf / package-feeds

Feed parsing for language package manager updates
Apache License 2.0
70 stars 24 forks source link

Contribute new publisher type #422

Open lukehinds opened 5 months ago

lukehinds commented 5 months ago

Hello,

I am interested in contributing a new publisher. This will essentially be a simple http client that will post published events to a configurable endpoint;

e.g...

publisher:
  type: 'http-client'
  config:
    http_client_config:
      url: 'http://127.0.0.1:8081/events'  # Replace with your actual URL

image

I wanted to see what the communities appetite is before I rock up with a PR and no previous context. This will make feeds a key part of our platform and so on-going maintenance of the client will be a responsibility we are willing to take on for the long term.

lukehinds commented 5 months ago

I am sorry, I just noticed this afterwards https://github.com/ossf/package-feeds/issues/386

Happy to move the conversation there if better,

calebbrown commented 5 months ago

Hi Luke, it makes sense to consolidate the conversation into #386.

Your basic proposal makes sense and we'd be happy to accept contributions.

I'm keen for a bit more clarity around error handling, retries, etc too.

lukehinds commented 5 months ago

I'm keen for a bit more clarity around error handling, retries, etc too.

That makes sense. We will make sure those are all covered off, would it work for you to review the approach within the context of a PR?