You can fetch repo metadata (repositories and revisions) for Android build numbers via ci.android.com. For example, `adb --version` with platform-tools 30.0.2 reports the following:
Android Debug Bridge version 1.0.41
Version 30.0.2-6538114
6538114 is the build number.
Conversation
So, you can retrieve this via /builds/submitted/6538114/sdk/latest/view/repo.prop. Thanks to for letting me know. The platform-tools release notes and tags for the 30.0.1 and 30.0.2 releases should be published soon but it's really useful to know how to do this anyway.
2
1
The full URL for that example: ci.android.com/builds/submitt. You can do this with anything that has a build number. This is very useful because sometimes tags are delayed, and not everything has a tagging system. Until today, I didn't realize I could still fetch repository revisions.
1
1
So for example, platform-tools originally didn't have a tagging system until I brought it up. The tags are still useful despite being able to fetch the metadata like this, especially since they provide a proper archive. OS builds always have tags, but not everything else does.
