-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: add azure pipelines built-in tasks version data #16949
Conversation
405e9b0
to
4eb8536
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this algorithm you created needs some documentation to explain the "why", in case someone else needs to maintain it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering that it seems quite slow, how/when will this command need to be called?
I think once a week should cover it. Shall I create a follow-up task to write a weekly scheduled GitHub Actions workflow? |
Yeah, that would be good. I just wanted to make sure it doesn't run as part of |
This PR adds the script, but doesn't run it anywhere. It requires a manual run, same as the |
sounds good, like that. how should it notify us of changes? ideally with an update PR. 🤗 |
I created #17050 |
🎉 This PR is included in version 32.153.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
Adds version information for Azure Pipelines built-in tasks.
There is no public API that exposes this information. I checked with the team that maintains these tasks, and parsing the git history was the recommended way to extract version information. I don't believe doing this during a Renovate run is feasible, hence adding it as static information in the repository.
The script currently catches
32 exceptions throughout theazure-pipelines-tasks
repository's history:Failed to parse Tasks/CondaEnvironmentV0/task.json at 7ff8f87757903515cdcf521a76f92626bd06ab2a
CondaEnvironmentV0/task.json
was moved toCondaEnvironmentV1/task.json
Failed to parse Tasks/DownloadPipelineArtifactV2/task.json at d0c0a1cce48931d8ba009ef3db51651c47b0c924
Someone added a comment toDownloadPipelineArtifactV2/task.json
Failed to parse Tasks/IISWebAppDeployment/task.json at 05114960d2286a029cf1cbd99380df3a8332e9be
If there are any git wizards who know how to exclude renames and deletions from
git rev-list
please let me know.Context
azure-pipelines-tasks
datasource #16904Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: