googlefonts / googlefonts/glyphsLib

glyphs2ufo: create all parent folders if necessary when writing out UFOs

Open
#539 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
201
Forks
56
Avg merge
17m
Merged PRs (30d)
1

Description

I.e. a UFO might be saved to `masters/Something.ufo` instead of just `Something.ufo`, so we need to use `mkdir -p` before.

Contributor guide

Open the contributing guide

Research direction

Start at the glyphs2ufo output path handling and trace how a UFO destination such as masters/Something.ufo is written. Ensure missing parent folders are created before writing, then verify that nested output paths succeed without affecting direct UFO output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.