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

feat: add reproducible and non reproducible states #134

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

tdejager
Copy link
Contributor

Adds seperate states for reproducible and non-reproducible builds.

@tdejager tdejager requested a review from nichmor June 25, 2024 14:20
def get_build_state_fa(build_state: BuildState):
if build_state == BuildState.SUCCESS:
return "fa-solid fa-check text-green-600"
reproducible = "fa-solid fa-thumbs-up text-green-600"
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's use UPPER_CASE for them

if build_state == BuildState.SUCCESS and (
rebuild_state is None or rebuild_state == BuildState.SUCCESS
):
return reproducible
Copy link
Collaborator

Choose a reason for hiding this comment

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

small qq:
if we dont have rebuild state, maybe we could have unknown state?
like the one at the end:
return "fa-solid fa-question"

@nichmor
Copy link
Collaborator

nichmor commented Jun 26, 2024

will add them in next PR

@nichmor nichmor merged commit 324536e into prefix-dev:main Jun 26, 2024
180 of 256 checks passed
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