Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ruby-version datasource #3088

Closed
rarkins opened this issue Jan 20, 2019 · 2 comments
Closed

Add ruby-version datasource #3088

rarkins opened this issue Jan 20, 2019 · 2 comments
Labels
good first issue Suitable for new contributors priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Jan 20, 2019

This is a datasource to be used specifically for retrieving Ruby versions and therefore is not the same as Rubygems. This one will be used for updating .ruby-version files and ruby lines inside Gemfiles.

We need to include both stable and unstable releases.

Possible sources:

I suspect that the first source is the best for us.

@rarkins rarkins added type:feature Feature (new functionality) ready priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others good first issue Suitable for new contributors labels Jan 20, 2019
@rarkins
Copy link
Collaborator Author

rarkins commented Jan 20, 2019

Requirements:

  • Query the ruby-lang.org downloads/releases page and parse the HTML
  • Return homepage=https://ruby-lang.org and sourceUrl=https://github.com/ruby/ruby
  • Return an array of releases, each with version, releaseDate and changelogUrl
  • If the website fails or we can't parse it then we should throw registry-failure message to abort renovation
  • Cache results for 15 minutes

@rarkins rarkins changed the title Add ruby-versions datasource Add ruby-version datasource Jan 20, 2019
@rarkins rarkins removed the ready label Jan 21, 2019
@renovate-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 13.178.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Suitable for new contributors priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants