-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
plug: automated CLI linter #1279
Comments
For eg, running |
It's a breaking change to our API 😢, but we should still go ahead and do it imo. cc @hugovk thoughts? https://endoflife.date/api/ubuntu.json should have top level information as well, with a |
What sort of breaking change would it be? |
We go from: [
{
"cycle":"22.04",
"codename":"Jammy Jellyfish",
... to maybe something like: {
"category": "os",
"releases": [{""}] // same as earlier
"releasePolicyLink: ""
"versionCommand": ""
"title": "",
"iconUrl": "//"
} This would allow us to provide a lot more metadata to the API clients. |
fwiw, integrating with the SBOM ecosystem is our long-term goal: #763 |
Sure, go for it! Let's co-ordinate releases: I can use the PR preview to update my API client, and when both are ready, we can merge/release at the same time. Would it be worth adding a version number to the API itself? Some examples: https://restfulapi.net/versioning/ |
Could do Will file a PR for feedback 👍 |
@mcandre Just to close out this issue:
|
Agreed, no need to maintain two versions. 👍 Another option to API version number in URL is putting the version number in a header. The client can be updated to check the version, and if's it newer than expected, tell the user to update the client. Anyway, not super important right now! |
Hi,
As mentioned on the gitter chat, I am prototyping a command line linter to scan environments for components that are by their end of life according to your wonderful database.
https://github.com/mcandre/cicada
I like how endoflife organizes the data. Can we please extend the data to include some additionally helpful elements?
"os"
boolean attribute for products which are operating systems. This helps linters to only scan the OS once, and then proceed to scan the entire rest of available products."posix_query"
and"powershell_query"
string attributes for products. When executed by POSIX compatible sh interpreter or PowerShell interpreter, the command line queries produce the live product's version number to compare against the support timelines.Right now, I'm maintaining a local configuration database with this information. But if we promoted the data into the main endoflife database, then I know the community would help to maintain it better than I can individually.
The text was updated successfully, but these errors were encountered: