sstadick / sstadick/hat

Export a `recipe.yml` to be used for publishing to `modular-community`

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Mojo
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Add a subcommand to generate the recipe.yml that can be used for publishing to modular-community.

It should create a recipe based on the current commit.
It should not have hat as a dependency.
All build commands should use mojo directly.

Possibly hat will need the mojo toml parser to read the pixi.toml file to extract info. I don't think this can be fully templated as it relies on a lot of user supplied info in the pixi.toml.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no implementation files, tests, or existing subcommand entry point. Start by inspecting the current command structure and the pixi.toml and recipe.yml formats, then determine how the current commit and user-supplied pixi.toml information are represented. Done means a subcommand generates a publishable recipe.yml without hat as a dependency and with build commands invoking mojo directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.