Skip to content

HTML generator moved to GIT submodule - #68

Merged
hagenl-m merged 4 commits into
git2026from
generator_submodule
Oct 1, 2026
Merged

hagenl-m merged 4 commits into
git2026from
generator_submodule

Conversation

@hagenl-m

Copy link
Copy Markdown
Contributor

For easier reuse of HTML generator in different "problems" repos the generator has been moved to a seperate GIT submodule

@hagenl-m hagenl-m self-assigned this Sep 30, 2026
@hagenl-m hagenl-m added the enhancement New feature or request label Sep 30, 2026
@hsd-problem-testing

Copy link
Copy Markdown
Problem Solution Type Status Message
binary invalid_1 invalid ✅
binary invalid_2 invalid ✅
binary valid_1 valid ✅
binary valid_2 valid ✅
bogo invalid_1 invalid ✅
bogo invalid_2 invalid ✅
bogo invalid_3 invalid ✅
bogo valid_1 valid ✅
bogo valid_2 valid ✅
bubble invalid_1 invalid ✅
bubble invalid_2 invalid ✅
bubble invalid_3 invalid ✅
bubble valid_1 valid ✅
bubble valid_2 valid ✅
divide-integers alt_1 valid ✅
divide-integers alt_2 valid ✅
divide-integers invalid_1 invalid ✅
divide-integers invalid_2 invalid ✅
divide-integers invalid_3 invalid ✅
einsen valid_1 valid ✅
einstein alt_1 valid ✅
emojize alt_1 valid ✅
emojize alt_2 valid ✅
emojize invalid_1 invalid ✅
extensions alt_1 valid ✅
extensions alt_2 valid ✅
faces alt_1 valid ✅
hackers valid_1 valid ✅
hello alt_1 valid ✅
iban valid_1 valid ✅
insert invalid_1 invalid ✅
insert valid_1 valid ✅
interpreter valid_1 valid ✅
intervals invalid_1 invalid ✅
intervals valid_1 valid ✅
intervals valid_2 valid ✅
linear valid_1 valid ✅
linear valid_2 valid ✅
linkedAfter valid_1 valid ✅
linkedFind valid_1 valid ✅
linkedInsert valid_1 valid ✅
linkedMerge valid_1 valid ✅
linkedRemove valid_1 valid ✅
linkedStack valid_1 valid ✅
luhn valid_1 valid ✅
merge invalid_1 invalid ✅
merge invalid_2 invalid ✅
merge invalid_3 invalid ✅
merge invalid_4 invalid ✅
merge valid_1 valid ✅
merge valid_2 valid ✅
merge valid_3 valid ✅
merge valid_4 valid ✅
mitternacht valid_1 valid ✅
mitternacht valid_2 valid ✅
nadel alt_1 valid ✅
neuner ⚠️
ReasonNo tests found
palindrom invalid_1 invalid ✅
palindrom valid_1 valid ✅
playback alt_1 valid ✅
rotate invalid_1 invalid ✅
rotate valid_1 valid ✅
rotate valid_2 valid ✅
rotate valid_3 valid ✅
rotate valid_4 valid ✅
run_back invalid_1 invalid ✅
run_back invalid_2 invalid ✅
run_back invalid_3 invalid ✅
run_back valid_1 valid ✅
run_back valid_2 valid ✅
strings alt_1 valid ✅
stufen valid_1 valid ✅
stufen valid_2 valid ✅
sudoku1 valid_1 valid ✅
sudoku1 valid_2 valid ✅
sudoku1 valid_3 valid ✅
sudoku2 valid_1 valid ✅
tip alt_1 valid ✅
wise2026 alt_1 valid ✅
zahlenjagd alt_1 valid ✅
zeilen invalid_1 invalid ✅
zeilen invalid_2 invalid ✅
zeilen valid_1 valid ✅
zeilen valid_2 valid ✅

Problem Summary: 84 total

✅ Passed: 83
🔴 Failed: 0
⚠️ Warnings: 1

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The submodule gitlink is missing, and the setup documentation does not explain how to initialize the new submodule.

Review effort: Balanced
Findings: 1 High severity · 1 Low severity

Open (2)
What changed in this PR

Moves the HTML generator and shared templates toward reuse through an external Git submodule.

Changes:

  • Adds .generator submodule configuration.
  • Removes locally maintained generator scripts and slug configuration.
  • Removes shared HTML templates now intended to reside in the submodule.
File Description
.gitmodules Configures the generator repository URL.
.generator/​slugs.py Removes local course slugs.
.generator/​main.py Removes the local generator entry point.
.generator/​generator.py Removes local Jinja rendering logic.
.generator/​generate_offline.py Removes offline generation logic.
_html_templates/​how_to_test_head.html Removes testing heading template.
_html_templates/​how_to_test_auto.html Removes automated-testing instructions.
_html_templates/​how_to_submit.html Removes submission instructions.
_html_templates/​how_to_mark_in_moodle.html Removes Moodle completion instructions.
_html_templates/​honesty.html Removes embedded tutoring guidance.
_html_templates/​header.html Removes shared page header.
_html_templates/​footer.html Removes shared page footer.
_html_templates/​file.html Removes file-creation text.
_html_templates/​demo.html Removes asciinema demo markup.
_html_templates/​command_box_with_cp.html Removes copyable command markup.
_html_templates/​command_box_scripts.html Removes command-copying JavaScript.
_html_templates/​before_you_begin.html Removes setup instructions.
_html_templates/​before_you_begin_start.html Removes initial environment instructions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .gitmodules
Comment on lines +1 to +3
[submodule ".generator"]
path = .generator
url = https://github.com/HSDDigitalLabor/.generator.git
Comment thread .gitmodules
@@ -0,0 +1,3 @@
[submodule ".generator"]
path = .generator

@MMachmerth MMachmerth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sieht gut aus.

@hagenl-m
hagenl-m added this pull request to stack #71 October 1, 2026 06:39
@hagenl-m
hagenl-m merged commit e9828db into git2026 Oct 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants