-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Include release date as optional metadata in manifests #873
Comments
This would also be useful for tracking when a package manifest with |
The list of versions displayed by |
I'd be open to adding an optional release date field. We would need to lock on the date format so it's consistent across packages. It's also something that essentially could change with any PR, but that's the world we live in, so I think the risk is fairly low. I like the suggestion regarding We have a few new fields likely coming over the next few months to support a better store source and experience. The hope is that it's a non-breaking change with a new v1.1.0 manifest schema. The 1.0 clients could essentially ignore the new fields, but the 1.1 capable clients would be able to render the meta-data. That would be an ideal time to include any new fields. |
Shall I go ahead and draft a spec for this or would you rather bundle this with the other additional planned fields that you mentioned? |
@chausner this would need a spec since changes to the schema have a large surface area for the project. Our validation pipelines, the HTTP REST API, and the nuget package we use to share these kinds of things would all need to be updated. We would also need a minor version bump on the schemas. Depending on your rate of progress, I can add some of the other fields into the spec and we can see about getting the new fields bundled together. |
This field goes in the installer node as installers are released on different dates in some cases. The value would be displayed under Installers: in
Validation Considerations "February 31st, 2021" <- Not Valid Installers:
- InstallerType: exe
InstallerArchitecture: x64
InstallerSHA256: 12341234123412341234123412341234123412341234
InstallerURL: https://www.contoso.com/awesomeapp/1.0.0/awesomeapp.x64.exe
ReleaseDate: 2021-06-30 |
winget-cli/schemas/JSON/manifests/v1.1.0/manifest.installer.1.1.0.json Lines 358 to 362 in 5a97e26
|
I propose to add an optional metadata field to the manifests to store the date of when the version of the software was released (not when the manifest was written/last updated, although that might also be interesting and could even be derived automatically from git history). I think the version release date would sometimes be very useful (and IMO certainly more useful than some of the other information that
winget show
currently displays).Why do I think that release dates are interesting?
Suppose you found some app via a tag search through
winget search
that you don't know yet. From the version number alone thatwinget show
displays, it is not apparent whether this is an app that is still actively maintained or whether it was last updated years ago. This information can be a deciding factor whether to install an application or look for an alternative instead.Some potential hurdles:
The text was updated successfully, but these errors were encountered: