Skip to content

Instantly share code, notes, and snippets.

Update toctree to use glob pattern

Exported on 10/6/2025 at 14:17:39 EDT from Cursor (1.7.33)


User

Update the toctree here to use a glob pattern instead of listing files explicitly


╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/dhellmann/Devel/fromager/fromager │
╰───────────────────────────────────────────────────╯
> I want to work on github ticket #703. Create a subdirectory under docs/how-tos for some examples of using graph commands to explore the graph file
produced by a build. For example examples, use the file 'e2e/build-parallel/graph.json'. Add separate how-to files documenting each command.

Add topological sorter method

Exported on 9/28/2025 at 11:52:08 EDT from Cursor (1.7.11)


User

Add a method to DependencyGraph to return a graphlib TopologicalSorter for the graph based on the build dependencies of the nodes.


Refactor build_parallel logic for nodes

Exported on 9/27/2025 at 11:21:08 EDT from Cursor (1.7.11)


User

Refactor the logic in build_parallel for deciding which nodes can be built into its own class in the same file.


Update lint-requirements command logic

Exported on 9/23/2025 at 17:08:23 EDT from Cursor (1.6.45)


User

Update the lint-requirements command so that it resolves the valid input requirements to ensure we can find a matching version of the package. Use the same logic that is used in the bootstrap command to resolve the input toplevel requirements.


Add BUILD_MODE input to script

Exported on 9/23/2025 at 16:45:57 EDT from Cursor (1.6.42)


User

I want to add a new input BUILD_MODE, similar to BOOTSTRAP_MODE. It should be an enum with 2 options, "parallel" and "serial". The default should be parallel. The input value needs to be saved as a variable on the job and needs to be passed as an environment variable when podman is run.

Then the script pipeline-api/build_wheels.sh needs to be updated to look for the variable. If it is not set, it should assume the mode is parallel. When the mode is parallel the script should call fromager's build-parallel command with the graph file. When the mode is serial, the script should call fromager's build-serial command with the build order file.

Create build_wheels.sh script

Exported on 9/20/2025 at 14:12:45 EDT from Cursor (1.6.35)


User

I want to work on jira issue @https://issues.redhat.com/browse/AIPCC-5343 by creating a bin/build_wheels.sh script that wraps the pipeline-api/build_wheels.sh script similar to how bin/bootstrap.sh works.

The new script should take as input a containerfile, a constraints file, and a graph file.

Define new job in ci-wheelhouse.yml

Exported on 9/19/2025 at 15:52:43 EDT from Cursor (1.5.11)


User

I want to work on jira ticket @https://issues.redhat.com/browse/AIPCC-5335 . Start by looking at ci-wheelhouse.yml and .gitlab-test-jobs.yaml to see how the test bootstrap-and-onboard jobs in this repository are defined. Then add a new base job to the ci-wheelhouse.yml file using the variable-based parameterized jobs there as examples. Set the same variables for the new job that appear in the jobs in .gitlab-test-jobs.yaml.


Add option to reduce graph output

Exported on 9/6/2025 at 17:53:19 EDT from Cursor (1.5.9)


User

I want to add an option to the to-dot command that will reduce the graph that is output to only include nodes that have some fromager overrides, settings, patches, or plugins. Nodes without any of those things should not be included in the graph, but relationships between the nodes should be. If package A depends on B and B depends on C but only packages A and C are output, then A should show a dependency directly on C without a B node in between.