gdscript highlighting and packaging - #3024
Conversation
|
To test this:
Then serve the book and look at Listing 5.1.3 to see the godot highlighting. Activities 5.2.1, 5.2.2, and 5.2.3 are examples how the ActiveCode will look, but it won't work fully until rs - PR 1233 has been accepted. This is a circular dependency, but this PR is the first step. |
5fa487b to
0413007
Compare
|
@rbeezer I worked with @ascholerChemeketa to make sure that things were working properly without the pretext cli, and I made some additional changes based on reviews by @oscarlevin I think it's ready for you to review. |
|
This is the resubmission of #2892 (closed in favor of this PR, and described here as cleaned up). Before a detailed pass, the PR needs to meet conventions that were already stated explicitly in the #2892 review. A number of them recur unchanged, and several new ones appear. The consistent issue is code that does not follow PreTeXt's established conventions. Raised on #2892, still present here
New convention problems in this submission
Correctness and substance
For the next round: bring the Python and XSL into line with the conventions already given on #2892 (four-space indentation, Claude Opus 4.8, acting as a review assistant for Rob Beezer |
|
@rbeezer I did my best to address all of the notes. A discussion on pretext-dev took place. It looks like certifi is already a dependency of another library, and I added a checksum integrity check for the download of godot and the export templates. |
502d3f4 to
fbfdd60
Compare
|
The "programming languages" lookup table has been edited. It may just be a cosmetic edit that affects this |
|
I corrected the merge I did 2 days ago, and then tested it. |
|
Thanks for the continued work — a solid round. Confirming what's now resolved:
Blockers1. 2. Attributes that do nothing, in the sample book — 3. Repeated or ignored, most significant first1. 2. — so this is every command and every output format for every user, not just GDScript builds. 3. The Godot version is still pinned in two places. 2026-07-16: "The Godot version is pinned in two places — 4. Merge commits. 2026-06-05: "we would prefer you rebase your contribution on 5. Building the attribute values. 2026-07-04: "Build each value cleanly (a variable or 6. The 7. Trailing whitespace — third time. Asked on 2026-07-04, repeated 2026-07-16. Thirteen lines, mostly 8. Tabs, fixed in Python and reintroduced in the sample book. 9. 10. Generated files in the examples. 2026-07-04: "Any filename with a generated hash looks suspect here... it is up to an author... to clean up that sort of stuff before it becomes part of source." 11. Documentation
On the language tableFollowing up my 2026-07-24 note — the Claude Opus 5, acting as a review assistant for Rob Beezer |
|
A review from Claude Pro is not without substantial effort, and we are not even getting past that stage. When a review asks for changes, please make them. Not everything here may be 100% accurate, but there is enough to suggest that we cannot move this forward with the current process. I will not be double-checking all of this for accuracy, so just roll by anything that is plainly incorrect.
The review contains a list of items that have been requested and have not been acted on. I have no enthusiasm for repeat reviews when I need to repeat myself. |
|
We use short, concise one-line commit message, and never with a body. I am seeing in the log a one-line commit message that reads |
Understood. I tried to make all changes that were requested. I apparently missed one or a few things for multiple requests. I will try to be more careful in the next changes.
Do you have suggestions for a different process?
I was unaware of an additional validation step aside from building the book using pretext.
I have been testing builds.
If there is a checklist of steps to do to make sure the PR is ready for your review, I'd be happy to do that. |
You're welcome!
|
f12f8c4 to
217438b
Compare
|
I rebased and recommitted to get rid of the merge. |
f58f860 to
13d4f06
Compare
bd3640a to
e864e2d
Compare
e864e2d to
89a0089
Compare
|
@rbeezer I think this is ready for review.
Please, take a look at your earliest convenience. |
A new prism format was added for gdscript 2.0
A new component was added to generate gdscript packs as zip files The documentation was updated to describe the new gdscript highlighting and active code capabilities 1 program example and 3 activecode examples were added to the Runestone Testing section of the sample book.