diff --git a/Casks/b/blackhole-16ch.rb b/Casks/b/blackhole-16ch.rb index f61e7da55d..85e6f9bfd6 100644 --- a/Casks/b/blackhole-16ch.rb +++ b/Casks/b/blackhole-16ch.rb @@ -7,6 +7,8 @@ cask "blackhole-16ch" do desc "Virtual Audio Driver" homepage "https://existential.audio/blackhole/" + # The upstream website doesn't provide version information. We check GitHub + # releases as a best guess of when a new version is released. livecheck do url "https://github.com/ExistentialAudio/BlackHole" strategy :github_latest diff --git a/Casks/b/blackhole-2ch.rb b/Casks/b/blackhole-2ch.rb index c116b8df83..ae08519ee9 100644 --- a/Casks/b/blackhole-2ch.rb +++ b/Casks/b/blackhole-2ch.rb @@ -7,6 +7,8 @@ cask "blackhole-2ch" do desc "Virtual Audio Driver" homepage "https://existential.audio/blackhole/" + # The upstream website doesn't provide version information. We check GitHub + # releases as a best guess of when a new version is released. livecheck do url "https://github.com/ExistentialAudio/BlackHole" strategy :github_latest diff --git a/Casks/b/blackhole-64ch.rb b/Casks/b/blackhole-64ch.rb index 1652ba34df..1ea3398e18 100644 --- a/Casks/b/blackhole-64ch.rb +++ b/Casks/b/blackhole-64ch.rb @@ -7,6 +7,8 @@ cask "blackhole-64ch" do desc "Virtual Audio Driver" homepage "https://existential.audio/blackhole/" + # The upstream website doesn't provide version information. We check GitHub + # releases as a best guess of when a new version is released. livecheck do url "https://github.com/ExistentialAudio/BlackHole" strategy :github_latest diff --git a/Casks/d/drata-agent.rb b/Casks/d/drata-agent.rb index f4f983a1ed..d16e949ba9 100644 --- a/Casks/d/drata-agent.rb +++ b/Casks/d/drata-agent.rb @@ -7,8 +7,11 @@ cask "drata-agent" do desc "Security audit software" homepage "https://drata.com/" + # Upstream doesn't appear to publish any public version information. We check + # GitHub releases as a best guess of when a new version is released. livecheck do url "https://github.com/drata/drata-agent" + strategy :github_latest end depends_on macos: ">= :high_sierra" diff --git a/Casks/e/eddie.rb b/Casks/e/eddie.rb index c4e09bdfa2..2ec61df2d1 100644 --- a/Casks/e/eddie.rb +++ b/Casks/e/eddie.rb @@ -20,6 +20,8 @@ cask "eddie" do desc "OpenVPN UI" homepage "https://eddie.website/" + # The homepage provides version information but it will frequently timeout. + # We check GitHub releases as a best guess of when a new version is released. livecheck do url "https://github.com/AirVPN/Eddie" strategy :github_latest diff --git a/Casks/e/element.rb b/Casks/e/element.rb index b1f3641c46..5701be871f 100644 --- a/Casks/e/element.rb +++ b/Casks/e/element.rb @@ -7,6 +7,8 @@ cask "element" do desc "Matrix collaboration client" homepage "https://element.io/get-started" + # The upstream website doesn't appear to provide version information. We check + # GitHub releases as a best guess of when a new version is released. livecheck do url "https://github.com/vector-im/element-desktop" strategy :github_latest diff --git a/Casks/e/entry.rb b/Casks/e/entry.rb index a17955c71d..c8a9f7b01d 100644 --- a/Casks/e/entry.rb +++ b/Casks/e/entry.rb @@ -7,8 +7,12 @@ cask "entry" do desc "Block-based coding platform" homepage "https://playentry.org/" + # The download page (https://playentry.org/download/offline) fetches the + # version information from https://playentry.org/graphql using a `POST` + # request but livecheck can't do that yet. We check GitHub releases as a best + # guess of when a new version is released. livecheck do - url "https://github.com/entrylabs/entry-offline/" + url "https://github.com/entrylabs/entry-offline" strategy :github_latest end diff --git a/Casks/m/mattermost.rb b/Casks/m/mattermost.rb index a07cdab12b..81a9a0e88a 100644 --- a/Casks/m/mattermost.rb +++ b/Casks/m/mattermost.rb @@ -10,8 +10,9 @@ cask "mattermost" do desc "Open-source, self-hosted Slack-alternative" homepage "https://mattermost.com/" + # Upstream publishes file links in the description of GitHub releases. livecheck do - url "https://github.com/mattermost/desktop/" + url "https://github.com/mattermost/desktop" strategy :github_latest end diff --git a/Casks/m/megacmd.rb b/Casks/m/megacmd.rb index 0555f123bf..a9a229a751 100644 --- a/Casks/m/megacmd.rb +++ b/Casks/m/megacmd.rb @@ -7,9 +7,12 @@ cask "megacmd" do desc "Command-line access to MEGA services" homepage "https://mega.nz/cmd" + # The upstream website doesn't appear to provide version information. We check + # GitHub tags as a best guess of when a new version is released (upstream + # doesn't use GitHub releases). livecheck do url "https://github.com/meganz/MEGAcmd" - regex(/(\d+(?:\.\d+)+)[._-]macOS/i) + regex(/^v?(\d+(?:\.\d+)+)[._-]macOS$/i) end app "MEGAcmd.app" diff --git a/Casks/r/redisinsight.rb b/Casks/r/redisinsight.rb index ca09e8d553..e21cf7a8bf 100644 --- a/Casks/r/redisinsight.rb +++ b/Casks/r/redisinsight.rb @@ -9,9 +9,12 @@ cask "redisinsight" do desc "GUI for streamlined Redis application development" homepage "https://redis.com/redis-enterprise/redis-insight/" + # The first-party site doesn't publish public version information (the page + # requires users to submit contact information to download files). We check + # GitHub releases as a best guess of when a new version is released. livecheck do - url "https://github.com/RedisInsight/RedisInsight.git" - regex(/^v?(\d+(?:\.\d+)+)$/i) + url "https://github.com/RedisInsight/RedisInsight" + strategy :github_latest end app "RedisInsight-v#{version.major}.app", target: "RedisInsight.app"