Skip to content

Conversation

@yutaIMD
Copy link
Contributor

@yutaIMD yutaIMD commented Nov 2, 2025

Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

In the following questions <cask> is the token of the cask you're submitting.

After making any changes to a cask, existing or new, verify:

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • Checked the cask was not already refused (add your cask's name to the end of the search field).
  • brew audit --cask --new <cask> worked successfully.
  • HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask> worked successfully.
  • brew uninstall --cask <cask> worked successfully.

Comment on lines 2 to 12
version "2.5.16"
sha256 :no_check

on_arm do
url "https://fellou.s3.us-west-1.amazonaws.com/FellouPC/Fellou-CE-1.0.16-2.5.16-2025-10-31-1859-arm64.dmg",
verified: "fellou.s3.us-west-1.amazonaws.com/FellouPC/"
end
on_intel do
url "https://fellou.s3.us-west-1.amazonaws.com/FellouPC/Fellou-CE-1.0.16-2.5.16-2025-10-31-1859-x64.dmg",
verified: "fellou.s3.us-west-1.amazonaws.com/FellouPC/"
end
Copy link
Member

Choose a reason for hiding this comment

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

Please rework this entire section.

Use arch instead on_* blocks.
The version is not used at all
Implement sha256
The URL's are not acceptable or versioned.

@krehel krehel added the awaiting user reply Issue needs response from a user. label Nov 2, 2025
sha256 arm: "879e31bccc618d967f632ccad21cb66bed18c23ed2d311486468c272a025b0d4",
intel: "8296cb4f1a8699a2456224b1955e628c5ba19c510ae7993876770af350f00f30"

url "https://fellou.s3.us-west-1.amazonaws.com/FellouPC/Fellou-CE-1.0.16-#{version}-2025-10-31-1859-#{arch}.dmg",
Copy link
Member

@samford samford Nov 3, 2025

Choose a reason for hiding this comment

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

What the previous review was getting at it is that any parts of this URL that vary between releases will need to be part of the cask version. In this case, that will likely include "2025-10-31-1859" as well and may include "1.0.16". If you look at other casks, we handle this with a comma-separated version where the first part is the actual version (e.g., 2.5.16,1.0.16,2025-10-31-1859) and interpolate the values in the url like #{version.csv.first}. The livecheck block also has to produce the same version format, so you could parse the values from the resource URL using a regex with capture groups for these distinct parts.

livecheck do
url "https://fellou.ai/api/download"
strategy :json do |json|
json.dig("list", 0, "resource")&.map { |r| r["version"] }
Copy link
Member

@samford samford Nov 3, 2025

Choose a reason for hiding this comment

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

As mentioned in previous review for other PRs, this should not rely on the data being in a specific order. Instead, you need to programmatically identify the object that contains data for the macOS release and return arch-specific versions.

@p-linnane p-linnane closed this Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting user reply Issue needs response from a user. new cask

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants