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

idl/json_backend: generate data for new-style xapi-releases #4815

Merged
merged 4 commits into from
Oct 12, 2022

Commits on Oct 12, 2022

  1. idl/json_backend: decrease verbosity in code

    Add shorter synonyms for creating paths and writing files
    Add empty mli since it should not export any functions
    
    Signed-off-by: Pau Ruiz Safont <pau.safont@citrix.com>
    psafont committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    42559c8 View commit details
    Browse the repository at this point in the history
  2. idl/json_backend: Use yojson for generating files

    An ad-hoc solution was used until now. The new code generates compact
    json that is equivalent to the previous output. I've verified this using
    jq.
    
    Signed-off-by: Pau Ruiz Safont <pau.safont@citrix.com>
    psafont committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    81c6fbd View commit details
    Browse the repository at this point in the history
  3. idl/json_backend: modularise serialization

    Signed-off-by: Pau Ruiz Safont <pau.safont@citrix.com>
    psafont committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    e70bd6e View commit details
    Browse the repository at this point in the history
  4. idl/gen_json: add modern xapi releases into the release list

    Since xapi 1.249, changes have been attached to xapi versions instead of
    just a xenserver release. Surface this information to the data that gets
    used to populate the public documentation webpage
    
    Currently it uses a locked API, which might not be maintained in the
    future, and release dates are not populated which would be good for
    users to know
    
    Signed-off-by: Pau Ruiz Safont <pau.safont@citrix.com>
    psafont committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    5143cc6 View commit details
    Browse the repository at this point in the history