-
-
Notifications
You must be signed in to change notification settings - Fork 461
Conversation
This PR addresses the issue Homebrew#3867. The following changes have been made. - Source Sans 3: new cask - Source Sans Pro: downgrade to version 2 - Source Serif 4: new cask - Source Serif Pro: update file source and point to version 3
I think it's better to do like this: Source Sans: new cask And use And deprecate then delete |
What’s the point in keeping the old versions? They’re even failing |
@@ -0,0 +1,30 @@ | |||
cask "font-source-sans-3" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Versions shouldn’t be part of the name.
version "3.028" | ||
sha256 "1186d594ecb1336679a1d102bb6ddbe6041f0fd029482e53f02e46aa3ab011cf" | ||
|
||
url "https://github.com/adobe-fonts/source-sans/releases/download/#{version}R/source-sans-#{version.sub(/\./, "v")}R.zip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url "https://github.com/adobe-fonts/source-sans/releases/download/#{version}R/source-sans-#{version.sub(/\./, "v")}R.zip" | |
url "https://github.com/adobe-fonts/source-sans/releases/download/#{version}R/source-sans-#{version.major}v#{version.minor}R.zip" |
sha256 "1186d594ecb1336679a1d102bb6ddbe6041f0fd029482e53f02e46aa3ab011cf" | ||
|
||
url "https://github.com/adobe-fonts/source-sans/releases/download/#{version}R/source-sans-#{version.sub(/\./, "v")}R.zip" | ||
name "Source Sans 3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No version in name.
regex(%r{tag/(\d+(?:\.\d+)*)}i) | ||
end | ||
|
||
font "OTF/SourceSans3-Black.otf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
font "OTF/SourceSans3-Black.otf" | |
font "OTF/SourceSans#{version.major}-Black.otf" |
In all of them.
Thank you for your feedback. I will consider But first, please read the upstream issues linked in #3867 again. "Source Sans 3" is not just the version 3 of "Source Sans", but it is the new family name. There is no font family named "Source Sans". Besides, the new one seems not geometrically upward-compatible with old "Source Sans Pro". In other words, silent upgrading from "Source Sans Pro" to "Source Sans 3" (and removing old "Source Sans Pro") will break existing documents. And it is expected to happen again when a new font family like "Source Sans 4" is released. (I personally don't like their decision, but) keeping old fonts will be necessary to protect users' environments and documents. Now I have two questions:
|
I mean, kind of. The repo doesn’t have the number in the name, nor does the first sentence in the README.
Neither do I, but coming from Adobe I’m not surprised. We’ve removed plenty of their software from Homebrew Cask for user-hostility, and I’m inclined to do the same for these fonts. Our current preferred way to add fonts to this repo is via Google Fonts, and I see they do have the Pro version. So it’s probably best to get rid of these and let Google Fonts deal with the naming however deem best; we’ll follow it automatically.
We don’t do the
CI always runs the check. Sorry (and thank you) for the spent effort for a refusal, but it was necessary to see this in context to understand the situation. You can still use the fonts in your personal tap, though. Will leave it open for a bit in case there are other ideas. Or perhaps they’ll come to their senses (though I doubt it). |
This PR addresses the issue #3867.
The following changes have been made.
Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.
After making all changes to a cask, verify:
brew audit --cask {{cask_file}}
is error-free.brew style --fix {{cask_file}}
reports no offenses.Additionally, if adding a new cask:
brew audit --new-cask {{cask_file}}
worked successfully.brew install --cask {{cask_file}}
worked successfully.brew uninstall --cask {{cask_file}}
worked successfully.