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

Host signatures in this repo #66

Merged
merged 6 commits into from
Sep 24, 2023
Merged

Host signatures in this repo #66

merged 6 commits into from
Sep 24, 2023

Conversation

tiltingpenguin
Copy link
Collaborator

This PR is a refactoring to be able to cleanly host all the versions of distro_signatures.json and their correlating schemas here in this repository on github pages.

Fixes: #57

@tiltingpenguin tiltingpenguin added the documentation Improvements or additions to documentation label Sep 10, 2023
@tiltingpenguin tiltingpenguin added this to the v1.0.0 milestone Sep 10, 2023
@tiltingpenguin tiltingpenguin self-assigned this Sep 10, 2023
@SchoolGuy
Copy link
Member

@tiltingpenguin GitHub pages are missing in the CI (I don't see how ONLY those two files are published) and furthermore, I had an idea that you can decide if you want to implement it or not...

We could utilize the backport for Py 3.6 of importlib-resources to embed the JSON and schema in the library. That would enable us to prevent a requirement to the internet at least as a starting point. If we don't ship the JSON in Cobbler anymore that would mean the user would need to either have internet or create their own file from scratch. As most users are happy so far in Cobbler with the default I think this is a reasonable thing to do.

Copy link
Member

@SchoolGuy SchoolGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's hope that it works as expected. :)

@SchoolGuy SchoolGuy merged commit eeb4ba0 into main Sep 24, 2023
10 of 11 checks passed
@SchoolGuy SchoolGuy deleted the host-signatures branch September 24, 2023 09:38
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 this pull request may close these issues.

Unify distro_signatures.json
2 participants