Skip to content

Instantly share code, notes, and snippets.

@eliheuer
Created August 24, 2023 22:02
Show Gist options
  • Save eliheuer/da35ff207d01debd1295513d39fb6bce to your computer and use it in GitHub Desktop.
Save eliheuer/da35ff207d01debd1295513d39fb6bce to your computer and use it in GitHub Desktop.
Terminal output from this PR: https://github.com/google/fonts/pull/6640
MINI-M1 🌎福 ~/Google-Fonts/gf-fork-packager
10072 🔅 : gftools packager "Chilanka" fonts/ -p [~]
Font Family "Chilanka" is on Google Fonts under "ofl".
Using upstream.yaml from google/fonts for Chilanka.
Do you want to edit the current upstream configuration?
Your options y=yes,[n]=no:y
temp file name is /var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/upstreamodbvjvef.yaml
Creating package with
----- upstream configuration (no comments, normalized) -----
name: Chilanka
repository_url: https://github.com/smc/Chilanka.git
archive:
branch: tags/Version1.6
category:
- HANDWRITING
designer: SMC, Santhosh Thottingal
build: mkdir -p build; python3 -m venv build/venv; source build/venv/bin/activate;
pip install -r requirements.txt; make ttf
files:
OFL.txt: OFL.txt
build/Chilanka-Regular.ttf: Chilanka-Regular.ttf
------------------------------------------------------------
Cloning into bare repository '/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/tmp4maq6hn7/repos/https_github_com_smc_Chilanka_git__tags_Version1_6'...
remote: Enumerating objects: 1238, done.
remote: Counting objects: 100% (1238/1238), done.
remote: Compressing objects: 100% (1070/1070), done.
remote: Total 1238 (delta 346), reused 1010 (delta 166), pack-reused 0
Receiving objects: 100% (1238/1238), 2.04 MiB | 20.33 MiB/s, done.
Resolving deltas: 100% (346/346), done.
Found build command:
$ mkdir -p build; python3 -m venv build/venv; source build/venv/bin/activate; pip install -r requirements.txt; make ttf
Can't execute build command without explicit permission. Don't allow this lightly and review build command, build process and its dependencies prior. This support for building from sources is provisional, a discussion can be found at https://github.com/googlefonts/gftools/issues/231
Your options b=build,[q]=quit program:b
Building...
Cloning into '/var/folders/ht/8b6qb9pj7csc3pn8bgwwx3j80000gn/T/tmp1hq3ib3_'...
remote: Enumerating objects: 1238, done.
remote: Counting objects: 100% (1238/1238), done.
remote: Compressing objects: 100% (890/890), done.
remote: Total 1238 (delta 346), reused 1238 (delta 346)
Receiving objects: 100% (1238/1238), 2.04 MiB | 52.34 MiB/s, done.
Resolving deltas: 100% (346/346), done.
Note: switching to '4688e5c6fcfb5ccf8fc9f28dedaa15b2eacbe8e9'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'sources/svgs/AE.svg'
'sources/svgs/ae.svg'
Collecting appdirs==1.4.4
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting attrs==22.2.0
Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting axisregistry==0.3.11
Downloading axisregistry-0.3.11-py3-none-any.whl (31 kB)
Collecting babelfont==3.0.0
Using cached babelfont-3.0.0-py3-none-any.whl (40 kB)
Collecting beautifulsoup4==4.11.2
Downloading beautifulsoup4-4.11.2-py3-none-any.whl (129 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.4/129.4 kB 6.7 MB/s eta 0:00:00
Collecting beziers==0.5.0
Using cached beziers-0.5.0-py3-none-any.whl (39 kB)
Collecting booleanoperations==0.9.0
Using cached booleanOperations-0.9.0-py3-none-any.whl (18 kB)
Collecting brotli==1.0.9
Using cached Brotli-1.0.9-cp311-cp311-macosx_10_9_universal2.whl (806 kB)
Collecting certifi==2022.12.7
Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting cffi==1.15.1
Using cached cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl (174 kB)
Collecting cffsubr==0.2.9.post1
Using cached cffsubr-0.2.9.post1-py3-none-macosx_10_9_universal2.whl (641 kB)
Collecting charset-normalizer==3.1.0
Using cached charset_normalizer-3.1.0-cp311-cp311-macosx_11_0_arm64.whl (121 kB)
Collecting cmarkgfm==2022.10.27
Using cached cmarkgfm-2022.10.27-cp311-cp311-macosx_11_0_arm64.whl (122 kB)
Collecting collidoscope==0.4.1
Using cached collidoscope-0.4.1-py3-none-any.whl (10 kB)
Collecting commandlines==0.4.1
Using cached commandlines-0.4.1-py2.py3-none-any.whl (18 kB)
Collecting compreffor==0.5.3
Using cached compreffor-0.5.3-cp311-cp311-macosx_10_9_universal2.whl (119 kB)
Collecting cu2qu==1.6.7.post2
Using cached cu2qu-1.6.7.post2-cp311-cp311-macosx_11_0_arm64.whl (165 kB)
Collecting defcon==0.10.2
Using cached defcon-0.10.2-py3-none-any.whl (231 kB)
Collecting dehinter==4.0.0
Using cached dehinter-4.0.0-py3-none-any.whl (15 kB)
Collecting font-v==2.1.0
Using cached font_v-2.1.0-py3-none-any.whl (24 kB)
Collecting fontbakery[freetype]==0.8.11
Using cached fontbakery-0.8.11-py3-none-any.whl (339 kB)
Collecting fontfeatures==1.7.4
Using cached fontFeatures-1.7.4-py3-none-any.whl (103 kB)
Collecting fontmake==3.5.1
Using cached fontmake-3.5.1-py3-none-any.whl (42 kB)
Collecting fontmath==0.9.3
Using cached fontMath-0.9.3-py2.py3-none-any.whl (32 kB)
Collecting fonttools[lxml,ufo,unicode]==4.39.0
Downloading fonttools-4.39.0-py3-none-any.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 22.4 MB/s eta 0:00:00
Collecting freetype-py==2.3.0
Using cached freetype_py-2.3.0-py3-none-macosx_10_9_universal2.whl (1.7 MB)
Collecting fs==2.4.16
Using cached fs-2.4.16-py2.py3-none-any.whl (135 kB)
Collecting gflanguages==0.4.4
Downloading gflanguages-0.4.4-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 15.6 MB/s eta 0:00:00
Collecting gitdb==4.0.10
Using cached gitdb-4.0.10-py3-none-any.whl (62 kB)
Collecting gitpython==3.1.31
Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)
Collecting glyphsets==0.5.4
Using cached glyphsets-0.5.4-py3-none-any.whl (604 kB)
Collecting glyphslib==6.1.0
Using cached glyphsLib-6.1.0-py3-none-any.whl (775 kB)
Collecting glyphtools==0.8.0
Using cached glyphtools-0.8.0-py2.py3-none-any.whl (10 kB)
Collecting idna==3.4
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting lxml==4.9.2
Using cached lxml-4.9.2-cp311-cp311-macosx_13_0_arm64.whl
Collecting markdown-it-py==2.2.0
Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
Collecting mdurl==0.1.2
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting munkres==1.1.4
Using cached munkres-1.1.4-py2.py3-none-any.whl (7.0 kB)
Collecting numpy==1.24.2
Downloading numpy-1.24.2-cp311-cp311-macosx_11_0_arm64.whl (13.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 28.4 MB/s eta 0:00:00
Collecting openstep-plist==0.3.0.post1
Using cached openstep_plist-0.3.0.post1-cp311-cp311-macosx_10_9_universal2.whl (394 kB)
Collecting opentype-sanitizer==9.0.0
Using cached opentype_sanitizer-9.0.0-py2.py3-none-macosx_10_9_universal2.whl (653 kB)
Collecting opentypespec==1.9.1
Using cached opentypespec-1.9.1-py2.py3-none-any.whl
Collecting orjson==3.8.7
Downloading orjson-3.8.7-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (489 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 489.3/489.3 kB 26.4 MB/s eta 0:00:00
Collecting packaging==23.0
Using cached packaging-23.0-py3-none-any.whl (42 kB)
Collecting pip-api==0.0.30
Using cached pip_api-0.0.30-py3-none-any.whl (111 kB)
Collecting protobuf==3.20.3
Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB)
Collecting pyclipper==1.3.0.post4
Using cached pyclipper-1.3.0.post4-cp311-cp311-macosx_10_9_universal2.whl (251 kB)
Collecting pycparser==2.21
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pygments==2.14.0
Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB)
Collecting pyyaml==6.0
Using cached PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl (167 kB)
Collecting requests==2.28.2
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting rich==13.3.2
Downloading rich-13.3.2-py3-none-any.whl (238 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 238.7/238.7 kB 25.3 MB/s eta 0:00:00
Collecting rstr==3.2.0
Using cached rstr-3.2.0-py3-none-any.whl (12 kB)
Collecting six==1.16.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting smmap==5.0.0
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting soupsieve==2.4
Using cached soupsieve-2.4-py3-none-any.whl (37 kB)
Collecting sre-yield==1.2
Using cached sre_yield-1.2-py3-none-any.whl (27 kB)
Collecting stringbrewer==0.0.1
Using cached stringbrewer-0.0.1-py3-none-any.whl (4.9 kB)
Collecting toml==0.10.2
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting ufo2ft[compreffor]==2.30.0
Using cached ufo2ft-2.30.0-py2.py3-none-any.whl (98 kB)
Collecting ufolib2==0.14.0
Using cached ufoLib2-0.14.0-py3-none-any.whl (52 kB)
Collecting ufolint==1.2.0
Using cached ufolint-1.2.0-py3-none-any.whl (19 kB)
Collecting ufonormalizer==0.6.1
Downloading ufonormalizer-0.6.1-py3-none-any.whl (16 kB)
Collecting uharfbuzz==0.34.0
Downloading uharfbuzz-0.34.0-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 16.3 MB/s eta 0:00:00
Collecting unicodedata2==15.0.0
Using cached unicodedata2-15.0.0-cp311-cp311-macosx_10_9_universal2.whl (856 kB)
Collecting urllib3==1.26.15
Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
Collecting vharfbuzz==0.2.0
Using cached vharfbuzz-0.2.0-py3-none-any.whl (5.8 kB)
Collecting fonttools
Downloading fonttools-4.42.1-cp311-cp311-macosx_10_9_universal2.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 28.5 MB/s eta 0:00:00
Collecting ufo2ft>=2.25.2
Using cached ufo2ft-2.33.4-py2.py3-none-any.whl (117 kB)
Requirement already satisfied: setuptools in ./build/venv/lib/python3.11/site-packages (from fs==2.4.16->-r requirements.txt (line 89)) (67.6.1)
Requirement already satisfied: pip in ./build/venv/lib/python3.11/site-packages (from pip-api==0.0.30->-r requirements.txt (line 138)) (23.0.1)
Installing collected packages: unicodedata2, sre-yield, pyclipper, opentype-sanitizer, openstep-plist, munkres, commandlines, brotli, appdirs, urllib3, uharfbuzz, ufonormalizer, toml, soupsieve, smmap, six, rstr, pyyaml, pygments, pycparser, protobuf, pip-api, packaging, orjson, opentypespec, numpy, mdurl, lxml, idna, freetype-py, fonttools, charset-normalizer, certifi, beziers, attrs, vharfbuzz, stringbrewer, requests, markdown-it-py, gitdb, gflanguages, fs, fontmath, dehinter, compreffor, cffsubr, cffi, booleanoperations, beautifulsoup4, axisregistry, rich, gitpython, cmarkgfm, ufolint, ufolib2, font-v, defcon, cu2qu, ufo2ft, glyphslib, glyphsets, fontmake, fontfeatures, babelfont, glyphtools, collidoscope, fontbakery
Successfully installed appdirs-1.4.4 attrs-22.2.0 axisregistry-0.3.11 babelfont-3.0.0 beautifulsoup4-4.11.2 beziers-0.5.0 booleanoperations-0.9.0 brotli-1.0.9 certifi-2022.12.7 cffi-1.15.1 cffsubr-0.2.9.post1 charset-normalizer-3.1.0 cmarkgfm-2022.10.27 collidoscope-0.4.1 commandlines-0.4.1 compreffor-0.5.3 cu2qu-1.6.7.post2 defcon-0.10.2 dehinter-4.0.0 font-v-2.1.0 fontbakery-0.8.11 fontfeatures-1.7.4 fontmake-3.5.1 fontmath-0.9.3 fonttools-4.39.0 freetype-py-2.3.0 fs-2.4.16 gflanguages-0.4.4 gitdb-4.0.10 gitpython-3.1.31 glyphsets-0.5.4 glyphslib-6.1.0 glyphtools-0.8.0 idna-3.4 lxml-4.9.2 markdown-it-py-2.2.0 mdurl-0.1.2 munkres-1.1.4 numpy-1.24.2 openstep-plist-0.3.0.post1 opentype-sanitizer-9.0.0 opentypespec-1.9.1 orjson-3.8.7 packaging-23.0 pip-api-0.0.30 protobuf-3.20.3 pyclipper-1.3.0.post4 pycparser-2.21 pygments-2.14.0 pyyaml-6.0 requests-2.28.2 rich-13.3.2 rstr-3.2.0 six-1.16.0 smmap-5.0.0 soupsieve-2.4 sre-yield-1.2 stringbrewer-0.0.1 toml-0.10.2 ufo2ft-2.30.0 ufolib2-0.14.0 ufolint-1.2.0 ufonormalizer-0.6.1 uharfbuzz-0.34.0 unicodedata2-15.0.0 urllib3-1.26.15 vharfbuzz-0.2.0
[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
BUILD Chilanka-Regular.ttf
DONE building!
DONE Creating package for Chilanka!
Start fetching upstream/main
From github.com:google/fonts
* branch main -> FETCH_HEAD
4236fe9fe..8857a0697 main -> upstream/main
DONE fetch
Created files in git branch gftools_packager_ofl_chilanka:
ofl/chilanka/Chilanka-Regular.ttf 344.5KiB
ofl/chilanka/DESCRIPTION.en_us.html 370.0B
ofl/chilanka/METADATA.pb 579.0B
ofl/chilanka/OFL.txt 4.3KiB
ofl/chilanka/upstream.yaml 237.0B
Making a Pull Request …
git push:
url is git@github.com:google/fonts.git
local branch name is gftools_packager_ofl_chilanka
remote branch name is gftools_packager_ofl_chilanka
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 8 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 2.58 KiB | 661.00 KiB/s, done.
Total 6 (delta 5), reused 0 (delta 0)
remote: Resolving deltas: 100% (5/5), completed with 5 local objects.
remote:
remote: Create a pull request for 'gftools_packager_ofl_chilanka' on GitHub by visiting:
remote: https://github.com/google/fonts/pull/new/gftools_packager_ofl_chilanka
remote:
remote: GitHub found 1 vulnerability on google/fonts's default branch (1 high). To find out more, visit:
remote: https://github.com/google/fonts/security/dependabot/1
remote:
To github.com:google/fonts.git
* [new branch] gftools_packager_ofl_chilanka -> gftools_packager_ofl_chilanka
DONE git push!
Created a PR #6640 https://github.com/google/fonts/pull/6640
Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment