plugin-tools
plugin-tools copied to clipboard
feat: check compatibility with min version
This is just an idea and not verified whether it actually works or not, especially substituting the version within the levitate call.
Its very brittle based on how people could use this field, but may serve as a way to check against whether recent changes break older compatibility.
Hello! 👋 This repository uses Auto for releasing packages using PR labels.
❌ This PR cannot be merged until the following issues are addressed:
- This PR is missing one of the following labels:
patch,minor,major,no-changelog. - Optionally if using a
patch,minorormajorlabel also add thereleaselabel if you would like this PR to trigger npm package publishing.
🏷️ More info about which labels to use
- If the changes only affect the docs website, documentation, or this repository's tooling add the
no-changeloglabel. - If there are changes to any of the npm packages src files please choose from one of the following labels:
- 🐛 if this PR fixes a bug add the
patchlabel - 🚀 if this PR includes an enhancement add the
minorlabel - 💥 if this PR includes a breaking change add the
majorlabel
- 🐛 if this PR fixes a bug add the
- Optionally, if you would like this PR to publish new versions of packages when it is merged add the
releaselabel.
note to self: missing jq -r '.dependencies.grafanaDependency'
Also copying over from slack w @leventebalogh
I think instead of bash maybe we could use javascript in the step's script, and then we could probably more easily parse the semver string (if it's a semver string) to get the min and max versions? That way we could we could tell if the plugin is compatible with the provided grafana dependency range. (Latest is maybe outside of that range - however it can still be a useful information if it would break with latest)
This pull request has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
This pull request has been automatically closed because it has not had activity in the last 2 weeks. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
This pull request has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!
This pull request has been automatically closed because it has not had activity in the last 2 weeks. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!