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

ostree support #100

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

ostree support #100

wants to merge 1 commit into from

Conversation

sabre1041
Copy link

Support for ostree

@sabre1041 sabre1041 force-pushed the ostree branch 4 times, most recently from 1790d0a to 5c8cc16 Compare May 26, 2022 21:16
@mdellweg
Copy link
Member

Great addition. I tend to want to ask for tests...

@sabre1041
Copy link
Author

@mdellweg I can look to add in tests, but it will take a little bit of time. So two options.

  1. Integrate content as is. Create issue related to testing and assign to me
  2. Wait until tests are added before integrating

Let me know which option that you would like to take

@mdellweg
Copy link
Member

I prefer option 2. This project (sadly) is very low traffic atm, and without some test coverage we can consider the addition broken from the time we merge it. Also i am in no rush here. Let me know if any of the testing process described in the readme is unclear.

@sabre1041
Copy link
Author

@mdellweg sounds good. I'll start tackling it soon and report back when its ready for a review

#!/usr/bin/python
# -*- coding: utf-8 -*-

# copyright (c) 2019, Matthias Dellweg
Copy link
Member

Choose a reason for hiding this comment

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

I don't think, you should put my copyright there...
Also can you add yourself to the authors in galayx.yml?

Copy link
Author

Choose a reason for hiding this comment

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

Copy/paste error

content_guard:
description:
- Name of the content guard for the served content
- "Warning: This feature is not yet supported."
Copy link
Member

Choose a reason for hiding this comment

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

Is this really true?


repository_version = self.entity["latest_version_href"]

# In check_mode, assume nothing changed
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to make this really idempotent? Maybe by checking if commits are part of the latest version? (Not so much of an ostree expert here.)

Signed-off-by: Andrew Block <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants