Uploaded October 2026 | Updated November 2026, 14 hours ago
In this episode, I add one of my favorite Moodle import ideas to Tsugi:
the ability to wipe a course’s existing content before importing a new Common Cartridge.
The key distinction is that I do not want to delete the course itself.
I want to keep the course, its identity, and its memberships — but optionally remove the content inside it before starting the import.
So the import screen now gives you two choices:
Add the imported content to the existing course
Delete the course’s existing content first, then import
The default is the safe additive behavior.
If you choose the destructive option, Tsugi clears out the course content before loading the cartridge.
That includes things like:
Pages
Files
Lessons
Quizzes
LTI resource links
Gradebook/result data associated with those resources
Import-history rows used for duplicate detection
That last one is especially important. If the course is being reset, the duplicate-detection history has to be reset too, or the importer may incorrectly think content is already present.
The two-phase import flow makes this much safer: Tsugi can first upload and inspect the cartridge, show you what is inside, and only then perform the destructive reset when you actually start the import.
For me, this is an enormous testing improvement.
Now I can import a large course, examine the result, wipe the course content, and immediately try again without creating a brand-new course every time.
While testing, I also clean up another annoyance: imported files should land at the root of the course file area rather than repeatedly nesting themselves inside an imported directory on round trips.
And, naturally, testing reveals more work for the to-do list — including unsafe file suffix handling and post-import LTI configuration.
That is exactly why this reset feature is so valuable: it makes destructive, repetitive import testing fast enough that I can keep finding and fixing those edge cases.
In this episode, I add one of my favorite Moodle import ideas to Tsugi:
the ability to wipe a course’s existing content before importing a new Common Cartridge.
The key distinction is that I do not want to delete the course itself.
I want to keep the course, its identity, and its memberships — but optionally remove the content inside it before starting the import.
So the import screen now gives you two choices:
Add the imported content to the existing course
Delete the course’s existing content first, then import
The default is the safe additive behavior.
If you choose the destructive option, Tsugi clears out the course content before loading the cartridge.
That includes things like:
Pages
Files
Lessons
Quizzes
LTI resource links
Gradebook/result data associated with those resources
Import-history rows used for duplicate detection
That last one is especially important. If the course is being reset, the duplicate-detection history has to be reset too, or the importer may incorrectly think content is already present.
The two-phase import flow makes this much safer: Tsugi can first upload and inspect the cartridge, show you what is inside, and only then perform the destructive reset when you actually start the import.
For me, this is an enormous testing improvement.
Now I can import a large course, examine the result, wipe the course content, and immediately try again without creating a brand-new course every time.
While testing, I also clean up another annoyance: imported files should land at the root of the course file area rather than repeatedly nesting themselves inside an imported directory on round trips.
And, naturally, testing reveals more work for the to-do list — including unsafe file suffix handling and post-import LTI configuration.
That is exactly why this reset feature is so valuable: it makes destructive, repetitive import testing fast enough that I can keep finding and fixing those edge cases.










