Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font-harmonyos-sans* 1.0.0 (new cask) #197897

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-condensed-italic.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-condensed-italic" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-condensed-italic.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-condensed-italic.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-condensed-italic (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-condensed-italic.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-condensed-italic (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
Copy link
Member

@bevanjkay bevanjkay Jan 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution to homebrew-cask.

I'm concerned that the url for each of these casks will not be stable.
If the url changes when the version changes, or updates are made, then we need a way to capture the variability. Often this is done using a livecheck stanza.

Copy link
Author

@sgalcheung sgalcheung Jan 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This current version is stable, but if we consider handling future update versions, it seems the homepage will change from V1 to V2 or Vx, the URL is not related to the homepage, it is a download URL, so It is hard to handle it automatically.

Whether we accept an unofficial resource or not, I found the most start repo(huawei-fonts/HarmonyOS-Sans) on GitHub.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, we can't accept an unofficial source.
If there download url will have a level of instability between versions, then this cask wouldn't be suitable for inclusion in homebrew-cask.

Perhaps consider hosting it in your own tap where you can handle updates in a more manual way, and still enjoy the benefits of installing with Homebrew.

verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_Condensed_Italic"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_Condensed_Italic/HarmonyOS_Sans_Condensed_Regular_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed_Italic/HarmonyOS_Sans_Condensed_Thin_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed_Italic/HarmonyOS_Sans_Condensed_Light_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed_Italic/HarmonyOS_Sans_Condensed_Medium_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed_Italic/HarmonyOS_Sans_Condensed_Bold_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed_Italic/HarmonyOS_Sans_Condensed_Black_Italic.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-condensed-italic.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-condensed.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-condensed" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-condensed.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-condensed (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-condensed.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-condensed (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_Condensed"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_Condensed/HarmonyOS_Sans_Condensed_Regular.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed/HarmonyOS_Sans_Condensed_Thin.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed/HarmonyOS_Sans_Condensed_Light.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed/HarmonyOS_Sans_Condensed_Medium.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed/HarmonyOS_Sans_Condensed_Bold.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Condensed/HarmonyOS_Sans_Condensed_Black.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-condensed.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-italic.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-italic" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-italic.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-italic (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-italic.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-italic (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_Italic"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_Italic/HarmonyOS_Sans_Regular_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Italic/HarmonyOS_Sans_Thin_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Italic/HarmonyOS_Sans_Light_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Italic/HarmonyOS_Sans_Medium_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Italic/HarmonyOS_Sans_Bold_Italic.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Italic/HarmonyOS_Sans_Black_Italic.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-italic.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-naskh-arabic-ui.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-naskh-arabic-ui" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-naskh-arabic-ui.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-naskh-arabic-ui (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-naskh-arabic-ui.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-naskh-arabic-ui (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_Naskh_Arabic_UI"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic_UI/HarmonyOS_Sans_Naskh_Arabic_UI_Regular.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic_UI/HarmonyOS_Sans_Naskh_Arabic_UI_Thin.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic_UI/HarmonyOS_Sans_Naskh_Arabic_UI_Light.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic_UI/HarmonyOS_Sans_Naskh_Arabic_UI_Medium.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic_UI/HarmonyOS_Sans_Naskh_Arabic_UI_Bold.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic_UI/HarmonyOS_Sans_Naskh_Arabic_UI_Black.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-naskh-arabic-ui.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-naskh-arabic.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-naskh-arabic" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-naskh-arabic.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-naskh-arabic (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-naskh-arabic.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-naskh-arabic (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_Naskh_Arabic"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Regular.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Thin.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Light.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Medium.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Bold.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_Naskh_Arabic/HarmonyOS_Sans_Naskh_Arabic_Black.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-naskh-arabic.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-sc.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-sc" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-sc.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-sc (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-sc.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-sc (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_SC"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Regular.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Thin.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Light.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Medium.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Black.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-sc.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans-tc.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans-tc" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-tc.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-tc (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans-tc.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans-tc (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans_TC"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans_TC/HarmonyOS_Sans_TC_Regular.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_TC/HarmonyOS_Sans_TC_Thin.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_TC/HarmonyOS_Sans_TC_Light.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_TC/HarmonyOS_Sans_TC_Medium.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_TC/HarmonyOS_Sans_TC_Bold.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans_TC/HarmonyOS_Sans_TC_Black.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans-tc.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
18 changes: 18 additions & 0 deletions Casks/font/font-h/font-harmonyos-sans.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cask "font-harmonyos-sans" do

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/font/font-h/font-harmonyos-sans.rb

View workflow job for this annotation

GitHub Actions / test font-harmonyos-sans (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.
version "1.0.0"
sha256 "806e68b8cad06848d60da7211519c7b70a81588cdc19cec0d7238057a0726d3e"

url "https://communityfile-drcn.op.dbankcloud.cn/FileServer/getFile/cmtyPub/011/111/111/0000000000011111111.20240403121718.48520731459685383233360410352014:50001231000000:2800:7FB2B50B19EC97800A168DF9C9CF265C179E196BA93EAFD5E7F4E23F50E67C43.zip?needInitFileName=true",
verified: "communityfile-drcn.op.dbankcloud.cn/"
name "HarmonyOS_Sans"
homepage "https://developer.huawei.com/consumer/en/doc/design-guides-V1/font-0000001157868583-V1"

font "HarmonyOS Sans/HarmonyOS_Sans/HarmonyOS_Sans_Regular.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans/HarmonyOS_Sans_Thin.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans/HarmonyOS_Sans_Light.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans/HarmonyOS_Sans_Medium.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans/HarmonyOS_Sans_Bold.ttf"
font "HarmonyOS Sans/HarmonyOS_Sans/HarmonyOS_Sans_Black.ttf"

# No zap stanza required

Check failure on line 17 in Casks/font/font-h/font-harmonyos-sans.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Layout/CommentIndentation: Incorrect indentation detected (column 4 instead of 2).
end
Loading