Skip to main content

Module migrate_workspace

Module migrate_workspace 

Source
Expand description

xil migrate-workspace โ€” move a pre-0.1.8 flat workspace to the normalized layout. Port of XILU009_migrate_workspace.py.

The Python calls run_banner(...) without entering it, so no banner is ever printed. Faithfully reproduced: no banner here either.

Structsยง

Args ๐Ÿ”’

Staticsยง

ANNOTATED_RE ๐Ÿ”’
CAST_RE ๐Ÿ”’
CUES_MANIFEST_RE ๐Ÿ”’
CUES_MD_RE ๐Ÿ”’
DAW_RE ๐Ÿ”’
MASTER_RE ๐Ÿ”’
ORIG_RE ๐Ÿ”’
PARSED_CSV_RE ๐Ÿ”’
PARSED_RE ๐Ÿ”’
PRE_SPLICE_RE ๐Ÿ”’
SFX_RE ๐Ÿ”’

Functionsยง

command
The clap definition behind --help, for man pages.
discover_moves
(src, dst) pairs for every legacy file found, as absolute paths.
execute_moves ๐Ÿ”’
glob_raw ๐Ÿ”’
glob.glob(os.path.join(dir, f"{prefix}*{suffix}")) โ€” raw directory order, dotfiles excluded.
infer_slug_from_project ๐Ÿ”’
infer_slug_from_tag ๐Ÿ”’
names_raw ๐Ÿ”’
rel ๐Ÿ”’
os.path.relpath(path) โ€” relative to the current directory.
run