From 95abc7360b6ad704bb30b1cd88a6cb58d8905fc1 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Mon, 19 May 2025 12:03:28 -0400 Subject: [PATCH] Bitbucket: update generated urls The `Bitbucket` strategy checks download or tag pages but the content is now fetched separately on page load, so the strategy is failing for all related formulae. This updates the generated strategy URLs to fetch the page content instead, which works as expected. --- Library/Homebrew/livecheck/strategy/bitbucket.rb | 4 ++-- Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/livecheck/strategy/bitbucket.rb b/Library/Homebrew/livecheck/strategy/bitbucket.rb index 6624e07490..23ad1f7ec5 100644 --- a/Library/Homebrew/livecheck/strategy/bitbucket.rb +++ b/Library/Homebrew/livecheck/strategy/bitbucket.rb @@ -68,14 +68,14 @@ module Homebrew # `/get/` archives are Git tag snapshots, so we need to check that tab # instead of the main `/downloads/` page if match[:dl_type] == "get" - values[:url] = "https://bitbucket.org/#{match[:path]}/downloads/?tab=tags" + values[:url] = "https://bitbucket.org/#{match[:path]}/downloads/?tab=tags&iframe=true&spa=0" # Example tag regexes: # * `/