Skip to main content

Module archive

Module archive 

Source
Expand description

Archive completed changes and update specifications. Archive completed changes.

Archiving moves a change directory into the archive area and can copy spec deltas back into the main specs/ tree.

This module also includes a small helper for determining whether a tasks.md file is fully complete.

Enums§

TaskStatus
Summary of task completion for a change.

Functions§

archive_exists
Return true if {ito_path}/changes/archive/{archive_name} exists.
categorize_specs
Split spec ids into those already present in main specs and those that are new.
change_exists
Return true if the change exists.
check_task_completion
Check whether the tasks in contents are complete.
copy_specs_to_main
Copy change spec deltas to the main specs tree.
discover_change_specs
Discover spec ids present under {change}/specs/*/spec.md.
generate_archive_name
Generate an archive folder name for change_name.
list_available_changes
List available change directories under {ito_path}/changes.
move_to_archive
Move a change directory to the archive location.