Commit graph

94 commits

Author SHA1 Message Date
Matt Troutman
0b3f1a4851
Remove font-clancy (free/demo version, not the full font)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:54:13 -06:00
Matt Troutman
7948c86aa0
Remove AppleDouble resource fork files from font_files
Files starting with _ that are AppleDouble metadata (not real fonts)
were being included in casks, causing Font Book issues. Deleted 57
such files from font_files/ and added detection to the cleanup script
to prevent them in the future.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:43:35 -06:00
Matt Troutman
c85bbccd26
Fix cask font paths: include homebrew-fonts/ archive prefix
Homebrew moves the extracted archive directory into the Caskroom
without stripping the top-level name, so font artifact paths need
the homebrew-fonts/ prefix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:40:58 -06:00
Matt Troutman
76743cdc4d
Convert from Homebrew Formulae to Casks for font installation
Formulae can't install to ~/Library/Fonts/ due to Homebrew sandboxing.
Casks have a built-in `font` artifact that handles this automatically.

- Replace Formula/ with Casks/ directory
- Rewrite generator to produce cask files instead of formulae
- Add .ttc (TrueType Collection) support
- Update all tests for cask format
- Update CLI and documentation
- Fonts with no installable files (TTF/OTF/TTC) are skipped

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:38:59 -06:00
Matt Troutman
cb1918c30f
Use symlinks for font installation to ~/Library/Fonts/
Homebrew sandboxes post_install, so cp fails with EPERM.
Symlinks work around this and also ensure brew uninstall
can cleanly remove fonts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:32:43 -06:00
Matt Troutman
59d8175d75
Fix post_install: use system cp -f to handle existing fonts
Ruby's cp raises EPERM if the target file already exists.
Using system "cp", "-f" overwrites gracefully.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:31:49 -06:00
Matt Troutman
7cfc7f51d2
Add post_install to copy fonts to ~/Library/Fonts/
Fonts now appear in Font Book automatically after brew install.
The post_install hook copies TTF and OTF files to ~/Library/Fonts/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:30:48 -06:00
Matt Troutman
4273745a9e
Fix formula glob paths: remove homebrew-fonts/ prefix
Homebrew sets CWD inside the extracted archive directory, so
Dir.glob paths should start at font_files/, not homebrew-fonts/font_files/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:26:47 -06:00
Matt Troutman
a85f0e9b53
Fix archive path: homebrew-fonts-main → homebrew-fonts
Gitea archives unpack as homebrew-fonts/, not homebrew-fonts-main/.
Updated formula generator, tests, and docs to match.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:24:25 -06:00
Matt Troutman
387a4795d7
Remove sha256 from formulae — :no_check is cask-only
Homebrew formulae don't support sha256 :no_check (that's a cask feature).
For a self-hosted rolling-branch archive, omitting sha256 entirely lets
Homebrew download without checksum verification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:22:44 -06:00
Matt Troutman
23da45ef37
Use sha256 :no_check for rolling main branch archive
The archive includes the formulae themselves, so the sha256 changes on
every push — making a fixed hash impossible. Use :no_check which is
standard for self-hosted taps serving from a rolling branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:19:39 -06:00
Matt Troutman
91d5ffad9d
Update Gitea URL from port 3002 to 8085 and add sha256 to formulae
All formulae were failing to download because the archive URL pointed to
the old Gitea port (3002). Updated to port 8085 and computed the correct
sha256 hash for the archive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:18:58 -06:00
Matt Troutman
ba45f7ea77
Update .gitignore: ignore .env file and .venv/ directory
Replace .env/ (stale virtualenv) with .env (1Password-managed secrets file)
and .venv/ (uv virtualenv directory).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:12:28 -06:00
Matt Troutman
96f96c919b
Repo cleanup: fix .gitignore, process 11 new fonts from To Sort, remove duplicates
- Fix .gitignore: use correct .DS_Store pattern, add __pycache__/, *.pyc, .pytest_cache/, Icon?
- Remove tracked Icon file from git
- Add 11 new fonts: copixel, depixel, fresh-christmas, introvert, lazare-grotesk, neopixel, pixel-crash, pixel-gamer, pixel-grid, qraydom, space-rabbit
- Remove duplicate pixelon from To Sort
- Clean up empty Webfonts directory in depixel
- Clear processed fonts from To Sort
- Add CLAUDE.md for Claude Code guidance
- All 934 tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:01:00 -06:00
Matt Troutman
56b64d0b34
Update documentation and scripts for font addition process; introduce uv run add-font CLI command for streamlined font management. Enhance formula generation with improved class name formatting and validation steps. Remove outdated font formula files. 2026-02-09 22:04:01 -06:00
Matt Troutman
69d8156b09
Pre re-factor - Refactor font formula generator to streamline URL handling and improve directory structure for font files, ensuring consistent installation across all font classes. 2026-02-09 16:28:54 -06:00
Matt Troutman
04d79dd2dd
Update font formulas to use a consistent URL for font archives across multiple classes, ensuring reliable access for installation. 2025-05-19 12:19:27 -05:00
Matt Troutman
c05fd4b879
Update font formulas to use the new API endpoint for font archives, ensuring consistent access across multiple font classes. 2025-05-19 12:15:59 -05:00
Matt Troutman
02c8c16f92
Update Homebrew formula URLs to use the new API endpoint for font archives, ensuring consistent access across font classes. 2025-05-19 12:15:39 -05:00
Matt Troutman
749dc7d418
Update font formulas to use specific directory paths for font files, ensuring proper installation structure across multiple font classes. 2025-05-19 12:14:09 -05:00
Matt Troutman
8d5f0f3f90
Update Homebrew formula generator to use new archive URL and adjust file paths for font installation. Add tap configuration for Genet Godzilla fonts. 2025-05-19 12:13:23 -05:00
Matt Troutman
b01b74c595
Add new font formulas for various styles, ensuring proper directory structure and installation verification. 2025-05-19 12:11:02 -05:00
Matt Troutman
bc8845fc96
Refactor Homebrew formula generator to correctly format class names and file paths for font installation. Update glob patterns to remove unnecessary font_name variable and ensure proper directory structure for font files. 2025-05-19 12:10:53 -05:00
263f3c2c54 Merge pull request 'cursor_cleanup' (#1) from cursor_cleanup into main
Reviewed-on: http://clancy.genet-godzilla.ts.net:3002/Fonts/homebrew-fonts/pulls/1
2025-05-19 17:06:43 +00:00
Matt Troutman
6a1ebcee85
Add new font formulas for various styles and families, ensuring proper directory structure for font installation verification. 2025-05-19 12:05:38 -05:00
Matt Troutman
18a1498554
Update Homebrew formula homepage URL to point to the new server 2025-05-19 12:05:27 -05:00
Matt Troutman
95451bb68b
Add Homebrew formula generator script for font installation 2025-05-19 12:03:22 -05:00
Matt Troutman
f1ec7227c1
Update various font files and licensing documents across multiple font families. 2025-05-19 11:57:58 -05:00
Matt Troutman
5bd74dec5e
Update Homebrew font tap URL in README for installation instructions 2025-05-19 11:57:22 -05:00
Matt Troutman
df75b6e955
Remove deprecated font folder cleanup scripts and add new FontFolderCleaner implementation for organizing font files. 2025-05-19 11:57:10 -05:00
Matt Troutman
8508981848
Add font folder structure requirements and implementation guidelines 2025-05-19 11:57:00 -05:00
Matt Troutman
e890f61e50
Ran script. Files in place now 2024-10-03 00:50:52 -05:00
7f982826c5 Merge pull request 'lowercasing_folders' (#2) from lowercasing_folders into main
Reviewed-on: fonts/fonts#2
2024-10-03 00:47:16 -05:00
Matt Troutman
adfcf9a594
adding new fonts 2024-10-03 00:40:43 -05:00
Matt Troutman
aac2221794
Cleanup ran 🥰 2024-10-03 00:40:00 -05:00
Matt Troutman
339cd33dd6
script maintenance 2024-10-03 00:38:34 -05:00
Matt Troutman
d6aa9cf4c8
no message 2024-10-02 23:12:53 -05:00
Matt Troutman
75e0a060ea
no message 2024-10-02 23:11:32 -05:00
Matt Troutman
358e94cde7
updated structure a bit. 2024-10-02 16:37:20 -05:00
Matt Troutman
46156f7bdd
refactoring a bit 2024-10-02 16:27:49 -05:00
Matt Troutman
1f18110229
no message 2024-10-02 16:08:00 -05:00
Matt Troutman
747b93412d
no message 2024-10-02 16:04:28 -05:00
Matt Troutman
5bebd760a9
no message 2024-10-02 15:48:25 -05:00
Matt Troutman
98fb1aae67
no message 2024-10-02 15:43:43 -05:00
Matt Troutman
a829efc23a
no message 2024-10-02 15:15:07 -05:00
Matt Troutman
1c91c9d74b
no message 2024-10-02 15:08:17 -05:00
Matt Troutman
0e844b94e7
no message 2024-10-02 15:05:28 -05:00
Matt Troutman
199951e3e2
no message 2024-10-02 15:04:03 -05:00
Matt Troutman
b7777b024a
no message 2024-10-02 15:03:29 -05:00
Matt Troutman
43133c6347
Renamed for clarity 2024-10-02 14:53:46 -05:00