google / deps.dev

Resources for the deps.dev API
https://deps.dev
Apache License 2.0
242 stars 18 forks source link

Getting release / publish date for versions #17

Closed vasumv closed 1 year ago

vasumv commented 1 year ago

Is there any way of fetching the release / publish date for versions? Seems like it's listed on the website as the publish date, but I don't see a way of getting it through the API or the BigQuery dataset.

Thanks!

tyler-french commented 1 year ago

I am also very interested in this feature. Currently, one needs to connect with NPM, Maven, and pkg.go.dev directly in order to get release date on these versions.

Version age is very important, and this seems to be an important gap between the deps.dev web UI and the API.

vasumv commented 1 year ago

Sorry for the additional bump - any updates on whether this feature might be coming or ~how long it might take?

adg commented 1 year ago

An update: this is a work in progress and we hope to have version publication times (for the systems that support them) available in the API within the next week.

vasumv commented 1 year ago

Thanks! Are you planning on adding these as columns to the BigQuery dataset as well, or just the API?

adg commented 1 year ago

There is now a publishedAt field in the GetPackage response, GetVersion response, and Query response.

@vasumv yes, we have also added a UpstreamPublishedAt field to PackageVersions table, which should be populated in the next snapshot.