Skip to content

Make compilebuildtool build all tools by default#293

Closed
ericholscher wants to merge 1 commit intomainfrom
fix/compilebuildtool-default-all-11235
Closed

Make compilebuildtool build all tools by default#293
ericholscher wants to merge 1 commit intomainfrom
fix/compilebuildtool-default-all-11235

Conversation

@ericholscher
Copy link
Copy Markdown
Member

Summary

  • Make tool and version arguments optional in inv docker.compilebuildtool
  • When called without arguments, compiles all tools and all versions
  • When called with just a tool (e.g. inv docker.compilebuildtool python), compiles all versions of that tool
  • Prints progress ([1/48] Compiling python 2.7...) for visibility during long runs
  • Previous behavior of specifying both tool and version still works exactly as before

Per @humitos in readthedocs/readthedocs.org#11235: the command should build everything by default.

Test plan

  • inv docker.compilebuildtool (no args) compiles all tools and versions
  • inv docker.compilebuildtool python compiles all Python versions
  • inv docker.compilebuildtool python 3.12 compiles just Python 3.12 (existing behavior)
  • inv docker.compilebuildtool --version 3.12 without tool prints error message

Made by AI

@humitos
Copy link
Copy Markdown
Member

humitos commented Mar 30, 2026

Preliminar review, looks good.

@humitos
Copy link
Copy Markdown
Member

humitos commented Mar 30, 2026

Seems you started from an old commit since there are a few commits that are mine 😄

When called without arguments, compiles all tools and all versions.
When called with just a tool, compiles all versions of that tool.
The previous behavior of specifying both tool and version still works.

Ref: readthedocs/readthedocs.org#11235
@ericholscher ericholscher force-pushed the fix/compilebuildtool-default-all-11235 branch from b24b148 to e750674 Compare March 31, 2026 09:38
@ericholscher ericholscher marked this pull request as ready for review March 31, 2026 10:38
@ericholscher ericholscher requested a review from a team as a code owner March 31, 2026 10:38
@ericholscher ericholscher requested a review from stsewd March 31, 2026 10:38
@ericholscher
Copy link
Copy Markdown
Member Author

I think I ended up copying them from S3 with rclone, which is probably a better approach.

@stsewd stsewd deleted the fix/compilebuildtool-default-all-11235 branch March 31, 2026 15:09
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