Skip to content

Bug: Homebrew formula references nonexistent v1.0.0 release #4

Description

@limex

Description

Installing agent-notify through Homebrew currently fails because the formula
references a release archive that does not exist:

$ brew tap paultendo/agent-notify https://github.com/paultendo/agent-notify
$ brew install agent-notify

Error: Failed to download resource "agent-notify (1.0.0)"
Download failed: https://github.com/paultendo/agent-notify/archive/refs/tags/v1.0.0.tar.gz
curl: (56) The requested URL returned error: 404

Cause

Formula/agent-notify.rb currently:

  • references the nonexistent tag v1.0.0; and
  • contains an empty sha256 value.

The repository does have a v1.1.0 tag with a valid release archive.

Proposed fix

Update these two fields in Formula/agent-notify.rb:

url "https://github.com/paultendo/agent-notify/archive/refs/tags/v1.1.0.tar.gz"
sha256 "920c910f8c0714ba0a3d30000c9250fceb2bfb962bafae800cf6868712b2a15b"

Verification

After applying that change locally, installation and the formula test both
succeed:

$ brew install agent-notify
==> Installing agent-notify from paultendo/agent-notify
🍺  /opt/homebrew/Cellar/agent-notify/1.1.0: 6 files, 70.4KB, built in 1 second

$ agent-notify --version
agent-notify 1.1.0

$ brew test agent-notify
==> Testing paultendo/agent-notify/agent-notify
==> /opt/homebrew/Cellar/agent-notify/1.1.0/bin/agent-notify --version

Could you update the Homebrew formula with the valid release URL and checksum?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions