fix: stop shipping dev artefacts in make package ZIP (#65)#67
Merged
Conversation
2 tasks
`.claude`, `.omc`, `.editor-version`, `.env.dist` and the stray Windows `NUL` file were being picked up by `make package` because they were not listed in `.distignore`. Add them so they no longer end up in release ZIPs. The empty `,` artefact accidentally tracked at the repo root has also been deleted. Also add an `AGENTS.md` documenting a `Twin-plugin checks` workflow that requires cross-checks against the sibling `mod_exeweb` repository whenever a fix is applied here.
3a1bb08 to
e4ce4bf
Compare
ignaciogros
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #65.
.claude/,.omc/,.editor-version,.env.distand the stray WindowsNULfile were being copied into the release ZIP because they were not listed in.distignore. They are now excluded somake package RELEASE=X.Y.Zproduces a clean distribution. The empty,artefact that had been accidentally committed at the repo root has also been removed.A new
AGENTS.mdis added with a Twin-plugin checks section that asks coding agents to verify whether the same bug reproduces onmod_exeweband to open a sibling PR when it does — that is what motivated the parallel fix below.What changed
.distignore: added.claude,.omc,.editor-version,.env.dist,NUL.,file from the repo root (was tracked by accident).AGENTS.md: new file mirroring the structure used inmod_exeweb, including the Twin-plugin checks (mod_exescorm ↔ mod_exeweb) section.Test plan
make package RELEASE=testproducesmod_exescorm-test.zip;unzip -lshows no.claude,.omc,.editor-version,.env*,NUL,,,.distignore, or.git*entries.amd/,classes/,lang/,dist/,lib.php,view.php, …) is still present and the ZIP installs cleanly via Moodle plugin install.Sibling PR
Same fix on the eXeWeb side: exelearning/mod_exeweb#52 (issue exelearning/mod_exeweb#50).
Moodle Playground Preview
The changes in this pull request can be previewed and tested using a Moodle Playground instance.