Commit graph

38 commits

Author SHA1 Message Date
Fini Jastrow
2050b4dc16 CI: Fix patch-em-all: Purge destination dirs if possible
[why]
The purged (obsolete) files are still existing after release.

[how]
We restore the deleted files before it adds the new ones.
Just delete all font files and then download all the release files (all
newly created fonts).

`git add` on a directory will remove all missing files.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-19 13:24:39 +02:00
Fini Jastrow
6e392c0b35 CI: Cache self-built fontforge for all steps
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-19 13:24:39 +02:00
Fini Jastrow
d43e6ea267 CI: Update action/checkout to v3
[why]
* Automatically does a shallow checkout, what we want anyhow
* Keep up to date

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-19 13:24:39 +02:00
Fini Jastrow
f4f890960d CI: Use fontforge March 2022 to create patched fonts
[why]
Fontforge 2020 March or 20th Anniversary have problems to generate fonts
with a lot of table entries. This is for example the massive entries for
ligatures in Iosevka. We can not generate valid font files with that
fontforge versions. We can not even detect (from Python side) if
fontforge had problems.

[how]
We fixed fontforge itself upstream with
  https://github.com/fontforge/fontforge/pull/4883

That fix became available first with Fontforge March 2022 Release.

We could use the AppImage or build from scratch, because no package is
available on Ubuntu 20.04 or 22.04.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-19 13:24:39 +02:00
Fini Jastrow
6e37782fcf CI: Correct release script call to patch-em-all
[why]
The font matix contains the directory names of the font files. The
directory names are taken from
  bin/scripts/lib/fonts.json
and specifically extracted with
  bin/scripts/get-font-names-from-json.sho

That script returns the .folderNames

Later in the release script we use the folder name to limit the fonts
that patch-em-all shall process. Unfortunately patch-em-all could (until
the previous commit) just work with font-filenames and not with
directory names. But the matrix gives us just directory names.

This is for example a problem with this fonts:
$ ll src/unpatched-fonts/BigBlueTerminal
-rw-rw-r-- 1 fini fini 25632 Jan  1 14:03 BigBlue_Terminal_437TT.TTF
-rw-rw-r-- 1 fini fini 69964 Jan  1 14:03 BigBlue_TerminalPlus.TTF

The *directory* of that fonts is correctly noted in fonts.json as
"BigBlueTerminal" but the font files do not begin with that!

[how]
Now, that patch-em-all can also filter on the directory name, we just
need to utilized that in the workflow run. If the filter shall work on
directory names the first character needs to be a slash, so we just
prepend it to name we got from the matix.

Fixes: #824

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-18 11:14:12 +02:00
John Yeates
aabed73fdd Fix wiki link in feature request template [skip ci]
This was pointing to the vim-devicons repo.
2022-04-09 00:20:22 +02:00
John Yeates
aac427775c Point to correct wiki in bug report template [skip ci]
The Wiki link in the bug report template points to
https://github.com/ryanoasis/vim-devicons/wiki rather than the
nerd-fonts wiki. I suspect that's not intended :-)
2022-04-09 00:19:00 +02:00
Fini
f16d5dde1b
Update issue templates (#782)
A lot of issues do not have screenshots and which glyphs are the problem has to be asked and or guessed.

Also change to newer github issue template method.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-02-18 18:22:37 -08:00
Ryan L McIntyre
b7866f2114 RC: Commit the patched font subset to the repo 2022-01-03 05:05:42 -08:00
Ryan L McIntyre
30d2a0427b Fix font patcher going to separate release 2022-01-03 03:47:23 -08:00
Ryan L McIntyre
1e65572c2c RC font-patcher archive missing creds 2022-01-03 03:27:10 -08:00
Ryan L McIntyre
3bb002c395 Add font patcher to release in separate job 2022-01-03 02:15:14 -08:00
Ryan L McIntyre
e630dd1697 Fixes use of archive, archive patcher and cleanup 2022-01-03 00:53:22 -08:00
Ryan L McIntyre
6748326a90 RC: Upload multiple paths 2022-01-01 10:23:38 -08:00
Ryan L McIntyre
c1d81cdda8 Tweak RC for less fonts and try wildcard pattern for artifact upload, comments out commit for now 2022-01-01 07:50:03 -08:00
Ryan L McIntyre
877fef6831 use smaller subset of fonts in RC and do a single commit using artifacts between jobs 2022-01-01 06:48:04 -08:00
Ryan L McIntyre
d3e09c2a29 Attempt fix build action 2021-12-31 08:11:51 -08:00
Ryan L McIntyre
c63600d124 Setup release action to pull version from file and commit back upon patching 2021-12-24 03:07:20 -08:00
Ryan L McIntyre
db026dd5c9
reworks and simplifies issue template 2021-12-19 19:25:27 -08:00
Ryan L McIntyre
2bd851f24a
simplifies the PR template
* patcher is now tested in github action and other scripts soon to be
* other reading doesn't really make sense for PRs (more for issues)
2021-12-19 19:20:06 -08:00
Ryan L McIntyre
cc24e8b005 Adds workflow for testing out patcher 2021-12-05 07:54:47 -08:00
Ryan L McIntyre
dc3d40ee86 Archive script doing too much, tweak upload script and add ignore patterns to action 2021-11-26 07:49:18 -08:00
Ryan L McIntyre
387929546b Actions: debug + needs 2021-11-26 07:08:59 -08:00
Ryan L McIntyre
0657c3fc6c Setup matrix for actions 2021-11-26 06:48:25 -08:00
Ryan L McIntyre
e90d082ffc Rollback debugging after fixing version and open up to try patching all fonts 2021-11-21 13:26:03 -08:00
Ryan L McIntyre
26befdd2bf Workflow for building release candidate
* MOAR debug
2021-11-21 12:37:26 -08:00
Ryan L McIntyre
5be5d2c74b Workflow for building release candidate
* sanity check script updates of version
2021-11-21 12:16:20 -08:00
Ryan L McIntyre
70c00a3a80 Workflow for building release candidate
* fix incorrect version var passed to bump script
2021-11-21 08:41:26 -08:00
Ryan L McIntyre
b8a31a67dd Workflow for building release candidate
* fix incorrect script
2021-11-21 08:19:47 -08:00
Ryan L McIntyre
6d21c4ebc2 Workflow for building release candidate 2021-11-21 08:08:35 -08:00
Marcus Schweda
5dfd0aafaf GitHub workflow 2020-03-06 23:12:46 +01:00
Ryan L McIntyre
cb500093e0
Improves template with emoji and commented out lines 2017-11-05 17:26:47 -05:00
Kevin Ballard
aef61376b3 Fix wiki link in ISSUE_TEMPLATE.md
Fixes #174.
2017-07-11 13:38:51 -07:00
Ryan L McIntyre
f6f10b1ef7 Updates link to FAQ 2017-05-14 17:40:36 -04:00
Ryan L McIntyre
1d319dac7d Updates FAQ link again 2017-05-14 17:39:54 -04:00
Daniel M. Capella
85538e33aa
.github: Fix links to FAQ 2017-02-19 17:31:50 -05:00
Ryan L McIntyre
da0f629676 Adds PR template (fixes #66)
* adds first version of pull request template to help users with contributing
2016-03-19 20:39:22 -04:00
Ryan L McIntyre
bdaecbf01b Adds issue template (fixes #66)
* adds first version of issue template to help users file issues or avoid filing issues altogether (if possible)
2016-03-19 20:30:11 -04:00