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

Unify distro_signatures.json #57

Closed
tiltingpenguin opened this issue Feb 23, 2023 · 2 comments · Fixed by #66
Closed

Unify distro_signatures.json #57

tiltingpenguin opened this issue Feb 23, 2023 · 2 comments · Fixed by #66
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@tiltingpenguin
Copy link
Collaborator

Currently we have 3 instances for distro_signatures.json:

1 in libcobblersignatures,
1 in cobbler and
1 in cobbler.github.io

We want to unify these and thus reduce the effort for maintaining an example signatures file. The idea is to have a static site in cobbler.github.io that serves the examples for all the different schema versions

@tiltingpenguin tiltingpenguin added the documentation Improvements or additions to documentation label Feb 23, 2023
@SchoolGuy SchoolGuy added this to the v1.0.0 milestone Feb 23, 2023
@SchoolGuy
Copy link
Member

I want to extend on this a littlebit more:

  • This repository will use GitHub pages to upload all versions of the schema that are available.
  • The server repository version of distro_signatures.json will be deleted once Integrate this project into the main server #44 is done.
  • The versions on cobbler.github.io will stay unmaintained there for archival purposes.
  • The server will use the new schema-based versioning as an URL for updating the distro_signatures.json file.
  • The new URL should then subsequently look roughly like the following:
    • https://cobbler.github.io/libcobblersignatures/v1/data.json
    • https://cobbler.github.io/libcobblersignatures/v1/schema.json
  • Thus in the repository will at all times live all schemas with all distro_signatures.json files in the main branch.
  • The new repository structure could look like the following:
...
distro_signatures/
    v1/
        data.json
        schema.json
...

@SchoolGuy
Copy link
Member

SchoolGuy commented Mar 21, 2023

This issue is dependent on #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

Successfully merging a pull request may close this issue.

2 participants