Skip to content
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

Make kcidb-schema output older schema versions on request #76

Closed
spbnick opened this issue Apr 27, 2020 · 2 comments
Closed

Make kcidb-schema output older schema versions on request #76

spbnick opened this issue Apr 27, 2020 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@spbnick
Copy link
Collaborator

spbnick commented Apr 27, 2020

No description provided.

@spbnick spbnick added the good first issue Good for newcomers label Feb 17, 2021
@spbnick
Copy link
Collaborator Author

spbnick commented Sep 6, 2021

The kcidb-schema tool available after installing KCIDB supports outputting the latest version of the schema only. Like this:

$ kcidb-schema
{   
    "title": "kcidb",
    "description": "Kernel CI report data. ...",
    "type": "object",
    "properties": {
        "version": {
            "type": "object",
            "properties": {
                "major": {
                    "type": "integer",
...

Make it accept a positional argument specifying the major version of the schema to output JSON for. Like this:

$ kcidb-schema 3
{   
    "title": "kcidb",
    "description": "Kernel CI report data. ...",
    "type": "object",
    "properties": {
        "version": {
            "type": "object",
            "properties": {
                "major": {
                    "type": "integer",
...

@spbnick
Copy link
Collaborator Author

spbnick commented Jan 10, 2022

Fixed in #231

@spbnick spbnick closed this as completed Jan 10, 2022
Hackfest #2 - 6th to 10th September 2021 automation moved this from Backlog to Done Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Development

No branches or pull requests

3 participants