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: only build non-reproducible builds #151

Merged
merged 6 commits into from
Jul 2, 2024

Conversation

tdejager
Copy link
Contributor

@tdejager tdejager commented Jul 2, 2024

Two things in this PR:

  • Only build non-reproduced (I call them unfinished) recipes
  • Change the tests to use a fixture system to setup the in-memory database

@tdejager tdejager requested a review from nichmor July 2, 2024 10:48
@@ -55,9 +56,9 @@ def main(


@app.command()
def generate_recipes():
def generate_recipes(all: Annotated[bool, typer.Option()] = False):
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think all is a reservered word, maybe we can use all_

def generate_recipes():
"""Generate list of recipes from the configuration file."""
def _generate_recipes(
rattler_build_hash: str, all: bool = False, config_path: Optional[Path] = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here with all

def generate_recipes():
"""Generate list of recipes from the configuration file."""
def _generate_recipes(
rattler_build_hash: str, all: bool = False, config_path: Optional[Path] = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can use config_path = Path('config.yaml') as default argument

@nichmor nichmor merged commit 5b0cd47 into prefix-dev:main Jul 2, 2024
2 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