renovate icon indicating copy to clipboard operation
renovate copied to clipboard

Create a scheduled GitHub Action to update `data`

Open JamieMagee opened this issue 3 years ago • 3 comments

Describe the proposed change(s).

Currently we have some static data, with update scripts, that are manually run. There is:

  • debian-distro-info.json^1 and ubuntu-distro-info.json^2 updated by distro-json-generate.mjs^3
  • (Soon) azure-pipelines-tasks updated by azure-pipelines-tasks-json-generate.mjs
    • #16949

We should add a GitHub Actions pipeline that runs these tasks on a weekly basis, and opens a pull request with any changes.

JamieMagee avatar Aug 08 '22 15:08 JamieMagee

We should also look into automating the sync of Node.js release schedule data^1 as part of this. No update script is required, but the file is synced from upstream^2

JamieMagee avatar Aug 08 '22 15:08 JamieMagee

Yeah I keep manually syncing that node-js-schedule.json file with upstream. 😄

We also have a repository that we intended to use as source for the node.js schedule, with some extra tools to use in Renovate: https://github.com/renovatebot/node-schedule.

I think the big idea was that we "package up" the node-schedule repository and use it as a dependency in our renovate repository. I don't know if that is still something we want to do. So before you decide what to do, check the node-schedule repository first.

I remember we did a lot of work to node-schedule repository somewhat ready for use, but we still have some issues. But this is all a sunk cost anyway, and maybe we're better off using a GitHub Action to update our data things.

HonkingGoose avatar Aug 09 '22 09:08 HonkingGoose

@JamieMagee does your PR #17080 close this issue? Or do you need/want to do more stuff before closing this issue?

HonkingGoose avatar Aug 10 '22 07:08 HonkingGoose

Yeah, I think so. I wasn't sure if you wanted to keep this issue open to discuss node-schedule work.

JamieMagee avatar Aug 10 '22 17:08 JamieMagee

I'm closing this issue as done via PR #17080.

We should discuss the future of the node-schedule project in this issue:

  • https://github.com/renovatebot/node-schedule/issues/43

HonkingGoose avatar Aug 10 '22 20:08 HonkingGoose